Date: Sat, 15 Nov 2008 21:53:23 +0100 From: Volker <volker@vwsoft.com> To: Octavian Ionescu <itavy@itavy.com> Cc: Sam Leffler <sam@freebsd.org>, freebsd-drivers@freebsd.org Subject: Re: Driver for Atheros Wireless LAN Message-ID: <491F36C3.5060800@vwsoft.com> In-Reply-To: <491F28F5.50906@itavy.com> References: <491B5931.1030801@itavy.com> <491B5D6F.1030003@vwsoft.com> <491B6A6F.3050007@freebsd.org> <491F28F5.50906@itavy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/15/08 20:54, Octavian Ionescu wrote: > Sam Leffler wrote: >> Volker wrote: >>> On 11/12/08 23:31, Octavian Ionescu wrote: >>> >>>> hi, >>>> >>>> i have folowed the instructions on http://wiki.freebsd.org/AsusEee for >>>> setting up the drivers for an Asus EEE PC 1000H and i have managed to >>>> set up at least the wired ethernet with the help of Pyun YongHyeon. >>>> but >>>> for the wireless ethernet i can't see any wireless interface up. i see >>>> the message wich i shall see in dmesg but i cant see the interface : >>>> >>>> # dmesg | grep ath >>>> ath_hal: 0.10.5.10 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, >>>> RF2413, RF5413, RF2133, RF2425, RF2417) >>>> >>>> am i doing something wrong ? >>>> >>>> here is the result of pciconf >>>> >>>> # pciconf -v -l >>>> hostb0@pci0:0:0:0: class=0x060000 card=0x83401043 chip=0x27ac8086 >>>> rev=0x03 hdr=0x00 >>>> vendor = 'Intel Corporation' >>>> class = bridge >>>> subclass = HOST-PCI >>>> vgapci0@pci0:0:2:0: class=0x030000 card=0x83401043 chip=0x27ae8086 >>>> rev=0x03 hdr=0x00 >>>> vendor = 'Intel Corporation' >>>> class = display >>>> subclass = VGA >>>> vgapci1@pci0:0:2:1: class=0x038000 card=0x83401043 chip=0x27a68086 >>>> rev=0x03 hdr=0x00 >>>> vendor = 'Intel Corporation' >>>> device = 'Mobile 945GM/GU Express Integrated Graphics >>>> Controller' >>>> class = display >>>> pcm0@pci0:0:27:0: class=0x040300 card=0x831a1043 chip=0x27d88086 >>>> rev=0x02 hdr=0x00 >>>> vendor = 'Intel Corporation' >>>> device = '82801G (ICH7 Family) High Definition Audio' >>>> class = multimedia >>>> pcib1@pci0:0:28:0: class=0x060400 card=0x830f1043 chip=0x27d08086 >>>> rev=0x02 hdr=0x01 >>>> vendor = 'Intel Corporation' >>>> device = '82801G (ICH7 Family) PCIe Root Port' >>>> class = bridge >>>> subclass = PCI-PCI >>>> pcib2@pci0:0:28:1: class=0x060400 card=0x830f1043 chip=0x27d28086 >>>> rev=0x02 hdr=0x01 >>>> vendor = 'Intel Corporation' >>>> device = '82801G (ICH7 Family) PCIe Root Port' >>>> class = bridge >>>> subclass = PCI-PCI >>>> pcib3@pci0:0:28:3: class=0x060400 card=0x830f1043 chip=0x27d68086 >>>> rev=0x02 hdr=0x01 >>>> vendor = 'Intel Corporation' >>>> device = '82801G (ICH7 Family) PCIe Root Port' >>>> class = bridge >>>> subclass = PCI-PCI >>>> uhci0@pci0:0:29:0: class=0x0c0300 card=0x830f1043 chip=0x27c88086 >>>> rev=0x02 hdr=0x00 >>>> vendor = 'Intel Corporation' >>>> device = '82801G (ICH7 Family) USB Universal Host Controller' >>>> class = serial bus >>>> subclass = USB >>>> uhci1@pci0:0:29:1: class=0x0c0300 card=0x830f1043 chip=0x27c98086 >>>> rev=0x02 hdr=0x00 >>>> vendor = 'Intel Corporation' >>>> device = '82801G (ICH7 Family) USB Universal Host Controller' >>>> class = serial bus >>>> subclass = USB >>>> uhci2@pci0:0:29:2: class=0x0c0300 card=0x830f1043 chip=0x27ca8086 >>>> rev=0x02 hdr=0x00 >>>> vendor = 'Intel Corporation' >>>> device = '82801G (ICH7 Family) USB Universal Host Controller' >>>> class = serial bus >>>> subclass = USB >>>> uhci3@pci0:0:29:3: class=0x0c0300 card=0x830f1043 chip=0x27cb8086 >>>> rev=0x02 hdr=0x00 >>>> vendor = 'Intel Corporation' >>>> device = '82801G (ICH7 Family) USB Universal Host Controller' >>>> class = serial bus >>>> subclass = USB >>>> ehci0@pci0:0:29:7: class=0x0c0320 card=0x830f1043 chip=0x27cc8086 >>>> rev=0x02 hdr=0x00 >>>> vendor = 'Intel Corporation' >>>> device = '82801G (ICH7 Family) USB 2.0 Enhanced Host Controller' >>>> class = serial bus >>>> subclass = USB >>>> pcib4@pci0:0:30:0: class=0x060401 card=0x830f1043 chip=0x24488086 >>>> rev=0xe2 hdr=0x01 >>>> vendor = 'Intel Corporation' >>>> device = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI >>>> Bridge' >>>> class = bridge >>>> subclass = PCI-PCI >>>> isab0@pci0:0:31:0: class=0x060100 card=0x830f1043 chip=0x27b98086 >>>> rev=0x02 hdr=0x00 >>>> vendor = 'Intel Corporation' >>>> device = '82801GBM (ICH7-M) LPC Interface Controller' >>>> class = bridge >>>> subclass = PCI-ISA >>>> atapci0@pci0:0:31:2: class=0x010180 card=0x830f1043 chip=0x27c48086 >>>> rev=0x02 hdr=0x00 >>>> vendor = 'Intel Corporation' >>>> device = '82801GBM/GHM (ICH7-M Family) Serial ATA Storage >>>> Controller' >>>> class = mass storage >>>> subclass = ATA >>>> ale0@pci0:3:0:0: class=0x020000 card=0x83241043 chip=0x10261969 >>>> rev=0xb0 hdr=0x00 >>>> vendor = 'Attansic (Now owned by Atheros)' >>>> class = network >>>> subclass = ethernet >>>> none0@pci0:1:0:0: class=0x028000 card=0x27901814 chip=0x07811814 >>>> rev=0x00 hdr=0x00 >>>> vendor = 'Ralink Technology, Corp' >>>> class = network >>>> >>> >>> Did you load ral(4)? Your interface is using a ral chipset, not an >>> atheros one. >>> >>> ``kldload if_ral'' >>> /boot/loader.conf: if_ral_load="YES" >>> >>> Whenever asking questions like these, it may be useful to know the >>> FreeBSD version you're using. >>> >>> _If_ we're talking about 7.x or 6.x, your kernel needs a bit tweaking >>> (AFAIK the pciid 0x0781 isn't known by ral). >>> >> 0x781 is an RT2790; not supported by any driver in the tree. Andrew >> was working on support but I know he hasn't looked at wireless in a >> while. >> >> Sam > > i have upgraded to head but still the same issues. > the version is: > # uname -a > FreeBSD 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri Nov 14 21:39:23 UTC 2008 > root@:/usr/obj/var/src/head/sys/ITAVYEEE2 i386 > as for loading driver ral: > #kldload if_ral > module_register: module cardbus/ral already exists! > Module cardbus/ral failed to register: 17 > module_register: module pci/ral already exists! > Module pci/ral failed to register: 17 > > i saw something wich Volker wrote wich i shall give it a try, what > tweaking is need to be made ? Octavian, tweaking is not really the right thing. As Sam stated (thanks Sam for your correction), your RAL device is using an unsupported chipset. I thought it might have been a new pci id for an already supported device. Until we have a driver for it, your best (and fastest) choice is to replace the mini-PCIe card with a well known, already supported chipset. I just bought the same model an hour ago and mine has an (unsupported) Atheros b/g/n chipset. I'll replace that with whatever card I've laying around here (I think it's an iwi). Volker
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?491F36C3.5060800>