Page 1 of 1

lsusb and wifi adapter

Posted: Mon Dec 09, 2013 3:15 pm
by jbnhf23
i am trying to setup my "sandberg micro wifi usb dongle".

When I perform a lsusb command the dongle is not listed.

Should the dongle always be listed when I perform a lsusb command?
- If yes, could it be a broken wifi adpater or ?
- if no, could someone give me some guidance that could lead me in the right direction :-)

I am pretty new in this linux world...

best regards....jesper

Re: lsusb and wifi adapter

Posted: Mon Dec 09, 2013 7:53 pm
by Onira
show an output of:

Code: Select all

$ sudo lsusb

Re: lsusb and wifi adapter

Posted: Mon Dec 09, 2013 7:57 pm
by shuckle
dmesg may also show something usefull. The end of it.

Re: lsusb and wifi adapter

Posted: Mon Dec 09, 2013 8:09 pm
by jbnhf23

Code: Select all

Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 012: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 102 Flash Drive / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick
I have plugged in a Kingston USB memory pen and my sandberg wifi adapter.

Re: lsusb and wifi adapter

Posted: Mon Dec 09, 2013 11:02 pm
by jbnhf23

Re: lsusb and wifi adapter

Posted: Mon Dec 09, 2013 11:08 pm
by jdb

Code: Select all

[14870.488784] usb 1-1.2: new full-speed USB device number 8 using dwc_otg

[14870.568810] usb 1-1.2: device descriptor read/64, error -32

[14870.758826] usb 1-1.2: device descriptor read/64, error -32

[14870.948864] usb 1-1.2: new full-speed USB device number 9 using dwc_otg

[14871.028882] usb 1-1.2: device descriptor read/64, error -32

[14871.218882] usb 1-1.2: device descriptor read/64, error -32

[14871.408905] usb 1-1.2: new full-speed USB device number 10 using dwc_otg

[14871.828689] usb 1-1.2: device not accepting address 10, error -32

[14871.908855] usb 1-1.2: new full-speed USB device number 11 using dwc_otg

[14872.328710] usb 1-1.2: device not accepting address 11, error -32

[14872.328909] hub 1-1:1.0: unable to enumerate USB device on port 2
This is why. Your adapter is not registering as it appears to be unreadable.

Does it work if you plug it into a PC USB port?

Re: lsusb and wifi adapter

Posted: Mon Dec 09, 2013 11:10 pm
by jbnhf23
yes it is working in my windows 7 laptop

Re: lsusb and wifi adapter

Posted: Mon Dec 09, 2013 11:16 pm
by DougieLawson
Starting at line # 183 in your dmesg on pastebin you'll see a bunch of error messages

Code: Select all

[    3.211719] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[    3.301743] usb 1-1.2: device descriptor read/64, error -32
[    3.491741] usb 1-1.2: device descriptor read/64, error -32
[    3.681765] usb 1-1.2: new full-speed USB device number 5 using dwc_otg
[    3.771779] usb 1-1.2: device descriptor read/64, error -32
[    3.961937] usb 1-1.2: device descriptor read/64, error -32
[    4.151836] usb 1-1.2: new full-speed USB device number 6 using dwc_otg
...
[    4.581565] usb 1-1.2: device not accepting address 6, error -32
[    4.681785] usb 1-1.2: new full-speed USB device number 7 using dwc_otg
[    5.111575] usb 1-1.2: device not accepting address 7, error -32
[    5.131652] hub 1-1:1.0: unable to enumerate USB device on port 2
...
[14870.488784] usb 1-1.2: new full-speed USB device number 8 using dwc_otg
[14870.568810] usb 1-1.2: device descriptor read/64, error -32
[14870.758826] usb 1-1.2: device descriptor read/64, error -32
[14870.948864] usb 1-1.2: new full-speed USB device number 9 using dwc_otg
[14871.028882] usb 1-1.2: device descriptor read/64, error -32
[14871.218882] usb 1-1.2: device descriptor read/64, error -32
[14871.408905] usb 1-1.2: new full-speed USB device number 10 using dwc_otg
[14871.828689] usb 1-1.2: device not accepting address 10, error -32
[14871.908855] usb 1-1.2: new full-speed USB device number 11 using dwc_otg
[14872.328710] usb 1-1.2: device not accepting address 11, error -32
[14872.328909] hub 1-1:1.0: unable to enumerate USB device on port 2
Then you'll notice it spots your USB Memory Stick

Code: Select all

[14872.568942] usb 1-1.3: new high-speed USB device number 12 using dwc_otg
[14872.672241] usb 1-1.3: New USB device found, idVendor=0930, idProduct=6545
[14872.672272] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[14872.672289] usb 1-1.3: Product: DataTraveler 2.0
[14872.672303] usb 1-1.3: Manufacturer: Kingston
[14872.672319] usb 1-1.3: SerialNumber: 001372982FA1B911F6030459
[14872.684367] scsi0 : usb-storage 1-1.3:1.0
Is your device USB 1.1, USB 2.0 or USB 3.0?
Is your USB HUB 1.1 or USB 2.0 or USB 3.0?

Re: lsusb and wifi adapter

Posted: Mon Dec 09, 2013 11:21 pm
by DougieLawson
jbnhf23 wrote:yes it is working in my windows 7 laptop
Can you use the the Windows control panel/device manager (run devmgmt.msc) to find the Vendor ID and Device ID?

Re: lsusb and wifi adapter

Posted: Mon Dec 09, 2013 11:46 pm
by jbnhf23
I dont have a USB hub attached my rpi, both my kingston memory pen and usb dongle is attached directly into my rpi

rpi usb and wifi dongle is both usb2.0

here is dev and vender id's

USB\VID_0BDA&PID_8176&REV_0200
USB\VID_0BDA&PID_8176

Re: lsusb and wifi adapter

Posted: Mon Dec 09, 2013 11:51 pm
by DougieLawson
jbnhf23 wrote:
USB\VID_0BDA&PID_8176&REV_0200
USB\VID_0BDA&PID_8176
Thanks. That's a Realtek RTL8192US

http://www.raspberrypi.org/phpBB3/viewt ... =26&t=8672

Try sticking it in a powered USB hub.

Try gettting the latest firmware sudo rpi-update

Re: lsusb and wifi adapter

Posted: Sun Dec 15, 2013 10:41 am
by jbnhf23
I purchased a 2A power supply and now it is working :D

thanks for your help