From owner-freebsd-drivers@FreeBSD.ORG Wed Nov 12 23:22:25 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECA05106567F for ; Wed, 12 Nov 2008 23:22:24 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id 765B18FC0C for ; Wed, 12 Nov 2008 23:22:24 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7cfa.q.ppp-pool.de [89.53.124.250]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id 6533312883F for ; Wed, 12 Nov 2008 23:49:33 +0100 (CET) Received: from cesar.sz.vwsoft.com (unknown [192.168.18.3]) by mail.vtec.ipme.de (Postfix) with ESMTP id F247D2E90F; Wed, 12 Nov 2008 23:49:19 +0100 (CET) Message-ID: <491B5D6F.1030003@vwsoft.com> Date: Wed, 12 Nov 2008 23:49:19 +0100 From: Volker User-Agent: Thunderbird 2.0.0.17 (X11/20080930) MIME-Version: 1.0 To: Octavian Ionescu References: <491B5931.1030801@itavy.com> In-Reply-To: <491B5931.1030801@itavy.com> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit MailScanner-NULL-Check: 1227134970.78905@QRurSa3ylbB5fXhruwj93w X-MailScanner-ID: F247D2E90F.E90AC X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: freebsd-drivers@FreeBSD.org Subject: Re: Driver for Atheros Wireless LAN X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 23:22:25 -0000 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). Volker