LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Debian doesn't read USB devices, need troubleshooting ideas....PLEASE?! (http://www.linuxquestions.org/questions/debian-26/debian-doesnt-read-usb-devices-need-troubleshooting-ideas-please-795925/)

tmick 03-16-2010 10:48 PM

Debian doesn't read USB devices, need troubleshooting ideas....PLEASE?!
 
Hi all,
I am running Linux debian 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC 2010 i686 GNU/Linux (squeeze) and I am trying to get a HP OfficeJet 6210 All-in-one printer to install.
If I run
Code:

lsusb
I get:
Code:

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

The printer is plugged into the Debian box and was recognized by my Fedora 11 box.
If I run
Code:

usb-devices
it returns:
Code:

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 3
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev=02.06
S:  Manufacturer=Linux 2.6.32-trunk-686 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0000:00:02.2
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 3
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev=02.06
S:  Manufacturer=Linux 2.6.32-trunk-686 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0000:00:02.3
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

What I need to know is the commands I need to use to troubleshoot this.
running dmesg shows the USB hub is recognized but shows nothing if I unplug or plug in the printer, or my thumbdrives. I'm kind of at a loss here; not sure if Debian uses kernel modules or not, or how to tell.
Thanks in advance,

radiodee1 03-17-2010 06:46 AM

I have an HP all-in-one printer and I use the hpijs and hplip packages. Do you have those installed? I don't know if those are the right ones for you, but you didn't mention it in your post one way or the other.

Absent Minded 03-17-2010 06:53 AM

Is your printer USB Version 1 backwards compatible? If not you may need to get a addon version 2 USB card.

bret381 03-17-2010 07:53 AM

I believe Squeeze uses cups 1.4.2.... A lot of printers seem to have trouble using the new usblib backend that cups 1.4.2 uses. My only solution was to go back to cups 1.3

You can supposedly build cups 1.4.2 with the old usblp backend but I have not tried it.

tmick 03-17-2010 10:03 AM

Quote:

Originally Posted by radiodee1 (Post 3901663)
I have an HP all-in-one printer and I use the hpijs and hplip packages. Do you have those installed? I don't know if those are the right ones for you, but you didn't mention it in your post one way or the other.

Sorry I have:
hplip 3.10.2-1
hpijs 3.10.2-1
foomatic-db-hpijs 20090508-1
foomatic -db 20090616-1
foomatic-db-engine 4.0-20090509-1
cups 1.4.2-4
installed.
In checking the issue further, it seems it won't recognize any USB device.
I tried plugging in my thumbdrives in my USB ports and they didn't get read either. :(

evo2 03-17-2010 10:18 PM

Please post the output of :
Code:

lsmod | grep usb
lsusb

(you may need to install the usbutils package to get lsusb)

Evo2.

PS. Some background info would be useful. For example: Is this a fresh install? Did usb ever work on this machine? Did usb work before you upgraded the kernel? etc.

tmick 03-17-2010 11:12 PM

Quote:

Originally Posted by evo2 (Post 3902644)
Please post the output of :
Code:

lsmod | grep usb
lsusb

(you may need to install the usbutils package to get lsusb)

Evo2.

PS. Some background info would be useful. For example: Is this a fresh install? Did usb ever work on this machine? Did usb work before you upgraded the kernel? etc.

lsmod | grep usb
usbcore 97930 3 ohci_hcd,ehci_hcd
nls_base 4541 7 hfsplus,hfs,ntfs,vfat,fat,jfs,usbcore

lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Not a fresh install, USB used to work, or at least read thumbdrives. Just trying to set as print server and noticed USB isn't reading anything anymore

evo2 03-18-2010 04:45 AM

I don't know what is causing your problem. At the very least you should see something from dmesg and lsusb, even if the OS does not know what to do with a given usb device.

Have you tried the M$ approach of rebooting?

Evo2.

tmick 03-18-2010 01:39 PM

Quote:

Originally Posted by evo2 (Post 3902950)

Have you tried the M$ approach of rebooting?

Evo2.

Assuming that means pressing the power button, yes. I have tried rebooting, shutting the machine down and restarting, doing a hard boot. yup it's not working.
By dmesg not showing anything I mean it looks like:
Code:

dmesg | grep usb
[    2.714879] usbcore: registered new interface driver usbfs
[    2.715135] usbcore: registered new interface driver hub
[    2.715388] usbcore: registered new device driver usb
[    5.130093] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[    5.130104] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.130110] usb usb1: Product: OHCI Host Controller
[    5.130115] usb usb1: Manufacturer: Linux 2.6.32-trunk-686 ohci_hcd
[    5.130119] usb usb1: SerialNumber: 0000:00:02.2
[    5.130567] usb usb1: configuration #1 chosen from 1 choice
[    5.227009] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    5.227019] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    5.227025] usb usb2: Product: OHCI Host Controller
[    5.227029] usb usb2: Manufacturer: Linux 2.6.32-trunk-686 ohci_hcd
[    5.227034] usb usb2: SerialNumber: 0000:00:02.3
[    5.227575] usb usb2: configuration #1 chosen from 1 choice

There is no change if I plug in a usb device, it's like it doesn't recognize anything gets plugged in.
I'm beginning to think I have a bad card.
Thanks for the help


All times are GMT -5. The time now is 11:34 AM.