LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 03-16-2010, 10:48 PM   #1
tmick
Member
 
Registered: Jun 2005
Location: Riverdale, Utah
Distribution: Debian Jessie
Posts: 146

Rep: Reputation: 15
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,

Last edited by tmick; 03-17-2010 at 10:48 AM. Reason: corrected title to show real problem
 
Old 03-17-2010, 06:46 AM   #2
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 673
Blog Entries: 11

Rep: Reputation: 36
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.
 
Old 03-17-2010, 06:53 AM   #3
Absent Minded
Member
 
Registered: Nov 2007
Location: Washington State U.S.A.
Distribution: Debian testing
Posts: 74

Rep: Reputation: 21
Is your printer USB Version 1 backwards compatible? If not you may need to get a addon version 2 USB card.
 
Old 03-17-2010, 07:53 AM   #4
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 648

Rep: Reputation: 78
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.
 
Old 03-17-2010, 10:03 AM   #5
tmick
Member
 
Registered: Jun 2005
Location: Riverdale, Utah
Distribution: Debian Jessie
Posts: 146

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by radiodee1 View Post
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.

Last edited by tmick; 03-17-2010 at 10:45 AM. Reason: left out some info
 
Old 03-17-2010, 10:18 PM   #6
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,447

Rep: Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204
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.

Last edited by evo2; 03-17-2010 at 10:24 PM. Reason: PS.
 
Old 03-17-2010, 11:12 PM   #7
tmick
Member
 
Registered: Jun 2005
Location: Riverdale, Utah
Distribution: Debian Jessie
Posts: 146

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by evo2 View Post
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
 
Old 03-18-2010, 04:45 AM   #8
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,447

Rep: Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204
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.
 
Old 03-18-2010, 01:39 PM   #9
tmick
Member
 
Registered: Jun 2005
Location: Riverdale, Utah
Distribution: Debian Jessie
Posts: 146

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by evo2 View Post

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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I get Debian to read my USB external HDD? Hardcor3 Linux - Newbie 35 03-27-2009 12:14 PM
Help with Printer Troubleshooting Malacandra Linux - Hardware 4 02-20-2007 07:58 PM
What does Debian do with my USB printer? atheist Debian 15 11-30-2004 01:57 AM
install usb printer in debian hellpos Linux - Hardware 0 08-03-2004 08:40 AM
usb printer install in debian woody heathpitts Debian 4 12-12-2003 12:07 PM


All times are GMT -5. The time now is 10:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration