On Sun, 30 Jul 2006, niam.tni wrote: > Hi, > > I'm using Kernel 2.6.16 on PDA. > It has an USB-slot/internal hub where I connect my WLAN adapter to. > But kernel doesn't configure this adapter "usb 1-2: no configuration > chosen from 1 choice". > > There is a post from Alan Stern > http://www.mail-archive.com/linux-usb-devel@lists.sourceforge.net/msg43480.html > who suggests to do a "echo -n 1 > /sys/bus/usb/devices/<x-x>/bConfigurationValue". > > I tried that trick, but I didn't get my WLAN adapter running with > this. Instead I get an interesting kernel message (dmesg) : "usb 1-2: > new config #1 exceeds power limit by 350mA". > > I guess, PDA's usb port doesn't supply more than 150mA. > > Am I right? Do I really need an external powered usb hub to get WLAN > adapter (500mA MaxPower via lsusb -v) working?
Not having an exact duplicate of your hardware, I can't answer that question. In fact, you're in a better position to answer it than anyone reading your email. > The rest of dmesg output: > > pxa27x-ohci pxa27x-ohci: PXA27x OHCI > pxa27x-ohci pxa27x-ohci: new USB bus registered, assigned bus number 1 > pxa27x-ohci pxa27x-ohci: irq 3, io mem 0x4c000000 > usb usb1: configuration #1 chosen from 1 choice > hub 1-0:1.0: USB hub found > hub 1-0:1.0: 3 ports detected > usb 1-2: new full speed USB device using pxa27x-ohci and address 2 > usb 1-2: no configuration chosen from 1 choice That's where the kernel disallowed the only configuration because of the power requirement. > at76_usbdfu: no version magic, tainting kernel. > USB Device Firmware Upgrade (DFU) handler v0.14dev-static loading > at76c503: no version magic, tainting kernel. > Generic Atmel at76c503/at76c505 routines v0.14dev-static > at76c503_rfmd: no version magic, tainting kernel. > Atmel at76c503 (RFMD) Wireless LAN Driver v0.14dev-static loading > usbcore: registered new driver at76c503-rfmd > usb 1-2: new config #1 exceeds power limit by 350mA That's where you installed config #1 by hand. The kernel has warned you that the new configuration may fail because of insufficient power. > usb 1-2: reset full speed USB device using pxa27x-ohci and address 2 > usb 1-2: device firmware changed > usb 1-2: USB disconnect, address 2 > at76c503-rfmd disconnected New firmware was sent to the device and the device was restarted. > usb 1-2: new full speed USB device using pxa27x-ohci and address 3 > usb 1-2: no configuration chosen from 1 choice Now the device is running the new firmware and it has restarted. You need to install the configuration by hand again. Alan Stern ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel