From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 16 07:28:28 2005 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 68A0B16A4CE for ; Sun, 16 Jan 2005 07:28:28 +0000 (GMT) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id D25B743D41 for ; Sun, 16 Jan 2005 07:28:27 +0000 (GMT) (envelope-from Michael.Collette@TestEquity.com) Received: from [192.168.1.51] (really [24.75.146.34]) by mta9.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20050116072826.QHGS14945.mta9.adelphia.net@[192.168.1.51]>; Sun, 16 Jan 2005 02:28:26 -0500 From: Michael Collette Organization: TestEquity Inc To: Clive Lin Date: Sat, 15 Jan 2005 23:28:20 -0800 User-Agent: KMail/1.7.2 References: <200412291317.26537.Michael.Collette@testequity.com> <20050102114113.GA6290@tongi.org> In-Reply-To: <20050102114113.GA6290@tongi.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501152328.21145.Michael.Collette@TestEquity.com> cc: freebsd-mobile@freebsd.org Subject: Re: Dual monitor setup 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, 16 Jan 2005 07:28:28 -0000 On Sunday 02 January 2005 03:41 am, Clive Lin wrote: > On Wed, Dec 29, 2004 at 01:17:26PM -0800, Michael Collette wrote: > > Wondering if anyone out there has had any luck with this? If so, could > > you post your XF86Config? > > Hi, > > http://wiki.bsdchat.com/attach?page=Evilc.X31%2Fxorg.conf > This works on xorg before 6.8. (so I reverted my xorg port back to > old versions..) Clive, Thank you VERY much. This was just the direction I needed to getting this all working here. I'm now running a laptop at 1400x1050 with a 1280x1024 external monitor off to the right. It actually works a lot better than I had hoped. A couple of notes for the archives... I included my version of the xorg.conf file here. Knocked it down to just the one ServerLayout. Here's the really cool part, the darn thing is smart. If there's no external monitor when X starts it goes into single monitor mode. When I hook on in and restart X, dual head mode. I did have to revert back to xorg-server-6.7.0_9. This not only solved my dual monitor issue, but also corrected a problem with putting the monitors to sleep. Apparently the new Xorg isn't able to put either the internal or external monitor to sleep. I really don't want my LCD monitor just sitting there burning out its backlight. Sad thing is, now I'm permanently afraid to ever upgrade to a new version of Xorg. I didn't fully appreciate just how buggy the new one was until I stepped back to 6.7. And here is that promised xorg.conf file. # xorg.conf for an IBM ThinkPad T42 running at 1400x1050 internally # with occasionally going into dual head mode with a 1280x1024 external # LCD monitor. # Section "ServerLayout" Identifier "DualHead" Screen "Screen0" LeftOf "Screen1" Screen "Screen1" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" Option "Xinerama" "on" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/TTF/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/TrueType" FontPath "/usr/X11R6/lib/X11/fonts/WinFonts" EndSection Section "Module" Load "extmod" Load "glx" Load "dri" Load "dbe" Load "record" Load "xtrap" Load "type1" Load "freetype" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Identifier "MonInt" VendorName "Monitor Vendor" ModelName "Monitor Model" DisplaySize 305 228 Option "DPMS" EndSection Section "Monitor" Identifier "MonExt" VendorName "NEC" ModelName "NEC MultiSync LCD1760V" DisplaySize 340 270 Option "DPMS" EndSection Section "Device" Identifier "Card0" Driver "ati" VendorName "ATI Technologies Inc" BoardName "RV350 [Mobility Radeon 9600 M10]" Screen 0 BusID "PCI:1:0:0" EndSection Section "Device" Identifier "Card1" Driver "ati" VendorName "ATI Technologies Inc" BoardName "RV350 [Mobility Radeon 9600 M10]" Screen 1 BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "MonInt" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1400x1050" "1024x768" "800x600" EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Card1" Monitor "MonExt" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" EndSubSection EndSection Section "DRI" Group 0 Mode 0666 EndSection -- Michael Collette IT Manager TestEquity Inc Michael.Collette@TestEquity.com http://www.testequity.com/ From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 16 08:58:13 2005 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 EA0F216A4CE for ; Sun, 16 Jan 2005 08:58:13 +0000 (GMT) Received: from imladris.teardrop.org (imladris.teardrop.org [66.92.66.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id B623E43D39 for ; Sun, 16 Jan 2005 08:58:13 +0000 (GMT) (envelope-from snow@teardrop.org) Received: by imladris.teardrop.org (Postfix, from userid 100) id 94FCBBEC11; Sun, 16 Jan 2005 03:58:36 -0500 (EST) Date: Sun, 16 Jan 2005 03:58:36 -0500 From: James Snow To: freebsd-mobile@freebsd.org Message-ID: <20050116085836.GA34477@teardrop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: ThinkPad X40 (2371-H9U) - Atheros attach fails? 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, 16 Jan 2005 08:58:14 -0000 I've got 5.3-Rp4 up and running on my X40. X works, onboard gigE works. Stable after using the "boot into Windows and disable the secondary IDE bus" hack that seems to be necessary on most X series ThinkPads. But the onboard Atheros card fails to attach. At boot I get: pci2: at device 2.0 (no driver attached) If I kldload if_ath: ath0: mem 0xd0200000-0xd020ffff irq 21 at device 2.0 on pci2 ath0: mac 5.9 phy 4.3 5ghz radio 3.6 ath0: unable to collect channel list from hal device_attach: ath0 attach returned 22 And pciconf -vl: ath0@pci2:2:0: class=0x020000 card=0x057e1014 chip=0x1014168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' class = network subclass = ethernet Any pointers on what to poke at next? -Snow From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 16 10:01:00 2005 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 8E26616A4CE for ; Sun, 16 Jan 2005 10:01:00 +0000 (GMT) Received: from zephon.secspace.de (zephon.secspace.de [62.75.136.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0330943D3F for ; Sun, 16 Jan 2005 10:01:00 +0000 (GMT) (envelope-from ml@ps102.de) Received: from [192.168.17.11] (pD95F2E38.dip.t-dialin.net [217.95.46.56]) by zephon.secspace.de (Postfix) with ESMTP id B02B76EB3B; Sun, 16 Jan 2005 11:00:56 +0100 (CET) Message-ID: <41EA3BE5.3090406@ps102.de> Date: Sun, 16 Jan 2005 11:03:17 +0100 From: Volker Kindermann User-Agent: Mozilla Thunderbird 1.0 (X11/20041228) X-Accept-Language: en-us, en MIME-Version: 1.0 To: James Snow References: <20050116085836.GA34477@teardrop.org> In-Reply-To: <20050116085836.GA34477@teardrop.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: ThinkPad X40 (2371-H9U) - Atheros attach fails? 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, 16 Jan 2005 10:01:00 -0000 Hi James, > If I kldload if_ath: > > ath0: mem 0xd0200000-0xd020ffff irq 21 at device 2.0 on pci2 > ath0: mac 5.9 phy 4.3 5ghz radio 3.6 > ath0: unable to collect channel list from hal according to the man page this error should not happen. Did you load the wlan and ath_hal devices as well? -volker From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 16 14:47:59 2005 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 6141616A4CE for ; Sun, 16 Jan 2005 14:47:59 +0000 (GMT) Received: from out004.verizon.net (out004pub.verizon.net [206.46.170.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8C8143D31 for ; Sun, 16 Jan 2005 14:47:58 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.21.161.195]) by out004.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20050116144758.FPG8290.out004.verizon.net@RabbitsDen>; Sun, 16 Jan 2005 08:47:58 -0600 From: "Alexandre \"Sunny\" Kovalenko" To: Alex Povolotsky In-Reply-To: <1105691813.27867.16.camel@localhost> References: <1105456163.4756.9.camel@localhost> <1105691813.27867.16.camel@localhost> Content-Type: text/plain; charset=iso-8859-5 Date: Sun, 16 Jan 2005 09:47:16 -0500 Message-Id: <1105886836.68536.15.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [70.21.161.195] at Sun, 16 Jan 2005 08:47:57 -0600 cc: mobile@freebsd.org Subject: Re: About thin PCMCIA cards 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, 16 Jan 2005 14:47:59 -0000 On Fri, 2005-01-14 at 11:36 +0300, Alex Povolotsky wrote: > I have a notebook with double PCMCIA slot. I also have a WLAN card with > thick external part, and USB 2.0 card with the same thick external part. > They just cannot sit together in double PCMCIA, making it effectively > useless. > > Therefore, I'm asking society about supported thin PCMCIA USB 2.0 or > supported thin WLAN card. Knowledge of WORKING thin Ethernet card will > also be handy. I have Xircom Ethernet (dc chipset) - works perfectly, > but thick. I have 3COM Ethernet, xl chipset - works flawlessly on > Windows, not usable under FreeBSD... > Wireless: Netgear MA401 (16-bit 802.11b) -- thickness of the external antenna is the same as the rest of the card. Supported by 'wi' driver. WEP and monitoring modes work. I don't know how much of interference you will get from having something directly above it, but I guess you'll find out. USB 2.0: IBM ThinkPad USB 2.0 Cardbus Adapter (pay no heed to ThinkPad part of the name ;). It has an external pigtail with the connector to the card being slightly thinner then the card itself. Pigtail is about 10cm long, which should safely get it out of the way. IBM P/N 33L3245. IBM FRU for card 32P5080, for pigtail 32P5081. Ethernet: Linksys Network Everywhere NP100 (10/100). Supported by 'ed' driver. 16-bit PCMCIA. Another one with pigtail and slim connector to the card. I have vague recollection that it has sister card which is 10 Mbit only, but I no longer own it to give you exact model. Hope this helps. -- Alexandre "Sunny" Kovalenko (Олександр Коваленко) From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 16 15:59:31 2005 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 4CD1316A4CE for ; Sun, 16 Jan 2005 15:59:31 +0000 (GMT) Received: from imladris.teardrop.org (imladris.teardrop.org [66.92.66.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1248043D39 for ; Sun, 16 Jan 2005 15:59:31 +0000 (GMT) (envelope-from snow@teardrop.org) Received: by imladris.teardrop.org (Postfix, from userid 100) id 1D01CBEC03; Sun, 16 Jan 2005 10:59:56 -0500 (EST) Date: Sun, 16 Jan 2005 10:59:56 -0500 From: James Snow To: Volker Kindermann Message-ID: <20050116155956.GA37160@teardrop.org> References: <20050116085836.GA34477@teardrop.org> <41EA3BE5.3090406@ps102.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41EA3BE5.3090406@ps102.de> User-Agent: Mutt/1.4.2.1i cc: freebsd-mobile@freebsd.org Subject: Re: ThinkPad X40 (2371-H9U) - Atheros attach fails? 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, 16 Jan 2005 15:59:31 -0000 On Sun, Jan 16, 2005 at 11:03:17AM +0100, Volker Kindermann wrote: > > > >ath0: mem 0xd0200000-0xd020ffff irq 21 at device 2.0 on pci2 > >ath0: mac 5.9 phy 4.3 5ghz radio 3.6 > >ath0: unable to collect channel list from hal > > according to the man page this error should not happen. Did you load the > wlan and ath_hal devices as well? The wlan module appears to already be present. Immediately after booting: x40# kldload wlan kldload: can't load wlan: File exists x40# kldstat Id Refs Address Size Name 1 5 0xc0400000 5cdad8 kernel 2 1 0xc09ce000 5844 snd_ich.ko 3 2 0xc09d4000 1d4fc sound.ko 4 14 0xc09f2000 537f0 acpi.ko I believe this means it's compiled into the kernel. The ath_hal module is loaded automatically when if_ath is loaded. But even if I load ath_hal first and then if_ath, I see the same problem: x40# kldload ath_hal x40# kldload if_ath x40# kldstat Id Refs Address Size Name 1 8 0xc0400000 5cdad8 kernel 2 1 0xc09ce000 5844 snd_ich.ko 3 2 0xc09d4000 1d4fc sound.ko 4 14 0xc09f2000 537f0 acpi.ko 5 2 0xc1fcf000 25000 ath_hal.ko 6 1 0xc2015000 a000 if_ath.ko And in /var/log/messages: ath0: mem 0xd0200000-0xd020ffff irq 21 at device 2.0 on pci2 ath0: mac 5.9 phy 4.3 5ghz radio 3.6 ath0: unable to collect channel list from hal device_attach: ath0 attach returned 22 I have also tried booting with ACPI disabled but still see the same problem. -Snow From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 16 16:49:28 2005 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 B629916A4CE for ; Sun, 16 Jan 2005 16:49:28 +0000 (GMT) Received: from zephon.secspace.de (zephon.secspace.de [62.75.136.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7175B43D1D for ; Sun, 16 Jan 2005 16:49:28 +0000 (GMT) (envelope-from ml@ps102.de) Received: from [192.168.17.11] (pD9522B7A.dip.t-dialin.net [217.82.43.122]) by zephon.secspace.de (Postfix) with ESMTP id 0919F6EB3B; Sun, 16 Jan 2005 17:49:26 +0100 (CET) Message-ID: <41EA9B9F.9070808@ps102.de> Date: Sun, 16 Jan 2005 17:51:43 +0100 From: Volker Kindermann User-Agent: Mozilla Thunderbird 1.0 (X11/20041228) X-Accept-Language: en-us, en MIME-Version: 1.0 To: James Snow References: <20050116085836.GA34477@teardrop.org> <41EA3BE5.3090406@ps102.de> <20050116155956.GA37160@teardrop.org> In-Reply-To: <20050116155956.GA37160@teardrop.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: ThinkPad X40 (2371-H9U) - Atheros attach fails? 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, 16 Jan 2005 16:49:28 -0000 > The wlan module appears to already be present. Immediately after > booting: > > x40# kldload wlan > kldload: can't load wlan: File exists > x40# kldstat > Id Refs Address Size Name > 1 5 0xc0400000 5cdad8 kernel > 2 1 0xc09ce000 5844 snd_ich.ko > 3 2 0xc09d4000 1d4fc sound.ko > 4 14 0xc09f2000 537f0 acpi.ko > > I believe this means it's compiled into the kernel. Do you have the sources installed? I would double-check with "cat /path/to/GENERIC | grep wlan" if you're using the GENERIC kernel. -volker From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 16 16:49:57 2005 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 3342416A4CE for ; Sun, 16 Jan 2005 16:49:57 +0000 (GMT) Received: from imladris.teardrop.org (imladris.teardrop.org [66.92.66.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0D9443D1D for ; Sun, 16 Jan 2005 16:49:56 +0000 (GMT) (envelope-from snow@teardrop.org) Received: by imladris.teardrop.org (Postfix, from userid 100) id 60E39BEC12; Sun, 16 Jan 2005 11:50:22 -0500 (EST) Date: Sun, 16 Jan 2005 11:50:22 -0500 From: James Snow To: freebsd-mobile@freebsd.org Message-ID: <20050116165022.GA37535@teardrop.org> References: <20050116085836.GA34477@teardrop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050116085836.GA34477@teardrop.org> User-Agent: Mutt/1.4.2.1i Subject: Re: ThinkPad X40 (2371-H9U) - Atheros attach fails? 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, 16 Jan 2005 16:49:57 -0000 On Sun, Jan 16, 2005 at 03:58:36AM -0500, James Snow wrote: > > ath0: mem 0xd0200000-0xd020ffff irq 21 at device 2.0 on pci2 > ath0: mac 5.9 phy 4.3 5ghz radio 3.6 > ath0: unable to collect channel list from hal > device_attach: ath0 attach returned 22 I believe this is my problem: hw.ath.hal.version: 0.9.6.3 Looking at CVS it seems as though an updated ath_hal module that supports newer cards was committed on 2004/12/08, but has not yet trickled down to -stable. Mine is from 2003. -Snow From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 16 17:24:30 2005 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 A112616A4CE for ; Sun, 16 Jan 2005 17:24:30 +0000 (GMT) Received: from mailtest.sd73.bc.ca (mailtest.sd73.bc.ca [142.24.13.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5255043D48 for ; Sun, 16 Jan 2005 17:24:30 +0000 (GMT) (envelope-from fcash-ml@sd73.bc.ca) Received: from localhost (localhost [127.0.0.1]) by mailtest.sd73.bc.ca (Postfix) with ESMTP id D5103F2669; Sun, 16 Jan 2005 09:24:27 -0800 (PST) Received: from mailtest.sd73.bc.ca ([127.0.0.1]) by localhost (mailtest.sd73.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19469-01-86; Sun, 16 Jan 2005 09:24:27 -0800 (PST) Received: by mailtest.sd73.bc.ca (Postfix, from userid 80) id 40FAAF2655; Sun, 16 Jan 2005 09:24:27 -0800 (PST) Received: from 24.71.128.63 (SquirrelMail authenticated user fcash); by mailtest.sd73.bc.ca with HTTP; Sun, 16 Jan 2005 09:24:27 -0800 (PST) Message-ID: <61368.24.71.128.63.1105896267.squirrel@24.71.128.63> In-Reply-To: <20050116165022.GA37535@teardrop.org> References: <20050116085836.GA34477@teardrop.org> <20050116165022.GA37535@teardrop.org> Date: Sun, 16 Jan 2005 09:24:27 -0800 (PST) From: "Freddie Cash" To: "James Snow" User-Agent: SquirrelMail/1.5.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new using ClamAV at sd73.bc.ca cc: mobile@freebsd.org Subject: Re: ThinkPad X40 (2371-H9U) - Atheros attach fails? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fcash-ml@sd73.bc.ca List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2005 17:24:30 -0000 > On Sun, Jan 16, 2005 at 03:58:36AM -0500, James Snow wrote: >> ath0: mem 0xd0200000-0xd020ffff irq 21 at device 2.0 >> on pci2 >> ath0: mac 5.9 phy 4.3 5ghz radio 3.6 >> ath0: unable to collect channel list from hal >> device_attach: ath0 attach returned 22 > I believe this is my problem: > hw.ath.hal.version: 0.9.6.3 > Looking at CVS > > it seems as though an updated ath_hal module that supports newer cards > was committed on 2004/12/08, but has not yet trickled down to -stable. > Mine is from 2003. I'm running a Toshiba Satellite A60 (JL1) with built-in Atheros wireless. I've got 6-CURRENT from Jan 10 installed and it's giving me very nice, solid connections using either WEP or WPA (using wpa_supplicant port). There are patches for the net80211 and ath layers that apply to FreeBSD 5.3-RELEASE. However, they are no longer available on the FreeBSD website, and nobody seems to have a copy of them anymore. :( These patches provided solid connections using WEP for my three Atheros cards. Maybe you'll have better luck finding them (not the Aug 24 patchset, the one after that). -- Freddie Cash, CCNT CCLP Helpdesk / Network Support Tech. School District 73 (250) 377-HELP [377-4357] fcash-ml@sd73.bc.ca From owner-freebsd-mobile@FreeBSD.ORG Sun Jan 16 17:57:03 2005 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 21B3016A4CE for ; Sun, 16 Jan 2005 17:57:03 +0000 (GMT) Received: from mail-in-08.arcor-online.net (mail-in-08.arcor-online.net [151.189.21.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFCD643D1F for ; Sun, 16 Jan 2005 17:57:02 +0000 (GMT) (envelope-from rspmn@arcor.de) Received: from [172.16.42.21] (dialin-145-254-235-166.arcor-ip.net [145.254.235.166]) by mail-in-08.arcor-online.net (Postfix) with ESMTP id 98F393642F; Sun, 16 Jan 2005 18:56:59 +0100 (CET) Message-ID: <41EAAAEA.3030905@arcor.de> Date: Sun, 16 Jan 2005 18:56:58 +0100 From: Reinhard Speyerer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Alexandre \"Sunny\" Kovalenko" , Alex Povolotsky References: <1105456163.4756.9.camel@localhost> <1105691813.27867.16.camel@localhost> <1105886836.68536.15.camel@RabbitsDen> In-Reply-To: <1105886836.68536.15.camel@RabbitsDen> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: mobile@freebsd.org Subject: Re: About thin PCMCIA cards 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, 16 Jan 2005 17:57:03 -0000 Alexandre "Sunny" Kovalenko wrote: > Wireless: Netgear MA401 (16-bit 802.11b) -- thickness of the external > antenna is the same as the rest of the card. Supported by 'wi' driver. > WEP and monitoring modes work. I don't know how much of interference you Please note that there are MA401 Rev.D cards (FCC ID: PY3MA401RD) which have a thicker antenna than the older ones and therefore can't be used for the intended purpose. Reinhard From owner-freebsd-mobile@FreeBSD.ORG Mon Jan 17 02:29:43 2005 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 EC40C16A4CE for ; Mon, 17 Jan 2005 02:29:43 +0000 (GMT) Received: from out014.verizon.net (out014pub.verizon.net [206.46.170.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D45543D2F for ; Mon, 17 Jan 2005 02:29:43 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.21.161.195]) by out014.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20050117022942.RBTW28388.out014.verizon.net@RabbitsDen>; Sun, 16 Jan 2005 20:29:42 -0600 From: "Alexandre \"Sunny\" Kovalenko" To: Reinhard Speyerer In-Reply-To: <41EAAAEA.3030905@arcor.de> References: <1105456163.4756.9.camel@localhost> <1105691813.27867.16.camel@localhost> <1105886836.68536.15.camel@RabbitsDen> <41EAAAEA.3030905@arcor.de> Content-Type: text/plain; charset=iso-8859-5 Date: Sun, 16 Jan 2005 21:29:07 -0500 Message-Id: <1105928947.1232.4.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Authentication-Info: Submitted using SMTP AUTH at out014.verizon.net from [70.21.161.195] at Sun, 16 Jan 2005 20:29:42 -0600 cc: mobile@freebsd.org cc: Alex Povolotsky Subject: Re: About thin PCMCIA cards 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, 17 Jan 2005 02:29:44 -0000 On Sun, 2005-01-16 at 18:56 +0100, Reinhard Speyerer wrote: > Alexandre "Sunny" Kovalenko wrote: > > > Wireless: Netgear MA401 (16-bit 802.11b) -- thickness of the external > > antenna is the same as the rest of the card. Supported by 'wi' driver. > > WEP and monitoring modes work. I don't know how much of interference you > > Please note that there are MA401 Rev.D cards (FCC ID: PY3MA401RD) which > have a thicker antenna than the older ones and therefore can't be used > for the intended purpose. > > Reinhard > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" Thank you for clarification. FCC ID on one, I was talking about, is PD5LMWP200. I was not able to find packaging box and the card proper does not have any revisions marked on it. -- Alexandre "Sunny" Kovalenko (Олександр Коваленко) From owner-freebsd-mobile@FreeBSD.ORG Mon Jan 17 06:11:16 2005 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 970E616A4CE for ; Mon, 17 Jan 2005 06:11:16 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBC1543D45 for ; Mon, 17 Jan 2005 06:11:15 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id j0H69Fh5038433; Sun, 16 Jan 2005 23:09:16 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 16 Jan 2005 23:10:17 -0700 (MST) Message-Id: <20050116.231017.26536445.imp@bsdimp.com> To: bengta@sics.se From: "M. Warner Losh" In-Reply-To: References: <20050110091458.GA3953@neveragain.de> <20050110120140.O6254@fez.hyperreal.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: brian@hyperreal.org cc: freebsd-mobile@freebsd.org Subject: Re: ipw driver causes total system freeze 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, 17 Jan 2005 06:11:16 -0000 In message: Bengt Ahlgren writes: : Brian Behlendorf writes: : : > On Mon, 10 Jan 2005, Dennis Koegel wrote: : > > On Sun, Jan 09, 2005 at 05:37:13PM +0200, Niki Denev wrote: : > >> I do experience freezes when try to load the driver/firmware under X. : > >> The machine freezes immediately and only hardreset works. : > >> [...] : > >> The machine is IBM ThinkPad X31. : > >> : > >> P.S.: This is probably more appropriate for the ipw forum, but i'm : > >> curious if anyone else has similar problems? : > > : > > I didn't use the ipw driver for two or three months now, so I can't : > > say anything about the other issues. The freeze on firmware load - : > > only in X - is present here, too. X31 here as well. : > : > For what it's worth, I've not yet seen problems on a new X40 after 2 : > weeks of regular use. : : I have - but not with ipw per se. : : After I _unload_ ipw, it won't recognise any PC card that I insert. : It just says: : : pccard0: Card has no functions! : cbb0: PC Card card activation failed : : When I reload ipw, it works again. Indicates that something is messed : up by ipw? Interesting.... This looks like something that needs to be debugged. Can you turn on debugging: hw.cbb.debug=1 hw.cardbus.debug=1 hw.pccard.debug=1 and boot -v? Warner From owner-freebsd-mobile@FreeBSD.ORG Mon Jan 17 12:01:21 2005 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 C8D3116A4CE for ; Mon, 17 Jan 2005 12:01:21 +0000 (GMT) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8275343D48 for ; Mon, 17 Jan 2005 12:01:21 +0000 (GMT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 616E265211; Mon, 17 Jan 2005 12:01:20 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 81035-01-3; Mon, 17 Jan 2005 12:01:20 +0000 (GMT) Received: from empiric.dek.spc.org (unknown [213.210.24.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 65CD0651FA; Mon, 17 Jan 2005 12:01:19 +0000 (GMT) Received: by empiric.dek.spc.org (Postfix, from userid 1001) id C140163EA; Mon, 17 Jan 2005 12:01:30 +0000 (GMT) Date: Mon, 17 Jan 2005 12:01:30 +0000 From: Bruce M Simpson To: john Message-ID: <20050117120130.GC752@empiric.icir.org> Mail-Followup-To: john , freebsd-mobile@freebsd.org References: <41E7F3E6.8070103@strapped.us> <20050114184333.GN57985@empiric.icir.org> <41E84197.6090909@strapped.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41E84197.6090909@strapped.us> cc: freebsd-mobile@freebsd.org Subject: Re: the mystery of atwi 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, 17 Jan 2005 12:01:21 -0000 On Fri, Jan 14, 2005 at 05:03:03PM -0500, john wrote: > Standard Device Descriptor: ... > idVendor 049f > idProduct 0076 This is an Orinoco USB device. As far as I know we don't have driver support for these, and atwi isn't written for these devices. There is Linux support for such devices. Regards, BMS From owner-freebsd-mobile@FreeBSD.ORG Mon Jan 17 14:13:01 2005 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 D8E6516A4CE for ; Mon, 17 Jan 2005 14:13:01 +0000 (GMT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id A53C043D45 for ; Mon, 17 Jan 2005 14:13:01 +0000 (GMT) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id C4CB43D37 for ; Mon, 17 Jan 2005 09:12:50 -0500 (EST) From: "Dan Langille" To: freebsd-mobile@FreeBSD.org Date: Mon, 17 Jan 2005 09:14:52 -0500 MIME-Version: 1.0 Message-ID: <41EB820C.12743.A61A8A91@localhost> Priority: normal In-reply-to: <41E82258.17949.98ECB20A@localhost> References: <41E6DC6E.14520.93F39A2C@localhost> X-mailer: Pegasus Mail for Windows (4.21c) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: ipw driver causes total system freeze 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, 17 Jan 2005 14:13:02 -0000 On 14 Jan 2005 at 19:49, Dan Langille wrote: > On 13 Jan 2005 at 20:39, Dan Langille wrote: > > > I'm told that version 1.6.4 fixes this issue. I have not tried it > > yet. > > Initial tests are promising. I'll run with it for a few days before > I reach a verdict. No problems with the ipw over the weekend. Not a single crash/freeze- up. No issues at all. -- Dan Langille : http://www.langille.org/ BSDCan - The Technical BSD Conference - http://www.bsdcan.org/ From owner-freebsd-mobile@FreeBSD.ORG Mon Jan 17 18:53:20 2005 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 382A516A4CE for ; Mon, 17 Jan 2005 18:53:20 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BA7043D2F for ; Mon, 17 Jan 2005 18:53:18 +0000 (GMT) (envelope-from nohuman@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so768929wri for ; Mon, 17 Jan 2005 10:53:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=YBp0eZgauu9TIiRmQFacOiPOv81jKDmvMlZHVlcveTSEthBj/ccUZn3XjZONwMfybs+zLjFpqqNqhiPjkEsOGecoggBYjCWh/wC5k41xwFP7H/F7CpSPqdjnt0x3CplyTXGKonHJo0ow4Ys817Gp+kDzKkoJm2PPlj3rGqCItPY= Received: by 10.54.40.65 with SMTP id n65mr218629wrn; Mon, 17 Jan 2005 10:53:14 -0800 (PST) Received: by 10.54.31.60 with HTTP; Mon, 17 Jan 2005 10:53:14 -0800 (PST) Message-ID: <5e51d2fd0501171053452e8cca@mail.gmail.com> Date: Mon, 17 Jan 2005 19:53:14 +0100 From: Thomas Beer To: mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: t42p KLD - various issues X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Thomas Beer List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2005 18:53:20 -0000 Dear All, just recompiled my kernel from GENERIC. Now I tryed to get the ath0 wifi to work, but interface not found. Also sound will not work. I tryed to figure out how to load it as a KLD but found nothing as specific as I would need. Could anyone suggest some starters? Thanks Tom From owner-freebsd-mobile@FreeBSD.ORG Mon Jan 17 19:24:32 2005 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 4101116A4CE for ; Mon, 17 Jan 2005 19:24:32 +0000 (GMT) Received: from ms-smtp-04.tampabay.rr.com (ms-smtp-04-smtplb.tampabay.rr.com [65.32.5.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA38343D1D for ; Mon, 17 Jan 2005 19:24:31 +0000 (GMT) (envelope-from john@strapped.us) Received: from [192.168.2.12] (242835hfc132.tampabay.rr.com [24.28.35.132]) j0HJOSiM023790 for ; Mon, 17 Jan 2005 14:24:29 -0500 (EST) Message-ID: <41EC10EC.8010202@strapped.us> Date: Mon, 17 Jan 2005 14:24:28 -0500 From: "j. kelley" User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <41E7F3E6.8070103@strapped.us> <20050114184333.GN57985@empiric.icir.org> <41E84197.6090909@strapped.us> <20050117120130.GC752@empiric.icir.org> In-Reply-To: <20050117120130.GC752@empiric.icir.org> X-Virus-Scanned: Symantec AntiVirus Scan Engine Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: the mystery of atwi 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, 17 Jan 2005 19:24:32 -0000 Bruce M Simpson wrote: >On Fri, Jan 14, 2005 at 05:03:03PM -0500, john wrote: > > >>Standard Device Descriptor: >> >> >... > > >>idVendor 049f >>idProduct 0076 >> >> > >This is an Orinoco USB device. As far as I know we don't have driver support >for these, and atwi isn't written for these devices. There is Linux support >for such devices. > Thats a shame. I certainly won't be installing linux on the machine though. There are other wireless cards that fit in the multiport (a proprietary slot that runs flush with the back of the screen), I may try to attain one if its not to expensive. Thanks for your help, Bruce. -- .j.k From owner-freebsd-mobile@FreeBSD.ORG Mon Jan 17 20:52:12 2005 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 BD99516A4CE for ; Mon, 17 Jan 2005 20:52:12 +0000 (GMT) Received: from imladris.teardrop.org (imladris.teardrop.org [66.92.66.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CC5143D45 for ; Mon, 17 Jan 2005 20:52:12 +0000 (GMT) (envelope-from snow@teardrop.org) Received: by imladris.teardrop.org (Postfix, from userid 100) id 420FDBEC11; Mon, 17 Jan 2005 15:52:44 -0500 (EST) Date: Mon, 17 Jan 2005 15:52:44 -0500 From: James Snow To: Freddie Cash Message-ID: <20050117205244.GB61265@teardrop.org> References: <20050116085836.GA34477@teardrop.org> <20050116165022.GA37535@teardrop.org> <61368.24.71.128.63.1105896267.squirrel@24.71.128.63> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <61368.24.71.128.63.1105896267.squirrel@24.71.128.63> User-Agent: Mutt/1.4.2.1i cc: mobile@freebsd.org Subject: Re: ThinkPad X40 (2371-H9U) - Atheros attach fails? 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, 17 Jan 2005 20:52:12 -0000 On Sun, Jan 16, 2005 at 09:24:27AM -0800, Freddie Cash wrote: > > I'm running a Toshiba Satellite A60 (JL1) with built-in Atheros > wireless. I've got 6-CURRENT from Jan 10 installed and it's giving me > very nice, solid connections using either WEP or WPA (using > wpa_supplicant port). > > There are patches for the net80211 and ath layers that apply to > FreeBSD 5.3-RELEASE. However, they are no longer available on the > FreeBSD website, and nobody seems to have a copy of them anymore. :( > These patches provided solid connections using WEP for my three > Atheros cards. Maybe you'll have better luck finding them (not the > Aug 24 patchset, the one after that). I was trying to pull the ath_hal module down from current myself, but I wound up also needing newer code for ath, and then wlan, and then net80211, and then I was still missing something. So I'm going to give -current a whirl. There's also a problem with the video when you close the lid with X running. When reopened, everything is fine - mouse, etc. - except that video has shifted down about an inch and a half on the screen, with garbage appearing at the top of the screen. Restarting X fixes it. I'm hoping this won't also be a problem in -current, but has anyone seen something like this before? -Snow From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 00:18:32 2005 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 B39B116A503 for ; Tue, 18 Jan 2005 00:18:32 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4714143D39 for ; Tue, 18 Jan 2005 00:18:32 +0000 (GMT) (envelope-from bsdaemon@comcast.net) Received: from fw.home (pcp05404374pcs.norstn01.pa.comcast.net[68.80.144.252]) by comcast.net (sccrmhc13) with SMTP id <20050118001831016006qquqe>; Tue, 18 Jan 2005 00:18:31 +0000 Received: (qmail 96054 invoked from network); 18 Jan 2005 00:18:42 -0000 Received: from kris.home (HELO ?192.168.0.251?) (192.168.0.251) by fw.home with SMTP; 18 Jan 2005 00:18:42 -0000 Message-ID: <41EC5721.8030208@comcast.net> Date: Mon, 17 Jan 2005 19:24:01 -0500 From: Kris Maglione User-Agent: Mozilla Thunderbird 1.0 (X11/20041212) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig7170FE7466B87F40BF4F9640" Subject: ath driver transmit power? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-mobile@freebsd.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 00:18:32 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7170FE7466B87F40BF4F9640 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Is there a way to adjust the transmit power of the atheros driver? I just bought a netgear WG511U (because I heard good things about the atheros driver), but in 802.11a mode, it drops a lot of packets (27% according to ping -f, ping -i .2 has results as low as 6% periodically). Anyway, windows seems to show better signal, though I can't test throughput at the moment, since the windows isakmp system doesn't seem to like racoon very much. The windows driver even detects a neighbors 11g network, where kismet doesn't. Does anyone know of a way to adjust the power of the transmitter/sensitivity of the reciever on the freebsd driver? If I have to, I'll build the ndisulator, but I'd really prefer not to, as you might imagine. I have no intention of running windows just for wireless, with transfer rates as bad as they are in FreeBSD (usually < 2bps no matter how close to the AP I am), I may have to switch to linux (this is only slightly better than windows) or netbsd if I can't get it up to speed. Thanks. --------------enig7170FE7466B87F40BF4F9640 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7FcmmcXjc1XBrAQRAi4oAJ4q/G7wZl48KZlYV5IqW6RE0MhwqACdGncW sbWQicLy0OqBglN8UhFZsdQ= =mTI6 -----END PGP SIGNATURE----- --------------enig7170FE7466B87F40BF4F9640-- From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 01:11:09 2005 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 1D78016A4CE for ; Tue, 18 Jan 2005 01:11:09 +0000 (GMT) Received: from ms-smtp-04.tampabay.rr.com (ms-smtp-04-smtplb.tampabay.rr.com [65.32.5.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EFD343D5C for ; Tue, 18 Jan 2005 01:11:08 +0000 (GMT) (envelope-from john@strapped.us) Received: from [192.168.2.12] (242835hfc132.tampabay.rr.com [24.28.35.132]) j0I1B5iM024896 for ; Mon, 17 Jan 2005 20:11:06 -0500 (EST) Message-ID: <41EC6229.5020001@strapped.us> Date: Mon, 17 Jan 2005 20:11:05 -0500 From: "j. kelley" User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <41E7F3E6.8070103@strapped.us> <20050114184333.GN57985@empiric.icir.org> <41E84197.6090909@strapped.us> <20050117120130.GC752@empiric.icir.org> In-Reply-To: <20050117120130.GC752@empiric.icir.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Re: the mystery of atwi 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, 18 Jan 2005 01:11:09 -0000 Bruce M Simpson wrote: >This is an Orinoco USB device. As far as I know we don't have driver support >for these, and atwi isn't written for these devices. There is Linux support >for such devices. > > Out of curiousity, have the atwi drivers been implemented into the source tree that you know of or are they still a patch? -- .j.k From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 03:15:27 2005 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 117E816A4D0 for ; Tue, 18 Jan 2005 03:15:27 +0000 (GMT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1803443D53 for ; Tue, 18 Jan 2005 03:15:20 +0000 (GMT) (envelope-from bsdaemon@comcast.net) Received: from fw.home (pcp05404374pcs.norstn01.pa.comcast.net[68.80.144.252]) by comcast.net (sccrmhc11) with SMTP id <20050118031449011000o70ne>; Tue, 18 Jan 2005 03:14:49 +0000 Received: (qmail 17240 invoked from network); 18 Jan 2005 03:15:00 -0000 Received: from unknown (HELO ?192.168.0.253?) (192.168.0.253) by fw.home with SMTP; 18 Jan 2005 03:15:00 -0000 Message-ID: <41EC2B8A.1040709@comcast.net> Date: Mon, 17 Jan 2005 21:18:02 +0000 From: Kris Maglione User-Agent: Mozilla Thunderbird 1.0 (X11/20041213) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <41EC5721.8030208@comcast.net> In-Reply-To: <41EC5721.8030208@comcast.net> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ath driver transmit power? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-mobile@freebsd.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 03:15:27 -0000 Sorry, the problem turned out to be a bad ethernet cable. Slightly off-topic, but does anyone if/when the native ath driver will support turbo modes (mainly for 11a, since both my card and my driver support it.). With turbo mode, this thing can go faster than my hard-wired ethernet, even through a wall with 11a. -- Thanks From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 03:21:35 2005 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 999A216A4CF for ; Tue, 18 Jan 2005 03:21:35 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B17243D45 for ; Tue, 18 Jan 2005 03:21:35 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j0I3PYfU006676 for ; Mon, 17 Jan 2005 19:25:34 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j0I3PYvm006675 for freebsd-mobile@freebsd.org; Mon, 17 Jan 2005 19:25:34 -0800 Date: Mon, 17 Jan 2005 19:25:34 -0800 From: Brooks Davis To: freebsd-mobile@freebsd.org Message-ID: <20050118032534.GB5325@odin.ac.hmc.edu> References: <41EC5721.8030208@comcast.net> <41EC2B8A.1040709@comcast.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wzJLGUyc3ArbnUjN" Content-Disposition: inline In-Reply-To: <41EC2B8A.1040709@comcast.net> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Subject: Re: ath driver transmit power? 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, 18 Jan 2005 03:21:35 -0000 --wzJLGUyc3ArbnUjN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 17, 2005 at 09:18:02PM +0000, Kris Maglione wrote: > Sorry, the problem turned out to be a bad ethernet cable. >=20 > Slightly off-topic, but does anyone if/when the native ath driver will=20 > support turbo modes (mainly for 11a, since both my card and my driver=20 > support it.). With turbo mode, this thing can go faster than my=20 > hard-wired ethernet, even through a wall with 11a. Sam is working on this. It will most likely be supported in 6.0. It will not be supported in 5.x because the API/ABI changes are too great to merge to a stable branch. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --wzJLGUyc3ArbnUjN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFB7IGtXY6L6fI4GtQRAgLhAKCXTUQkkJ/xVSC4x1YDWuzHcXlP8QCgtEB8 kHGaYUhfJ6iA3/WscNGeXws= =P5Qm -----END PGP SIGNATURE----- --wzJLGUyc3ArbnUjN-- From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 03:24:43 2005 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 89E6116A4CE for ; Tue, 18 Jan 2005 03:24:43 +0000 (GMT) Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13AE743D45 for ; Tue, 18 Jan 2005 03:24:43 +0000 (GMT) (envelope-from frank@exit.com) Received: from realtime.exit.com (realtime [206.223.0.5]) by tinker.exit.com (8.13.1/8.13.1) with ESMTP id j0I3Ogkw079300 for ; Mon, 17 Jan 2005 19:24:42 -0800 (PST) (envelope-from frank@exit.com) Received: from realtime.exit.com (localhost [127.0.0.1]) by realtime.exit.com (8.13.1/8.12.9) with ESMTP id j0I3Ogt5063088 for ; Mon, 17 Jan 2005 19:24:42 -0800 (PST) (envelope-from frank@realtime.exit.com) Received: (from frank@localhost) by realtime.exit.com (8.13.1/8.13.1/Submit) id j0I3OgUU063087 for freebsd-mobile@freebsd.org; Mon, 17 Jan 2005 19:24:42 -0800 (PST) (envelope-from frank) From: Frank Mayhar Message-Id: <200501180324.j0I3OgUU063087@realtime.exit.com> In-Reply-To: <41EC2B8A.1040709@comcast.net> To: freebsd-mobile@freebsd.org Date: Mon, 17 Jan 2005 19:24:42 -0800 (PST) X-Copyright0: Copyright 2004 Frank Mayhar. All Rights Reserved. X-Copyright1: Permission granted for electronic reproduction as Usenet News or email only. X-Mailer: ELM [version 2.4ME+ PL119 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Subject: Re: ath driver transmit power? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: frank@exit.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 03:24:43 -0000 Kris Maglione wrote: > Slightly off-topic, but does anyone if/when the native ath driver will > support turbo modes (mainly for 11a, since both my card and my driver > support it.). With turbo mode, this thing can go faster than my > hard-wired ethernet, even through a wall with 11a. Um, I _think_ I'm running mine in turbo mode right now. At least, the access point and ifconfig both think so. lap# ifconfig ath0 ath0: flags=8843 mtu 1500 inet XXXXXXXXXXXX netmask XXXXXXXXXXXX broadcast XXXXXXXXXXXX ether XXXXXXXXXXXX media: IEEE 802.11 Wireless Ethernet autoselect mode 11a (OFDM/18Mbps ) status: associated ssid "Wired A" channel 58 bssid 00:02:6f:20:b6:a9 (Since I'm mentioning this, one thing I ran into is that the rate control isn't very responsive; I improved that by setting dev.ath.0.rate_interval to 250. I'm currently using the 'onoe' rate module. The change made a very noticeable difference.) I'm running -current. -- Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ http://www.exit.com/blog/frank/ From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 03:38:18 2005 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 E606816A4CF for ; Tue, 18 Jan 2005 03:38:18 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F65D43D41 for ; Tue, 18 Jan 2005 03:38:18 +0000 (GMT) (envelope-from bsdaemon@comcast.net) Received: from fw.home (pcp05404374pcs.norstn01.pa.comcast.net[68.80.144.252]) by comcast.net (rwcrmhc13) with SMTP id <2005011803381801500d4vbne>; Tue, 18 Jan 2005 03:38:18 +0000 Received: (qmail 20051 invoked from network); 18 Jan 2005 03:38:29 -0000 Received: from kris.home (HELO ?192.168.0.251?) (192.168.0.251) by fw.home with SMTP; 18 Jan 2005 03:38:29 -0000 Message-ID: <41EC85F6.8040702@comcast.net> Date: Mon, 17 Jan 2005 22:43:50 -0500 From: Kris Maglione User-Agent: Mozilla Thunderbird 1.0 (X11/20041212) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <41EC5721.8030208@comcast.net> <41EC2B8A.1040709@comcast.net> <20050118032534.GB5325@odin.ac.hmc.edu> In-Reply-To: <20050118032534.GB5325@odin.ac.hmc.edu> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig510AA1A18DE1B375E1056C84" Subject: Re: ath driver transmit power? 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, 18 Jan 2005 03:38:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig510AA1A18DE1B375E1056C84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Brooks Davis wrote: >On Mon, Jan 17, 2005 at 09:18:02PM +0000, Kris Maglione wrote: > > >>Sorry, the problem turned out to be a bad ethernet cable. >> >>Slightly off-topic, but does anyone if/when the native ath driver will >>support turbo modes (mainly for 11a, since both my card and my driver >>support it.). With turbo mode, this thing can go faster than my >>hard-wired ethernet, even through a wall with 11a. >> >> > >Sam is working on this. It will most likely be supported in 6.0. It >will not be supported in 5.x because the API/ABI changes are too great >to merge to a stable branch. > >-- Brooks > > Ok, thanks. I can live with running 6.0 on my laptop. I changed my mind about the transmit power again, though. The windows driver consistently has a higher data rate (54Mbps when bsd has 18Mbps, ignoring turbo mode), and it works through walls, where the freebsd driver doesn't. I guess I might as well /try/ the ndisulator. It can't hurt, except to hard hand my laptop, I guess. --------------enig510AA1A18DE1B375E1056C84 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7IX6mcXjc1XBrAQRAi8GAJ9SEovBA41fCMENh3ulbvFr/b7YiACghDnq lt2w+onD2vq9Tfub4OlrYYs= =1AEO -----END PGP SIGNATURE----- --------------enig510AA1A18DE1B375E1056C84-- From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 06:17:29 2005 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 5FEEC16A4CE for ; Tue, 18 Jan 2005 06:17:29 +0000 (GMT) Received: from imladris.teardrop.org (imladris.teardrop.org [66.92.66.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23E9D43D31 for ; Tue, 18 Jan 2005 06:17:29 +0000 (GMT) (envelope-from snow@teardrop.org) Received: by imladris.teardrop.org (Postfix, from userid 100) id C1D52BEC04; Tue, 18 Jan 2005 01:18:05 -0500 (EST) Date: Tue, 18 Jan 2005 01:18:05 -0500 From: James Snow To: freebsd-mobile@freebsd.org Message-ID: <20050118061805.GA64559@teardrop.org> References: <20050116085836.GA34477@teardrop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050116085836.GA34477@teardrop.org> User-Agent: Mutt/1.4.2.1i Subject: Re: ThinkPad X40 (2371-H9U) & 6.0 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, 18 Jan 2005 06:17:29 -0000 Just thought I'd pass along an update for list searchers. -CURRENT is working very nicely on my X40. On-board gigE card works under em(4) and on-board wireless works under ath(4). Sound works under the snd_ich module. X works with one small caveat. This bug is present whenever the lid is closed and re-opened: http://lists.freebsd.org/pipermail/freebsd-mobile/2004-December/005412.html I added the following to /etc/devd.conf to fix it automatically. Now I never even see the glitch: notify 10 { match "system" "ACPI"; match "subsystem" "Lid"; action "/usr/X11R6/bin/xrandr -s 0"; }; I don't use the suspend/resume features, so I haven't tested them. On the whole, a very nice laptop that works very nicely with FreeBSD. Thank you to the team that makes it all work. -Snow From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 10:36:17 2005 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 BFEC816A4CE for ; Tue, 18 Jan 2005 10:36:17 +0000 (GMT) Received: from smtp2.cistron.nl (smtp2.cistron.nl [62.216.30.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DBA443D5E for ; Tue, 18 Jan 2005 10:36:17 +0000 (GMT) (envelope-from robert@guldan.demon.nl) Received: from cust.13.38.adsl.cistron.nl ([62.216.13.38] helo=guldan.demon.nl) by smtp2.cistron.nl with esmtp (Exim 3.35 #1 (Debian)) id 1Cqqie-00084P-00 for ; Tue, 18 Jan 2005 11:36:16 +0100 Received: from bombur.guldan.demon.nl ([192.168.201.3] helo=localhost) by guldan.demon.nl with esmtp (Exim 4.24; FreeBSD) id 1Cqqia-000DPc-Qm; Tue, 18 Jan 2005 11:36:12 +0100 Date: Tue, 18 Jan 2005 11:36:12 +0100 From: Robert Blacquiere To: freebsd-mobile@freebsd.org Message-ID: <20050118103612.GA61467@bombur.guldan.demon.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Disclaimer: running FreeBSD X-Spam-Score: 0.0 (/) Subject: static umass numbering 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, 18 Jan 2005 10:36:17 -0000 Hi folks, I have got a couple of usb mass storage devices which work nicely with FreeBSD. But they are numbered chronological on insertion. I would like some sort of static numbering scheme for easing up for example automounting. Now i use a hand script which take de base da[0-9]+ numbering as var but hate this way of working. Does anybody know a more lazy way to do such thing? Robert -- Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming or what? OpenBSD: Hey guys you left some holes out there! From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 10:44:13 2005 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 CED4E16A4CE for ; Tue, 18 Jan 2005 10:44:13 +0000 (GMT) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27E4E43D5E for ; Tue, 18 Jan 2005 10:44:13 +0000 (GMT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 7CC7165292; Tue, 18 Jan 2005 10:44:11 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 96233-05-4; Tue, 18 Jan 2005 10:44:11 +0000 (GMT) Received: from empiric.dek.spc.org (unknown [62.55.106.89]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 1E146652EC; Tue, 18 Jan 2005 10:44:10 +0000 (GMT) Received: by empiric.dek.spc.org (Postfix, from userid 1001) id 2DF656334; Tue, 18 Jan 2005 10:44:22 +0000 (GMT) Date: Tue, 18 Jan 2005 10:44:22 +0000 From: Bruce M Simpson To: "j. kelley" Message-ID: <20050118104422.GB3054@empiric.icir.org> Mail-Followup-To: "j. kelley" , freebsd-mobile@freebsd.org References: <41E7F3E6.8070103@strapped.us> <20050114184333.GN57985@empiric.icir.org> <41E84197.6090909@strapped.us> <20050117120130.GC752@empiric.icir.org> <41EC6229.5020001@strapped.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41EC6229.5020001@strapped.us> cc: freebsd-mobile@freebsd.org Subject: Re: the mystery of atwi 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, 18 Jan 2005 10:44:13 -0000 On Mon, Jan 17, 2005 at 08:11:05PM -0500, j. kelley wrote: > Out of curiousity, have the atwi drivers been implemented into the > source tree that you know of or are they still a patch? They haven't been committed, if that's what you mean. I was trying to bring them in last year. They are merged into the Perforce bms_wix branch, but that has severe bit-rot due to ENOTIME to work on it. The patches should still be floating around, though. I think someone else is working with Daan Vranken to bring in atuwi now. BMS From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 11:18:01 2005 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 6C64D16A4CE for ; Tue, 18 Jan 2005 11:18:01 +0000 (GMT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 774AB43D2D for ; Tue, 18 Jan 2005 11:18:00 +0000 (GMT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [10.1.1.7]) (authenticated bits=0)j0IBHsHo019084 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 18 Jan 2005 12:17:57 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.10/8.12.10) with ESMTP id j0IBGhU3035574 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Jan 2005 12:16:43 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.11/8.12.11) with ESMTP id j0IBGgQQ084881; Tue, 18 Jan 2005 12:16:42 +0100 (CET) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.11/8.12.11/Submit) id j0IBGePl084880; Tue, 18 Jan 2005 12:16:40 +0100 (CET) (envelope-from ticso) Date: Tue, 18 Jan 2005 12:16:39 +0100 From: Bernd Walter To: Robert Blacquiere Message-ID: <20050118111639.GQ64575@cicely12.cicely.de> References: <20050118103612.GA61467@bombur.guldan.demon.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050118103612.GA61467@bombur.guldan.demon.nl> X-Operating-System: FreeBSD cicely12.cicely.de 5.2-CURRENT alpha User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=3.0 tests=BAYES_00 autolearn=ham version=2.64 X-Spam-Report: * -4.9 BAYES_00 BODY: Bayesian spam probability is 0 to 1% * [score: 0.0000] X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on cicely12.cicely.de cc: freebsd-mobile@freebsd.org Subject: Re: static umass numbering X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 11:18:01 -0000 On Tue, Jan 18, 2005 at 11:36:12AM +0100, Robert Blacquiere wrote: > Hi folks, > > I have got a couple of usb mass storage devices which work nicely with FreeBSD. > But they are numbered chronological on insertion. I would like some sort of > static numbering scheme for easing up for example automounting. > Now i use a hand script which take de base da[0-9]+ numbering as var but hate > this way of working. > > Does anybody know a more lazy way to do such thing? Unfortunately there is no easy way. Hardwiring as such is impossible with USB devices. You can camcontrol -v to get a clue about which da* is part of which umass* device. With devinfo -v you get the serial number of each umass device (if your devices have serial numbers) and the connection tree. You can use devd to get an attach/detach notifications to setup softlinks in /dev which point to the changing nodenames. Unfortunately devd is started befor /usr is mounted so the tools you can use in devd scripts are limited. In case of automounting I would suggest you identify the device at mount time instead of going the devd way. This is with 5.3 and current - under FreeBSD 4 things are a bit more complicated. happy scripting... -- B.Walter BWCT http://www.bwct.de bernd@bwct.de info@bwct.de From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 14:34:48 2005 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 CE77116A4CE for ; Tue, 18 Jan 2005 14:34:48 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 948AE43D1F for ; Tue, 18 Jan 2005 14:34:48 +0000 (GMT) (envelope-from bsdaemon@comcast.net) Received: from fw.home (pcp05404374pcs.norstn01.pa.comcast.net[68.80.144.252]) by comcast.net (rwcrmhc11) with SMTP id <2005011814344701300925oqe>; Tue, 18 Jan 2005 14:34:48 +0000 Received: (qmail 514 invoked from network); 18 Jan 2005 14:35:01 -0000 Received: from kris.home (HELO ?192.168.0.251?) (192.168.0.251) by fw.home with SMTP; 18 Jan 2005 14:35:01 -0000 Message-ID: <41ED1FD5.8090401@comcast.net> Date: Tue, 18 Jan 2005 09:40:21 -0500 From: Kris Maglione User-Agent: Mozilla Thunderbird 1.0 (X11/20041212) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5C34F55FE8D775AE43C20C65" Subject: ath: a few questions X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-mobile@freebsd.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 14:34:48 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5C34F55FE8D775AE43C20C65 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit My card is the netgear WG511U First, I can't get the card to hop channels in kismet. There was a similar posting to this list a few months ago, but the author retracted it. I get these warnings when starting the server: WARNING: pcap reports link type of EN10MB but we'll fake it on BSD. This may not work the way we want it to. WARNING: Some Free- and Net- BSD drivers do not report rfmon packets correctly. Kismet will probably not run correctly. For better support, you should upgrade to a version of *BSD with Radiotap. If I press L in the client, I get: server does not have channel hopping enabled Second, according to CVS, hw.ath.outdoors was made tunable a year ago, but sysctl says it's readonly when I try to change it. It's stuck at 1, which seems to be a possible explanation for why it's indoor use sucks so badly compared to the windows driver, especially through walls. Third, the operation sucks compared to the windows driver, especially through walls. If there's a wall between me and the AP, it won't associate. If it's already associated, and I move past a wall, it stays associated, but won't transfer traffic. Neither of these problems exists with the windows driver. Last, dstumbler doesn't work. It complains, something about ioctl. I don't feel like booting the laptop to get the exact messate at the moment, but I will later. Any ideas on anything? Thanks, sorry for the long message. --------------enig5C34F55FE8D775AE43C20C65 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7R/amcXjc1XBrAQRAo2CAJ9iv+C5YjTQvDXdnDH/2mT1RIoecgCfXt2G goqyBTWxs7kpzr3GpvzugB0= =aomw -----END PGP SIGNATURE----- --------------enig5C34F55FE8D775AE43C20C65-- From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 14:41:58 2005 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 7202416A4CE for ; Tue, 18 Jan 2005 14:41:58 +0000 (GMT) Received: from arginine.spc.org (arginine.spc.org [195.206.69.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 289B843D55 for ; Tue, 18 Jan 2005 14:41:58 +0000 (GMT) (envelope-from bms@spc.org) Received: from localhost (localhost [127.0.0.1]) by arginine.spc.org (Postfix) with ESMTP id 064CD6530A; Tue, 18 Jan 2005 14:41:57 +0000 (GMT) Received: from arginine.spc.org ([127.0.0.1]) by localhost (arginine.spc.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 99302-02-17; Tue, 18 Jan 2005 14:41:56 +0000 (GMT) Received: from empiric.dek.spc.org (unknown [62.55.106.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by arginine.spc.org (Postfix) with ESMTP id 5FB4F651EE; Tue, 18 Jan 2005 14:41:55 +0000 (GMT) Received: by empiric.dek.spc.org (Postfix, from userid 1001) id 7DCC263A7; Tue, 18 Jan 2005 14:42:09 +0000 (GMT) Date: Tue, 18 Jan 2005 14:42:09 +0000 From: Bruce M Simpson To: Kris Maglione Message-ID: <20050118144209.GF3054@empiric.icir.org> Mail-Followup-To: Kris Maglione , freebsd-mobile@freebsd.org References: <41ED1FD5.8090401@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41ED1FD5.8090401@comcast.net> cc: freebsd-mobile@freebsd.org Subject: Re: ath: a few questions 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, 18 Jan 2005 14:41:58 -0000 On Tue, Jan 18, 2005 at 09:40:21AM -0500, Kris Maglione wrote: > Second, according to CVS, hw.ath.outdoors was made tunable a year ago, but > sysctl says it's readonly when I try to change it. It's stuck at 1, which > seems to be a possible explanation for why it's indoor use sucks so badly > compared to the windows driver, especially through walls. I'm running 5.3-STABLE as of last Wednesday and do not see this sysctl. Please give version information (uname -a) when posting this kind of query, as it's next to impossible to give useful advice otherwise. You should be able to 'tcpdump -i ath0 -y ieee802_11' to verify that you can capture 802.11 packets straight off the card. I haven't experienced the problems with walls you mention. > Last, dstumbler doesn't work. It complains, something about ioctl. I don't > feel like booting the laptop to get the exact messate at the moment, but I > will later. dstumbler is for PRISM2 cards only. BMS From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 15:44:06 2005 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 E23B416A4CE for ; Tue, 18 Jan 2005 15:44:06 +0000 (GMT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72C0643D54 for ; Tue, 18 Jan 2005 15:44:06 +0000 (GMT) (envelope-from bsdaemon@comcast.net) Received: from fw.home (pcp05404374pcs.norstn01.pa.comcast.net[68.80.144.252]) by comcast.net (sccrmhc11) with SMTP id <20050118154405011000gqkse>; Tue, 18 Jan 2005 15:44:05 +0000 Received: (qmail 8812 invoked from network); 18 Jan 2005 15:44:20 -0000 Received: from kris.home (HELO ?192.168.0.251?) (192.168.0.251) by fw.home with SMTP; 18 Jan 2005 15:44:20 -0000 Message-ID: <41ED3019.9020600@comcast.net> Date: Tue, 18 Jan 2005 10:49:45 -0500 From: Kris Maglione User-Agent: Mozilla Thunderbird 1.0 (X11/20041212) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <41ED1FD5.8090401@comcast.net> <20050118144209.GF3054@empiric.icir.org> In-Reply-To: <20050118144209.GF3054@empiric.icir.org> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ath: a few questions X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-mobile@freebsd.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 15:44:07 -0000 Bruce M Simpson wrote: >On Tue, Jan 18, 2005 at 09:40:21AM -0500, Kris Maglione wrote: > > >>Second, according to CVS, hw.ath.outdoors was made tunable a year ago, but >>sysctl says it's readonly when I try to change it. It's stuck at 1, which >>seems to be a possible explanation for why it's indoor use sucks so badly >>compared to the windows driver, especially through walls. >> >> > >I'm running 5.3-STABLE as of last Wednesday and do not see this sysctl. > >Please give version information (uname -a) when posting this kind of query, >as it's next to impossible to give useful advice otherwise. > > Sorry about that. No uname -a, but it's the 5-STABLE from about a few days ago. The kernel config file is actually the (minimally modified) FreesBIE config file from a few months ago, but why is a long story. >You should be able to 'tcpdump -i ath0 -y ieee802_11' to verify that you >can capture 802.11 packets straight off the card. > > I have done that, and I have used kismet. My problem with kismet turned out to just be a wierd way that kismet reports things. >I haven't experienced the problems with walls you mention. > > I use 11a. Like I said, there is no problem with windows. I forgot to mention that windows also reports higher data rates (54Mbps when FreeBSD reports 18Mbps, but I don't trust that, really. It reports up to 108Mbps in turbo, but the AP only supports 76). Also, through a wall or two, windows reports high signal, but I can't test that in freebsd, since the driver doesn't seem to support it. > > >>Last, dstumbler doesn't work. It complains, something about ioctl. I don't >>feel like booting the laptop to get the exact messate at the moment, but I >>will later. >> >> > >dstumbler is for PRISM2 cards only. > > thanks, I had a feeling that it was, but I had to ask. >BMS > > P.S. Please don't reply-all. When you do, I just get two duplicate messages right next to each other. They get sorted to the list's folder as long as they have the list as an address (hence the Reply-To header). Thanks. From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 17:24:07 2005 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 9333216A4CE for ; Tue, 18 Jan 2005 17:24:07 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31F4143D1D for ; Tue, 18 Jan 2005 17:24:07 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.91] (sam@[66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j0IHO6Wi065881 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 18 Jan 2005 09:24:06 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <41ED4652.8040902@errno.com> Date: Tue, 18 Jan 2005 09:24:34 -0800 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <41ED1FD5.8090401@comcast.net> <20050118144209.GF3054@empiric.icir.org> <41ED3019.9020600@comcast.net> In-Reply-To: <41ED3019.9020600@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ath: a few questions 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, 18 Jan 2005 17:24:07 -0000 Kris Maglione wrote: > Bruce M Simpson wrote: > >> On Tue, Jan 18, 2005 at 09:40:21AM -0500, Kris Maglione wrote: >> >> >>> Second, according to CVS, hw.ath.outdoors was made tunable a year >>> ago, but sysctl says it's readonly when I try to change it. It's >>> stuck at 1, which seems to be a possible explanation for why it's >>> indoor use sucks so badly compared to the windows driver, especially >>> through walls. >>> >> >> >> I'm running 5.3-STABLE as of last Wednesday and do not see this sysctl. >> >> Please give version information (uname -a) when posting this kind of >> query, >> as it's next to impossible to give useful advice otherwise. >> >> > Sorry about that. No uname -a, but it's the 5-STABLE from about a few > days ago. The kernel config file is actually the (minimally modified) > FreesBIE config file from a few months ago, but why is a long story. The setting is a read-only sysctl because once the module is loaded changing it has no effect. Set it before you kldload the module or in your hints file if you want it different than the default. > >> You should be able to 'tcpdump -i ath0 -y ieee802_11' to verify that you >> can capture 802.11 packets straight off the card. >> >> > I have done that, and I have used kismet. My problem with kismet turned > out to just be a wierd way that kismet reports things. kismet has been broken for a while. It used to work but something broke it and I've had no time to dig (it's painful to debug as it's a multi-process app written in C++ and makes heavy use of STL so inspecting data structures is a pain). > >> I haven't experienced the problems with walls you mention. >> >> > I use 11a. Like I said, there is no problem with windows. I forgot to > mention that windows also reports higher data rates (54Mbps when FreeBSD > reports 18Mbps, but I don't trust that, really. It reports up to 108Mbps > in turbo, but the AP only supports 76). Also, through a wall or two, > windows reports high signal, but I can't test that in freebsd, since the > driver doesn't seem to support it. You've provided zero useful information so I've been ignoring your winging. Regardless you are comparing apples and oranges. The NDIS driver supports several hardware features that the open source driver does not. At least one of those, XR mode, can be a significant factor in the extended range performance you see. The other critical factor is that the NDIS driver has an excellent transmit rate control algorithm while the onoe rate control code is little more than a noop. I've solicited better algorithms for almost 3 years but noone's stepped up. I cannot do one because I am familiar with several proprietary algorithms and so "tainted". > >> >> >>> Last, dstumbler doesn't work. It complains, something about ioctl. I >>> don't feel like booting the laptop to get the exact messate at the >>> moment, but I will later. >>> >> >> >> dstumbler is for PRISM2 cards only. >> >> > thanks, I had a feeling that it was, but I had to ask. dstumbler should work with ath however I don't find it (or kismet) especially useful. Sam From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 18:28:16 2005 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 D8DB416A4CE for ; Tue, 18 Jan 2005 18:28:16 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 306F043D2F for ; Tue, 18 Jan 2005 18:28:16 +0000 (GMT) (envelope-from bsdaemon@comcast.net) Received: from fw.home (pcp05404374pcs.norstn01.pa.comcast.net[68.80.144.252]) by comcast.net (rwcrmhc13) with SMTP id <2005011818281501500cotmee>; Tue, 18 Jan 2005 18:28:15 +0000 Received: (qmail 28396 invoked from network); 18 Jan 2005 18:28:29 -0000 Received: from kris.home (HELO ?192.168.0.251?) (192.168.0.251) by fw.home with SMTP; 18 Jan 2005 18:28:29 -0000 Message-ID: <41ED568D.8000405@comcast.net> Date: Tue, 18 Jan 2005 13:33:49 -0500 From: Kris Maglione User-Agent: Mozilla Thunderbird 1.0 (X11/20041212) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <41ED1FD5.8090401@comcast.net> <20050118144209.GF3054@empiric.icir.org> <41ED3019.9020600@comcast.net> <41ED4652.8040902@errno.com> In-Reply-To: <41ED4652.8040902@errno.com> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB4A78AEBD0DF21A284909D43" Subject: Re: ath: a few questions 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, 18 Jan 2005 18:28:17 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB4A78AEBD0DF21A284909D43 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sam Leffler wrote: > Kris Maglione wrote: > >> Bruce M Simpson wrote: >> >>> On Tue, Jan 18, 2005 at 09:40:21AM -0500, Kris Maglione wrote: >>> >>> >>>> Second, according to CVS, hw.ath.outdoors was made tunable a year >>>> ago, but sysctl says it's readonly when I try to change it. It's >>>> stuck at 1, which seems to be a possible explanation for why it's >>>> indoor use sucks so badly compared to the windows driver, >>>> especially through walls. >>>> >>> >>> >>> >>> I'm running 5.3-STABLE as of last Wednesday and do not see this sysctl. >>> >>> Please give version information (uname -a) when posting this kind of >>> query, >>> as it's next to impossible to give useful advice otherwise. >>> >>> >> Sorry about that. No uname -a, but it's the 5-STABLE from about a few >> days ago. The kernel config file is actually the (minimally modified) >> FreesBIE config file from a few months ago, but why is a long story. > > > The setting is a read-only sysctl because once the module is loaded > changing it has no effect. Set it before you kldload the module or in > your hints file if you want it different than the default. > >> >>> You should be able to 'tcpdump -i ath0 -y ieee802_11' to verify that >>> you >>> can capture 802.11 packets straight off the card. >>> >>> >> I have done that, and I have used kismet. My problem with kismet >> turned out to just be a wierd way that kismet reports things. > > > kismet has been broken for a while. It used to work but something > broke it and I've had no time to dig (it's painful to debug as it's a > multi-process app written in C++ and makes heavy use of STL so > inspecting data structures is a pain). > >> >>> I haven't experienced the problems with walls you mention. >>> >>> >> I use 11a. Like I said, there is no problem with windows. I forgot to >> mention that windows also reports higher data rates (54Mbps when >> FreeBSD reports 18Mbps, but I don't trust that, really. It reports up >> to 108Mbps in turbo, but the AP only supports 76). Also, through a >> wall or two, windows reports high signal, but I can't test that in >> freebsd, since the driver doesn't seem to support it. > > > You've provided zero useful information so I've been ignoring your > winging. Regardless you are comparing apples and oranges. The NDIS > driver supports several hardware features that the open source driver > does not. At least one of those, XR mode, can be a significant factor > in the extended range performance you see. The other critical factor > is that the NDIS driver has an excellent transmit rate control > algorithm while the onoe rate control code is little more than a > noop. I've solicited better algorithms for almost 3 years but noone's > stepped up. I cannot do one because I am familiar with several > proprietary algorithms and so "tainted". Sorry, I haven't provided any useful information, because I don't know what information to provide. transmit rate is not the only issue. NetStumbler finds 4 (2 entirely unprotected) APs in my neighborhood, while kismet only finds 2 (one of which NetStumbler doesn't). Since kismet doesn't transmit, there must be some other issue at play, I just don't know how to find it. > >> >>> >>> >>>> Last, dstumbler doesn't work. It complains, something about ioctl. >>>> I don't feel like booting the laptop to get the exact messate at >>>> the moment, but I will later. >>>> >>> >>> >>> >>> dstumbler is for PRISM2 cards only. >>> >>> >> thanks, I had a feeling that it was, but I had to ask. > > > dstumbler should work with ath however I don't find it (or kismet) > especially useful. > > Sam > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" --------------enigB4A78AEBD0DF21A284909D43 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7VaTmcXjc1XBrAQRAt/nAJ43EOrZsRaokdUSDzyPj3mnuEcEJACfak24 vQ8B0BmMW6GqijZohr1/K44= =/qqO -----END PGP SIGNATURE----- --------------enigB4A78AEBD0DF21A284909D43-- From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 18:32:03 2005 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 CC5D016A515 for ; Tue, 18 Jan 2005 18:32:03 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id B047343D2F for ; Tue, 18 Jan 2005 18:32:03 +0000 (GMT) (envelope-from bsdaemon@comcast.net) Received: from fw.home (pcp05404374pcs.norstn01.pa.comcast.net[68.80.144.252]) by comcast.net (rwcrmhc13) with SMTP id <2005011818320301500cv5hce>; Tue, 18 Jan 2005 18:32:03 +0000 Received: (qmail 28855 invoked from network); 18 Jan 2005 18:32:17 -0000 Received: from kris.home (HELO ?192.168.0.251?) (192.168.0.251) by fw.home with SMTP; 18 Jan 2005 18:32:17 -0000 Message-ID: <41ED5777.9020306@comcast.net> Date: Tue, 18 Jan 2005 13:37:43 -0500 From: Kris Maglione User-Agent: Mozilla Thunderbird 1.0 (X11/20041212) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <41ED1FD5.8090401@comcast.net> <20050118144209.GF3054@empiric.icir.org> <41ED3019.9020600@comcast.net> <41ED4652.8040902@errno.com> <41ED568D.8000405@comcast.net> In-Reply-To: <41ED568D.8000405@comcast.net> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4C8B78167D7A7701C5A4CDCA" Subject: Re: ath: a few questions 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, 18 Jan 2005 18:32:03 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4C8B78167D7A7701C5A4CDCA Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Kris Maglione wrote: > transmit rate is not the only issue. NetStumbler finds 4 (2 entirely > unprotected) APs in my neighborhood, while kismet only finds 2 (one of > which NetStumbler doesn't). Since kismet doesn't transmit, there must > be some other issue at play, I just don't know how to find it. Sorry, you said that kismet was broken... wasn't thinking. --------------enig4C8B78167D7A7701C5A4CDCA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7Vd3mcXjc1XBrAQRAm6mAKCrGs3VJC+ySXY3mDlSz8R5+LcfOQCfYY35 FkWyJ07cF5HtC0fjhMxyN0M= =8XLk -----END PGP SIGNATURE----- --------------enig4C8B78167D7A7701C5A4CDCA-- From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 22:33:19 2005 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 35C5816A4CE for ; Tue, 18 Jan 2005 22:33:19 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE11C43D1F for ; Tue, 18 Jan 2005 22:33:18 +0000 (GMT) (envelope-from nohuman@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so63783wri for ; Tue, 18 Jan 2005 14:33:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=m6nGB6Urn52rNlYUqWGI6wyWnhIMxn91icxSs1mu1jI6pAau9SwTeWzZ4uU+SzagGM+fEwEWn8qtYV5DAgK4O961xnDbB0/djRf2MLfvOFwWyFRsp4zEkk+bESBP/bIIjLhCgseCPhV815LDDknk8M83OL07GBhy8OZAs3GGKMM= Received: by 10.54.36.47 with SMTP id j47mr288455wrj; Tue, 18 Jan 2005 14:33:16 -0800 (PST) Received: by 10.54.31.60 with HTTP; Tue, 18 Jan 2005 14:33:15 -0800 (PST) Message-ID: <5e51d2fd05011814332d348571@mail.gmail.com> Date: Tue, 18 Jan 2005 23:33:15 +0100 From: Thomas Beer To: mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: ath0 does not exist X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Thomas Beer List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jan 2005 22:33:19 -0000 Hi All, I try to get my ath0 up, but it seems not to be configured. Any hints? [root@lap ~]# ifconfig ath0 ifconfig: interface ath0 does not exist [root@lap ~]# uname -a FreeBSD lap.mobile 5.3-RELEASE FreeBSD 5.3-RELEASE #5: Mon Jan 17 19:19:06 CET 2005 root@lap.mobile:/usr/obj/usr/src/sys/IBM_01 i386 [root@lap ~]# kldstat Id Refs Address Size Name 1 12 0xc0400000 3ddd8c kernel 2 1 0xc07de000 5844 snd_ich.ko 3 14 0xc07e4000 537f0 acpi.ko 4 1 0xc276c000 a000 if_ath.ko 5 1 0xc2776000 25000 ath_hal.ko 6 1 0xc27d5000 17000 linux.ko [root@lap ~]# cat /boot/loader.conf |grep hw hw.pci.allow_unsupported_io_range="1" hw.cbb.start_memory="536870912" [root@lap ~]# dmesg | grep ath0 [root@lap ~]# cbb0: mem 0xb0000000-0xb0000fff irq 11 at device 0.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0xb1000000-0xb1000fff irq 11 at device 0.1 on pci2 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 Thanks Tom From owner-freebsd-mobile@FreeBSD.ORG Tue Jan 18 22:56:41 2005 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 38FB016A4CF for ; Tue, 18 Jan 2005 22:56:41 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id F01A343D39 for ; Tue, 18 Jan 2005 22:56:40 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j0IN0n7p003974; Tue, 18 Jan 2005 15:00:49 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j0IN0naE003973; Tue, 18 Jan 2005 15:00:49 -0800 Date: Tue, 18 Jan 2005 15:00:49 -0800 From: Brooks Davis To: Thomas Beer Message-ID: <20050118230049.GB31663@odin.ac.hmc.edu> References: <5e51d2fd05011814332d348571@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="H+4ONPRPur6+Ovig" Content-Disposition: inline In-Reply-To: <5e51d2fd05011814332d348571@mail.gmail.com> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: mobile@freebsd.org Subject: Re: ath0 does not exist 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, 18 Jan 2005 22:56:41 -0000 --H+4ONPRPur6+Ovig Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 18, 2005 at 11:33:15PM +0100, Thomas Beer wrote: > Hi All, >=20 > I try to get my ath0 up, but it seems not to be configured.=20 > Any hints? >=20 > [root@lap ~]# ifconfig ath0 > ifconfig: interface ath0 does not exist >=20 > [root@lap ~]# uname -a > FreeBSD lap.mobile 5.3-RELEASE FreeBSD 5.3-RELEASE #5: Mon Jan 17 > 19:19:06 CET 2005 root@lap.mobile:/usr/obj/usr/src/sys/IBM_01=20 > i386 >=20 > [root@lap ~]# kldstat > Id Refs Address Size Name > 1 12 0xc0400000 3ddd8c kernel > 2 1 0xc07de000 5844 snd_ich.ko > 3 14 0xc07e4000 537f0 acpi.ko > 4 1 0xc276c000 a000 if_ath.ko > 5 1 0xc2776000 25000 ath_hal.ko > 6 1 0xc27d5000 17000 linux.ko >=20 > [root@lap ~]# cat /boot/loader.conf |grep hw > hw.pci.allow_unsupported_io_range=3D"1" > hw.cbb.start_memory=3D"536870912" >=20 > [root@lap ~]# dmesg | grep ath0 > [root@lap ~]# >=20 > cbb0: mem 0xb0000000-0xb0000fff irq 11 at device > 0.0 on pci2 > cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb1: mem 0xb1000000-0xb1000fff irq 11 at device > 0.1 on pci2 > cardbus1: on cbb1 > pccard1: <16-bit PCCard bus> on cbb1 I see nothing there that indicates you inserted a card. What does dmesg show when you insert one? What card are you using? -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --H+4ONPRPur6+Ovig Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFB7ZUgXY6L6fI4GtQRAr15AJ0UNy9hG4O/xAP0CeewyEKiWVbieQCcDe9b UM8lRX5/+riWMhhBZqT28Vo= =SjED -----END PGP SIGNATURE----- --H+4ONPRPur6+Ovig-- From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 01:12:06 2005 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 06CFE16A4CE for ; Wed, 19 Jan 2005 01:12:06 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDA7543D46 for ; Wed, 19 Jan 2005 01:12:05 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.91] (sam@[66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j0J1C2Wi068002 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 18 Jan 2005 17:12:04 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <41EDB3FE.1050509@errno.com> Date: Tue, 18 Jan 2005 17:12:30 -0800 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Maglione References: <41ED1FD5.8090401@comcast.net> <20050118144209.GF3054@empiric.icir.org> <41ED3019.9020600@comcast.net> <41ED4652.8040902@errno.com> <41ED568D.8000405@comcast.net> In-Reply-To: <41ED568D.8000405@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: ath: a few questions 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, 19 Jan 2005 01:12:06 -0000 Kris Maglione wrote: > Sam Leffler wrote: >> You've provided zero useful information so I've been ignoring your >> winging. Regardless you are comparing apples and oranges. The NDIS >> driver supports several hardware features that the open source driver >> does not. At least one of those, XR mode, can be a significant factor >> in the extended range performance you see. The other critical factor >> is that the NDIS driver has an excellent transmit rate control >> algorithm while the onoe rate control code is little more than a >> noop. I've solicited better algorithms for almost 3 years but noone's >> stepped up. I cannot do one because I am familiar with several >> proprietary algorithms and so "tainted". > > > Sorry, I haven't provided any useful information, because I don't know > what information to provide. I don't recall seeing os version, chip id info, hal version, or any relevant basic config info (hint dmesg has useful bits). Past that look in /usr/src/tools/tools/ath for the athstats program. It is what I mostly use in understanding what's going on when problems crop up. I'm pretty sure this question has been answered numerous times on the mailing lists so checking back postings is a good idea. Sam From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 01:19:40 2005 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 4560A16A4CE for ; Wed, 19 Jan 2005 01:19:40 +0000 (GMT) Received: from smtp107.mail.sc5.yahoo.com (smtp107.mail.sc5.yahoo.com [66.163.169.227]) by mx1.FreeBSD.org (Postfix) with SMTP id 2820A43D4C for ; Wed, 19 Jan 2005 01:19:40 +0000 (GMT) (envelope-from kaeru@jaring.my) Received: from unknown (HELO ?192.168.0.28?) (khairil?yusof@202.187.94.4 with plain) by smtp107.mail.sc5.yahoo.com with SMTP; 19 Jan 2005 01:19:39 -0000 From: Khairil Yusof To: James Snow In-Reply-To: <20050117205244.GB61265@teardrop.org> References: <20050116085836.GA34477@teardrop.org> <20050116165022.GA37535@teardrop.org> <61368.24.71.128.63.1105896267.squirrel@24.71.128.63> <20050117205244.GB61265@teardrop.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-FCmbPfx1z8VYMvdAOdp9" Date: Wed, 19 Jan 2005 09:19:37 +0800 Message-Id: <1106097578.25319.129.camel@wolverine> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port cc: Freddie Cash cc: mobile@freebsd.org Subject: X40 Garbled display - was Re: ThinkPad X40 (2371-H9U) - Atheros attach fails? 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, 19 Jan 2005 01:19:40 -0000 --=-FCmbPfx1z8VYMvdAOdp9 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2005-01-17 at 15:52 -0500, James Snow wrote: > There's also a problem with the video when you close the lid with X > running. When reopened, everything is fine - mouse, etc. - except that > video has shifted down about an inch and a half on the screen, with > garbage appearing at the top of the screen. Restarting X fixes it.=20 > I'm hoping this won't also be a problem in -current, but has anyone seen > something like this before? Yup, and also when switching from internal/external monitor (Fn+F7). These are my current settings that work for me (5.3-stable,xorg 6.8.1) /etc/X11/xorg.conf Section "Device" Identifier "i810" Driver "i810" VideoRam 8196 #Option "NoAccel" #Option "SWCursor" Option "VBERestore" "no" Option "DevicePresence" "yes" # Insert Clocks lines here if appropriate EndSection S3 suspend/resume also work fine for me, I have an ongoing page for my settings/notes that may help for other things: http://www.iosn.net/Members/kaeru/articles/freebsd/x40 --=-FCmbPfx1z8VYMvdAOdp9 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBB7bWpDAqnLW/+/X8RAlsJAKCrl5PjxE2NQVOjBX33ciR8wN1NzACdHM4U 18DdlyyB+lohNw+YiiLv9qM= =IuWX -----END PGP SIGNATURE----- --=-FCmbPfx1z8VYMvdAOdp9-- From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 02:41:59 2005 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 6750216A4CE for ; Wed, 19 Jan 2005 02:41:59 +0000 (GMT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0D5E43D46 for ; Wed, 19 Jan 2005 02:41:58 +0000 (GMT) (envelope-from bsdaemon@comcast.net) Received: from fw.home (pcp05404374pcs.norstn01.pa.comcast.net[68.80.144.252]) by comcast.net (sccrmhc11) with SMTP id <20050119024157011000ppupe>; Wed, 19 Jan 2005 02:41:57 +0000 Received: (qmail 87380 invoked from network); 19 Jan 2005 02:42:14 -0000 Received: from kris.home (HELO ?192.168.0.251?) (192.168.0.251) by fw.home with SMTP; 19 Jan 2005 02:42:14 -0000 Message-ID: <41EDCA4C.6070204@comcast.net> Date: Tue, 18 Jan 2005 21:47:40 -0500 From: Kris Maglione User-Agent: Mozilla Thunderbird 1.0 (X11/20041212) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <41ED1FD5.8090401@comcast.net> <20050118144209.GF3054@empiric.icir.org> <41ED3019.9020600@comcast.net> <41ED4652.8040902@errno.com> <41ED568D.8000405@comcast.net> <41EDB3FE.1050509@errno.com> In-Reply-To: <41EDB3FE.1050509@errno.com> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9AE58D42171B9C44969A2906" Subject: Re: ath: a few questions X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-mobile@freebsd.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 02:41:59 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9AE58D42171B9C44969A2906 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sam Leffler wrote: > Kris Maglione wrote: > >> Sam Leffler wrote: > > >>> You've provided zero useful information so I've been ignoring your >>> winging. Regardless you are comparing apples and oranges. The NDIS >>> driver supports several hardware features that the open source >>> driver does not. At least one of those, XR mode, can be a >>> significant factor in the extended range performance you see. The >>> other critical factor is that the NDIS driver has an excellent >>> transmit rate control algorithm while the onoe rate control code is >>> little more than a noop. I've solicited better algorithms for >>> almost 3 years but noone's stepped up. I cannot do one because I am >>> familiar with several proprietary algorithms and so "tainted". >> >> >> >> Sorry, I haven't provided any useful information, because I don't >> know what information to provide. > > > I don't recall seeing os version, chip id info, hal version, or any > relevant basic config info (hint dmesg has useful bits). Past that > look in /usr/src/tools/tools/ath for the athstats program. It is what > I mostly use in understanding what's going on when problems crop up. I forgot the os version in my first message, so I posted it in reply to the first reply. I'm not sure of the chipset, but I posted the vendor/model. I should have found the chip id info, that's my fault, I admit. I've searched this list, though I didn't look past the first page of results, since I only just realized that there was a pager at the bottom of the results. The images of the numbers are somehow easy to overlook. Not that I should be posting this at this point in this thread, but now I can't get the device to associate using the ath driver. I've tried every combination of loading/unloading the driver, ejecting/inserting the card, booting with the past two things. I've tried every combination of mode, channel, and ssid, but it still won't associate. Don't bother responding to this blurb unless it's something common and stupid (on my part, probably). > > I'm pretty sure this question has been answered numerous times on the > mailing lists so checking back postings is a good idea. > > Sam --------------enig9AE58D42171B9C44969A2906 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7cpMmcXjc1XBrAQRAvpiAKC3DqzcTo1K59blXcsNP/NPXD4+4wCfRqzh QphegwxKtJGjBjEA8bB7F2s= =Hjzo -----END PGP SIGNATURE----- --------------enig9AE58D42171B9C44969A2906-- From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 02:45:34 2005 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 5091A16A4CE for ; Wed, 19 Jan 2005 02:45:34 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC4D443D39 for ; Wed, 19 Jan 2005 02:45:33 +0000 (GMT) (envelope-from bsdaemon@comcast.net) Received: from fw.home (pcp05404374pcs.norstn01.pa.comcast.net[68.80.144.252]) by comcast.net (sccrmhc13) with SMTP id <20050119024532016006rnrle>; Wed, 19 Jan 2005 02:45:33 +0000 Received: (qmail 87814 invoked from network); 19 Jan 2005 02:45:49 -0000 Received: from kris.home (HELO ?192.168.0.251?) (192.168.0.251) by fw.home with SMTP; 19 Jan 2005 02:45:49 -0000 Message-ID: <41EDCB23.6070409@comcast.net> Date: Tue, 18 Jan 2005 21:51:15 -0500 From: Kris Maglione User-Agent: Mozilla Thunderbird 1.0 (X11/20041212) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Thomas Beer References: <5e51d2fd05011814332d348571@mail.gmail.com> In-Reply-To: <5e51d2fd05011814332d348571@mail.gmail.com> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig51883EEBF1A1950FCEF93159" cc: mobile@freebsd.org Subject: Re: ath0 does not exist 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, 19 Jan 2005 02:45:34 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig51883EEBF1A1950FCEF93159 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thomas Beer wrote: >Hi All, > >I try to get my ath0 up, but it seems not to be configured. >Any hints? > >[root@lap ~]# ifconfig ath0 >ifconfig: interface ath0 does not exist > >[root@lap ~]# uname -a >FreeBSD lap.mobile 5.3-RELEASE FreeBSD 5.3-RELEASE #5: Mon Jan 17 >19:19:06 CET 2005 root@lap.mobile:/usr/obj/usr/src/sys/IBM_01 >i386 > >[root@lap ~]# kldstat >Id Refs Address Size Name > 1 12 0xc0400000 3ddd8c kernel > 2 1 0xc07de000 5844 snd_ich.ko > 3 14 0xc07e4000 537f0 acpi.ko > 4 1 0xc276c000 a000 if_ath.ko > 5 1 0xc2776000 25000 ath_hal.ko > 6 1 0xc27d5000 17000 linux.ko > >[root@lap ~]# cat /boot/loader.conf |grep hw >hw.pci.allow_unsupported_io_range="1" >hw.cbb.start_memory="536870912" > >[root@lap ~]# dmesg | grep ath0 >[root@lap ~]# > >cbb0: mem 0xb0000000-0xb0000fff irq 11 at device >0.0 on pci2 >cardbus0: on cbb0 >pccard0: <16-bit PCCard bus> on cbb0 >cbb1: mem 0xb1000000-0xb1000fff irq 11 at device >0.1 on pci2 >cardbus1: on cbb1 >pccard1: <16-bit PCCard bus> on cbb1 > > how about: [root@lap ~]# pcidevs -lv ??? > > >Thanks Tom >_______________________________________________ >freebsd-mobile@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > > --------------enig51883EEBF1A1950FCEF93159 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7csjmcXjc1XBrAQRAtxTAJ98MlqU0hy24MBqqZtk1Cug2InhJACfXlnA StOI0MYdocor4zcitRNhbiI= =ZGl7 -----END PGP SIGNATURE----- --------------enig51883EEBF1A1950FCEF93159-- From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 04:02:29 2005 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 B4D6D16A4CE for ; Wed, 19 Jan 2005 04:02:29 +0000 (GMT) Received: from bak2.mail2000.com.tw (bak2.mail2000.com.tw [210.200.181.240]) by mx1.FreeBSD.org (Postfix) with SMTP id E75FF43D54 for ; Wed, 19 Jan 2005 04:02:28 +0000 (GMT) (envelope-from semin@mail2000.com.tw) Received: from 210.200.181.214V3.20S(67666:0:AUTH_RELAY) (envelope-from ); Wed, 19 Jan 2005 12:02:27 +0800 (CST) Received: By OpenMail Mailer;Wed, 19 Jan 2005 12:02:25 +0800 (CST) From: "semin@NZ" Message-ID: <1106107345.41425.semin@mail2000.com.tw> To: freebsd-mobile@freebsd.org Date: Wed, 19 Jan 2005 12:02:25 +0800 (CST) MIME-Version: 1.0 Content-Type: text/plain Subject: Audio works... and then is dead ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: semin@mail2000.com.tw List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2005 04:02:29 -0000 Hi there, I've got a Laptop (Compaq Presario 2166) with Conxant audio chip. I used to activate the audio with sound.ko and snd_t4dwave.ko when I use FreeBSD 5.1 without any (I suppose so) problem. I downloaded 5.3 several days ago. What happened to me is when I loaded those sound modules (not add into kernel yet), it work. When I start X.org, the sound module didn't work suddenly. The sound disappered even the modules were loaded properly. I tried to add sound modules into my kernel then make, install and reboot, and found ...it still keep dumbness!! I'm definitely sure snd_ko and snd_t4dwave.ko are the correct ones. What on earth might go wrong? Sam From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 08:41:57 2005 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 C11EC16A4CE for ; Wed, 19 Jan 2005 08:41:57 +0000 (GMT) Received: from ni-mail3.dna.utvinternet.net (ni-mail3.dna.utvinternet.net [194.46.8.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5A9E43D3F for ; Wed, 19 Jan 2005 08:41:56 +0000 (GMT) (envelope-from aidanwhyte@eircom.net) Received: from moriarty (unverified [194.46.90.31]) by ni-mail3.dna.utvinternet.net for ; Wed, 19 Jan 2005 08:41:52 +0000 Message-ID: <001701c4fe02$ba393ec0$2201040a@moriarty> From: "Aidan Whyte" To: Date: Wed, 19 Jan 2005 08:41:53 -0000 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Subject: pci <-> pcmcia adapters 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, 19 Jan 2005 08:41:57 -0000 Hi all, Is there a definitive list anywhere of all the pci to pcmcia adapter card chipsets which are supported under 4.x and 5.x? I've checked the hardware compatability lists for each release branch, but I can't find any menion of these adapters. They'll be used for 802.11a and 802.11b cards if that makes any difference, by the by. TIA, Aidan From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 15:18:08 2005 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 B039716A4D8 for ; Wed, 19 Jan 2005 15:18:08 +0000 (GMT) Received: from imladris.teardrop.org (imladris.teardrop.org [66.92.66.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DB6843D1D for ; Wed, 19 Jan 2005 15:18:06 +0000 (GMT) (envelope-from snow@teardrop.org) Received: by imladris.teardrop.org (Postfix, from userid 100) id ADFBDBEAF5; Wed, 19 Jan 2005 10:18:10 -0500 (EST) Date: Wed, 19 Jan 2005 10:18:10 -0500 From: James Snow To: Khairil Yusof Message-ID: <20050119151810.GA48390@teardrop.org> References: <20050116085836.GA34477@teardrop.org> <20050116165022.GA37535@teardrop.org> <61368.24.71.128.63.1105896267.squirrel@24.71.128.63> <20050117205244.GB61265@teardrop.org> <1106097578.25319.129.camel@wolverine> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1106097578.25319.129.camel@wolverine> User-Agent: Mutt/1.4.2.1i cc: freebsd-mobile@freebsd.org Subject: Re: X40 Garbled display - was Re: ThinkPad X40 (2371-H9U) - Atheros attach fails? 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, 19 Jan 2005 15:18:08 -0000 On Wed, Jan 19, 2005 at 09:19:37AM +0800, Khairil Yusof wrote: > > Section "Device" > Identifier "i810" > Driver "i810" > VideoRam 8196 > #Option "NoAccel" > #Option "SWCursor" > Option "VBERestore" "no" > Option "DevicePresence" "yes" > # Insert Clocks lines here if appropriate > EndSection Interestingly, this doesn't work for me. But then again, my original devd.conf fix didn't quite work either. I had restarted devd from within a shell within X, so it was picking up my DISPLAY environment variable. After a reboot, that fix no longer worked. I had to change it to: devd.conf: notify 10 { match "system" "ACPI"; match "subsystem" "Lid"; action "/usr/X11R6/bin/xrandr -display :0.0 -s 0"; }; And that works perfectly for me. > http://www.iosn.net/Members/kaeru/articles/freebsd/x40 I've actually seen your website before when doing research before buying this laptop. Thanks for putting all that information up. It was part of why I decided to forge ahead with buying something so new. I think you and I have slightly different laptops though; my onboard wireless card is an Atheron. -Snow From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 16:14:38 2005 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 A195116A4CE for ; Wed, 19 Jan 2005 16:14:38 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C75243D5D for ; Wed, 19 Jan 2005 16:14:38 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id j0JGBZB1010258; Wed, 19 Jan 2005 09:11:36 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 19 Jan 2005 09:12:42 -0700 (MST) Message-Id: <20050119.091242.60691456.imp@bsdimp.com> To: aidanwhyte@eircom.net From: "M. Warner Losh" In-Reply-To: <001701c4fe02$ba393ec0$2201040a@moriarty> References: <001701c4fe02$ba393ec0$2201040a@moriarty> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: pci <-> pcmcia adapters 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, 19 Jan 2005 16:14:38 -0000 In message: <001701c4fe02$ba393ec0$2201040a@moriarty> "Aidan Whyte" writes: : Is there a definitive list anywhere of all the pci to pcmcia adapter : card chipsets which are supported under 4.x and 5.x? I've checked : the hardware compatability lists for each release branch, but I : can't find any menion of these adapters. They'll be used for 802.11a : and 802.11b cards if that makes any difference, by the by. man cbb doesn't give you: The following PCI cardbus and pcmcia bridges are supported: Cirrus Logic PD6832 Cirrus Logic PD6833 Cirrus Logic PD6834 O2micro OZ6812 O2micro OZ6832 O2micro OZ6833 O2micro OZ6836 O2micro OZ6860 O2micro OZ6872 O2micro OZ6912 O2micro OZ6922 O2micro OZ6933 O2micro OZ6972 O2Micro OZ711E1 O2Micro OZ711M1 Ricoh RL4C475 Ricoh RL4C476 Ricoh RL4C477 Ricoh RL4C478 TI PCI-1031 TI PCI-1130 TI PCI-1131 TI PCI-1210 TI PCI-1211 TI PCI-1220 TI PCI-1221 TI PCI-1225 TI PCI-1250 TI PCI-1251 TI PCI-1251B TI PCI-1260 TI PCI-1260B TI PCI-1410 TI PCI-1420 TI PCI-1450 TI PCI-1451 TI PCI-1510 TI PCI-1515 TI PCI-1520 TI PCI-1530 TI PCI-1620 TI PCI-4410 TI PCI-4450 TI PCI-4451 TI PCI-4510 TI PCI-4520 TI PCI-[67]x[12]1 TI PCI-[67]x20 ENE CB710 ENE CB720 ENE CB1211 ENE CB1255 ENE CB1410 ENE CB1420 Toshiba ToPIC95 Toshiba ToPIC95B Toshiba ToPIC97 Toshiba ToPIC100 There's really no 'brand name' adapters, so you have to find out the chipset they use. Chances are excellent that it will be one of the above chips. If not, tell me how to buy one (or buy me one) and I'll make it work. The biggest problem you may hit is routing of interrupts. Some older machines, which tend to be popular for folks to turn into APs, tend to not support the APIs necessary to make it happen. Warner From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 17:55:55 2005 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 36A1F16A4CE for ; Wed, 19 Jan 2005 17:55:55 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4AD243D49 for ; Wed, 19 Jan 2005 17:55:54 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.91] (sam@[66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j0JHtpWi072643 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 19 Jan 2005 09:55:52 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <41EE9F44.3050308@errno.com> Date: Wed, 19 Jan 2005 09:56:20 -0800 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Maglione References: <41ED1FD5.8090401@comcast.net> <20050118144209.GF3054@empiric.icir.org> <41ED3019.9020600@comcast.net> <41ED4652.8040902@errno.com> <41ED568D.8000405@comcast.net> In-Reply-To: <41ED568D.8000405@comcast.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: ath: a few questions [really kismet and radiotap] 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, 19 Jan 2005 17:55:55 -0000 Kris Maglione wrote: > Sam Leffler wrote: > >> Kris Maglione wrote: >> >>> Bruce M Simpson wrote: >>> >>>> On Tue, Jan 18, 2005 at 09:40:21AM -0500, Kris Maglione wrote: >>>> >>>> >>>>> Second, according to CVS, hw.ath.outdoors was made tunable a year >>>>> ago, but sysctl says it's readonly when I try to change it. It's >>>>> stuck at 1, which seems to be a possible explanation for why it's >>>>> indoor use sucks so badly compared to the windows driver, >>>>> especially through walls. >>>>> >>>> >>>> >>>> >>>> >>>> I'm running 5.3-STABLE as of last Wednesday and do not see this sysctl. >>>> >>>> Please give version information (uname -a) when posting this kind of >>>> query, >>>> as it's next to impossible to give useful advice otherwise. >>>> >>>> >>> Sorry about that. No uname -a, but it's the 5-STABLE from about a few >>> days ago. The kernel config file is actually the (minimally modified) >>> FreesBIE config file from a few months ago, but why is a long story. >> >> >> >> The setting is a read-only sysctl because once the module is loaded >> changing it has no effect. Set it before you kldload the module or in >> your hints file if you want it different than the default. >> >>> >>>> You should be able to 'tcpdump -i ath0 -y ieee802_11' to verify that >>>> you >>>> can capture 802.11 packets straight off the card. >>>> >>>> >>> I have done that, and I have used kismet. My problem with kismet >>> turned out to just be a wierd way that kismet reports things. >> >> >> >> kismet has been broken for a while. It used to work but something >> broke it and I've had no time to dig (it's painful to debug as it's a >> multi-process app written in C++ and makes heavy use of STL so >> inspecting data structures is a pain). Against my better judgement I looked at kismet again :) The problem is that kismet is discarding most all packets because it thinks they are corrupt. The reason it thinks this is because the frames are being delivered to kismet with the trailing FCS intact and kismet interprets FCS as information elements and discards the packets when it validates the packet's contents. While you likely don't care about the details, the fix is probably something that must go in kismet. FWIW ethereal deals with this issue by having a checkbox in the UI that you can use to enable acceptance of such packets. The radiotap format should have a flag to indicate FCS is included but it never happened. I will discuss this (again) with the radiotap-meister. Sam From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 18:15:22 2005 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 8B61616A4CF for ; Wed, 19 Jan 2005 18:15:22 +0000 (GMT) Received: from ni-mail3.dna.utvinternet.net (ni-mail3.dna.utvinternet.net [194.46.8.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5DA043D2D for ; Wed, 19 Jan 2005 18:15:21 +0000 (GMT) (envelope-from aidanwhyte@eircom.net) Received: from moriarty (unverified [194.46.90.31]) by ni-mail3.dna.utvinternet.net ; Wed, 19 Jan 2005 18:15:18 +0000 Message-ID: <005201c4fe52$d6603860$2201040a@moriarty> From: "Aidan Whyte" To: "M. Warner Losh" References: <001701c4fe02$ba393ec0$2201040a@moriarty> <20050119.091242.60691456.imp@bsdimp.com> Date: Wed, 19 Jan 2005 18:15:12 -0000 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Original cc: freebsd-mobile@freebsd.org Subject: Re: pci <-> pcmcia adapters 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, 19 Jan 2005 18:15:22 -0000 > man cbb doesn't give you: > > The following PCI cardbus and pcmcia bridges are supported: > > There's really no 'brand name' adapters, so you have to find out the > chipset they use. Chances are excellent that it will be one of the > above chips. If not, tell me how to buy one (or buy me one) and I'll > make it work. > > The biggest problem you may hit is routing of interrupts. Some older > machines, which tend to be popular for folks to turn into APs, tend to > not support the APIs necessary to make it happen. > > Warner Many thanks for all the info. I can take from the list that the RICOH R5C475II chipset isn't supported? Aidan From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 19:32:44 2005 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 A3B4316A4CE for ; Wed, 19 Jan 2005 19:32:44 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AAB843D46 for ; Wed, 19 Jan 2005 19:32:44 +0000 (GMT) (envelope-from imp@harmony.village.org) Received: from localhost (localhost [IPv6:::1]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id j0JJVTtp012433; Wed, 19 Jan 2005 12:31:29 -0700 (MST) (envelope-from imp@harmony.village.org) Date: Wed, 19 Jan 2005 12:31:28 -0700 (MST) Message-Id: <20050119.123128.74737917.imp@harmony.village.org> To: aidanwhyte@eircom.net From: Warner Losh In-Reply-To: <005201c4fe52$d6603860$2201040a@moriarty> References: <001701c4fe02$ba393ec0$2201040a@moriarty> <20050119.091242.60691456.imp@bsdimp.com> <005201c4fe52$d6603860$2201040a@moriarty> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-mobile@FreeBSD.ORG Subject: Re: pci <-> pcmcia adapters 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, 19 Jan 2005 19:32:44 -0000 > Many thanks for all the info. I can take from the list that the RICOH R5C475II chipset isn't > supported? I'd suspect that it is, since I think that it has the same chip ID as the R5C475. There's a number of minor 'variants' like that which we don't look at in software, but are supported. There's also a firewire version of that bridge chip that's supported, but has the same ID so isn't listed in the table (but should be). warner From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 19:37:47 2005 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 168AB16A4CE for ; Wed, 19 Jan 2005 19:37:47 +0000 (GMT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFA0543D48 for ; Wed, 19 Jan 2005 19:37:46 +0000 (GMT) (envelope-from bsdaemon@comcast.net) Received: from fw.home (pcp05404374pcs.norstn01.pa.comcast.net[68.80.144.252]) by comcast.net (rwcrmhc13) with SMTP id <2005011919374601500cmo9le>; Wed, 19 Jan 2005 19:37:46 +0000 Received: (qmail 11193 invoked from network); 19 Jan 2005 19:38:05 -0000 Received: from kris.home (HELO ?192.168.0.251?) (192.168.0.251) by fw.home with SMTP; 19 Jan 2005 19:38:05 -0000 Message-ID: <41EEB861.3040201@comcast.net> Date: Wed, 19 Jan 2005 14:43:29 -0500 From: Kris Maglione User-Agent: Mozilla Thunderbird 1.0 (X11/20041212) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <41ED1FD5.8090401@comcast.net> <20050118144209.GF3054@empiric.icir.org> <41ED3019.9020600@comcast.net> <41ED4652.8040902@errno.com> <41ED568D.8000405@comcast.net> <41EE9F44.3050308@errno.com> In-Reply-To: <41EE9F44.3050308@errno.com> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9FCE1D8DD3615C2A4A07EE4C" Subject: Re: ath: a few questions [really not important] 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, 19 Jan 2005 19:37:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9FCE1D8DD3615C2A4A07EE4C Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit > While you likely don't care about the details, the fix is probably > something that must go in kismet. You underestimate my... (popular 'technoculture' would probably call it geekiness) sorry, my mind's gone today, I can't think of a word. Nevertheless, I always care about the details, but I understand that you don't have the time to explain them. I was wondering why so many packets were being discarded, but also why it sometimes detected networks. Nevertheless, it matters not to me at the moment, since the ath driver stopped picking up most packets and won't associate/stay associated for more than a half of a second. I'm relying on the ndis driver (it turned out to be as bad as I expected. I've had two panics so far. I need to switch to -CURRENT and compile in break-to-debugger support so I can report them.) Sorry for the blurb. My mind's not here, but I've had too much tea and too little food. > Sam --------------enig9FCE1D8DD3615C2A4A07EE4C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFB7rhlmcXjc1XBrAQRAsWPAJ91v+prwTwv0MoS/eZPp57oE+BbrQCeL6s9 XXMkgpGs/O/4JNlaie9clP4= =l1ZO -----END PGP SIGNATURE----- --------------enig9FCE1D8DD3615C2A4A07EE4C-- From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 19:56:39 2005 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 B17FC16A4CE for ; Wed, 19 Jan 2005 19:56:39 +0000 (GMT) Received: from smtp2.cistron.nl (smtp2.cistron.nl [62.216.30.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AF2343D45 for ; Wed, 19 Jan 2005 19:56:39 +0000 (GMT) (envelope-from robert@guldan.demon.nl) Received: from cust.13.38.adsl.cistron.nl ([62.216.13.38] helo=guldan.demon.nl) by smtp2.cistron.nl with esmtp (Exim 3.35 #1 (Debian)) id 1CrLwU-0007EA-00 for ; Wed, 19 Jan 2005 20:56:38 +0100 Received: from bombur.guldan.demon.nl ([192.168.201.3] helo=localhost) by guldan.demon.nl with esmtp (Exim 4.24; FreeBSD) id 1CrLwS-000EU5-4m; Wed, 19 Jan 2005 20:56:36 +0100 Date: Wed, 19 Jan 2005 20:56:36 +0100 From: Robert Blacquiere To: freebsd-mobile@FreeBSD.ORG Message-ID: <20050119195635.GC61467@bombur.guldan.demon.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Disclaimer: running FreeBSD X-Spam-Score: 0.0 (/) Subject: Xircom Realport Cardbus Ethernet 10/100 + Modem 56 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, 19 Jan 2005 19:56:39 -0000 Hi all, I've been using this cardbus card on and off for debugging cases. And last time i've used it was with 5.2.1 system which worked perfect. But after upgrading to 5.3 and 5.3S it seems to hang my system. I've got some wireless 16 and 32 bit cards and all work. But this one failes badly. I got the dc0 and sio4 device which all worked. I've tried also using: hw.pci.allow_unsupported_io_range=1 and have to add the following to prevent issues with the irda port. hw.cbb.start_16_io="0x140" Does any body know a possible solution? It's hard to get some debug info. Tomorrow i'll try and get dumping and some dmesg output available. Robert -- Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming or what? OpenBSD: Hey guys you left some holes out there! From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 22:03:22 2005 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 1027016A4CE for ; Wed, 19 Jan 2005 22:03:22 +0000 (GMT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id D90C343D54 for ; Wed, 19 Jan 2005 22:03:21 +0000 (GMT) (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 IBA74465; Wed, 19 Jan 2005 14:03:21 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 4A2E95D08; Wed, 19 Jan 2005 14:03:21 -0800 (PST) X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: Robert Blacquiere In-reply-to: Your message of "Wed, 19 Jan 2005 20:56:36 +0100." <20050119195635.GC61467@bombur.guldan.demon.nl> Mime-Version: 1.0 Content-Type: multipart/mixed ; boundary="==_Exmh_10504690170" Date: Wed, 19 Jan 2005 14:03:21 -0800 From: "Kevin Oberman" Message-Id: <20050119220321.4A2E95D08@ptavv.es.net> cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Xircom Realport Cardbus Ethernet 10/100 + Modem 56 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, 19 Jan 2005 22:03:22 -0000 This is a multipart MIME message. --==_Exmh_10504690170 Content-Type: text/plain; charset=us-ascii > Date: Wed, 19 Jan 2005 20:56:36 +0100 > From: Robert Blacquiere > Sender: owner-freebsd-mobile@freebsd.org > > Hi all, > > I've been using this cardbus card on and off for debugging cases. And > last time i've used it was with 5.2.1 system which worked perfect. But > after upgrading to 5.3 and 5.3S it seems to hang my system. I've got some > wireless 16 and 32 bit cards and all work. But this one failes badly. > > I got the dc0 and sio4 device which all worked. > > I've tried also using: > hw.pci.allow_unsupported_io_range=1 > and have to add the following to prevent issues with the irda port. > hw.cbb.start_16_io="0x140" > > Does any body know a possible solution? It's hard to get some debug info. > Tomorrow i'll try and get dumping and some dmesg output available. Here is a kludge to make it work. The problem is probably a combination of a driver bug and a problem with busdma. Scott Long has been looking into this, but I have not heard anything from him for a while, so I guess I'll need to jog his elbow. In any case, this patch should get you back on-line. -- 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 --==_Exmh_10504690170 Content-Type: text/plain ; name="if_dc.diff"; charset=us-ascii Content-Description: if_dc.diff Content-Disposition: attachment; filename="if_dc.diff" --- if_dc.c~ Fri Oct 15 17:53:44 2004 +++ if_dc.c Mon Dec 20 14:22:48 2004 @@ -2151,8 +2151,8 @@ } /* Allocate a busdma tag for mbufs. */ - error = bus_dma_tag_create(NULL, PAGE_SIZE, 0, BUS_SPACE_MAXADDR_32BIT, - BUS_SPACE_MAXADDR, NULL, NULL, MCLBYTES * DC_TX_LIST_CNT, + error = bus_dma_tag_create(NULL, 1, 0, BUS_SPACE_MAXADDR_32BIT, + BUS_SPACE_MAXADDR, NULL, NULL, MCLBYTES, DC_TX_LIST_CNT, MCLBYTES, 0, NULL, NULL, &sc->dc_mtag); if (error) { printf("dc%d: failed to allocate busdma tag\n", unit); --==_Exmh_10504690170-- From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 22:36:29 2005 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 340AE16A4CE; Wed, 19 Jan 2005 22:36:29 +0000 (GMT) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 138BA43D5A; Wed, 19 Jan 2005 22:36:28 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 0AE21856A4; Thu, 20 Jan 2005 09:06:26 +1030 (CST) Date: Thu, 20 Jan 2005 09:06:26 +1030 From: Greg 'groggy' Lehey To: FreeBSD Questions Message-ID: <20050119223625.GB17730@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="E39vaYmALEf/7YXx" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: FreeBSD mobile Mailing List Subject: Enabling Dell Inspiron 1150 touch pad? 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, 19 Jan 2005 22:36:29 -0000 --E39vaYmALEf/7YXx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I've just installed 5.3-RELEASE on an Inspiron 1150 (some of you will have seen my questions about this machine a couple of weeks ago). I can't get the touch pad to work. I've tried installing a -CURRENT (as of yesterday) kernel, and there's no improvement. The relevant parts of the dmesg (from a verbose boot) appear to be: psmcpnp0: at irq 12 on isa0 psm0: current command byte:0065 psm0: the aux port is not functioning (-1). The complete dmesg is at http://www.lemis.com/grog/dmesg. Before I go digging, has anybody else seen something like this? Any ideas where to look? Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. --E39vaYmALEf/7YXx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB7uDpIubykFB6QiMRAhnqAKCSjFN9pW5n5p6Dxd7Un8HMcC33MgCeKzpI RXWZAKnX08U3nLEpLaO6wls= =U5Qs -----END PGP SIGNATURE----- --E39vaYmALEf/7YXx-- From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 23:11:17 2005 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 4E3F316A4CE; Wed, 19 Jan 2005 23:11:17 +0000 (GMT) Received: from amcuxfw802.amc.af.mil (amcuxns802.amc.af.mil [131.9.254.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C14743D45; Wed, 19 Jan 2005 23:11:14 +0000 (GMT) (envelope-from david.hauan@fairchild.af.mil) Received: from amcw2av803.amc.ds.af.mil ([131.9.19.116]) by fw2.amc.af.mil with SMTP id j0JNAaOq010724; Wed, 19 Jan 2005 17:11:13 -0600 (CST) Received: from AMCW2BH505.amc.ds.af.mil ([131.9.25.136]) M2005011917110813535 ; Wed, 19 Jan 2005 17:11:08 -0600 Received: from amcw2ms517.amc.ds.af.mil ([131.9.19.74]) by AMCW2BH505.amc.ds.af.mil with Microsoft SMTPSVC(5.0.2195.6713); Wed, 19 Jan 2005 17:11:08 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 19 Jan 2005 17:11:07 -0600 Message-ID: <59FD5336D1B1FA40AF6DDD241D8DBAC601459527@amcw2ms517.amc.ds.af.mil> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Enabling Dell Inspiron 1150 touch pad? Thread-Index: AcT+d2ru0FNG+rH9T4m60Syh+DMiDwABJQuQ From: "Hauan David A" To: "Greg 'groggy' Lehey" , "FreeBSD Questions" X-OriginalArrivalTime: 19 Jan 2005 23:11:08.0459 (UTC) FILETIME=[28A617B0:01C4FE7C] cc: FreeBSD mobile Mailing List Subject: RE: Enabling Dell Inspiron 1150 touch pad? 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, 19 Jan 2005 23:11:17 -0000 > -----Original Message----- > From: Greg 'groggy' Lehey [mailto:grog@freebsd.org]=20 > Sent: Wednesday, January 19, 2005 2:36 PM > To: FreeBSD Questions > Cc: FreeBSD mobile Mailing List > Subject: Enabling Dell Inspiron 1150 touch pad? >=20 >=20 > I've just installed 5.3-RELEASE on an Inspiron 1150 (some of=20 > you will have seen my questions about this machine a couple=20 > of weeks ago). I can't get the touch pad to work. I've=20 > tried installing a -CURRENT (as of yesterday) kernel, and=20 > there's no improvement. The relevant parts of the dmesg=20 > (from a verbose boot) appear to be: >=20 > psmcpnp0: at irq 12 on isa0 > psm0: current command byte:0065 > psm0: the aux port is not functioning (-1). >=20 > The complete dmesg is at http://www.lemis.com/grog/dmesg. >=20 > Before I go digging, has anybody else seen something like=20 > this? Any ideas where to look? >=20 > Greg > -- Have you tried.. http://www.rdegraaf.nl/index.asp?sND_ID=3D487235 dave From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 23:55:13 2005 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 4EF3E16A4CF for ; Wed, 19 Jan 2005 23:55:13 +0000 (GMT) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id D619743D31 for ; Wed, 19 Jan 2005 23:55:12 +0000 (GMT) (envelope-from bsdaemon@comcast.net) Received: from fw.home (pcp05404374pcs.norstn01.pa.comcast.net[68.80.144.252]) by comcast.net (sccrmhc12) with SMTP id <20050119235511012000q3d0e>; Wed, 19 Jan 2005 23:55:12 +0000 Received: (qmail 40814 invoked from network); 19 Jan 2005 23:55:33 -0000 Received: from unknown (HELO ?192.168.1.251?) (192.168.1.251) by fw.home with SMTP; 19 Jan 2005 23:55:33 -0000 Message-ID: <41EE9FC2.1080905@comcast.net> Date: Wed, 19 Jan 2005 17:58:26 +0000 From: Kris Maglione User-Agent: Mozilla Thunderbird 1.0 (X11/20041213) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <41ED1FD5.8090401@comcast.net> <20050118144209.GF3054@empiric.icir.org> <41ED3019.9020600@comcast.net> <41ED4652.8040902@errno.com> In-Reply-To: <41ED4652.8040902@errno.com> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ath: a few questions 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, 19 Jan 2005 23:55:13 -0000 Sam Leffler wrote: > kismet has been broken for a while. It used to work but something > broke it and I've had no time to dig (it's painful to debug as it's a > multi-process app written in C++ and makes heavy use of STL so > inspecting data structures is a pain). You didn't mention how sparsely commented it is (in a lot of places, anyway). There are whole blocks of code that I have to read over a few times just to figure out what their point is, not to mention data structures and variables being declared with no comments whatsoever on what they do, and no comments on what's being done where they're used. Not that it's uncommon, but it makes things difficult. From owner-freebsd-mobile@FreeBSD.ORG Wed Jan 19 23:57:58 2005 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 0CB4E16A4CE; Wed, 19 Jan 2005 23:57:58 +0000 (GMT) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 898B843D49; Wed, 19 Jan 2005 23:57:56 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 7FC73856B1; Thu, 20 Jan 2005 10:27:54 +1030 (CST) Date: Thu, 20 Jan 2005 10:27:54 +1030 From: Greg 'groggy' Lehey To: Hauan David A Message-ID: <20050119235754.GE17730@wantadilla.lemis.com> References: <59FD5336D1B1FA40AF6DDD241D8DBAC601459527@amcw2ms517.amc.ds.af.mil> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qFgkTsE6LiHkLPZw" Content-Disposition: inline In-Reply-To: <59FD5336D1B1FA40AF6DDD241D8DBAC601459527@amcw2ms517.amc.ds.af.mil> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: FreeBSD Questions cc: FreeBSD mobile Mailing List Subject: Re: Enabling Dell Inspiron 1150 touch pad? 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, 19 Jan 2005 23:57:58 -0000 --qFgkTsE6LiHkLPZw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wednesday, 19 January 2005 at 17:11:07 -0600, Hauan David A wrote: > On Wednesday, January 19, 2005 2:36 PM, Greg 'groggy' Lehey wrote: >> >> I've just installed 5.3-RELEASE on an Inspiron 1150 (some of >> you will have seen my questions about this machine a couple >> of weeks ago). I can't get the touch pad to work. I've >> tried installing a -CURRENT (as of yesterday) kernel, and >> there's no improvement. The relevant parts of the dmesg >> (from a verbose boot) appear to be: >> >> psmcpnp0: at irq 12 on isa0 >> psm0: current command byte:0065 >> psm0: the aux port is not functioning (-1). >> >> The complete dmesg is at http://www.lemis.com/grog/dmesg. >> >> Before I go digging, has anybody else seen something like >> this? Any ideas where to look? > > http://www.rdegraaf.nl/index.asp?sND_ID=487235 Thanks! That did the trick. I now have: psm0: flags 0x1000 irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 For the benefit of others: this laptop requires a device flag for the touch pad. This change is needed in /boot/device.hints: --- /boot/device.hints 2004/11/05 01:27:17 1.1 +++ /boot/device.hints 2005/01/19 17:36:23 @@ -27,6 +27,8 @@ hint.atkbd.0.irq="1" hint.psm.0.at="atkbdc" hint.psm.0.irq="12" +# Needed on Inspiron 1150 +hint.psm.0.flags="0x1000" hint.vga.0.at="isa" hint.sc.0.at="isa" hint.sc.0.flags="0x100" The web page also talks about putting start parameters for moused into /etc/rc.conf; I don't think this is necessary. I suspect that you just need to remove the line: moused_enable="NO" Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. --qFgkTsE6LiHkLPZw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB7vQCIubykFB6QiMRAkCkAJ4oCFZg1jlFCyP5GqfhlBsKZws2LwCeIs8W gbhZM3jRoGpLJ1evdF1749s= =+D4Z -----END PGP SIGNATURE----- --qFgkTsE6LiHkLPZw-- From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 20 00:52:47 2005 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 43E2416A4CE for ; Thu, 20 Jan 2005 00:52:47 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04EDC43D2F for ; Thu, 20 Jan 2005 00:52:47 +0000 (GMT) (envelope-from bsdaemon@comcast.net) Received: from fw.home (pcp05404374pcs.norstn01.pa.comcast.net[68.80.144.252]) by comcast.net (rwcrmhc11) with SMTP id <20050120005246013009erjne>; Thu, 20 Jan 2005 00:52:46 +0000 Received: (qmail 47703 invoked from network); 20 Jan 2005 00:53:07 -0000 Received: from unknown (HELO ?192.168.1.251?) (192.168.1.251) by fw.home with SMTP; 20 Jan 2005 00:53:07 -0000 Message-ID: <41EEAD3E.6010104@comcast.net> Date: Wed, 19 Jan 2005 18:55:58 +0000 From: Kris Maglione User-Agent: Mozilla Thunderbird 1.0 (X11/20041213) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <41ED1FD5.8090401@comcast.net> <20050118144209.GF3054@empiric.icir.org> <41ED3019.9020600@comcast.net> <41ED4652.8040902@errno.com> <41ED568D.8000405@comcast.net> <41EE9F44.3050308@errno.com> In-Reply-To: <41EE9F44.3050308@errno.com> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ath: a few questions [really kismet and radiotap] X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-mobile@freebsd.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 00:52:47 -0000 Sam Leffler wrote: > Kris Maglione wrote: > >> Sam Leffler wrote: >> >>> Kris Maglione wrote: >>> >>>> Bruce M Simpson wrote: >>>> >>>>> On Tue, Jan 18, 2005 at 09:40:21AM -0500, Kris Maglione wrote: >>>>> >>>>> >>>>>> Second, according to CVS, hw.ath.outdoors was made tunable a year >>>>>> ago, but sysctl says it's readonly when I try to change it. It's >>>>>> stuck at 1, which seems to be a possible explanation for why it's >>>>>> indoor use sucks so badly compared to the windows driver, >>>>>> especially through walls. >>>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> I'm running 5.3-STABLE as of last Wednesday and do not see this >>>>> sysctl. >>>>> >>>>> Please give version information (uname -a) when posting this kind >>>>> of query, >>>>> as it's next to impossible to give useful advice otherwise. >>>>> >>>>> >>>> Sorry about that. No uname -a, but it's the 5-STABLE from about a >>>> few days ago. The kernel config file is actually the (minimally >>>> modified) FreesBIE config file from a few months ago, but why is a >>>> long story. >>> >>> >>> >>> >>> The setting is a read-only sysctl because once the module is loaded >>> changing it has no effect. Set it before you kldload the module or >>> in your hints file if you want it different than the default. >>> >>>> >>>>> You should be able to 'tcpdump -i ath0 -y ieee802_11' to verify >>>>> that you >>>>> can capture 802.11 packets straight off the card. >>>>> >>>>> >>>> I have done that, and I have used kismet. My problem with kismet >>>> turned out to just be a wierd way that kismet reports things. >>> >>> >>> >>> >>> kismet has been broken for a while. It used to work but something >>> broke it and I've had no time to dig (it's painful to debug as it's >>> a multi-process app written in C++ and makes heavy use of STL so >>> inspecting data structures is a pain). >> > > Against my better judgement I looked at kismet again :) The problem > is that kismet is discarding most all packets because it thinks they > are corrupt. The reason it thinks this is because the frames are > being delivered to kismet with the trailing FCS intact and kismet > interprets FCS as information elements and discards the packets when > it validates the packet's contents. While you likely don't care about > the details, the fix is probably something that must go in kismet. > FWIW ethereal deals with this issue by having a checkbox in the UI > that you can use to enable acceptance of such packets. > > The radiotap format should have a flag to indicate FCS is included but > it never happened. I will discuss this (again) with the > radiotap-meister. > > Sam I implemented a temporary solution for my client. I decremented the data length (packet->caplength) and packet length (packet->len) variables in the Radiotap2KisPacket function by 4 (as long as the data was longer than 4 bytes) before the data is memcpy's into the packet->data array. This is by no means a definitive solution, since I didn't actually check to see of those 4 bytes were really the FCS, but at some point, I probably will do so and submit a patch. I have no intention of trying to implement it anywhere else, since, for what I know, kismet doesn't use the data. Anyway, it solved the problem. It's barely throwing away any packets now and detecting the networks that it should. Thanks for the info. From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 20 02:41:59 2005 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 F3DFC16A4CE; Thu, 20 Jan 2005 02:41:58 +0000 (GMT) Received: from freebsd3.cimlogic.com.au (adsl-20-121.swiftdsl.com.au [218.214.20.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2954643D1D; Thu, 20 Jan 2005 02:41:58 +0000 (GMT) (envelope-from jb@cimlogic.com.au) Received: by freebsd3.cimlogic.com.au (Postfix, from userid 102) id E106B6A9BF; Thu, 20 Jan 2005 13:41:56 +1100 (EST) Date: Thu, 20 Jan 2005 13:41:56 +1100 From: John Birrell To: Greg 'groggy' Lehey Message-ID: <20050120024156.GN69183@freebsd3.cimlogic.com.au> References: <59FD5336D1B1FA40AF6DDD241D8DBAC601459527@amcw2ms517.amc.ds.af.mil> <20050119235754.GE17730@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050119235754.GE17730@wantadilla.lemis.com> User-Agent: Mutt/1.4.2.1i cc: FreeBSD Questions cc: Hauan David A cc: FreeBSD mobile Mailing List Subject: Re: Enabling Dell Inspiron 1150 touch pad? 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: Thu, 20 Jan 2005 02:41:59 -0000 On Thu, Jan 20, 2005 at 10:27:54AM +1030, Greg 'groggy' Lehey wrote: > For the benefit of others: this laptop requires a device flag for the > touch pad. This change is needed in /boot/device.hints: > > --- /boot/device.hints 2004/11/05 01:27:17 1.1 > +++ /boot/device.hints 2005/01/19 17:36:23 > @@ -27,6 +27,8 @@ > hint.atkbd.0.irq="1" > hint.psm.0.at="atkbdc" > hint.psm.0.irq="12" > +# Needed on Inspiron 1150 > +hint.psm.0.flags="0x1000" > hint.vga.0.at="isa" > hint.sc.0.at="isa" > hint.sc.0.flags="0x100" I'm a bit slow off the mark. Yep. Add them flags! I do it in /etc/rc.conf with: moused_flags="-3" It's not the same value, I know, but the touchpad works for me on the 1150 with that setting. YMMV. 8-) -- John Birrell From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 20 07:43:45 2005 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 6509016A4CF for ; Thu, 20 Jan 2005 07:43:45 +0000 (GMT) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.FreeBSD.org (Postfix) with SMTP id BB2C343D53 for ; Thu, 20 Jan 2005 07:43:44 +0000 (GMT) (envelope-from dwalton@acm.org) Received: (qmail 74741 invoked from network); 20 Jan 2005 07:43:42 -0000 Received: from unknown (HELO ?172.16.1.34?) (unknown) by unknown with SMTP; 20 Jan 2005 07:43:42 -0000 X-pair-Authenticated: 68.127.18.161 Message-ID: <41EF6101.7010008@acm.org> Date: Wed, 19 Jan 2005 23:42:57 -0800 From: Dave Walton User-Agent: Mozilla Thunderbird 1.0 (X11/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gleb Smirnoff Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: Trouble with APM suspend in 5.3-R X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dwalton@acm.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 07:43:45 -0000 On 9 Nov 2004, Gleb Smirnoff wrote: > > Please try the following and report whether this helped. > > 1) Merge revision 1.233 of ata-all.c to your 5.3-RELEASE ata-all.c > 2) Apply patch I've sent to this list yesterday (Subject was 'CURRENT > patchset for Thinkpad'). > 3) Rebuild your kernel with new ata-all.c > 4) Reboot and try suspend/resume. I've been unable to get APM suspend/resume to work with 5.3-R on my Thinkpad 770Z. As released, 'apm -z' causes a lockup (it worked fine in 4.x). Revision 1.233 of ata-all.c fixes that, and 'apm -z' now causes the system to properly suspend to disk, as it had before. However, when the system resumes, it spits out three errors regarding pir0, then panics. This happens with or without your patch applied to ata-all.c. Any suggestions? Any other info I can provide that might be helpful? Thanks, Dave From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 20 08:24:31 2005 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 DEE0516A4CE for ; Thu, 20 Jan 2005 08:24:31 +0000 (GMT) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.FreeBSD.org (Postfix) with SMTP id 68F4243D55 for ; Thu, 20 Jan 2005 08:24:31 +0000 (GMT) (envelope-from dwalton@acm.org) Received: (qmail 60753 invoked from network); 20 Jan 2005 08:24:30 -0000 Received: from unknown (HELO ?172.16.1.34?) (unknown) by unknown with SMTP; 20 Jan 2005 08:24:30 -0000 X-pair-Authenticated: 68.127.18.161 Message-ID: <41EF6A90.1010101@acm.org> Date: Thu, 20 Jan 2005 00:23:44 -0800 From: Dave Walton User-Agent: Mozilla Thunderbird 1.0 (X11/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: mobile@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: HEADS UP: OLDCARD to go away X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dwalton@acm.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 08:24:32 -0000 On 8 Nov 2004, M. Warner Losh wrote: > > I'm in the process of flushing my last few changes into OLDCARD > (mostly pccard.conf entries). Once that's complete, I'll be removing > OLDCARD from head, likely early next week. Now that that has happened, where does that leave support for my Thinkpad 770Z for versions after 5.3-R? As near as I can figure, my problem is that my chipset, which works as pcic in OLDCARD, is somehow not fully supported as cbb in GENERIC. Can someone who understands this low-level stuff please let me know whether cbb has been (or will be) improved to work here? As it stands now, I'm afraid to cvsup -STABLE, leaving me permanently stuck at 5.3-R. With GENERIC, I see this: cbb0: mem 0x50103000-0x50103fff irq 11 at device 2.0 on pci0 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0x50102000-0x50102fff irq 11 at device 2.1 on pci0 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 pccard0: Card has no functions! cbb0: PC Card card activation failed pccard1: Card has no functions! cbb1: PC Card card activation failed With OLDCARD, I see this: pcic0: mem 0x50103000-0x50103fff irq 11 at device 2.0 on pci0 pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][CSC parallel isa irq] pcic0: [GIANT-LOCKED] pccard0: on pcic0 pcic1: mem 0x50102000-0x50102fff irq 11 at device 2.1 on pci0 pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][CSC parallel isa irq] pcic1: [GIANT-LOCKED] pccard1: on pcic1 pccard: card inserted, slot 0 pccard: card inserted, slot 1 Thanks, Dave From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 20 08:32:19 2005 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 91D3716A4CE for ; Thu, 20 Jan 2005 08:32:19 +0000 (GMT) Received: from tts.orel.ru (tts.orel.ru [213.59.64.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BE2D43D54 for ; Thu, 20 Jan 2005 08:32:18 +0000 (GMT) (envelope-from bel@orel.ru) Received: from orel.ru (pf1.net.orel.ru [213.59.64.75]) by tts.orel.ru (8.13.1/8.13.1/bel) with ESMTP id j0K8WAtk018709; Thu, 20 Jan 2005 11:32:11 +0300 Message-ID: <41EF6C84.5050608@orel.ru> Date: Thu, 20 Jan 2005 11:32:04 +0300 From: Andrew Belashov Organization: ORIS User-Agent: Mozilla/5.0 (X11; U; FreeBSD sparc64; en-US; rv:1.6) Gecko/20040407 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: dwalton@acm.org References: <41EF6101.7010008@acm.org> In-Reply-To: <41EF6101.7010008@acm.org> X-Enigmail-Version: 0.83.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/mixed; boundary="------------000100030601060201030704" X-Zombi-Check: on netra2.orel.ru cc: freebsd-mobile@freebsd.org Subject: Re: Trouble with APM suspend in 5.3-R 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: Thu, 20 Jan 2005 08:32:19 -0000 This is a multi-part message in MIME format. --------------000100030601060201030704 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hello, Dave! Dave Walton wrote: > On 9 Nov 2004, Gleb Smirnoff wrote: > > > > Please try the following and report whether this helped. > > > > 1) Merge revision 1.233 of ata-all.c to your 5.3-RELEASE ata-all.c > > 2) Apply patch I've sent to this list yesterday (Subject was 'CURRENT > > patchset for Thinkpad'). > > 3) Rebuild your kernel with new ata-all.c > > 4) Reboot and try suspend/resume. > > I've been unable to get APM suspend/resume to work with 5.3-R on my > Thinkpad 770Z. As released, 'apm -z' causes a lockup (it worked fine in > 4.x). Revision 1.233 of ata-all.c fixes that, and 'apm -z' now causes > the system to properly suspend to disk, as it had before. However, when > the system resumes, it spits out three errors regarding pir0, then > panics. This happens with or without your patch applied to ata-all.c. > > Any suggestions? > Any other info I can provide that might be helpful? Try attached patch as workaround. With Best Regards, Andrew Belashov. --------------000100030601060201030704 Content-Type: text/plain; name="pci_pir.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pci_pir.c.diff" --- sys/i386/pci/pci_pir.c.orig Fri Jul 30 19:51:30 2004 +++ sys/i386/pci/pci_pir.c Sun Nov 14 21:47:33 2004 @@ -717,8 +717,12 @@ pir_resume(device_t dev) "Using %d.%d.INT%c to route link %#x to IRQ %d\n", pd.bus, pd.device, pd.pin + 'A', pci_link->pl_id, pci_link->pl_irq); +#if 0 error = pci_pir_biosroute(pd.bus, pd.device, 0, pd.pin, pci_link->pl_irq); +#else + error = 0; +#endif if (error) device_printf(dev, "ROUTE_INTERRUPT on resume for link %#x failed.\n", --------------000100030601060201030704-- From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 20 08:38:48 2005 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 730A016A4CE for ; Thu, 20 Jan 2005 08:38:48 +0000 (GMT) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.FreeBSD.org (Postfix) with SMTP id F33E743D2D for ; Thu, 20 Jan 2005 08:38:47 +0000 (GMT) (envelope-from dwalton@acm.org) Received: (qmail 63000 invoked from network); 20 Jan 2005 08:38:47 -0000 Received: from unknown (HELO ?172.16.1.34?) (unknown) by unknown with SMTP; 20 Jan 2005 08:38:47 -0000 X-pair-Authenticated: 68.127.18.161 Message-ID: <41EF6DE8.4080201@acm.org> Date: Thu, 20 Jan 2005 00:38:00 -0800 From: Dave Walton User-Agent: Mozilla Thunderbird 1.0 (X11/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "semin@NZ" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: Audio works... and then is dead ? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dwalton@acm.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 08:38:48 -0000 This could be a simple matter of the mixer volumes changing. What does the output of 'mixer' look like before and after the sound goes away? Dave On 19 Jan 2005, semin@NZ wrote: > > I've got a Laptop (Compaq Presario 2166) with Conxant audio chip. I > used to activate the audio with sound.ko and snd_t4dwave.ko when I use > FreeBSD 5.1 without any (I suppose so) problem. I downloaded 5.3 > several days ago. What happened to me is when I loaded those sound > modules (not add into kernel yet), it work. When I start X.org, the > sound module didn't work suddenly. The sound disappered even the > modules were loaded properly. > > I tried to add sound modules into my kernel then make, install and > reboot, and found ...it still keep dumbness!! I'm definitely sure > snd_ko and snd_t4dwave.ko are the correct ones. What on earth might go > wrong? From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 20 09:28:23 2005 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 244E916A4CE for ; Thu, 20 Jan 2005 09:28:23 +0000 (GMT) Received: from relay.bestcom.ru (relay.bestcom.ru [217.72.144.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 609F143D1D for ; Thu, 20 Jan 2005 09:28:22 +0000 (GMT) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (root@cell.sick.ru [217.72.144.68]) by relay.bestcom.ru (8.13.1/8.12.9) with ESMTP id j0K9SD6G047797 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 20 Jan 2005 12:28:17 +0300 (MSK) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.11/8.12.8) with ESMTP id j0K9SCVw016278 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Jan 2005 12:28:13 +0300 (MSK) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.sick.ru (8.12.11/8.12.11/Submit) id j0K9SCoO016277; Thu, 20 Jan 2005 12:28:12 +0300 (MSK) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@freebsd.org using -f Date: Thu, 20 Jan 2005 12:28:12 +0300 From: Gleb Smirnoff To: Dave Walton Message-ID: <20050120092812.GB16150@cell.sick.ru> References: <41EF6101.7010008@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <41EF6101.7010008@acm.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: ClamAV version devel-20050119, clamav-milter version 0.80ff on relay.bestcom.ru X-Virus-Status: Clean cc: freebsd-mobile@freebsd.org Subject: Re: Trouble with APM suspend in 5.3-R 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: Thu, 20 Jan 2005 09:28:23 -0000 On Wed, Jan 19, 2005 at 11:42:57PM -0800, Dave Walton wrote: D> I've been unable to get APM suspend/resume to work with 5.3-R on my D> Thinkpad 770Z. As released, 'apm -z' causes a lockup (it worked fine in D> 4.x). Revision 1.233 of ata-all.c fixes that, and 'apm -z' now causes D> the system to properly suspend to disk, as it had before. However, when D> the system resumes, it spits out three errors regarding pir0, then D> panics. This happens with or without your patch applied to ata-all.c. pir0? What's that? Anyway this should be another issue, then ATA. Can you pls show exact errors? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 20 10:48:10 2005 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 0A2FF16A4CE for ; Thu, 20 Jan 2005 10:48:10 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8623243D41 for ; Thu, 20 Jan 2005 10:48:09 +0000 (GMT) (envelope-from cmello@gmail.com) Received: by rproxy.gmail.com with SMTP id y7so131830rne for ; Thu, 20 Jan 2005 02:48:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=QAoByj/tB9i43KQVGtJx3rjKMcqiZR6pchEX/Fx+Phoenf5r681q/05cr5t18mSb7FVxS8/nMTPrJD4cBDYEaL5el1ETpWw5+3Wyj8vhhDOkyiG1j9TlnCe4UPvNYKzPdz+n/YT6rfWxfNAqmSxKdoubRuuBXo+2muAA8nob0Vg= Received: by 10.38.15.14 with SMTP id 14mr380053rno; Thu, 20 Jan 2005 02:48:08 -0800 (PST) Received: by 10.38.15.66 with HTTP; Thu, 20 Jan 2005 02:48:08 -0800 (PST) Message-ID: Date: Thu, 20 Jan 2005 08:48:08 -0200 From: Cesar Mello To: dwalton@acm.org In-Reply-To: <41EF6A90.1010101@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41EF6A90.1010101@acm.org> cc: mobile@freebsd.org Subject: Re: HEADS UP: OLDCARD to go away X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Cesar Mello List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 10:48:10 -0000 I need 16-bit pccard support too for my Portege 300CT! Please don't abandon us! :-) Best regards, Mello On Thu, 20 Jan 2005 00:23:44 -0800, Dave Walton wrote: > On 8 Nov 2004, M. Warner Losh wrote: > > > > I'm in the process of flushing my last few changes into OLDCARD > > (mostly pccard.conf entries). Once that's complete, I'll be removing > > OLDCARD from head, likely early next week. > > Now that that has happened, where does that leave support for my > Thinkpad 770Z for versions after 5.3-R? > > As near as I can figure, my problem is that my chipset, which works as > pcic in OLDCARD, is somehow not fully supported as cbb in GENERIC. Can > someone who understands this low-level stuff please let me know whether > cbb has been (or will be) improved to work here? As it stands now, I'm > afraid to cvsup -STABLE, leaving me permanently stuck at 5.3-R. > > With GENERIC, I see this: > cbb0: mem 0x50103000-0x50103fff irq 11 at > device 2.0 on pci0 > cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb1: mem 0x50102000-0x50102fff irq 11 at > device 2.1 on pci0 > cardbus1: on cbb1 > pccard1: <16-bit PCCard bus> on cbb1 > pccard0: Card has no functions! > cbb0: PC Card card activation failed > pccard1: Card has no functions! > cbb1: PC Card card activation failed > > With OLDCARD, I see this: > pcic0: mem 0x50103000-0x50103fff irq 11 > at device 2.0 on pci0 > pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr > save][CSC parallel isa irq] > pcic0: [GIANT-LOCKED] > pccard0: on pcic0 > pcic1: mem 0x50102000-0x50102fff irq 11 > at device 2.1 on pci0 > pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr > save][CSC parallel isa irq] > pcic1: [GIANT-LOCKED] > pccard1: on pcic1 > pccard: card inserted, slot 0 > pccard: card inserted, slot 1 > > Thanks, > Dave > > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 20 12:28:20 2005 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 3D26B16A4CE for ; Thu, 20 Jan 2005 12:28:20 +0000 (GMT) Received: from smtp1.cistron.nl (smtp1.cistron.nl [62.216.30.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE5A743D3F for ; Thu, 20 Jan 2005 12:28:19 +0000 (GMT) (envelope-from robert@guldan.demon.nl) Received: from cust.13.38.adsl.cistron.nl ([62.216.13.38] helo=guldan.demon.nl) by smtp1.cistron.nl with esmtp (Exim 3.36 #1 (Debian)) id 1CrbQ7-0007jV-00; Thu, 20 Jan 2005 13:28:15 +0100 Received: from bombur.guldan.demon.nl ([192.168.201.3] helo=localhost) by guldan.demon.nl with esmtp (Exim 4.24; FreeBSD) id 1CrbQ3-000F61-0E; Thu, 20 Jan 2005 13:28:11 +0100 Date: Thu, 20 Jan 2005 13:28:10 +0100 From: Robert Blacquiere To: Kevin Oberman Message-ID: <20050120122810.GD61467@bombur.guldan.demon.nl> References: <20050119195635.GC61467@bombur.guldan.demon.nl> <20050119220321.4A2E95D08@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050119220321.4A2E95D08@ptavv.es.net> User-Agent: Mutt/1.4.1i X-Disclaimer: running FreeBSD X-Spam-Score: 0.0 (/) cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Xircom Realport Cardbus Ethernet 10/100 + Modem 56 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: Thu, 20 Jan 2005 12:28:20 -0000 On Wed, Jan 19, 2005 at 02:03:21PM -0800, Kevin Oberman wrote: > Here is a kludge to make it work. The problem is probably a combination > of a driver bug and a problem with busdma. > > Scott Long has been looking into this, but I have not heard anything > from him for a while, so I guess I'll need to jog his elbow. In any > case, this patch should get you back on-line. This patch prevents atleast the hang, but still the driver(s) can't locate io mem or resources (i suspect). The interface will not be enabled. dc0: port 0x2100-0x217f mem \ 0x88000000-0x880007ff,0x88000800-0x88000fff irq 11 \ at device 0.0 on cardbus1 dc0: MII without any PHY! device_attach: dc0 attach returned 6 sio4: configured irq 11 not in bitmap of probed irqs 0 sio4: port may not be enabled sio4: configured irq 11 not in bitmap of probed irqs 0 sio4: port may not be enabled cardbus1: at device 0.1 (no driver attached) cbb1: CardBus card activation failed I've tried setting hw.pci.allow_unsupported_io_range="1" but that does not make any difference. Any clues to get this adaptor working? Robert Content-Description: if_dc.diff > --- if_dc.c~ Fri Oct 15 17:53:44 2004 > +++ if_dc.c Mon Dec 20 14:22:48 2004 > @@ -2151,8 +2151,8 @@ > } > > /* Allocate a busdma tag for mbufs. */ > - error = bus_dma_tag_create(NULL, PAGE_SIZE, 0, BUS_SPACE_MAXADDR_32BIT, > - BUS_SPACE_MAXADDR, NULL, NULL, MCLBYTES * DC_TX_LIST_CNT, > + error = bus_dma_tag_create(NULL, 1, 0, BUS_SPACE_MAXADDR_32BIT, > + BUS_SPACE_MAXADDR, NULL, NULL, MCLBYTES, > DC_TX_LIST_CNT, MCLBYTES, 0, NULL, NULL, &sc->dc_mtag); > if (error) { > printf("dc%d: failed to allocate busdma tag\n", unit); -- Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming or what? OpenBSD: Hey guys you left some holes out there! From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 20 17:15:14 2005 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 EBEE416A4CE for ; Thu, 20 Jan 2005 17:15:14 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38C4743D1F for ; Thu, 20 Jan 2005 17:15:14 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id j0KH9Vxl027942; Thu, 20 Jan 2005 10:09:31 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 20 Jan 2005 10:10:40 -0700 (MST) Message-Id: <20050120.101040.130846709.imp@bsdimp.com> To: dwalton@acm.org From: "M. Warner Losh" In-Reply-To: <41EF6A90.1010101@acm.org> References: <41EF6A90.1010101@acm.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: mobile@freebsd.org Subject: Re: HEADS UP: OLDCARD to go away 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: Thu, 20 Jan 2005 17:15:15 -0000 In message: <41EF6A90.1010101@acm.org> Dave Walton writes: : On 8 Nov 2004, M. Warner Losh wrote: : > : > I'm in the process of flushing my last few changes into OLDCARD : > (mostly pccard.conf entries). Once that's complete, I'll be removing : > OLDCARD from head, likely early next week. : : Now that that has happened, where does that leave support for my : Thinkpad 770Z for versions after 5.3-R? 5.x will continue to support it. NEWCARD will have to pickup the ball and support the old ISA devices it has better. : As near as I can figure, my problem is that my chipset, which works as : pcic in OLDCARD, is somehow not fully supported as cbb in GENERIC. Can : someone who understands this low-level stuff please let me know whether : cbb has been (or will be) improved to work here? As it stands now, I'm : afraid to cvsup -STABLE, leaving me permanently stuck at 5.3-R. The TI 1251 is fully supported. If it isn't working for you, then there are other issues at work that need to be solved. I've used the 1251 with cbb. : With GENERIC, I see this: : cbb0: mem 0x50103000-0x50103fff irq 11 at : device 2.0 on pci0 : cardbus0: on cbb0 : pccard0: <16-bit PCCard bus> on cbb0 : cbb1: mem 0x50102000-0x50102fff irq 11 at : device 2.1 on pci0 : cardbus1: on cbb1 : pccard1: <16-bit PCCard bus> on cbb1 : pccard0: Card has no functions! : cbb0: PC Card card activation failed : pccard1: Card has no functions! : cbb1: PC Card card activation failed This smells like a resource allocation issue. The card was seen as being there, but when the card was probed for its information, we found none. The biggest difference between newcard and oldcard in the CIS area is that newcard asks the system for memory region to use from high memory, while oldcard has a value passed in, usually from the ISA hole. Warner From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 20 22:13:40 2005 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 500B616A4CE for ; Thu, 20 Jan 2005 22:13:40 +0000 (GMT) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.FreeBSD.org (Postfix) with SMTP id 646D443D5E for ; Thu, 20 Jan 2005 22:13:37 +0000 (GMT) (envelope-from dwalton@acm.org) Received: (qmail 89644 invoked from network); 20 Jan 2005 22:13:36 -0000 Received: from unknown (HELO ?172.16.1.34?) (unknown) by unknown with SMTP; 20 Jan 2005 22:13:36 -0000 X-pair-Authenticated: 68.127.18.161 Message-ID: <41F02CE1.5090207@acm.org> Date: Thu, 20 Jan 2005 14:12:49 -0800 From: Dave Walton User-Agent: Mozilla Thunderbird 1.0 (X11/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Belashov References: <41EF6101.7010008@acm.org> <41EF6C84.5050608@orel.ru> In-Reply-To: <41EF6C84.5050608@orel.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-mobile@freebsd.org Subject: Re: Trouble with APM suspend in 5.3-R X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dwalton@acm.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 22:13:40 -0000 Andrew Belashov wrote: > Dave Walton wrote: > >> I've been unable to get APM suspend/resume to work with 5.3-R on my >> Thinkpad 770Z. As released, 'apm -z' causes a lockup (it worked fine >> in 4.x). Revision 1.233 of ata-all.c fixes that, and 'apm -z' now >> causes the system to properly suspend to disk, as it had before. >> However, when the system resumes, it spits out three errors regarding >> pir0, then panics. This happens with or without your patch applied to >> ata-all.c. >> > > Try attached patch as workaround. A good effort! That is precisely the error I saw. Hopefully, that removed call to pci_pir_biosroute() doesn't do anything important. Unfortunately, this had no effect at all on the panic. Please see my next reply to Gleb Smirnoff for details on the panic. Perhaps it will mean something to you. Thanks, Dave > ------------------------------------------------------------------------ > > --- sys/i386/pci/pci_pir.c.orig Fri Jul 30 19:51:30 2004 > +++ sys/i386/pci/pci_pir.c Sun Nov 14 21:47:33 2004 > @@ -717,8 +717,12 @@ pir_resume(device_t dev) > "Using %d.%d.INT%c to route link %#x to IRQ %d\n", > pd.bus, pd.device, pd.pin + 'A', > pci_link->pl_id, pci_link->pl_irq); > +#if 0 > error = pci_pir_biosroute(pd.bus, pd.device, 0, pd.pin, > pci_link->pl_irq); > +#else > + error = 0; > +#endif > if (error) > device_printf(dev, > "ROUTE_INTERRUPT on resume for link %#x failed.\n", From owner-freebsd-mobile@FreeBSD.ORG Thu Jan 20 22:25:14 2005 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 4B98216A4CF for ; Thu, 20 Jan 2005 22:25:14 +0000 (GMT) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B64143D1F for ; Thu, 20 Jan 2005 22:25:13 +0000 (GMT) (envelope-from dwalton@acm.org) Received: (qmail 93994 invoked from network); 20 Jan 2005 22:25:12 -0000 Received: from unknown (HELO ?172.16.1.34?) (unknown) by unknown with SMTP; 20 Jan 2005 22:25:12 -0000 X-pair-Authenticated: 68.127.18.161 Message-ID: <41F02F9A.40201@acm.org> Date: Thu, 20 Jan 2005 14:24:26 -0800 From: Dave Walton User-Agent: Mozilla Thunderbird 1.0 (X11/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gleb Smirnoff References: <41EF6101.7010008@acm.org> <20050120092812.GB16150@cell.sick.ru> In-Reply-To: <20050120092812.GB16150@cell.sick.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit cc: Andrew Belashov cc: freebsd-mobile@freebsd.org Subject: Re: Trouble with APM suspend in 5.3-R X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dwalton@acm.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 22:25:14 -0000 Gleb Smirnoff wrote: > On Wed, Jan 19, 2005 at 11:42:57PM -0800, Dave Walton wrote: > D> I've been unable to get APM suspend/resume to work with 5.3-R on my > D> Thinkpad 770Z. As released, 'apm -z' causes a lockup (it worked fine in > D> 4.x). Revision 1.233 of ata-all.c fixes that, and 'apm -z' now causes > D> the system to properly suspend to disk, as it had before. However, when > D> the system resumes, it spits out three errors regarding pir0, then > D> panics. This happens with or without your patch applied to ata-all.c. > > pir0? What's that? Based on dmesg output, it's PCI Interrupt Routing Table. Whatever that is. > Anyway this should be another issue, then ATA. Can you pls show exact errors? > Andrew Belashov posted a patch that removes the pir0 errors, but didn't fix the panic. Here is what now appears on the screen when I resume. I hope it makes more sense to you than it does to me. ---------------------------------------------------------------------- kernel trap 12 with interrupts disabled fatal trap 12: page fault while in kernel mode fault virtual address = 0x8 fault code = supervisor read, page not present instruction pointer = 0x8:0xc061ed2e stack pointer = 0x10:0xcde52ac8 frame pointer = 0x10:0xcde52ac8 code segment = base 0x8, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 28 (swi5: clock sio) trap number = 12 panic: page fault Uptime: 1m30s Cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort --> Press a key on the console to reboot. --> or switch of the system now. ---------------------------------------------------------------------- From owner-freebsd-mobile@FreeBSD.ORG Fri Jan 21 06:39:32 2005 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 3050216A4CE for ; Fri, 21 Jan 2005 06:39:32 +0000 (GMT) Received: from tts.orel.ru (tts.orel.ru [213.59.64.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4113F43D3F for ; Fri, 21 Jan 2005 06:39:31 +0000 (GMT) (envelope-from bel@orel.ru) Received: from orel.ru (pf1.net.orel.ru [213.59.64.75]) by tts.orel.ru (8.13.1/8.13.1/bel) with ESMTP id j0L6dPFV028146; Fri, 21 Jan 2005 09:39:26 +0300 Message-ID: <41F0A398.7080800@orel.ru> Date: Fri, 21 Jan 2005 09:39:20 +0300 From: Andrew Belashov Organization: ORIS User-Agent: Mozilla/5.0 (X11; U; FreeBSD sparc64; en-US; rv:1.6) Gecko/20040407 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: dwalton@acm.org References: <41EF6101.7010008@acm.org> <20050120092812.GB16150@cell.sick.ru> <41F02F9A.40201@acm.org> In-Reply-To: <41F02F9A.40201@acm.org> X-Enigmail-Version: 0.83.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Zombi-Check: on netra2.orel.ru cc: freebsd-mobile@freebsd.org Subject: Re: Trouble with APM suspend in 5.3-R 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, 21 Jan 2005 06:39:32 -0000 фЯТвйЪ ФХЮи! Dave Walton wrote: > Gleb Smirnoff wrote: > >> On Wed, Jan 19, 2005 at 11:42:57PM -0800, Dave Walton wrote: >> D> I've been unable to get APM suspend/resume to work with 5.3-R on my >> D> Thinkpad 770Z. As released, 'apm -z' causes a lockup (it worked >> fine in D> 4.x). Revision 1.233 of ata-all.c fixes that, and 'apm -z' >> now causes D> the system to properly suspend to disk, as it had >> before. However, when D> the system resumes, it spits out three >> errors regarding pir0, then D> panics. This happens with or without >> your patch applied to ata-all.c. >> >> pir0? What's that? > > > Based on dmesg output, it's PCI Interrupt Routing Table. Whatever that is. > >> Anyway this should be another issue, then ATA. Can you pls show exact >> errors? >> > > Andrew Belashov posted a patch that removes the pir0 errors, but didn't > fix the panic. Here is what now appears on the screen when I resume. I > hope it makes more sense to you than it does to me. > > ---------------------------------------------------------------------- > kernel trap 12 with interrupts disabled > > > fatal trap 12: page fault while in kernel mode > fault virtual address = 0x8 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc061ed2e > stack pointer = 0x10:0xcde52ac8 > frame pointer = 0x10:0xcde52ac8 > code segment = base 0x8, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = resume, IOPL = 0 > current process = 28 (swi5: clock sio) > trap number = 12 > panic: page fault > Uptime: 1m30s > Cannot dump. No dump device defined. > Automatic reboot in 15 seconds - press a key on the console to abort > --> Press a key on the console to reboot. > --> or switch of the system now. > ---------------------------------------------------------------------- First, show following: $ addr2line -f -e /boot/kernel/kernel.debug 0xc061ed2e If /boot/kernel/kernel.debug does not exist, use /boot/kernel/kernel. To make a debug kernel, add the following line to your kernel configuration: makeoptions DEBUG=-g This doesn't actually install a kernel with full debugging symbols as /boot/kernel/kernel. The /boot/kernel/kernel that gets installed is the stripped down regular kernel, but a separate kernel.debug file is in /usr/src/sys/compile/Your_Kernel_Name/kernel.debug. If your kernel panics and leaves behind a core file, the kernel.debug file is used to get the debugging symbols when you actually do the debug. For more about Kernel Debugging, see FreeBSD Developers' Handbook: With Best Regards, Andrew Belashov. From owner-freebsd-mobile@FreeBSD.ORG Fri Jan 21 06:59:01 2005 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 8CEEA16A4CF for ; Fri, 21 Jan 2005 06:59:01 +0000 (GMT) Received: from tts.orel.ru (tts.orel.ru [213.59.64.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id AEA3743D55 for ; Fri, 21 Jan 2005 06:59:00 +0000 (GMT) (envelope-from bel@orel.ru) Received: from orel.ru (pf1.net.orel.ru [213.59.64.75]) by tts.orel.ru (8.13.1/8.13.1/bel) with ESMTP id j0L6wsTj003629; Fri, 21 Jan 2005 09:58:55 +0300 Message-ID: <41F0A829.4010705@orel.ru> Date: Fri, 21 Jan 2005 09:58:49 +0300 From: Andrew Belashov Organization: ORIS User-Agent: Mozilla/5.0 (X11; U; FreeBSD sparc64; en-US; rv:1.6) Gecko/20040407 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: dwalton@acm.org References: <41EF6101.7010008@acm.org> <41EF6C84.5050608@orel.ru> <41F02CE1.5090207@acm.org> In-Reply-To: <41F02CE1.5090207@acm.org> X-Enigmail-Version: 0.83.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Zombi-Check: on netra2.orel.ru cc: freebsd-mobile@freebsd.org Subject: Re: Trouble with APM suspend in 5.3-R 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, 21 Jan 2005 06:59:01 -0000 Dave Walton wrote: > Andrew Belashov wrote: > >> Dave Walton wrote: >> >>> I've been unable to get APM suspend/resume to work with 5.3-R on my >>> Thinkpad 770Z. As released, 'apm -z' causes a lockup (it worked fine >>> in 4.x). Revision 1.233 of ata-all.c fixes that, and 'apm -z' now >>> causes the system to properly suspend to disk, as it had before. >>> However, when the system resumes, it spits out three errors regarding >>> pir0, then panics. This happens with or without your patch applied >>> to ata-all.c. >>> >> >> Try attached patch as workaround. > > > A good effort! That is precisely the error I saw. Hopefully, that > removed call to pci_pir_biosroute() doesn't do anything important. > > Unfortunately, this had no effect at all on the panic. Please see my > next reply to Gleb Smirnoff for details on the panic. Perhaps it will > mean something to you. Ok. Don't use my patch anymore. Try to update BIOS. > >> ------------------------------------------------------------------------ >> >> --- sys/i386/pci/pci_pir.c.orig Fri Jul 30 19:51:30 2004 >> +++ sys/i386/pci/pci_pir.c Sun Nov 14 21:47:33 2004 >> @@ -717,8 +717,12 @@ pir_resume(device_t dev) >> "Using %d.%d.INT%c to route link %#x to IRQ %d\n", >> pd.bus, pd.device, pd.pin + 'A', >> pci_link->pl_id, pci_link->pl_irq); >> +#if 0 >> error = pci_pir_biosroute(pd.bus, pd.device, 0, pd.pin, >> pci_link->pl_irq); >> +#else >> + error = 0; >> +#endif >> if (error) >> device_printf(dev, >> "ROUTE_INTERRUPT on resume for link %#x failed.\n", > With Best Regards, Andrew Belashov. From owner-freebsd-mobile@FreeBSD.ORG Fri Jan 21 10:16:08 2005 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 A9B6B16A4CE for ; Fri, 21 Jan 2005 10:16:08 +0000 (GMT) Received: from relay.bestcom.ru (relay.bestcom.ru [217.72.144.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF1D743D48 for ; Fri, 21 Jan 2005 10:16:07 +0000 (GMT) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (root@cell.sick.ru [217.72.144.68]) by relay.bestcom.ru (8.13.1/8.12.9) with ESMTP id j0LAG1Vg068310 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 21 Jan 2005 13:16:02 +0300 (MSK) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.11/8.12.8) with ESMTP id j0LAG1t6027065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Jan 2005 13:16:01 +0300 (MSK) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.sick.ru (8.12.11/8.12.11/Submit) id j0LAFuQi027064; Fri, 21 Jan 2005 13:15:56 +0300 (MSK) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@freebsd.org using -f Date: Fri, 21 Jan 2005 13:15:56 +0300 From: Gleb Smirnoff To: Dave Walton Message-ID: <20050121101556.GB26746@cell.sick.ru> References: <41EF6101.7010008@acm.org> <20050120092812.GB16150@cell.sick.ru> <41F02F9A.40201@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <41F02F9A.40201@acm.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: ClamAV version devel-20050119, clamav-milter version 0.80ff on relay.bestcom.ru X-Virus-Status: Clean cc: Andrew Belashov cc: freebsd-mobile@freebsd.org Subject: Re: Trouble with APM suspend in 5.3-R 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, 21 Jan 2005 10:16:08 -0000 On Thu, Jan 20, 2005 at 02:24:26PM -0800, Dave Walton wrote: D> Andrew Belashov posted a patch that removes the pir0 errors, but didn't D> fix the panic. Here is what now appears on the screen when I resume. I D> hope it makes more sense to you than it does to me. D> D> ---------------------------------------------------------------------- D> kernel trap 12 with interrupts disabled D> D> D> fatal trap 12: page fault while in kernel mode D> fault virtual address = 0x8 D> fault code = supervisor read, page not present D> instruction pointer = 0x8:0xc061ed2e D> stack pointer = 0x10:0xcde52ac8 D> frame pointer = 0x10:0xcde52ac8 D> code segment = base 0x8, limit 0xfffff, type 0x1b D> = DPL 0, pres 1, def32 1, gran 1 D> processor eflags = resume, IOPL = 0 D> current process = 28 (swi5: clock sio) D> trap number = 12 D> panic: page fault D> Uptime: 1m30s D> Cannot dump. No dump device defined. D> Automatic reboot in 15 seconds - press a key on the console to abort D> --> Press a key on the console to reboot. D> --> or switch of the system now. D> ---------------------------------------------------------------------- Can you pls remove patch around pir, and panic system obtaining a crashdump. Information on this procedure is here: http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug.html#KERNELDEBUG-OBTAIN -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE From owner-freebsd-mobile@FreeBSD.ORG Sat Jan 22 11:00:54 2005 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 1228B16A4CE for ; Sat, 22 Jan 2005 11:00:54 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B8E143D5D for ; Sat, 22 Jan 2005 11:00:53 +0000 (GMT) (envelope-from cmello@gmail.com) Received: by rproxy.gmail.com with SMTP id z35so227198rne for ; Sat, 22 Jan 2005 03:00:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=jIErx5Ea9u2HetCwOMGUQaCPRoJZDDuu9ZDjwJlY6D67Qm0E3a4UgV41nmNEHL3VKhrXLX4L2gqvX2wEWAFH6J6EVBEEqD2G90wceLKqC3gTCqR+w1vZTJsgGYF7Z7iEwqKKB90Z4Xxguda3xsoZbSp9VHbB94DdI1u7xLYzMpI= Received: by 10.38.181.24 with SMTP id d24mr187876rnf; Sat, 22 Jan 2005 03:00:52 -0800 (PST) Received: by 10.38.15.66 with HTTP; Sat, 22 Jan 2005 03:00:52 -0800 (PST) Message-ID: Date: Sat, 22 Jan 2005 08:00:52 -0300 From: Cesar Mello To: "M. Warner Losh" In-Reply-To: <20050120.101040.130846709.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41EF6A90.1010101@acm.org> <20050120.101040.130846709.imp@bsdimp.com> cc: dwalton@acm.org cc: mobile@freebsd.org Subject: Re: HEADS UP: OLDCARD to go away X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Cesar Mello List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2005 11:00:54 -0000 My problem is different, no pccard is detected when using GENERIC or NEWCARD. I have an old Toshiba Portege 300CT and it works great with 5.3-OLDCARD. I'm interested in helping so that these 16-bit cards continue supported in release 6. I don't want to switch to Linux only because of this. Best regards! Cesar On Thu, 20 Jan 2005 10:10:40 -0700 (MST), M. Warner Losh wrote: > In message: <41EF6A90.1010101@acm.org> > Dave Walton writes: > : On 8 Nov 2004, M. Warner Losh wrote: > : > > : > I'm in the process of flushing my last few changes into OLDCARD > : > (mostly pccard.conf entries). Once that's complete, I'll be removing > : > OLDCARD from head, likely early next week. > : > : Now that that has happened, where does that leave support for my > : Thinkpad 770Z for versions after 5.3-R? > > 5.x will continue to support it. NEWCARD will have to pickup the > ball and support the old ISA devices it has better. > > : As near as I can figure, my problem is that my chipset, which works as > : pcic in OLDCARD, is somehow not fully supported as cbb in GENERIC. Can > : someone who understands this low-level stuff please let me know whether > : cbb has been (or will be) improved to work here? As it stands now, I'm > : afraid to cvsup -STABLE, leaving me permanently stuck at 5.3-R. > > The TI 1251 is fully supported. If it isn't working for you, then > there are other issues at work that need to be solved. I've used the > 1251 with cbb. > > : With GENERIC, I see this: > : cbb0: mem 0x50103000-0x50103fff irq 11 at > : device 2.0 on pci0 > : cardbus0: on cbb0 > : pccard0: <16-bit PCCard bus> on cbb0 > : cbb1: mem 0x50102000-0x50102fff irq 11 at > : device 2.1 on pci0 > : cardbus1: on cbb1 > : pccard1: <16-bit PCCard bus> on cbb1 > : pccard0: Card has no functions! > : cbb0: PC Card card activation failed > : pccard1: Card has no functions! > : cbb1: PC Card card activation failed > > This smells like a resource allocation issue. The card was seen as > being there, but when the card was probed for its information, we > found none. > > The biggest difference between newcard and oldcard in the CIS area is > that newcard asks the system for memory region to use from high > memory, while oldcard has a value passed in, usually from the ISA hole. > > Warner > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > From owner-freebsd-mobile@FreeBSD.ORG Sat Jan 22 17:27:53 2005 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 30FF416A4CF for ; Sat, 22 Jan 2005 17:27:53 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81DE543D31 for ; Sat, 22 Jan 2005 17:27:52 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id j0MHP5gj060596; Sat, 22 Jan 2005 10:25:06 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 22 Jan 2005 10:26:20 -0700 (MST) Message-Id: <20050122.102620.82989236.imp@bsdimp.com> To: cmello@gmail.com From: "M. Warner Losh" In-Reply-To: References: <41EF6A90.1010101@acm.org> <20050120.101040.130846709.imp@bsdimp.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: dwalton@acm.org cc: mobile@freebsd.org Subject: Re: HEADS UP: OLDCARD to go away 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, 22 Jan 2005 17:27:53 -0000 In message: Cesar Mello writes: : My problem is different, no pccard is detected when using GENERIC or NEWCARD. : : I have an old Toshiba Portege 300CT and it works great with 5.3-OLDCARD. : : I'm interested in helping so that these 16-bit cards continue : supported in release 6. I don't want to switch to Linux only because : of this. I'd like to see newcard's support/issues with these older machines fixed as well. What does dmesg from oldcard say? Warner