LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 07-11-2012, 06:06 PM   #1
jonmohr
LQ Newbie
 
Registered: Jul 2012
Distribution: Linux Mint 13
Posts: 8

Rep: Reputation: Disabled
USB bus not working


Every time I insert any usb device into my laptop, I get the error from usb 2-1 saying "device not accepting address x, error -62" where x is any number from 1 to 100. before that line, usb 2-1 also logs "new full-speed USB device number x using ohci_hcd"
Both of those lines will be logged indefinitely whenever any usb device is inserted, regardless of distro (tested on fedora 17 live and Mint 13 Cinnamon)
additional info: worked fine until yesterday and i have no idea what the device id of my usb hub is or whether or not it is a built-in motherboard hub or a PCI hub.
 
Old 07-17-2012, 04:21 AM   #2
Pastychomper
Member
 
Registered: Sep 2011
Location: Scotland
Distribution: Debian
Posts: 53

Rep: Reputation: 24
I've had something similar in the past, in my case it was down to a dodgy USB port. Since it's only just started, maybe your cable/plug/port is getting a bit worn, or dirty.

Try running rmmod ehci_hcd as root - this disables USB 2, forcing the ports to work as USB 1.1, which is slower but more reliable.

There are more details and suggestions here.
 
Old 07-18-2012, 11:06 PM   #3
jonmohr
LQ Newbie
 
Registered: Jul 2012
Distribution: Linux Mint 13
Posts: 8

Original Poster
Rep: Reputation: Disabled
I tried running that command in the terminal as root, and I got this response.
libkmod: ERROR ../libkmod/libkmod-module.c:1791 kmod_module_get_holders: could not open '/sys/module/ehci_hcd/holders': No such file or directory
Error: Module ehci_hcd is in use
 
Old 07-19-2012, 04:11 AM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,617

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
Put your error numbers into this command (instead of 62) to see what's going on
Quote:
grep 62 /usr/include/asm-generic/errno.h
Then you can take those errors, and google them with ehci_hcd in the search term. Error 62 is timer expired, btw.
 
Old 07-19-2012, 12:56 PM   #5
jonmohr
LQ Newbie
 
Registered: Jul 2012
Distribution: Linux Mint 13
Posts: 8

Original Poster
Rep: Reputation: Disabled
I tried the grep command, and it told me that there was "no such file or directory"
 
Old 07-19-2012, 03:52 PM   #6
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,617

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
Have you kernel headers installed?
/scratches head

Error 62 is timer expired, anyhow.
 
Old 07-19-2012, 11:07 PM   #7
jonmohr
LQ Newbie
 
Registered: Jul 2012
Distribution: Linux Mint 13
Posts: 8

Original Poster
Rep: Reputation: Disabled
maybe I typed in the wrong command, but I got the reply "no such file or directory" I typed in /scratches head
 
Old 07-19-2012, 11:48 PM   #8
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
scratches head = joke comment

can you post the output to your /var/log/dmesg pls to a site and link back to it
eg here is mine

http://paste.debian.net/?show=179883;lines=0

I changed mine to hide line numbers and 24 hr expiry but leave yours as is pls

that way we can see if a kernel module is playing up
 
Old 07-22-2012, 12:09 AM   #9
jonmohr
LQ Newbie
 
Registered: Jul 2012
Distribution: Linux Mint 13
Posts: 8

Original Poster
Rep: Reputation: Disabled
^playing along.. I don't have a log for dmesg... (might be related to a distro switch to knoppix)

Last edited by jonmohr; 07-22-2012 at 12:21 AM.
 
Old 07-23-2012, 11:17 PM   #10
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

Rep: Reputation: Disabled
should not be....all previous tests I have done with knoppix have dmesg

ok how about .... /var/log/messages

now it may be huge if you do not have a nice logrotate config so instead try this

insert usb then run command

Code:
sudo tail -n 30 /var/log/messages
now that may only show if there is something wrong with your current usb device and not if a kernel module has not loaded

so have a look at

lsmod (and see if uhci* ehci* modules are loaded)

if they are not, I don't have usb3 spec usb device...so name your device spec

then look at increasing the -n (number) to 200 but pipe it thru less so you page up and down

Code:
sudo tail -n 300 /var/log/messages | less
and if you think appropriate post that section showing usb devices being detected here is mine as example
http://paste.debian.net/180394/

good luck
 
  


Reply

Tags
usb


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
alternative way to get USB file handle: hotplug? sys/bus/usb/devices/ ? knockout_artist Linux - Kernel 0 12-02-2008 05:08 PM
USB mp3 player not recognised, gives 'USB bus 1 deregistered' tkedwards Linux - Hardware 0 02-01-2006 02:47 AM
MDK 10.2: No USB at all (/proc/bus/usb/devices missing) shrodi Mandriva 5 07-01-2005 12:28 PM
No USB at all (/proc/bus/usb/devices missing) shrodi Linux - Hardware 1 05-26-2005 05:07 AM
USB scanner not in /proc/bus/usb/devices psweetma Linux - Hardware 4 02-25-2004 05:47 PM


All times are GMT -5. The time now is 07:21 AM.

Main Menu
Advertisement
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