From owner-freebsd-mobile@FreeBSD.ORG Sun Jul 13 00:17:58 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D884937B405 for ; Sun, 13 Jul 2003 00:17:57 -0700 (PDT) Received: from bache.ece.cmu.edu (BACHE.ECE.CMU.EDU [128.2.129.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0444243FCB for ; Sat, 12 Jul 2003 23:58:21 -0700 (PDT) (envelope-from allbery@ece.cmu.edu) Received: by bache.ece.cmu.edu (Postfix, from userid 953) id 17249B3; Sun, 13 Jul 2003 02:58:20 -0400 (EDT) Received: from [128.2.138.90] (VPN90.ECE.CMU.EDU [128.2.138.90]) by bache.ece.cmu.edu (Postfix) with ESMTP id 7EA239B; Sun, 13 Jul 2003 02:57:46 -0400 (EDT) From: "Brandon S. Allbery KF8NH" To: fdcf In-Reply-To: References: Content-Type: text/plain Message-Id: <1058079143.18668.1.camel@pyanfar.ece.cmu.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 13 Jul 2003 02:57:37 -0400 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-35.6 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-mobile@FreeBSD.org Subject: Re: infrared under FreeBSD X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2003 07:18:00 -0000 On Sat, 2003-07-12 at 20:58, fdcf wrote: > I've some stuff to pass from my laptop compaq Presario 725 for my mobile nokia 3650, and i have been searching these days "how i can activate infrared under my laptop", but i dont found anything usefull, can anyone help me ? Install the comms/birda port. I've had reports of problems under -CURRENT; I don't have -CURRENT installed (or installable) on an IrDA-equipped machine, so have been unable to debug it. I use it regularly under -STABLE, however. -- brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net system administrator [WAY too many hats] allbery@ece.cmu.edu electrical and computer engineering KF8NH carnegie mellon university ["better check the oblivious first" -ke6sls] From owner-freebsd-mobile@FreeBSD.ORG Sun Jul 13 06:20:42 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9EB437B405 for ; Sun, 13 Jul 2003 06:20:42 -0700 (PDT) Received: from mail.lewiz.org (pam80-1-9-109.man.dial.ntli.net [80.1.9.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E07243FAF for ; Sun, 13 Jul 2003 06:20:41 -0700 (PDT) (envelope-from lewiz@green.lewiz.org) Received: from green.lewiz.org ([192.168.0.10]) by mail.lewiz.org with smtp (Exim 4.20) id 19bgmC-0000vX-3T for freebsd-mobile@freebsd.org; Sun, 13 Jul 2003 13:20:28 +0000 Received: (nullmailer pid 9466 invoked by uid 4001); Sun, 13 Jul 2003 13:20:12 -0000 Date: Sun, 13 Jul 2003 14:20:12 +0100 From: lewiz To: freebsd-mobile@freebsd.org Message-ID: <20030713132011.GA9442@lewiz.org> References: <20030701063248.GA904@lewiz.org> <20030704233046.GB25099@speedy.unibe.ch> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: <20030704233046.GB25099@speedy.unibe.ch> X-GPG-Fingerprint: 90A4 939E 3847 A3E4 8103 2A48 22DA B428 542F ED3F X-GPG-Info: http://www.westwood.karoo.net/pgpkey / horowitz.surfnet.nl User-Agent: Mutt/1.5.4i X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean Subject: Re: Variable NFS mounts / firewall rules. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2003 13:20:43 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 05, 2003 at 01:30:46AM +0200, Tobias Roth wrote: > I am working towards a more or less complete 'laptop multihoming' > solution that fits in the base system (probably plus an optional > port). It is a somewhat complicated task, but I am confident I will > have a working solution available in a few weeks (think 5 to 8). You've probably already considered this, but I've just been playing with amd for mounting the remote homedir, etc. This seems a pretty powerful tool, and from what I understand the map files can be distributed through a system like NIS (which would be superb for a fully automated environment, such as you discuss), as well as being OS-independent (the map files can use ${os}). I found http://www.nber.org/amd.html of particular use. Hope alls going well. Best wishes, -lewiz. --=20 I went to the race track once and bet on a horse that was so good that it took seven others to beat him! ------------------------------------------------------------------------ -| msn:purple@lewiz.net | jab:lewiz@jabber.org | url:http://lewiz.net |- --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/EVyLItq0KFQv7T8RAm8CAKC4EcBloKdTcTB5rqdTCWvQON1SwwCbBI4Q 4yKkF9+toNpRLCef7efp28o= =suag -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- From owner-freebsd-mobile@FreeBSD.ORG Sun Jul 13 12:01:35 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id D8A4A37B401; Sun, 13 Jul 2003 12:01:35 -0700 (PDT) To: freebsd-net@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Date: Sun, 13 Jul 2003 12:01:35 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20030713190135.D8A4A37B401@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) Subject: Call for testers: Broadcom 5705 gigabit ethernet X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2003 19:01:36 -0000 While I still don't have any documentation for the BCM5705, I recently obtained a Broadcom driver with 5705 support. After scrutinizing it carefully, it looks like the differences between it and its predecessors are: - No jumbo frame support - RX return ring is limited in size to 512 entries - No support for DMA'ed statistics block (stats must be read from registers instead) - Initialization of certain on-chip blocks and parameters are skipped - 5705 rev A0 has a bug that requires a workaround: the driver has to poll the NIC's memory after setting up the RX descriptor ring to verify the chip has actually loaded it. I have merged all these changes into a copy of the bge(4) driver from -current (should also work with 5.1-RELEASE). You can get it from: http://www.freebsd.org/~wpaul/Broadcom/5705 To use it, just drop the supplied if_bge.c and if_bgereg.h files into /sys/dev/bge and recompile your kernel and/or if_bge.ko module. Unfortunately, I don't have a machine with a 5705 chip in it, so I need other people to help me test these changes. If you have avilable right now: - a laptop or other box with a 5705 gigE chip - FreeBSD 5.1-RELEASE or -CURRENT - another network interface that you can use to load this driver Then please test this updated driver for me and report back. Information that I would like to see: - Describe the system with the 5705 chip in it (I'm under the impression the 5705 is being used in embedded configurations only) - A copy of dmesg output showing the ASIC revision of your chip (doesn't have to be a verbose boot, though I won't mind if it is) - A detailed description of any problems you may observe while testing the driver Information I don't want to see: - Requests for help with other totally unrelated drivers - Requests for help transfering large sums of money out of Nigeria - Information about septic tank clealing - Pictures of people getting it on with barnyard animals - Bikeshed arguments Thanks in advance for any help anyone is able to provide. -Bill -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= "If stupidity were a handicap, you'd have the best parking spot." ============================================================================= From owner-freebsd-mobile@FreeBSD.ORG Sun Jul 13 13:30:57 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE70537B401 for ; Sun, 13 Jul 2003 13:30:57 -0700 (PDT) Received: from b.mx.solls.net (pD9518C8E.dip.t-dialin.net [217.81.140.142]) by mx1.FreeBSD.org (Postfix) with SMTP id 4798743FBD for ; Sun, 13 Jul 2003 13:30:56 -0700 (PDT) (envelope-from oskar@solls.net) Received: (qmail 23269 invoked by uid 1005); 13 Jul 2003 20:29:50 -0000 Date: Sun, 13 Jul 2003 22:29:50 +0200 From: Oskar Eyb To: freebsd-mobile@freebsd.org Message-ID: <20030713202950.GE6551@chuck.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: FreeBSD on Toshiba TECRA S1? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2003 20:30:58 -0000 Hello, does anybody have experience with the Toshiba TECRA S1 - Series on FreeBSD? I would know what notebook-specific functions (e.g. acpi/apm, suspend to disk/ram, Speed-stepping of the processor, the onboard intel pro/100 NIC (does not work on OpenBSD 3.3...)) Thanks, -- Oskar From owner-freebsd-mobile@FreeBSD.ORG Sun Jul 13 14:02:33 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id C0DA337B401; Sun, 13 Jul 2003 14:02:33 -0700 (PDT) To: freebsd-net@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Date: Sun, 13 Jul 2003 14:02:33 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20030713210233.C0DA337B401@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) Subject: Broadcom 5705, addendum X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2003 21:02:34 -0000 Almost forgot: The BCM5705 also has a new PHY ID, which means an update to brgphy.c and miidevs is required. So, to test the 5705 driver update, do the following: - Download the files from http://www.freebsd.org/~wpaul/Broadcom/5705 - Put if_bge.c and if_bgereg.h into /sys/dev/bge - Put brgphy.c and miidevs into /sys/dev/mii - Recompile your kernel and/or if_bge.ko and miibus.ko modules. -Bill -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= "If stupidity were a handicap, you'd have the best parking spot." ============================================================================= From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 14 13:56:14 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4225737B401 for ; Mon, 14 Jul 2003 13:56:14 -0700 (PDT) Received: from himinbjorg.tucs-beachin-obx-house.com (wallstreet34.kickstartusa.com [65.105.161.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52A0E43F85 for ; Mon, 14 Jul 2003 13:56:13 -0700 (PDT) (envelope-from tuc@ttsg.com) Received: (from tuc@localhost)h6EKuCK8005629 for freebsd-mobile@freebsd.org; Mon, 14 Jul 2003 16:56:12 -0400 (EDT) (envelope-from tuc) From: Tuc Message-Id: <200307142056.h6EKuCK8005629@himinbjorg.tucs-beachin-obx-house.com> To: freebsd-mobile@freebsd.org Date: Mon, 14 Jul 2003 16:56:12 -0400 (EDT) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: 1xRTT and 4.8 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2003 20:56:14 -0000 Hi, I'd like to hear PRIVATELY, OFFLIST from anyone who is using 1xRTT (Especially if its VZW) and FreeBSD under 4.8 ... I would like to get something going, but my head is swimming and wondering about all the ins/outs of its use. Thanks, Tuc/TTSG Internet Services, Inc. From owner-freebsd-mobile@FreeBSD.ORG Mon Jul 14 22:57:07 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id 0E1A137B401; Mon, 14 Jul 2003 22:57:07 -0700 (PDT) To: freebsd-current@FreeBSD.ORG, freebsd-net@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG Date: Mon, 14 Jul 2003 22:57:07 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20030715055707.0E1A137B401@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) Subject: More Broadcom BCM5705 updates X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 05:57:07 -0000 I have merged in some additional updates provided by Paul Saab: - Support the BCM5782 chip (5705 workalike, new PCI ID) - Increase firmware handshake timeout - Always check for GMII PHYs at PHY address 1 (required for some chips, doesn't hurt on the others) - Add ASIC rev numbers for 5705_A1, 5705_A2 and 5705_A3 There may be some additional performance tweaks needed, but this should get the device attached and working. As before, download the new code from: http://www.freebsd.org/~wpaul/Broadcom/5705 - Copy if_bge.c and if_bgereg.h to /sys/dev/bge - Copy miidevs and brgphy.c to /sys/dev/mii - Rebuild your kernel and/or if_bge.ko and miibus.ko modules -Bill -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= "If stupidity were a handicap, you'd have the best parking spot." ============================================================================= From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 15 07:27:12 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4440037B401 for ; Tue, 15 Jul 2003 07:27:12 -0700 (PDT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id A822543F85 for ; Tue, 15 Jul 2003 07:27:11 -0700 (PDT) (envelope-from jeff_lamarche@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h6FERBCR011712 for ; Tue, 15 Jul 2003 07:27:11 -0700 (PDT) Received: from mac.com (ny-utica8a-49.aburny.adelphia.net [68.65.178.49]) (authenticated bits=0) by mac.com (Xserve/8.12.9/MantshX 2.0) with ESMTP id h6FER8Nr011514 for ; Tue, 15 Jul 2003 07:27:09 -0700 (PDT) Date: Tue, 15 Jul 2003 10:27:09 -0400 Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Jeff LaMarche To: freebsd-mobile@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: <6AB87755-B6D0-11D7-8D3A-000A95A04BD8@mac.com> X-Mailer: Apple Mail (2.552) Subject: Wireless troubles X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 14:27:12 -0000 I apologize for having to post this, but I've read all the relevant posts on this list and done exhaustive research online as well and I still can't get it working. I know I'm probably missing something obvious, but... I've got an IBM ThinkPad 770 with an Orinoco Gold wireless card (Lucent chipset) onto which I've installed FreeBSD 4.6.2. I am trying to connect it with an Apple Airport Extreme base station (set to use 802.11b not g). (I have previously used this exact same hardware and software combination successfully) In rc.conf, I have added: pccard_enable="YES" which allows the card to be recognized and assigned an IRQ and I can issue it commands using wicontrol. That all appears to be happening correctly. I also have tried two different lines (based on different entries I've found on the list and on the web) to tell the system to use DHCP to configure this card. They are: ifconfig_wi0="DHCP" and pccard_ifconfig="DHCP" There does not appear to be any difference with the two versions; the former one is what I currently have. I also have a hostname= line, but I don't believe that that is part of the problem. In /usr/local/etc/rc.d/ I created a file called wireless.sh as root and gave execute permissions to owner and group. I have played around with different wicontrol commands in the script, but the script looks essentially like this: sleep 7 wicontrol -p 1 wicontrol -n LaMarche\ Family #It's correct, but I've tried also in quotes, and leaving out wicontrol -e 1 wicontrol -k 0xMYKEY #Yes, it's correct... I've triple compared wicontrol -f 10 #10 is what my base station is set to use, but I have tried others wicontrol -t 3 # I've tried leaving this out: no change #wicontrol -s Thinkpad770 # Leaving this in or our doesn't affect the problem #wicontrol -c 1 # Leaving this in or our doesn't affect the problem wicontrol wi0 -o I have also tried adding a dhclient wi0 call to the end of the script, which does not work and under some settings has caused the system to hang. If I do a ifconfig wi0 with these settings, I have an ip address of 0.0.0.0, and a status of "no carrier". If I put the system in ad hoc mode using wicontrol -p 3, I get a status of associated (and the green ready light comes on on the card), but it still doesn't get an IP address, even if I issue a dhclient or do an ifconfig on wi0. I am able to connect to this base station using this exact same hardware but with Windows XP installed, and get the same situation when I swap out the card for another one that I know works. When I do a wicontrol, everything looks as expected, but I'm not sure about two items: 1) Promiscuous mode is off. 2) Comms quality/signal/noise is [ 0 27 27 ], which I'm not sure how to read. If anyone has any thoughts on what I've missed or done wrong, I'd certainly appreciate the feedback; I've been pulling my hair out on this one for two days. I'm especially bugged by it because I've done it before and gotten it to work. Thanks, and sorry for the long e-mail Jeff LaMarche From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 15 12:16:30 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC86037B401 for ; Tue, 15 Jul 2003 12:16:30 -0700 (PDT) Received: from mgw-x1.nokia.com (mgw-x1.nokia.com [131.228.20.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17F3943FAF for ; Tue, 15 Jul 2003 12:16:29 -0700 (PDT) (envelope-from mjj@isorauta.ntc.nokia.com) Received: from esvir05nok.ntc.nokia.com (esvir05nokt.ntc.nokia.com [172.21.143.37])h6FJGRa05297 for ; Tue, 15 Jul 2003 22:16:27 +0300 (EET DST) Received: from esebh002.NOE.Nokia.com (unverified) by esvir05nok.ntc.nokia.com for ; Tue, 15 Jul 2003 22:16:26 +0300 Received: from isorauta.ntc.nokia.com ([172.22.105.162]) by esebh002.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139); Tue, 15 Jul 2003 22:16:25 +0300 Received: (qmail 17111 invoked by uid 500); 15 Jul 2003 19:16:25 -0000 Date: Tue, 15 Jul 2003 22:16:25 +0300 From: Mike Jackson To: freebsd-mobile@freebsd.org Message-ID: <20030715191625.GA17102@isorauta.ntc.nokia.com> Mail-Followup-To: freebsd-mobile@freebsd.org References: <20030701063248.GA904@lewiz.org> <20030704233046.GB25099@speedy.unibe.ch> <20030713132011.GA9442@lewiz.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20030713132011.GA9442@lewiz.org> User-Agent: Mutt/1.4i X-OriginalArrivalTime: 15 Jul 2003 19:16:25.0880 (UTC) FILETIME=[95ED9180:01C34B05] Subject: Re: Variable NFS mounts / firewall rules. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 19:16:31 -0000 ext lewiz (purple@lewiz.info) wrote: > > You've probably already considered this, but I've just been playing with > amd for mounting the remote homedir, etc. This seems a pretty powerful > tool, and from what I understand the map files can be distributed > through a system like NIS (which would be superb for a fully automated > environment, such as you discuss), as well as being OS-independent (the > map files can use ${os}). NIS is old news and on the way out the door. You can store the AMD maps in LDAP nowadays. -- mike From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 15 14:13:42 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B443C37B401 for ; Tue, 15 Jul 2003 14:13:42 -0700 (PDT) Received: from mx0.gmx.net (mx0.gmx.de [213.165.64.100]) by mx1.FreeBSD.org (Postfix) with SMTP id B9F3943FA3 for ; Tue, 15 Jul 2003 14:13:41 -0700 (PDT) (envelope-from sm4tnp8@gmx.net) Received: (qmail 30275 invoked by uid 0); 15 Jul 2003 21:13:41 -0000 Date: Tue, 15 Jul 2003 23:13:41 +0200 (MEST) From: Markus D. To: mobile@freebsd.org MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated-Sender: #0000931807@gmx.net X-Authenticated-IP: [145.254.140.182] Message-ID: <30885.1058303621@www53.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Turn off display/backlight X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 21:13:43 -0000 Hello, is there any way to turn off the display (aka screensaver) for the console completely, with switching off the backlight of my laptop's lcd? I use 5.1-Release now. With 4-stable I used the apm_saver, which did this. But now with ACPI the apm_saver doesn't work anymore even if i turn apm on. Greetings Markus From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 15 14:19:50 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C58BE37B401 for ; Tue, 15 Jul 2003 14:19:50 -0700 (PDT) Received: from PIKES.panasas.com (gw2.panasas.com [65.194.124.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C3BC43F85 for ; Tue, 15 Jul 2003 14:19:49 -0700 (PDT) (envelope-from behanna@zbzoom.net) Received: from waumbek.panasas.com ([172.17.2.36]) by PIKES.panasas.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id 37G1Y7BA; Tue, 15 Jul 2003 17:19:47 -0400 From: Chris BeHanna Organization: Western Pennsylvania Pizza Disposal Unit To: freebsd-mobile@freebsd.org Date: Tue, 15 Jul 2003 17:19:47 -0400 User-Agent: KMail/1.5.2 References: <200307082215.h68MFtmT016507@koa.aloha.com> <20030709.052128.39156672.imp@bsdimp.com> <20030709195701.B22558@astro.ioffe.rssi.ru> In-Reply-To: <20030709195701.B22558@astro.ioffe.rssi.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307151719.47084.behanna@zbzoom.net> Subject: Watching DVDs (Was: Re: Choosing a new laptop) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: behanna@zbzoom.net List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 21:19:51 -0000 On Wednesday 09 July 2003 12:01, Alexey Koptsevich wrote: > > : Is it possible to watch DVDs in FreeBSD, or is that another reason to > > : keep the Windows partition? > > > > I do this all the time with my Dell I8000, but it has the dvd drive > > built in. i have no experience with dvd via cardbus/pccard to speak > > of. > > What is the best program for it? Can you watch any DVD? I can watch some > with mplayer, and some kick the system off so the computer reboots. > However, my mplayer has not been updated for a while... Having tried to port the mess that is LiViD back in the day, and having tried xine and xmovie, I switched to mplayer for awhile and have now settled on ogle. Of all of them, ogle now has the smoothest playback and makes the best use of motion compensation (on the old 8MB ATI chip in my HP OmniBook 4150B, anyway), and ogle is the only player I know of with DVD menu support. The single biggest trick is to make sure that DMA is enabled on your DVD drive. Note: I have not tried this on -CURRENT; only on -STABLE (currently 4.8 as of 6/14/2003 02:00 EDT). -- Chris BeHanna Software Engineer (Remove "bogus" before responding.) behanna@bogus.zbzoom.net Turning coffee into software since 1990. From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 15 14:42:39 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3C9837B407 for ; Tue, 15 Jul 2003 14:42:39 -0700 (PDT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0D8E43F3F for ; Tue, 15 Jul 2003 14:42:38 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id MUA74016; Tue, 15 Jul 2003 14:42:36 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 7DDAA5D08; Tue, 15 Jul 2003 14:42:36 -0700 (PDT) To: "Markus D." In-Reply-To: Message from Markus D. of "Tue, 15 Jul 2003 23:13:41 +0200." <30885.1058303621@www53.gmx.net> Date: Tue, 15 Jul 2003 14:42:36 -0700 From: "Kevin Oberman" Message-Id: <20030715214236.7DDAA5D08@ptavv.es.net> cc: mobile@freebsd.org Subject: Re: Turn off display/backlight X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 21:42:40 -0000 > Date: Tue, 15 Jul 2003 23:13:41 +0200 (MEST) > From: Markus D. > Sender: owner-freebsd-mobile@freebsd.org > > Hello, > > is there any way to turn off the display (aka screensaver) for the console > completely, with switching off the backlight of my laptop's lcd? I use > 5.1-Release now. With 4-stable I used the apm_saver, which did this. But now with > ACPI the apm_saver doesn't work anymore even if i turn apm on. This is a common issue with ACPI on laptops. I have it on my T30 and I have seen others with different brands and models report it. I don't have a fix at this time. (Since I don't work on ACPI code, I won't be finding it,) The work-around is to use apm and not ACPI. To switch to APM, edit /boot/loader.conf and add: apm_load="YES" Edit /boot/device.hints and add: hint.acpi.0.disabled="1" and change the value of hint.apm.0.disabled to "0" Make sure that your rc.conf contains: apm_enable="YES" Once that is done, you should be able to turn off the back-light any way you could under V4. Hopefully APM will continue to mature and these issues will get settled over a bit of time. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 15 14:46:04 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 903A237B401 for ; Tue, 15 Jul 2003 14:46:04 -0700 (PDT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id C905543FA3 for ; Tue, 15 Jul 2003 14:46:03 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id MUA74016; Tue, 15 Jul 2003 14:46:02 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 98F955D07; Tue, 15 Jul 2003 14:46:01 -0700 (PDT) To: behanna@zbzoom.net In-Reply-To: Message from Chris BeHanna <200307151719.47084.behanna@zbzoom.net> Date: Tue, 15 Jul 2003 14:46:01 -0700 From: "Kevin Oberman" Message-Id: <20030715214601.98F955D07@ptavv.es.net> cc: freebsd-mobile@freebsd.org Subject: Re: Watching DVDs (Was: Re: Choosing a new laptop) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 21:46:04 -0000 > From: Chris BeHanna > Date: Tue, 15 Jul 2003 17:19:47 -0400 > Sender: owner-freebsd-mobile@freebsd.org > > On Wednesday 09 July 2003 12:01, Alexey Koptsevich wrote: > > > : Is it possible to watch DVDs in FreeBSD, or is that another reason to > > > : keep the Windows partition? > > > > > > I do this all the time with my Dell I8000, but it has the dvd drive > > > built in. i have no experience with dvd via cardbus/pccard to speak > > > of. > > > > What is the best program for it? Can you watch any DVD? I can watch some > > with mplayer, and some kick the system off so the computer reboots. > > However, my mplayer has not been updated for a while... > > Having tried to port the mess that is LiViD back in the day, and > having tried xine and xmovie, I switched to mplayer for awhile and > have now settled on ogle. Of all of them, ogle now has the smoothest > playback and makes the best use of motion compensation (on the old 8MB > ATI chip in my HP OmniBook 4150B, anyway), and ogle is the only player > I know of with DVD menu support. > > The single biggest trick is to make sure that DMA is enabled on > your DVD drive. If you use Gnome, try totem. It has full menu support and seems to work quite well for me under CURRENT. The DVD code is from libxine. IT plays lots of formats of video as well as audio in most formats. I second the comment on DMA. It is critical to good playback. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 15 15:14:09 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C64637B401 for ; Tue, 15 Jul 2003 15:14:09 -0700 (PDT) Received: from mail.lewiz.org (pam80-1-5-78.man.dial.ntli.net [80.1.5.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 003E443F75 for ; Tue, 15 Jul 2003 15:14:07 -0700 (PDT) (envelope-from lewiz@blue.lewiz.org) Received: from blue.lewiz.org ([192.168.0.11]) by mail.lewiz.org with smtp (Exim 4.20) id 19cY02-0009UG-NV; Tue, 15 Jul 2003 22:10:18 +0000 Received: (nullmailer pid 98213 invoked by uid 4001); Tue, 15 Jul 2003 22:10:21 -0000 Date: Tue, 15 Jul 2003 23:10:21 +0100 From: lewiz To: freebsd-mobile@freebsd.org Message-ID: <20030715221021.GE43547@lewiz.org> References: <20030701063248.GA904@lewiz.org> <20030704233046.GB25099@speedy.unibe.ch> <20030713132011.GA9442@lewiz.org> <20030715191625.GA17102@isorauta.ntc.nokia.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <20030715191625.GA17102@isorauta.ntc.nokia.com> X-GPG-Fingerprint: 90A4 939E 3847 A3E4 8103 2A48 22DA B428 542F ED3F X-GPG-Info: http://www.westwood.karoo.net/pgpkey / horowitz.surfnet.nl User-Agent: Mutt/1.5.4i X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean Subject: Re: Variable NFS mounts / firewall rules. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 22:14:10 -0000 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 15, 2003 at 10:16:25PM +0300, Mike Jackson wrote: > NIS is old news and on the way out the door. You can store the AMD maps > in LDAP nowadays. Ah, cool. I actually use LDAP here (although only because I can, not for any /real/ reason) and it's quite fun. I've been struggling every now and again with slapd sort of dying, but that's another issue. FreeBSD NSS-support is still a bit weak, but hopefully that'll be resolved. -lewiz. --=20 ------------------------------------------------------------------------ -| msn:purple@lewiz.net | jab:lewiz@jabber.org | url:http://lewiz.net |- --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/FHvMItq0KFQv7T8RAkbEAJ9LoTNoHQa5lOd07ZPY+8MDIXw6sACg95R6 PvwOX2PYwgq9opjiIsavppE= =DfAJ -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L-- From owner-freebsd-mobile@FreeBSD.ORG Tue Jul 15 23:23:07 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E60337B404 for ; Tue, 15 Jul 2003 23:23:07 -0700 (PDT) Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0AD943F93 for ; Tue, 15 Jul 2003 23:23:04 -0700 (PDT) (envelope-from mjj@isorauta.ntc.nokia.com) Received: from esvir03nok.nokia.com (esvir03nokt.ntc.nokia.com [172.21.143.35])h6G6N3k23404 for ; Wed, 16 Jul 2003 09:23:03 +0300 (EET DST) Received: from esebh003.NOE.Nokia.com (unverified) by esvir03nok.nokia.com for ; Wed, 16 Jul 2003 09:23:02 +0300 Received: from isorauta.ntc.nokia.com ([172.22.105.162]) by esebh003.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6139); Wed, 16 Jul 2003 09:23:01 +0300 Received: (qmail 19596 invoked by uid 500); 16 Jul 2003 06:23:02 -0000 Date: Wed, 16 Jul 2003 09:23:01 +0300 From: Mike Jackson To: freebsd-mobile@freebsd.org Message-ID: <20030716062301.GA19539@isorauta.ntc.nokia.com> Mail-Followup-To: freebsd-mobile@freebsd.org References: <20030701063248.GA904@lewiz.org> <20030704233046.GB25099@speedy.unibe.ch> <20030713132011.GA9442@lewiz.org> <20030715191625.GA17102@isorauta.ntc.nokia.com> <20030715221021.GE43547@lewiz.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20030715221021.GE43547@lewiz.org> User-Agent: Mutt/1.4i X-OriginalArrivalTime: 16 Jul 2003 06:23:01.0814 (UTC) FILETIME=[B55CC560:01C34B62] Subject: Re: Variable NFS mounts / firewall rules. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2003 06:23:07 -0000 ext lewiz (purple@lewiz.info) wrote: > > Ah, cool. I actually use LDAP here (although only because I can, not > for any /real/ reason) and it's quite fun. I've been struggling every > now and again with slapd sort of dying, but that's another issue. > FreeBSD NSS-support is still a bit weak, but hopefully that'll be > resolved. Some people swear that OpenLDAP serves their one million query per day needs and has stayed running for more than a year. I don't believe it. It's a very particular software. The versions can have all sorts of strange behaviour, for example 2.2.15 might not "work at all", while 2.2.16 could be "rock solid". You never know what to expect with a new version of OpenLDAP. However, the client tools are very good. Anyhow, you can run OpenLDAP under DJB's daemontools quite easily. If the daemon dies, it will be automatically restarted within 5 seconds (usually within 1 second). That is, unless you have a configuration problem and the server will just start, die, restart, die, etc... Here's my daemontools "run" script for slapd. Pretty simple, eh? #!/bin/sh /usr/local/libexec/slapd -f /etc/slapd.conf I've also been waiting for improved NSS support in FreeBSD for a long time now... BR, -- Mike Jackson From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 16 02:28:06 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4A7737B401 for ; Wed, 16 Jul 2003 02:28:06 -0700 (PDT) Received: from sublinear.net (mail.sublinear.net [208.39.210.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FF8943F85 for ; Wed, 16 Jul 2003 02:28:06 -0700 (PDT) (envelope-from ballew@sublinear.net) Received: from [192.168.1.10] ((sublinear.net) [208.39.210.34]) by sublinear.net ([127.0.0.1]) with SMTP (MDaemon.PRO.v6.0.5.R) for ; Wed, 16 Jul 2003 02:32:49 -0700 From: "Mark C. Ballew" To: freebsd-mobile@freebsd.org Content-Type: text/plain Organization: Sublinear.net Message-Id: <1058347762.359.107.camel@paradox> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.92 (Preview Release) Date: 16 Jul 2003 09:29:22 +0000 Content-Transfer-Encoding: 7bit X-Authenticated-Sender: ballew@sublinear.net X-Lookup-Warning: EHLO lookup on [192.168.1.10] does not match 208.39.210.34 X-MDRemoteIP: 208.39.210.34 X-Return-Path: ballew@sublinear.net X-MDaemon-Deliver-To: freebsd-mobile@freebsd.org Subject: Onboard Wireless card on the Compaq n600c X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2003 09:28:07 -0000 Mobile users, I have a Compaq Evo n600c laptop that has an onboard wireless card. I've been able to get the card to work under Gentoo Linux and Knoppix via the prism2_usb driver. My problem is, under Freebsd 4.8R I don't know what modules to load. >From part of my dmesg: Jul 16 01:54:03 /kernel: uhci0: port 0x4000-0x401f irq 11 at device 29.0 on pci0 Jul 16 01:54:03 /kernel: usb0: on uhci0 Jul 16 01:54:03 /kernel: usb0: USB revision 1.0 Jul 16 01:54:03 /kernel: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Jul 16 01:54:03 /kernel: uhub0: 2 ports with 2 removable, self powered Jul 16 01:54:03 /kernel: ugen0: FTDI USB <-> Serial, rev 1.10/2.00, addr 2 Jul 16 01:54:03 /kernel: uhci1: port 0x4020-0x403f irq 11 at device 29.1 on pci0 Jul 16 01:54:03 /kernel: usb1: on uhci1 Jul 16 01:54:03 /kernel: usb1: USB revision 1.0 Jul 16 01:54:03 /kernel: uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Jul 16 01:54:03 /kernel: uhub1: 2 ports with 2 removable, self powered Jul 16 01:54:03 /kernel: uhci2: port 0x4040-0x405f irq 11 at device 29.2 on pci0 Jul 16 01:54:03 /kernel: usb2: on uhci2 Jul 16 01:54:03 /kernel: usb2: USB revision 1.0 Jul 16 01:54:03 /kernel: uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 Jul 16 01:54:03 /kernel: uhub2: 2 ports with 2 removable, self powered Jul 16 01:54:03 /kernel: ugen1: Compaq Computers product 0x0033, rev 1.10/1.32, addr 2 I assume that this "ugen1" is my prism2 usb card? Any hints? I am running a stock kernel. Mark From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 16 11:46:01 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA3E737B401 for ; Wed, 16 Jul 2003 11:46:01 -0700 (PDT) Received: from da7ec.unt0.etta.i-u.de (da7ec.unt0.etta.i-u.de [212.126.218.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4079743F85 for ; Wed, 16 Jul 2003 11:46:01 -0700 (PDT) (envelope-from atodorov@acm.org) Received: from mailer.i-u.de ([212.126.209.130]) by da7ec.unt0.etta.i-u.de with esmtp (Exim 3.36 #2 (Debian)) id 19crHs-0000VD-00 for ; Wed, 16 Jul 2003 20:46:00 +0200 Received: from att.stu.i-u.de ([172.16.13.98]) by mailer.i-u.de with Microsoft SMTPSVC(5.0.2195.5329); Wed, 16 Jul 2003 20:45:59 +0200 Date: Wed, 16 Jul 2003 20:46:06 +0200 From: Angel Todorov To: freebsd-mobile@freebsd.org Message-Id: <20030716204606.2b5f8394.atodorov@acm.org> Organization: N/A X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Jul 2003 18:46:00.0074 (UTC) FILETIME=[80136EA0:01C34BCA] Subject: HP OmniBook XE3 ACPI X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2003 18:46:02 -0000 Hello list, i have a question concerning the fbsd acpi support for HP omnibook laptops. When i boot (5.1-RELEASE) with the acpi being enabled, the machine just stops responding while the kernel is loading, but i can load with ACPI being disabled without any problem. I was wondering whether anyone has a solution for that. Thanks Regards, Angel From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 16 12:34:29 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A55A737B401 for ; Wed, 16 Jul 2003 12:34:29 -0700 (PDT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49F6243FAF for ; Wed, 16 Jul 2003 12:34:29 -0700 (PDT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 3A43B72DD1; Wed, 16 Jul 2003 12:34:29 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 35ECF72DD0; Wed, 16 Jul 2003 12:34:29 -0700 (PDT) Date: Wed, 16 Jul 2003 12:34:29 -0700 (PDT) From: Doug White To: Angel Todorov In-Reply-To: <20030716204606.2b5f8394.atodorov@acm.org> Message-ID: <20030716123250.W27866@carver.gumbysoft.com> References: <20030716204606.2b5f8394.atodorov@acm.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-mobile@freebsd.org Subject: Re: HP OmniBook XE3 ACPI X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2003 19:34:29 -0000 On Wed, 16 Jul 2003, Angel Todorov wrote: > i have a question concerning the fbsd acpi support for HP omnibook > laptops. When i boot (5.1-RELEASE) with the acpi being enabled, the > machine just stops responding while the kernel is loading, but i can > load with ACPI being disabled without any problem. I was wondering > whether anyone has a solution for that. Thanks HPs have famously broken ACPI. I tried to fix it once but its a pretty serious structural issue in the DSDT having to do with child-before-parent initializations. Heck, the machines don't even run correctly under Windows. Unless you'd like to learn ASL, I suggest sticking with apm. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-mobile@FreeBSD.ORG Wed Jul 16 14:19:08 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4031A37B404 for ; Wed, 16 Jul 2003 14:19:08 -0700 (PDT) Received: from mail.lewiz.org (pam80-1-23-125.man.dial.ntli.net [80.1.23.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6365443F93 for ; Wed, 16 Jul 2003 14:19:06 -0700 (PDT) (envelope-from lewiz@blue.lewiz.org) Received: from blue.lewiz.org ([192.168.0.11]) by mail.lewiz.org with smtp (Exim 4.20) id 19ct2w-0000u9-BZ for freebsd-mobile@freebsd.org; Wed, 16 Jul 2003 20:38:42 +0000 Received: (nullmailer pid 20575 invoked by uid 4001); Wed, 16 Jul 2003 20:38:47 -0000 Date: Wed, 16 Jul 2003 21:38:46 +0100 From: lewiz To: freebsd-mobile@freebsd.org Message-ID: <20030716203846.GC20106@lewiz.org> References: <20030701063248.GA904@lewiz.org> <20030704233046.GB25099@speedy.unibe.ch> <20030713132011.GA9442@lewiz.org> <20030715191625.GA17102@isorauta.ntc.nokia.com> <20030715221021.GE43547@lewiz.org> <20030716062301.GA19539@isorauta.ntc.nokia.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rQ2U398070+RC21q" Content-Disposition: inline In-Reply-To: <20030716062301.GA19539@isorauta.ntc.nokia.com> X-GPG-Fingerprint: 90A4 939E 3847 A3E4 8103 2A48 22DA B428 542F ED3F X-GPG-Info: http://www.westwood.karoo.net/pgpkey / horowitz.surfnet.nl User-Agent: Mutt/1.5.4i X-MailScanner-Information: Please contact the ISP for more information X-MailScanner: Found to be clean Subject: Re: Variable NFS mounts / firewall rules. X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2003 21:19:08 -0000 --rQ2U398070+RC21q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 16, 2003 at 09:23:01AM +0300, Mike Jackson wrote: > ext lewiz (purple@lewiz.info) wrote: > > now and again with slapd sort of dying, but that's another issue. >=20 > Some people swear that OpenLDAP serves their one million query per day > needs and has stayed running for more than a year. I don't believe it. > It's a very particular software. The versions can have all sorts of > strange behaviour, for example 2.2.15 might not "work at all", while > 2.2.16 could be "rock solid". You never know what to expect with > a new version of OpenLDAP. However, the client tools are very good. Yeah, my issue is that after a while it just doesn't respond to queries (I've not tested it thoroughly). For example, it could be doing NSS stuff for logins fine one moment, then five minutes later it refuses to do anything; so while, it is still running, it's useless so I manually restart the service. Actually, next time it does that I'll try and diagnose the problem (it's probably something very simple) but I've always been in the middle of something when it happens ;) Thanks very much, -lewiz. --=20 "See - the thing is - I'm an absolutist. I mean, kind of ... in a way ..." ------------------------------------------------------------------------ -| msn:purple@lewiz.net | jab:lewiz@jabber.org | url:http://lewiz.net |- --rQ2U398070+RC21q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/FbfWItq0KFQv7T8RAjS4AKCIep3JJIucJYxgxrDy2/fINCLOQQCeMcyH Onp2J3UPB/0J/kVBiZyUR/I= =agbn -----END PGP SIGNATURE----- --rQ2U398070+RC21q-- From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 18 07:12:43 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CE7037B401; Fri, 18 Jul 2003 07:12:43 -0700 (PDT) Received: from mailhub02.unibe.ch (mailhub02.unibe.ch [130.92.9.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37A5843F75; Fri, 18 Jul 2003 07:12:42 -0700 (PDT) (envelope-from roth@iam.unibe.ch) Received: from localhost (localhost [127.0.0.1]) by mailhub02.unibe.ch (Postfix) with ESMTP id F0FE276445; Fri, 18 Jul 2003 16:12:40 +0200 (MEST) Received: from mailhub02.unibe.ch ([127.0.0.1]) by localhost (mailhub02 [127.0.0.1:10024]) (amavisd-new) with LMTP id 04117-01-80; Fri, 18 Jul 2003 16:12:40 +0200 (MEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub02.unibe.ch (Postfix) with ESMTP id D12C676437; Fri, 18 Jul 2003 16:12:39 +0200 (MEST) Received: from speedy.unibe.ch (speedy [130.92.64.35]) by asterix.unibe.ch (8.11.6+Sun/8.11.6) with ESMTP id h6IECdK26188; Fri, 18 Jul 2003 16:12:39 +0200 (MET DST) Received: (from roth@localhost) by speedy.unibe.ch (8.11.6+Sun/8.10.2) id h6IECdN20317; Fri, 18 Jul 2003 16:12:39 +0200 (MEST) Date: Fri, 18 Jul 2003 16:12:39 +0200 From: Tobias Roth To: questions@freebsd.org Message-ID: <20030718141239.GB19817@speedy.unibe.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Operating-System: SunOS speedy 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-80 X-Virus-checked: by University of Berne cc: mobile@freebsd.org Subject: dmesg showing wrong frequency (IBM T30) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 14:12:43 -0000 Hi On my IBM T30 1.8GHz, dmesg (with both 4.8 and 5.1) shows me this line: CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.8GHz (1196.13-MHz 686-class CPU) Various windows utilities also claim that the cpu identification string marks my cpu as 1.8 GHz unit, while the maximum frequency always gets detected as something just below 1.2GHz. What is wrong here? To other IBM T30 users: Is your CPU identification correct? thanks, t. From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 18 08:08:00 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17AD637B401; Fri, 18 Jul 2003 08:08:00 -0700 (PDT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49BA243F85; Fri, 18 Jul 2003 08:07:59 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id MUA74016; Fri, 18 Jul 2003 08:07:57 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 2D3D25D08; Fri, 18 Jul 2003 08:07:56 -0700 (PDT) To: Tobias Roth In-Reply-To: Message from Tobias Roth <20030718141239.GB19817@speedy.unibe.ch> Date: Fri, 18 Jul 2003 08:07:56 -0700 From: "Kevin Oberman" Message-Id: <20030718150756.2D3D25D08@ptavv.es.net> cc: questions@freebsd.org cc: mobile@freebsd.org Subject: Re: dmesg showing wrong frequency (IBM T30) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 15:08:00 -0000 > Date: Fri, 18 Jul 2003 16:12:39 +0200 > From: Tobias Roth > Sender: owner-freebsd-mobile@freebsd.org > > Hi > > On my IBM T30 1.8GHz, dmesg (with both 4.8 and 5.1) shows me this line: > > CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.8GHz (1196.13-MHz 686-class CPU) > > Various windows utilities also claim that the cpu identification string > marks my cpu as 1.8 GHz unit, while the maximum frequency always gets > detected as something just below 1.2GHz. > > What is wrong here? To other IBM T30 users: Is your CPU identification > correct? Were you on AC or battery when you booted? It seems that the T30 (and many other laptops from multiple vendors) does not change the CPU speed when APM/ACPI from FreeBSD tells it to. If I boot on battery, my system stays at 1.2 GHz and if I boot on AC power, the system runs 1.8 GHz. Changes to the power source made after it is up seem to have no effect. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 18 08:12:52 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5253837B401 for ; Fri, 18 Jul 2003 08:12:52 -0700 (PDT) Received: from infidyne.com (io.infidyne.com [212.112.161.72]) by mx1.FreeBSD.org (Postfix) with SMTP id 0FAF143F93 for ; Fri, 18 Jul 2003 08:12:51 -0700 (PDT) (envelope-from peter.schuller@infidyne.com) Received: (qmail 18885 invoked by uid 1000); 18 Jul 2003 15:13:03 -0000 From: "Peter Schuller" Date: Fri, 18 Jul 2003 17:13:03 +0200 To: freebsd-mobile@freebsd.org Message-ID: <20030718151303.GA17979@infidyne.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: rfcomm_pppd fails (T40p and Nokia 7650) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 15:12:52 -0000 Hello, I've been trying to get connected using GPRS and Bluetooth on my IBM ThinkPad T40p. It has a bluetooth card that sits on the USB bus, so I'm using the ubt driver. I am following the descriptions at: http://www.oook.cz/bsd/bluetooth.html and everything works perfectly up until the point where I want to connect using rfcomm_pppd. I run the following command: rfcomm_pppd -a 00:02:ee:73:89:0b -c -C 1 -d -l rfcomm-dialup Where channel 1 is Dial-Up Networking (I also tried 2 - Bluetooth Serial Port, just in case). When I do things one of two things happen: * Either it just exists after a little while, no messages. * Or it exits with: rfcomm_pppd[39117]: Could not connect socket. Connection refused (61) On the phone side the bluetooth indicator indicates traffic is happening for a while. However the GPRS indicator doesn't flinch (normally it's a three-step indicator indicating either that nothing is happening, or a G if GPRS is in the process of connecting, or an encircled G when GPRS is up and running). The laptop is paired with the phone and set as "authorized" on the phone side. I have tried with hcsecd both on and off; and with read/write_authentication_enable both 1 and 0, and so far no luck. Besides this not working, the one "weird" thing I noticed was that once a BT connection (as reported by read_connection_list) is established, it doesn't stay up for long. After a timeot of just a few seconds it disappears from the list. I don't know if this would affect DUN, but the guide doesn't mention it and I know that a friend of mine is not experiencing such quick disapperance of bluetooth connections in BlueZ on Linux with the same phone. Is it normal? (The connection comes back automatically when doing an l2ping or similar though.) In ppp.conf the only line in the default section that is not commented out is: set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" And my rfcomm-dialup section looks like this: rfcomm-dialup: enable force-scripts set authname "test" set authkey "test" set phone "*99***1#" set login set timeout 30 enable dns resolv rewrite set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR I've tried *99# as the phone number aswell, which is what is normally used. The authname/authkey is currently set to test, but I have tried with it empty aswell. (The local operator, Telia, is not using any login/password combo, but my previous experience on other laptops with Windows tells me that it often doesn't work when empty, as I have often had to use test/test.) One last thing. I haven't gotten this to work in Windows either, but with different symptomes. There the GPRS indicator shortly changes to a G (meaning its connecting), and then goes down again. But using a terminal problem an ATZ followed by an ATDT*99# is quite enough to get PPP started on the phone. I don't know if the problems ar related. Any suggestions would be appreciated. Thanks! -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrival: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 18 08:46:54 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 947B037B401; Fri, 18 Jul 2003 08:46:54 -0700 (PDT) Received: from mailhub01.unibe.ch (mailhub01-skge0.unibe.ch [130.92.9.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 904F543FA3; Fri, 18 Jul 2003 08:46:53 -0700 (PDT) (envelope-from roth@iam.unibe.ch) Received: from localhost (localhost [127.0.0.1]) by mailhub01.unibe.ch (Postfix) with ESMTP id 77C8F25BA38; Fri, 18 Jul 2003 17:46:52 +0200 (MEST) Received: from mailhub01.unibe.ch ([127.0.0.1]) by localhost (mailhub01 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13472-01-89; Fri, 18 Jul 2003 17:46:51 +0200 (MEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub01.unibe.ch (Postfix) with ESMTP id 9C64325BA2B; Fri, 18 Jul 2003 17:46:51 +0200 (MEST) Received: from speedy.unibe.ch (speedy [130.92.64.35]) by asterix.unibe.ch (8.11.6+Sun/8.11.6) with ESMTP id h6IFkpK00562; Fri, 18 Jul 2003 17:46:51 +0200 (MET DST) Received: (from roth@localhost) by speedy.unibe.ch (8.11.6+Sun/8.10.2) id h6IFkpe26623; Fri, 18 Jul 2003 17:46:51 +0200 (MEST) Date: Fri, 18 Jul 2003 17:46:51 +0200 From: Tobias Roth To: Kevin Oberman Message-ID: <20030718154650.GA22170@speedy.unibe.ch> References: <20030718141239.GB19817@speedy.unibe.ch> <20030718150756.2D3D25D08@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030718150756.2D3D25D08@ptavv.es.net> User-Agent: Mutt/1.4i X-Operating-System: SunOS speedy 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-80 X-Virus-checked: by University of Berne cc: questions@freebsd.org cc: mobile@freebsd.org Subject: Re: dmesg showing wrong frequency (IBM T30) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 15:46:54 -0000 On Fri, Jul 18, 2003 at 08:07:56AM -0700, Kevin Oberman wrote: > Were you on AC or battery when you booted? > > It seems that the T30 (and many other laptops from multiple vendors) > does not change the CPU speed when APM/ACPI from FreeBSD tells it > to. If I boot on battery, my system stays at 1.2 GHz and if I boot on > AC power, the system runs 1.8 GHz. Changes to the power source made > after it is up seem to have no effect. i was on AC all the time. i tried all combinations in the bios (speedstep on/off, max performance setting, ...), always the same. how do you detect what clockspeed your system runs at? did your dmesg ever show something close to 1.8GHz? also, windows is always detecting those 1.2GHz, which indicates for me that the problem is not within the freebsd apm/acpi implementation. i am compiling -current at the moment to see what acpi is reporting. but then, the system is going back to ibm anyway because the second ram slot dies (a known problem). this will possibly force them to switch the mainboard, and i will then see whether the new cpu gets detected differently (and maybe even my ovberheating problems will be solved). From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 18 09:01:55 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5296B37B408; Fri, 18 Jul 2003 09:01:55 -0700 (PDT) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6769343F3F; Fri, 18 Jul 2003 09:01:54 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id MUA74016; Fri, 18 Jul 2003 09:01:52 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 74BEE5D07; Fri, 18 Jul 2003 09:01:51 -0700 (PDT) To: Tobias Roth In-Reply-To: Message from Tobias Roth <20030718154650.GA22170@speedy.unibe.ch> Date: Fri, 18 Jul 2003 09:01:51 -0700 From: "Kevin Oberman" Message-Id: <20030718160151.74BEE5D07@ptavv.es.net> cc: questions@freebsd.org cc: mobile@freebsd.org Subject: Re: dmesg showing wrong frequency (IBM T30) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 16:01:55 -0000 > Date: Fri, 18 Jul 2003 17:46:51 +0200 > From: Tobias Roth > > On Fri, Jul 18, 2003 at 08:07:56AM -0700, Kevin Oberman wrote: > > Were you on AC or battery when you booted? > > > > It seems that the T30 (and many other laptops from multiple vendors) > > does not change the CPU speed when APM/ACPI from FreeBSD tells it > > to. If I boot on battery, my system stays at 1.2 GHz and if I boot on > > AC power, the system runs 1.8 GHz. Changes to the power source made > > after it is up seem to have no effect. > > i was on AC all the time. i tried all combinations in the bios > (speedstep on/off, max performance setting, ...), always the same. > > how do you detect what clockspeed your system runs at? did your dmesg > ever show something close to 1.8GHz? > > also, windows is always detecting those 1.2GHz, which indicates for me > that the problem is not within the freebsd apm/acpi implementation. > i am compiling -current at the moment to see what acpi is reporting. > > but then, the system is going back to ibm anyway because the second ram > slot dies (a known problem). this will possibly force them to switch > the mainboard, and i will then see whether the new cpu gets detected > differently (and maybe even my ovberheating problems will be solved). I watch my CPU speed with the gkx86info plug-in for gkrellm. At this time the plug-in in ports is for gnome1.4, but there is a gnome2 release available that I built and use on FreeBSD. (I really should turn it into a port and submit it.) -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 18 09:22:33 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4221037B401; Fri, 18 Jul 2003 09:22:33 -0700 (PDT) Received: from phk.freebsd.dk (phk.freebsd.dk [212.242.86.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A75C43F93; Fri, 18 Jul 2003 09:22:32 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (port757.uc1-esp.isdn-lan.cybercity.dk [212.242.98.245]) by phk.freebsd.dk (8.12.8/8.12.8) with ESMTP id h6IGMTV3028160; Fri, 18 Jul 2003 16:22:30 GMT (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h6IGMRMu046003; Fri, 18 Jul 2003 18:22:28 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Tobias Roth From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 18 Jul 2003 16:12:39 +0200." <20030718141239.GB19817@speedy.unibe.ch> Date: Fri, 18 Jul 2003 18:22:27 +0200 Message-ID: <46000.1058545347@critter.freebsd.dk> cc: questions@freebsd.org cc: mobile@freebsd.org Subject: Re: dmesg showing wrong frequency (IBM T30) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 16:22:33 -0000 In message <20030718141239.GB19817@speedy.unibe.ch>, Tobias Roth writes: >Hi > >On my IBM T30 1.8GHz, dmesg (with both 4.8 and 5.1) shows me this line: > >CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.8GHz (1196.13-MHz 686-class CPU) > >Various windows utilities also claim that the cpu identification string >marks my cpu as 1.8 GHz unit, while the maximum frequency always gets >detected as something just below 1.2GHz. > >What is wrong here? To other IBM T30 users: Is your CPU identification >correct? What's "wrong" here is that the BIOS/ACPI firmware in your laptop runs your CPU at a reduced rate in order to make the battery last longer. Manufactureres have taken great care to not make it clear that the specs they give you are all reachable, _just_not_at_the_same_time_. You may be able to twiddle things in the BIOS or using ACPI and get faster CPU but less battery lifetime. It can also be that the case that the "cooling solution" (ie: fans, fins etc) does not work well enough and the ACPI code has slowed down the CPU in order to not melt anything [*]. In particular our ACPI code does not seem to always start fans when they should due to high temperatures. Poul-Henning [*] Known in certain circles as a "Warnering your laptop" :-) -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 18 10:24:24 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DCA437B401; Fri, 18 Jul 2003 10:24:24 -0700 (PDT) Received: from mailhub01.unibe.ch (mailhub01.unibe.ch [130.92.9.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6569F43F75; Fri, 18 Jul 2003 10:24:23 -0700 (PDT) (envelope-from roth@iam.unibe.ch) Received: from localhost (localhost [127.0.0.1]) by mailhub01.unibe.ch (Postfix) with ESMTP id E002325BA42; Fri, 18 Jul 2003 19:24:21 +0200 (MEST) Received: from mailhub01.unibe.ch ([127.0.0.1]) by localhost (mailhub01 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16615-01-41; Fri, 18 Jul 2003 19:24:21 +0200 (MEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub01.unibe.ch (Postfix) with ESMTP id 3501525BA37; Fri, 18 Jul 2003 19:24:21 +0200 (MEST) Received: from speedy.unibe.ch (speedy [130.92.64.35]) by asterix.unibe.ch (8.11.6+Sun/8.11.6) with ESMTP id h6IHOKK03852; Fri, 18 Jul 2003 19:24:21 +0200 (MET DST) Received: (from roth@localhost) by speedy.unibe.ch (8.11.6+Sun/8.10.2) id h6IHOKJ01213; Fri, 18 Jul 2003 19:24:20 +0200 (MEST) Date: Fri, 18 Jul 2003 19:24:20 +0200 From: Tobias Roth To: Poul-Henning Kamp Message-ID: <20030718172420.GA469@speedy.unibe.ch> References: <20030718141239.GB19817@speedy.unibe.ch> <46000.1058545347@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46000.1058545347@critter.freebsd.dk> User-Agent: Mutt/1.4i X-Operating-System: SunOS speedy 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-80 X-Virus-checked: by University of Berne cc: questions@freebsd.org cc: mobile@freebsd.org Subject: Re: dmesg showing wrong frequency (IBM T30) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 17:24:24 -0000 On Fri, Jul 18, 2003 at 06:22:27PM +0200, Poul-Henning Kamp wrote: > What's "wrong" here is that the BIOS/ACPI firmware in your laptop > runs your CPU at a reduced rate in order to make the battery last > longer. it should NOT do this. I set the bios to disable speedstep and to 'max performance' while on AC. also, i run apm and not acpi. > It can also be that the case that the "cooling solution" (ie: fans, > fins etc) does not work well enough and the ACPI code has slowed > down the CPU in order to not melt anything [*]. that was also one of my suspicions. the fan is brand new, ibm replaced it after i sent the unit in because of heat problems. could it be that the design of this laptop is bad, when it comes to heat conduction? shouldn't i get the full 1.8GHz when running on AC, and be able to do a buildworld without any sig11 on a hot summer day (~28 deg c room temp). those sig11 are just another thing that may be connected to my low cpu freq... > [*] Known in certain circles as a "Warnering your laptop" :-) haha, i saw those pics, looked scary! From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 18 10:24:33 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C84937B404; Fri, 18 Jul 2003 10:24:33 -0700 (PDT) Received: from mailhub01.unibe.ch (mailhub01.unibe.ch [130.92.9.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB94243F3F; Fri, 18 Jul 2003 10:24:31 -0700 (PDT) (envelope-from roth@iam.unibe.ch) Received: from localhost (localhost [127.0.0.1]) by mailhub01.unibe.ch (Postfix) with ESMTP id 3AB6125BA45; Fri, 18 Jul 2003 19:24:31 +0200 (MEST) Received: from mailhub01.unibe.ch ([127.0.0.1]) by localhost (mailhub01 [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16662-01-21; Fri, 18 Jul 2003 19:24:30 +0200 (MEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub01.unibe.ch (Postfix) with ESMTP id 599E625BA24; Fri, 18 Jul 2003 19:24:30 +0200 (MEST) Received: from speedy.unibe.ch (speedy [130.92.64.35]) by asterix.unibe.ch (8.11.6+Sun/8.11.6) with ESMTP id h6IHOUK03856; Fri, 18 Jul 2003 19:24:30 +0200 (MET DST) Received: (from roth@localhost) by speedy.unibe.ch (8.11.6+Sun/8.10.2) id h6IHOTO01219; Fri, 18 Jul 2003 19:24:29 +0200 (MEST) Date: Fri, 18 Jul 2003 19:24:29 +0200 From: Tobias Roth To: Kevin Oberman Message-ID: <20030718172429.GB469@speedy.unibe.ch> References: <20030718154650.GA22170@speedy.unibe.ch> <20030718160151.74BEE5D07@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030718160151.74BEE5D07@ptavv.es.net> User-Agent: Mutt/1.4i X-Operating-System: SunOS speedy 5.8 Generic_108528-16 sun4u sparc SUNW,Ultra-80 X-Virus-checked: by University of Berne cc: questions@freebsd.org cc: mobile@freebsd.org Subject: Re: dmesg showing wrong frequency (IBM T30) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 17:24:33 -0000 On Fri, Jul 18, 2003 at 09:01:51AM -0700, Kevin Oberman wrote: > > i was on AC all the time. i tried all combinations in the bios > > (speedstep on/off, max performance setting, ...), always the same. > > I watch my CPU speed with the gkx86info plug-in for gkrellm. At this > time the plug-in in ports is for gnome1.4, but there is a gnome2 > release available that I built and use on FreeBSD. (I really should > turn it into a port and submit it.) gkx86info also shows those 1.2GHz, no matter what i do! AC, apm, 'max performance' bios setting, speedstep disabled. i do never get above those 1.2GHz. btw, i will submit a port for the gkrellm2 version of gkx86info sometime next week, this think looks very nice. From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 18 10:48:44 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0765837B401; Fri, 18 Jul 2003 10:48:44 -0700 (PDT) Received: from postal2.es.net (postal2.es.net [198.128.3.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D96743FA3; Fri, 18 Jul 2003 10:48:43 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal2.es.net (Postal Node 2) with ESMTP (SSL) id MUA74016; Fri, 18 Jul 2003 10:48:41 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 5FFEE5D07; Fri, 18 Jul 2003 10:48:40 -0700 (PDT) To: Tobias Roth In-Reply-To: Message from Tobias Roth <20030718172420.GA469@speedy.unibe.ch> Date: Fri, 18 Jul 2003 10:48:40 -0700 From: "Kevin Oberman" Message-Id: <20030718174840.5FFEE5D07@ptavv.es.net> cc: Poul-Henning Kamp cc: questions@freebsd.org cc: mobile@freebsd.org Subject: Re: dmesg showing wrong frequency (IBM T30) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 17:48:44 -0000 > Date: Fri, 18 Jul 2003 19:24:20 +0200 > From: Tobias Roth > Sender: owner-freebsd-mobile@freebsd.org > > On Fri, Jul 18, 2003 at 06:22:27PM +0200, Poul-Henning Kamp wrote: > > What's "wrong" here is that the BIOS/ACPI firmware in your laptop > > runs your CPU at a reduced rate in order to make the battery last > > longer. > > it should NOT do this. I set the bios to disable speedstep and to > 'max performance' while on AC. also, i run apm and not acpi. > > > It can also be that the case that the "cooling solution" (ie: fans, > > fins etc) does not work well enough and the ACPI code has slowed > > down the CPU in order to not melt anything [*]. > > that was also one of my suspicions. the fan is brand new, ibm replaced > it after i sent the unit in because of heat problems. > > could it be that the design of this laptop is bad, when it comes to > heat conduction? > > shouldn't i get the full 1.8GHz when running on AC, and be able to > do a buildworld without any sig11 on a hot summer day (~28 deg c room > temp). those sig11 are just another thing that may be connected to my > low cpu freq... I have not had any issue running a buildworld on my T30 on a hot day. (It hit 105 at my house yesterday and 103 at Lawrence Livermore about 3 miles away.) It runs at 1.8 GHz and takes under an hour to build CURRENT, about 35% longer than it took with STABLE. No 11s sighted. It does get HOT..too hot to really be a laptop unless you have well insulated pants, but within spec for temperature. (At least with ACPI running so that I can monitor the temperature.) The exhaust vent is blowing a strong stream of very warm air. I do see messages that the system is switching between performance and economy mode when I switch from AC to battery, but the CPU pays no attention and the speed stays unchanged under both APM and ACPI. :-( It sounds like something is very wrong with your T30. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 18 12:20:43 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 770A037B401; Fri, 18 Jul 2003 12:20:43 -0700 (PDT) Received: from freebie.xs4all.nl (freebie.xs4all.nl [213.84.32.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3ED6543FAF; Fri, 18 Jul 2003 12:20:42 -0700 (PDT) (envelope-from wkb@freebie.xs4all.nl) Received: from freebie.xs4all.nl (localhost [127.0.0.1]) by freebie.xs4all.nl (8.12.9/8.12.9) with ESMTP id h6IJKf6x085664; Fri, 18 Jul 2003 21:20:41 +0200 (CEST) (envelope-from wkb@freebie.xs4all.nl) Received: (from wkb@localhost) by freebie.xs4all.nl (8.12.9/8.12.9/Submit) id h6IJKf3Z085663; Fri, 18 Jul 2003 21:20:41 +0200 (CEST) Date: Fri, 18 Jul 2003 21:20:41 +0200 From: Wilko Bulte To: Poul-Henning Kamp Message-ID: <20030718192041.GD85522@freebie.xs4all.nl> References: <20030718141239.GB19817@speedy.unibe.ch> <46000.1058545347@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46000.1058545347@critter.freebsd.dk> User-Agent: Mutt/1.4i X-OS: FreeBSD 4.8-STABLE X-PGP: finger wilko@freebsd.org cc: questions@freebsd.org cc: Tobias Roth cc: mobile@freebsd.org Subject: Re: dmesg showing wrong frequency (IBM T30) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 19:20:43 -0000 On Fri, Jul 18, 2003 at 06:22:27PM +0200, Poul-Henning Kamp wrote: > In message <20030718141239.GB19817@speedy.unibe.ch>, Tobias Roth writes: ... > It can also be that the case that the "cooling solution" (ie: fans, > fins etc) does not work well enough and the ACPI code has slowed > down the CPU in order to not melt anything [*]. > > In particular our ACPI code does not seem to always start fans when > they should due to high temperatures. > > Poul-Henning > > [*] Known in certain circles as a "Warnering your laptop" :-) Which can be solved by carefully watering your laptop. Beer will do as well ;) -- | / o / /_ _ wkb@freebie.xs4all.nl |/|/ / / /( (_) Bulte From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 18 12:45:30 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FC3237B401 for ; Fri, 18 Jul 2003 12:45:30 -0700 (PDT) Received: from vmmr8.verisignmail.com (vmmrnat.verisignmail.com [216.168.230.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6907143FA3 for ; Fri, 18 Jul 2003 12:45:29 -0700 (PDT) (envelope-from sysop@bat21.net) Received: from ms3.verisignmail.com (ms3.verisignmail.com [216.168.230.176] (may be forged)) by vmmr8.verisignmail.com (Mirapoint Messaging Server MOS 3.2.2-GA) with ESMTP id AOA32076; Fri, 18 Jul 2003 15:45:24 -0400 (EDT) Received: from sg1 (adsl-64-172-56-99.dsl.snfc21.pacbell.net [64.172.56.99]) by ms3.verisignmail.com (Mirapoint Messaging Server MOS 3.2.2-GA) with ESMTP id ALA73277; Fri, 18 Jul 2003 15:45:22 -0400 (EDT) From: "James R. Higgins" To: Date: Fri, 18 Jul 2003 12:45:51 -0700 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Thinkpad 600x and PCMCIA X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 19:45:30 -0000 I just loaded 5.1 onto a IBM Thinkpad 600x and cannot get any of my lan cards or wireless cards to operate. I followed some threads and inserted "hw.pccard.cis_degug=1" into /boot/loader.conf and this is what I get: cis mem map cd1bb000 pccard1: CIS tuple chain: CISTPL_END ff cis mem map cd1bb000 CISTPL_LINKTARGET expected, code ff observed pccard1: Card has no functions! cbb1: PC Card card activation failed Also, the hardware being used is on the approved list. Thanks. James R. Higgins sysop@bat21.net From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 18 13:55:44 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7837037B401; Fri, 18 Jul 2003 13:55:44 -0700 (PDT) Received: from msgbas1x.cos.agilent.com (msgbas1x.cos.agilent.com [192.25.240.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id C32E743F3F; Fri, 18 Jul 2003 13:55:43 -0700 (PDT) (envelope-from darrylo@soco.agilent.com) Received: from relcos1.cos.agilent.com (relcos1.cos.agilent.com [130.29.152.239]) by msgbas1x.cos.agilent.com (Postfix) with ESMTP id A7FF413A11; Fri, 18 Jul 2003 14:55:40 -0600 (MDT) Received: from mina.soco.agilent.com (mina.soco.agilent.com [141.121.54.157]) by relcos1.cos.agilent.com (Postfix) with ESMTP id 8C607AA1; Fri, 18 Jul 2003 14:55:42 -0600 (MDT) Received: from mina.soco.agilent.com (darrylo@localhost [127.0.0.1]) SMKit7.1.1_Agilent) with ESMTP id NAA07570; Fri, 18 Jul 2003 13:55:42 -0700 (PDT) Message-Id: <200307182055.NAA07570@mina.soco.agilent.com> To: Wilko Bulte In-Reply-To: Your message of "Fri, 18 Jul 2003 21:20:41 +0200." <20030718192041.GD85522@freebie.xs4all.nl> Mime-Version: 1.0 (generated by tm-edit 1.7) Content-Type: text/plain; charset=US-ASCII Date: Fri, 18 Jul 2003 13:55:41 -0700 From: Darryl Okahata cc: Poul-Henning Kamp cc: questions@freebsd.org cc: mobile@freebsd.org Subject: Re: dmesg showing wrong frequency (IBM T30) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Darryl Okahata List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 20:55:44 -0000 Wilko Bulte wrote: > > Poul-Henning > > > > [*] Known in certain circles as a "Warnering your laptop" :-) > > Which can be solved by carefully watering your laptop. Beer will do > as well ;) It might be more useful to apply water (well, beer) to Warner instead of the laptop. The application of water or beer to a laptop is contraindicated, due to the undesirable side-effects of smoke and fire. -- Darryl Okahata darrylo@soco.agilent.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion, or policy of Agilent Technologies, or of the little green men that have been following him all day. From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 18 14:12:09 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A76237B401 for ; Fri, 18 Jul 2003 14:12:09 -0700 (PDT) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8735E43F3F for ; Fri, 18 Jul 2003 14:12:08 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id MUA74016; Fri, 18 Jul 2003 14:12:06 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 2F54F5D07; Fri, 18 Jul 2003 14:12:06 -0700 (PDT) To: "James R. Higgins" In-Reply-To: Message from "James R. Higgins" Date: Fri, 18 Jul 2003 14:12:06 -0700 From: "Kevin Oberman" Message-Id: <20030718211206.2F54F5D07@ptavv.es.net> cc: freebsd-mobile@freebsd.org Subject: Re: Thinkpad 600x and PCMCIA X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 21:12:09 -0000 > From: "James R. Higgins" > Date: Fri, 18 Jul 2003 12:45:51 -0700 > Sender: owner-freebsd-mobile@freebsd.org > > I just loaded 5.1 onto a IBM Thinkpad 600x and cannot get any of my lan > cards or wireless cards to operate. I followed some threads and > inserted "hw.pccard.cis_degug=1" into /boot/loader.conf and this is what > I get: > > cis mem map cd1bb000 > pccard1: CIS tuple chain: > CISTPL_END > ff > cis mem map cd1bb000 > CISTPL_LINKTARGET expected, code ff observed > pccard1: Card has no functions! > cbb1: PC Card card activation failed > > Also, the hardware being used is on the approved list. Thanks. Have you tried setting hw.pci.allow_unsupported_io_range to 1? What about setting hw.cbb.start_memory. I needed to set it to 0x20000000 on my 600E. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 18 15:33:42 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0CAC37B401 for ; Fri, 18 Jul 2003 15:33:42 -0700 (PDT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CE8643F85 for ; Fri, 18 Jul 2003 15:33:42 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id MUA74016; Fri, 18 Jul 2003 15:33:40 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 0A24B5D07; Fri, 18 Jul 2003 15:33:40 -0700 (PDT) To: "James R. Higgins" In-Reply-To: Message from "James R. Higgins" <019201c34d7c$0d5d07f0$6601a8c0@stargate.bat21.net> Date: Fri, 18 Jul 2003 15:33:39 -0700 From: "Kevin Oberman" Message-Id: <20030718223340.0A24B5D07@ptavv.es.net> cc: freebsd-mobile@freebsd.org Subject: Re: Thinkpad 600x and PCMCIA X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 22:33:43 -0000 > From: "James R. Higgins" > Date: Fri, 18 Jul 2003 15:29:28 -0700 > > That got me moving close to the solution . My non wireless cards work > but my wireless does not and gives me the following error repeatedly: > > Wi0: wi_cmd: busy bit won't clear > > Then it locks up. The card is a compaq WL100 Is WEP enabled? If I have WEP enabled and the card attempts to associate with an AP that is not using the same WEP key, I get these messages. If you are using WEP, please be sure to use a hex key. ASCII keys seem to have interoperability issues, depending on the exact card used. General advice is to just not use ASCII keys. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 From owner-freebsd-mobile@FreeBSD.ORG Fri Jul 18 15:44:12 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BF1837B401 for ; Fri, 18 Jul 2003 15:44:12 -0700 (PDT) Received: from web20714.mail.yahoo.com (web20714.mail.yahoo.com [66.163.169.155]) by mx1.FreeBSD.org (Postfix) with SMTP id CAB8443F93 for ; Fri, 18 Jul 2003 15:44:11 -0700 (PDT) (envelope-from unexpectedvalue@yahoo.com) Message-ID: <20030718224411.66511.qmail@web20714.mail.yahoo.com> Received: from [205.179.159.103] by web20714.mail.yahoo.com via HTTP; Fri, 18 Jul 2003 15:44:11 PDT Date: Fri, 18 Jul 2003 15:44:11 -0700 (PDT) From: True Entropy To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: PC cards on vaio PCG-705 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 22:44:12 -0000 I am having problems getting 802.11b and ethernet PC cards to work on vaio pcg-705. It looks like that cards can be set up and controlled from the machine, and sometimes they can transmit, but data never gets in. This could obviously be an IRQ problem, but it doesn't seem so as dmesg does not complain. As I have no means of communicating with the autistic laptop, no dmesg is included :-) Short history of release behaviour (all stable major releases): 4.4, 4.7 and 4.8 will not boot - spontaneous reboot shortly after loading kernel from CD. 5.0 and 5.1 boot and install fine. OLDCARD on 5.1 cannot be compiled at all, there are unresolved globals. OLDCARD compiles fine on 5.0. 5.1 (NEWCARD): Sees and sets up NETGEAR MA401 (wi driver), including wep password. However, the card status never gets to "associated". The AP sees the card, though. Also recognises D-Link DFE-690TXD (rl driver). The card transmits to the point where other machines on the network properly top ARP for it (ie. the card's MAC appears with correct IP in other's ARP tables.) However, nothing comes back. 5.0 (OLDCARD) Same as above for MA401, but has "watchdog timeout" complaints in addition. I never got it to see DFE-690TXD (pccardd complains about "(null)" pccard ID). 5.0 NEWCARD - same as 5.1 NEWCARD. I tried (I think) all stuff I saw on maillists, usenet and assorted websites, about pccard.conf, kernel options, etc., although not in all possible combinations. Hopefully someone can save me days of recomplilations. thanks, ===== . end . (spam starts here) __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 19 10:08:36 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B46537B401; Sat, 19 Jul 2003 10:08:36 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EA6643F75; Sat, 19 Jul 2003 10:08:35 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h6JH8WFL025625; Sat, 19 Jul 2003 11:08:33 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 19 Jul 2003 11:08:27 -0600 (MDT) Message-Id: <20030719.110827.28086729.imp@bsdimp.com> To: phk@phk.freebsd.dk From: "M. Warner Losh" In-Reply-To: <46000.1058545347@critter.freebsd.dk> References: <20030718141239.GB19817@speedy.unibe.ch> <46000.1058545347@critter.freebsd.dk> X-Mailer: Mew version 2.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: questions@freebsd.org cc: roth@iam.unibe.ch cc: mobile@freebsd.org Subject: Re: dmesg showing wrong frequency (IBM T30) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2003 17:08:36 -0000 In message: <46000.1058545347@critter.freebsd.dk> "Poul-Henning Kamp" writes: : [*] Known in certain circles as a "Warnering your laptop" :-) Hmmm, melted plastic sure smells good in the morning :-) After replacing my fiva keyboard, I'm quite happy with it again. Warner From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 19 10:11:16 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F17A637B401; Sat, 19 Jul 2003 10:11:15 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 353DB43FB1; Sat, 19 Jul 2003 10:11:15 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h6JHBBFL025646; Sat, 19 Jul 2003 11:11:12 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 19 Jul 2003 11:11:07 -0600 (MDT) Message-Id: <20030719.111107.02184273.imp@bsdimp.com> To: darrylo@soco.agilent.com From: "M. Warner Losh" In-Reply-To: <200307182055.NAA07570@mina.soco.agilent.com> References: <20030718192041.GD85522@freebie.xs4all.nl> <200307182055.NAA07570@mina.soco.agilent.com> X-Mailer: Mew version 2.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: phk@phk.freebsd.dk cc: questions@freebsd.org cc: mobile@freebsd.org Subject: Re: dmesg showing wrong frequency (IBM T30) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2003 17:11:16 -0000 In message: <200307182055.NAA07570@mina.soco.agilent.com> Darryl Okahata writes: : > > [*] Known in certain circles as a "Warnering your laptop" :-) : > : > Which can be solved by carefully watering your laptop. Beer will do : > as well ;) : : It might be more useful to apply water (well, beer) to Warner : instead of the laptop. The application of water or beer to a laptop is : contraindicated, due to the undesirable side-effects of smoke and fire. Applying beer to Warner has been known to make him pun badly. There was a time when my local pub had banned me from having more than one Guiness due to the foulness of my puns.... Warner From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 19 14:47:09 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED5BC37B401 for ; Sat, 19 Jul 2003 14:47:09 -0700 (PDT) Received: from web40311.mail.yahoo.com (web40311.mail.yahoo.com [66.218.78.90]) by mx1.FreeBSD.org (Postfix) with SMTP id 5B47843FA3 for ; Sat, 19 Jul 2003 14:47:09 -0700 (PDT) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20030719214709.98429.qmail@web40311.mail.yahoo.com> Received: from [207.175.241.198] by web40311.mail.yahoo.com via HTTP; Sat, 19 Jul 2003 14:47:09 PDT Date: Sat, 19 Jul 2003 14:47:09 -0700 (PDT) From: Maksim Yevmenkin To: Peter Schuller , freebsd-mobile@freebsd.org In-Reply-To: <2E7E8A35375D1449A6F28D5E022E67310AC4E7@USSC8MS04.Global.Cwintra.Com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: rfcomm_pppd fails (T40p and Nokia 7650) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2003 21:47:10 -0000 Peter, > I've been trying to get connected using GPRS and Bluetooth on my IBM > ThinkPad T40p. It has a bluetooth card that sits on the USB bus, so > I'm using the ubt driver. thank you for trying this :) > I am following the descriptions at: > > http://www.oook.cz/bsd/bluetooth.html > > and everything works perfectly up until the point where I want to connect > using rfcomm_pppd. I run the following command: > > rfcomm_pppd -a 00:02:ee:73:89:0b -c -C 1 -d -l rfcomm-dialup good. i assume that "00:02:ee:73:89:0b" is your phone BD_ADDR, right? > Where channel 1 is Dial-Up Networking (I also tried 2 - Bluetooth Serial > Port, just in case). When I do things one of two things happen: > > * Either it just exists after a little while, no messages. this probably means that you have established Bluetooth RFCOMM connection and PPP has started, but then something went wrong with PPP. could you please add "set debug all" in your /etc/ppp/ppp.conf file and look in /var/log/ppp.log to see what the problem might be? > * Or it exits with: > rfcomm_pppd[39117]: Could not connect socket. Connection refused > (61) this means that PC was not able to establish Bluetooth RFCOMM connection. perhaps phone rejected it, or could be other reason. i would like to see HCI dump. could you please compile hcidump(1) from the snapshot's ports/ directory and then run it # hcidump -x after that try to run rfcomm_pppd(8) again and send me the output of hcidump. Note: hcidump(1) is included in snapshot: http://www.geocities.com/m_evmenkin/ngbt-fbsd-20030604.tar.gz > On the phone side the bluetooth indicator indicates traffic is happening > for a while. However the GPRS indicator doesn't flinch (normally it's a > three-step indicator indicating either that nothing is happening, or a G if > GPRS is in the process of connecting, or an encircled G when GPRS is up and > running). hmmm... strange... i need to see HCI dump to help you. > The laptop is paired with the phone and set as "authorized" on the phone > side. I have tried with hcsecd both on and off; and with > read/write_authentication_enable both 1 and 0, and so far no luck. hcsecd(8) must be running all the time. my ericsson t68i stores link key once i pair PC and the phone. next time when PC tries to connect to the phone, the phone will ask for the link key. if hcsecd(8) is not running then link key request from the phone will timeout and Bluetooth connection will fail. perhaps nokia phones use the same scheme. another little problem is that hcsecd(8) does not store link keys, so you will need to enter PIN every time to get it working. this problem was fixed, but i did not release this yet (there is hcsecd(8) patch for recent snapshot however). > Besides this not working, the one "weird" thing I noticed was that once a > BT connection (as reported by read_connection_list) is established, it > doesn't stay up for long. After a timeot of just a few seconds it > disappears > from the list. I don't know if this would affect DUN, but the guide doesn't > mention it and I know that a friend of mine is not experiencing such quick > disapperance of bluetooth connections in BlueZ on Linux with the same > phone. > Is it normal? it is probably "auto disconnect" feature. L2CAP node has auto disconnect timeout (default 5 seconds). if baseband connection was inactive for the duration of the auto disconnect timeout we will close it. you can use l2control(8) utility to change (or disable) auto disconnect timeout. > (The connection comes back automatically when doing an l2ping or similar > though.) right, and it will go down once you stop l2ping and wait for auto disconnect timeout. > In ppp.conf the only line in the default section that is not commented out > is: > > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ > \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" > > And my rfcomm-dialup section looks like this: > > rfcomm-dialup: > enable force-scripts > set authname "test" > set authkey "test" > set phone "*99***1#" > set login > set timeout 30 > enable dns > resolv rewrite > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > add default HISADDR this looks normal to me. i would add "set debug all" to debug PPP problem. > I've tried *99# as the phone number aswell, which is what is normally used. > The authname/authkey is currently set to test, but I have tried with it > empty aswell. (The local operator, Telia, is not using any login/password > combo, but my previous experience on other laptops with Windows tells me > that it often doesn't work when empty, as I have often had to use > test/test.) empty authname/authkey should work just fine. it only matters if remote side requests them (and it seems your provider does not). also you should make sure you have the right service plan on you phone. APN (Access Point Name) should point to access point that talks PPP not WAP. > One last thing. I haven't gotten this to work in Windows either, but with > different symptomes. There the GPRS indicator shortly changes to a G > (meaning its connecting), and then goes down again. But using a terminal > problem an ATZ followed by an ATDT*99# is quite enough to get PPP started > on > the phone. I don't know if the problems ar related. so, you are saying that you can connect to the "serial port" service on the phone, then start windows termial program and after you type ATZ ATDT*99# you can see PPP frames? if that is true than you can do the same thing in FreeBSD. use rfcomm_sppd(8) utility to connect to the "serial port" service on your phone. then start ppp(8) and use tty in "set device" command and try to open PPP session. then look into /var/log/ppp.log to see what is going on. thanks, max __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 19 16:38:58 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7430037B401 for ; Sat, 19 Jul 2003 16:38:58 -0700 (PDT) Received: from infidyne.com (io.infidyne.com [212.112.161.72]) by mx1.FreeBSD.org (Postfix) with SMTP id 0840C43F75 for ; Sat, 19 Jul 2003 16:38:57 -0700 (PDT) (envelope-from peter.schuller@infidyne.com) Received: (qmail 6886 invoked by uid 1000); 19 Jul 2003 23:38:57 -0000 From: "Peter Schuller" Date: Sun, 20 Jul 2003 01:38:56 +0200 To: Maksim Yevmenkin Message-ID: <20030719233856.GA6023@infidyne.com> References: <2E7E8A35375D1449A6F28D5E022E67310AC4E7@USSC8MS04.Global.Cwintra.Com> <20030719214709.98429.qmail@web40311.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030719214709.98429.qmail@web40311.mail.yahoo.com> User-Agent: Mutt/1.4i cc: Peter Schuller cc: freebsd-mobile@freebsd.org Subject: Re: rfcomm_pppd fails (T40p and Nokia 7650) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jul 2003 23:38:58 -0000 Hello, > > I've been trying to get connected using GPRS and Bluetooth on my IBM > > ThinkPad T40p. It has a bluetooth card that sits on the USB bus, so > > I'm using the ubt driver. > > thank you for trying this :) My pleasure. Especially if I get it working :) > good. i assume that "00:02:ee:73:89:0b" is your phone BD_ADDR, right? Correct. Now before I continue, I'll just tell you what's happened since I posted. During the past few hours I had another crack at getting this to work. I wasn't getting anywhere this time either, until I noticed that the BD_ADDR I had put in /etc/bluetooth/hcsecd.conf did not match the one I was using on the rfcomm_pppd command line. This in combination with errors in the output of hcsecd lead me to believe that I had put the wrong BD_ADDR in the configuration file. So I changed it. (00:01 instead of 00:02). This didn't work either; and after further investigation I realized I had the right address in the .conf all along - I had just been using the wrong address on the command line during part of this "session". So I changed the .conf back to 00:02 and modified the command line accordingly. And now it works (a bit further, not quite, see below). I don't get it. I am quite sure I did not make the same misstake before, because at the time I was in X using cut'n'paste - never manually entering the address. This time I was in the console without cut'n'paste and made a typo. The only possibility I can figure is that it had something to do with me re-pairing the phone. I cannot remember anything else "special" I did. I only hope it keeps working. Last time something suddently worked, it stopped working after the laptop had been turned off for the night :) I'll comment some of the parts below anyway since I still don't feel confident I have it working permanently to begin with. But first, let me just state that I am now at a point where I have the exact same problem as in Windows. pppd will successfully dial and connect, and the ppp stuff gets going. It negotiated ipv6 and fails among other things. It looks mostly pretty fine, no errors/warning that should be fatal as far as I can see (just stuff like ipv6 neg. failing). Then suddently it receives a terminate request from the phone and the link goes down. I believe this should be able to be rectified by using the initstring: AT+CGDCONT=1,IP,online.telia.se to identify the access point for the phone. This is what my friend (same guy with bluez/linux/same phone) is using with success. However when I modify the chat script to send that string, I get an ERROR in return. I suspect I would get it to work if I could get the phone to accept the above command, or something equivalent. I will continue investigating. Of course, this is beyond the scope of freebsd/rfcomm/etc. > this probably means that you have established Bluetooth RFCOMM connection > and PPP has started, but then something went wrong with PPP. could you > please add "set debug all" in your /etc/ppp/ppp.conf file and look in > /var/log/ppp.log to see what the problem might be? I turned on debug for most phases (Chat, LCP, IPCP, CCP) a while back, and got nothing when I had the no-error-no-nothing syndrome. > > * Or it exits with: > > rfcomm_pppd[39117]: Could not connect socket. Connection refused > > (61) > > this means that PC was not able to establish Bluetooth RFCOMM connection. > perhaps phone rejected it, or could be other reason. i would like to see > HCI dump. could you please compile hcidump(1) from the snapshot's ports/ > directory and then run it I still get this sometimes, seemingly randomly. When I do, I can keep trying and sooner or later it will work. If you are interested for purposes other than helping me, I will gladly get you the hcidump output. There is a couple of messages that appears in the kernel log sometimes (not sure when) that you may be interested in: ng_btsocket_rfcomm_receive_uih: Got UIH for clci=2 in invalid state=5, flags=0x3 (line break added by me) I have only gotten that perhaps 10 times, so it's almost certainly not something that happens consistently when rfcomm_pppd fails as I have been trying a lot more times than that. > > On the phone side the bluetooth indicator indicates traffic is happening > > for a while. However the GPRS indicator doesn't flinch (normally it's a > > three-step indicator indicating either that nothing is happening, or a G if > > GPRS is in the process of connecting, or an encircled G when GPRS is up and > > running). > > hmmm... strange... i need to see HCI dump to help you. (I now get the non-encircled G, Windows style, on those attempts where it gets going normally.) > hcsecd(8) must be running all the time. I, I was unsure about that. Seemed like the right thing to do, but for some reason I got into my head that I was supposed to turn it off. I was probably just too tired when reading the "bluetooth on freebsd" guide. > my ericsson t68i stores link > key once i pair PC and the phone. next time when PC tries to connect to > the phone, the phone will ask for the link key. if hcsecd(8) is not > running then link key request from the phone will timeout and Bluetooth > connection will fail. perhaps nokia phones use the same scheme. Not sure. So far I've only seen stuff about the link key *not* existing. I will look closer in the future. > another little problem is that hcsecd(8) does not store link keys, so > you will need to enter PIN every time to get it working. this problem > was fixed, but i did not release this yet (there is hcsecd(8) patch for > recent snapshot however). Ah, ok. I was wondering why the phone didn't seem to "remember" the laptop pairing properly. > it is probably "auto disconnect" feature. L2CAP node has auto disconnect > timeout (default 5 seconds). if baseband connection was inactive for the > duration of the auto disconnect timeout we will close it. you can use > l2control(8) utility to change (or disable) auto disconnect timeout. 5 secs sound right; probably it. I'll check l2control. > > (The connection comes back automatically when doing an l2ping or similar > > though.) > > right, and it will go down once you stop l2ping and wait for auto disconnect > timeout. Correct. > this looks normal to me. i would add "set debug all" to debug PPP problem. I've since mucked about quite a bit with ppp.conf, mostly to try various combos of the CGDCONT... stuff. But basically the same otherwise. > empty authname/authkey should work just fine. it only matters if remote > side requests them (and it seems your provider does not). also you should > make sure you have the right service plan on you phone. APN (Access Point > Name) should point to access point that talks PPP not WAP. Yes, I have been wondering if this might be it. I will compare my settings with that of my aforementioned friend. > the phone, then start windows termial program and after you type > > ATZ > ATDT*99# > > you can see PPP frames? Yep. > if that is true than you can do the same thing in > FreeBSD. use rfcomm_sppd(8) utility to connect to the "serial port" service > on your phone. then start ppp(8) and use tty in "set device" command and try > to open PPP session. then look into /var/log/ppp.log to see what is going on. Ahhh, thanks! I was just about to investigate if there was something like this when I noticed your response. I'm hoping to solve my init string problem easier by having interactive AT command access. Thanks a lot! For both the bluetooth implementation and your help :) If I get this stuff working and/or have more insight about the communication problems I'll include it on the FreeBSD-on-T40p page I'm putting together. -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrival: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org From owner-freebsd-mobile@FreeBSD.ORG Sat Jul 19 18:17:04 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B04D537B401 for ; Sat, 19 Jul 2003 18:17:04 -0700 (PDT) Received: from web40305.mail.yahoo.com (web40305.mail.yahoo.com [66.218.78.84]) by mx1.FreeBSD.org (Postfix) with SMTP id 2E3E343F75 for ; Sat, 19 Jul 2003 18:17:04 -0700 (PDT) (envelope-from m_evmenkin@yahoo.com) Message-ID: <20030720011704.87555.qmail@web40305.mail.yahoo.com> Received: from [207.175.241.198] by web40305.mail.yahoo.com via HTTP; Sat, 19 Jul 2003 18:17:04 PDT Date: Sat, 19 Jul 2003 18:17:04 -0700 (PDT) From: Maksim Yevmenkin To: Peter Schuller In-Reply-To: <20030719233856.GA6023@infidyne.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: Peter Schuller cc: freebsd-mobile@freebsd.org Subject: Re: rfcomm_pppd fails (T40p and Nokia 7650) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2003 01:17:05 -0000 Peter, [ skipped ] > But first, let me just state that I am now at a point where I have the exact > same problem as in Windows. pppd will successfully dial and connect, and the > ppp stuff gets going. It negotiated ipv6 and fails among other things. It > looks mostly pretty fine, no errors/warning that should be fatal as far as > I can see (just stuff like ipv6 neg. failing). Then suddently it > receives a terminate request from the phone and the link goes down. please clarify what do you mean by "terminate request from the phone". does it mean phone terminates Bluetooth connection? or does it mean remote PPP peer terminate PPP session? > I believe this should be able to be rectified by using the initstring: > > AT+CGDCONT=1,IP,online.telia.se > > to identify the access point for the phone. This is what my friend (same guy > with bluez/linux/same phone) is using with success. However when I modify hmmm... you could try setup "GSM data account/profile" in your phone using the settings above. i think once you do that you do not have to send this string. if you have more than one "GSM data account/profile" (i.e. PPP over GRPS and WAP over GRPS) make sure that PPP one is first. the settings should be pretty much the same except APN. > the chat script to send that string, I get an ERROR in return. I suspect I > would get it to work if I could get the phone to accept the above command, > or something equivalent. I will continue investigating. here is from t68i AT command set AT+CGDCONT Define PDP Context Description: Specifies the PDP context parameter values for a PDP context identified by the parameter. AT+CDGCONT=[[,[,[,[, [,[,[,...[,]]]]]]]]] Parameters: : Integer; Specifies the particular PDP context definition. The parameter is local to the TA-TE interface and is used in other PDP-context related commands. The range of permitted values (minimum value=’1’) is returned by the test command. pdpdp_type>:pdpdp_type> Description "X25ITUTU-CCITIT X.25 layer 3 IPIP" Internet Protocol OSPIHIH" Internet Hosted Octet Stream Protocol PPPPP" Point-to-Point Protocol APNPN>: String; used to select thGGSNSN or the external packet data network. If the value is null or is omitted, the subscription value will be requested. pdpdp_address>: String; identifies the MT in the address space applicable to the PDP. If the value is null or is omitted, a value may be provided by the TE during the PDP start-up procedure or, if that fails, a dynamic address will be requested. : Description 0 PDP data compression OFF Default setting 1 PDP data compression ON 2-255 Reserved : Description 0 PDP header compression OFF Default setting 1 PDP header compression ON 2-255 Reserved pdNdN>: Zero to N string parameters whose meanings are specific to the pdpdp_type>. > > this probably means that you have establisheBluetoothtRFCOMMMM connection > > anPPPPP has started, but then something went wrong witPPPPP. could you > > please add "set debug all" in your /etppppppppconfnf file and look in > > /var/loppppp.log to see what the problem might be? > > I turned on debug for most phases (ChatLCPCPIPCPCPCCPCP) a while back, and > got nothing when I had the no-error-no-nothing syndrome. > > > > * Or it exits with: > > > rfcommmpppdpd[39117]: Could not connect socket. Connection refused > > > (61) > > > > this means that PC was not able to establisBluetoothtRFCOMMMM connection. > > perhaps phone rejected it, or could be other reason. i would like to see > HCICI dump. could you please compilhcidumpmp(1) from the snapshot's ports/ > > directory and then run it > > I still get this sometimes, seemingly randomly. When I do, I can keep trying > and sooner or later it will work. If you are interested for purposes other > than helping me, I will gladly get you thhcidumpmp output. please dohcidumpmp will tell me what is going on. > There is a couple of messages that appears in the kernel log sometimes (not > sure when) that you may be interested in: > ngnbtsocketerfcommmm_receivuihih: GoUIHIH foclcici=2 in invalid > state=5, flags=0x3 these are debug warnings. what is says is that we have receiveUIHIRFCOMMMM frame (data) while we are in the process of disconnectinDLCICI. sUIHIH frame was discarded. > > > On the phone side thbluetoothth indicator indicates traffic is happening > > > for a while. However thGPRSRS indicatodoesnsn't flinch (normally it's a > > > three-step indicator indicating either that nothing is happening, or a G > if > > GPRSRS is in the process of connecting, or an encircled G wheGPRSRS is up > and > > > running). > > > hmmmmm... strange... i need to seHCICI dump to help you. > > (I now get the non-encircled G, Windows style, on those attempts where it > gets going normally.) i see. but its noBluetoothtrfcommmpppdpd related anymore - you havBluetoothth connection to the phone. > hcsecdcd(8) must be running all the time. > > I, I was unsure about that. Seemed like the right thing to do, but for some > reason I got into my head that I was supposed to turn it off. I was probably > just too tired when reading thebluetoothth ofreebsdsd" guide. > > > mericssonon t68i stores link > > key once i pair PC and the phone. next time when PC tries to connect to > > the phone, the phone will ask for the link key. ihcsecdcd(8) is not > > running then link key request from the phone will timeout anBluetoothth > > connection will fail. perhapnokiaia phones use the same scheme. > > Not sure. So far veve only seen stuff about the link key *not* existing. I > will look closer in the future. > > > another little problem is thahcsecdcd(8) does not store link keys, so > > you will need to enter PIN every time to get it working. this problem > > was fixed, but i did not release this yet (there ihcsecdcd(8) patch for > > recent snapshot however). > > Ahokok. I was wondering why the phondidndn't seem to "remember" the laptop > pairing properly. > > > it is probably "auto disconnect" feature. L2CAP node has auto disconnect > > timeout (default 5 seconds). if baseband connection was inactive for the > > duration of the auto disconnect timeout we will close it. you can use > > l2control(8) utility to change (or disable) auto disconnect timeout. > > 5 secs sound right; probably it. I'll check l2control. > > > > (The connection comes back automatically when doing an l2ping or similar > > > though.) > > > > right, and it will go down once you stop l2ping and wait for auto > disconnect > > timeout. > > Correct. > > > this looks normal to me. i would add "set debug all" to debuPPPPP problem. > > veve since mucked about quite a bit witppppconfnf, mostly to try various > combos of thCGDCONTNT... stuff. But basically the same otherwise. try to setuGSMSM datacccountnt on the phone itself. > > emptauthnamemauthkeyey should work just fine. it only matters if remote > > side requests them (and it seems your provider does not). also you should > > make sure you have the right service plan on you phoneAPNPN (Access Point > > Name) should point to access point that talkPPPPP noWAPAP. > > Yes, I have been wondering if this might be it. I will compare my settings > with that of my aforementioned friend. ask your cell phone provider about "mobilinternetet" plan of something like this. my provider (t-mobile/USA) has two plans: t-zones WAPAP oveGRPSPS and mobilinternetet PPPPP oveGRPSPS. both use differenAPNsNs. t-zones only works with phoneWAPAP). > > if that is true than you can do the same thing in > FreeBSDSD. usrfcommmsppdpd(8) utility to connect to the "serial port" > service > > on your phone. then starppppp(8) and use tty in "set device" command and > try > > to opePPPPP session. then look into /var/loppppp.log to see what is going > on. > Ahhhhh, thanks! I was just about to investigate if there was something like > this when I noticed your response. I'm hoping to solve minitit string > problem easier by having interactive AT command access. sure give it a try and let me know if you have any problems. > Thanks a lot! For both thbluetoothth implementation and your help :) > > If I get this stuff working and/or have more insight about the communication > problems I'll include it on thFreeBSDSD-on-T40p page I'm putting together. great :) do not forget to send me a link :) thanks, max __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com