Date: Sat, 18 Mar 2006 10:51:26 +0100 From: "Damien Bergamini" <damien.bergamini@free.fr> To: "Dominique Goncalves" <dominique.goncalves@gmail.com>, <freebsd-stable@freebsd.org> Subject: Re: Wireless USB Adapter DWL G122 not detected by ural(4) Message-ID: <00e401c64a71$872b4e80$0300a8c0@COMETE> References: <7daacbbe0603160501s4aefef11vf15f73d877108360@mail.gmail.com> <7daacbbe0603180145s785ca01v3f67e5ddaf4a0844@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Your device is not supported by ural(4). The ural driver supports adapters based on Ralink first generation 802.11b/g wireless USB adapters (RT2500USB). Your adapter is based on the new RT2501USB chipset which requires a new driver because the MAC/BBP is very different. Damien ----- Original Message ----- From: "Dominique Goncalves" <dominique.goncalves@gmail.com> To: <freebsd-stable@freebsd.org>; <damien.bergamini@free.fr> Sent: Saturday, March 18, 2006 10:45 AM Subject: Re: Wireless USB Adapter DWL G122 not detected by ural(4) Hi On 3/16/06, Dominique Goncalves <dominique.goncalves@gmail.com> wrote: > Hi, > > I'm trying to use a Wireless USB Adapter DWL G122 on RELENG_6 but it > is not detected and no ural0 interface is created, this device is > listed in the hardware section of ural(4). > > $ uname -a > FreeBSD freebsd 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #2: Thu Mar 16 > 11:45:02 CET 2006 root@freebsd:/usr/obj/usr/src/sys/GENERIC i386 > > # usbd -d -v > usbd: opened /dev/usb0 > usbd: reading configuration file /etc/usbd.conf > usbd: opened /dev/usb > usbd: device-attach event at 1142509893.453666000, 802.11 bg WLAN, Ralink: > vndr=0x07d1 prdct=0x3c03 rlse=0x0001 clss=0x0000 subclss=0x0000 prtcl=0x0000 > device names: ugen0 > usbd: Found action 'USB device' for 802.11 bg WLAN, Ralink at ugen0 > usbd: device-detach event at 1142509897.473305000, product 0x3c03, > vendor 0x07d1: > vndr=0x07d1 prdct=0x3c03 rlse=0x0001 clss=0x0000 subclss=0x0000 prtcl=0x0000 > > Let me know if you need more information. > > Thanks for your help. > > Regards. > > Copyright (c) 1992-2006 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 6.1-PRERELEASE #2: Thu Mar 16 11:45:02 CET 2006 > root@freebsd:/usr/obj/usr/src/sys/GENERIC > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Pentium II/Pentium II Xeon/Celeron (397.95-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x652 Stepping = 2 > > Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> > real memory = 134217728 (128 MB) > avail memory = 121806848 (116 MB) > npx0: [FAST] > npx0: <math processor> on motherboard > npx0: INT 16 interface > cpu0 on motherboard > pcib0: <Intel 82443BX (440 BX) host to PCI bridge> pcibus 0 on motherboard > pir0: <PCI Interrupt Routing Table: 5 Entries> on motherboard > pci0: <PCI bus> on pcib0 > agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem > 0x44000000-0x47ffffff at device 0.0 on pci0 > pcib1: <PCI-PCI bridge> at device 1.0 on pci0 > pci1: <PCI bus> on pcib1 > pci1: <display, VGA> at device 0.0 (no driver attached) > fxp0: <Intel 82558 Pro/100 Ethernet> port 0x2000-0x201f mem > 0x40200000-0x40200fff,0x40100000-0x401fffff irq 11 at device 10.0 on > pci0 > miibus0: <MII bus> on fxp0 > inphy0: <i82555 10/100 media interface> on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > fxp0: Ethernet address: 00:08:c7:0f:5a:19 > isab0: <PCI-ISA bridge> at device 20.0 on pci0 > isa0: <ISA bus> on isab0 > atapci0: <Intel PIIX4 UDMA33 controller> port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2040-0x204f at device 20.1 on > pci0 > ata0: <ATA channel 0> on atapci0 > ata1: <ATA channel 1> on atapci0 > uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x2020-0x203f > irq 11 at device 20.2 on pci0 > uhci0: [GIANT-LOCKED] > usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0 > usb0: USB revision 1.0 > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > uhub0: 2 ports with 2 removable, self powered > pci0: <bridge> at device 20.3 (no driver attached) > pmtimer0 on isa0 > orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xe0000-0xe7fff on isa0 > atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 > atkbd0: <AT Keyboard> irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on > isa0 > fdc0: [FAST] > fd0: <1440-KB 3.5" drive> on fdc0 drive 0 > ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/8 bytes threshold > ppbus0: <Parallel port bus> on ppc0 > plip0: <PLIP network interface> on ppbus0 > lpt0: <Printer> on ppbus0 > lpt0: Interrupt-driven port > ppi0: <Parallel I/O> on ppbus0 > sc0: <System console> at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 16550A > sio1 at port 0x2f8-0x2ff irq 3 on isa0 > sio1: type 16550A > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > unknown: <PNP0401> can't assign resources (port) > unknown: <PNP0501> can't assign resources (port) > unknown: <PNP0501> can't assign resources (port) > unknown: <PNP0700> can't assign resources (port) > unknown: <PNP0c01> can't assign resources (memory) > unknown: <PNP0303> can't assign resources (port) > unknown: <PNP0c02> can't assign resources (port) > Timecounter "TSC" frequency 397948150 Hz quality 800 > Timecounters tick every 1.000 msec > ad0: 6149MB <FUJITSU MPC3064AT CC05> at ata0-master UDMA33 > acd0: CDROM <CD-224E/9.0A> at ata1-master PIO4 > Trying to mount root from ufs:/dev/ad0s1a > ugen0: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 2 > ugen0: at uhub0 port 1 (addr 2) disconnected > All threads purged from ugen0.1 > All threads purged from ugen0 > ugen0: detached > > -- > There's this old saying: "Give a man a fish, feed him for a day. Teach > a man to fish, feed him for life." > Thanks to a patch made by Sam Leffler [1], the adapter is now detected with ural(4) but is not working (tested on HEAD and RELENG_6) $ ifconfig -v ural0 ural0: flags=108803<UP,BROADCAST,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500 inet6 fe80::215:e9ff:fe46:d588%ural0 prefixlen 64 scopeid 0x8 ether 00:15:e9:46:d5:88 media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel 1 (2412) bssid 00:00:00:00:00:00 authmode OPEN privacy OFF deftxkey UNDEF powersavemode OFF powersavesleep 100 txpowmax 100 txpower 100 rtsthreshold 2346 mcastrate 1 fragthreshold 2346 -pureg protmode CTS -wme -burst roaming AUTO bintval 0 from dmesg: ral0: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 2 ural0: MAC/BBP RT2570 (rev 0x00), RF unknown ural0: Ethernet address: 00:15:e9:46:d5:88 ural0: if_start running deferred for Giant ural0: timeout waiting for BBP/RF to wakeup ural0: timeout waiting for BBP/RF to wakeup ural0: timeout waiting for BBP/RF to wakeup ural0: timeout waiting for BBP/RF to wakeup ural0: timeout waiting for BBP/RF to wakeup ural0: timeout waiting for BBP/RF to wakeup ural0: at uhub0 port 1 (addr 2) disconnected ural0: could not write MAC register: STALLED ural0: could not write MAC register: STALLED ural0: could not write MAC register: STALLED ural0: detached If I try # ifconfig ural0 up scan ural0: timeout waiting for BBP/RF to wakeup and no access point is detected with wpa_supplicant also: Setting scan request: 0 sec 100000 usec Starting AP scan (broadcast SSID) ioctl[SIOCS80211]: Invalid argument ioctl[SIOCS80211, op 23, arg 0x0]: Invalid argument Failed to initiate AP scan. Thanks for your help. Regards. [1] http://djdomics.free.fr/FreeBSD/ural_pwlg122.diff -- There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00e401c64a71$872b4e80$0300a8c0>