USB stopped working

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

USB stopped working

Postby Oceanwatcher on Wed Oct 01, 2008 11:13 am

On my motherboard, there are no on-board USB ports. It came with a PCI card with four USB2.0 ports. So far all well.

When I installed Mint 5 it worked ok. I was able to plug in my flash drive and read and write to it. I also plugged in a USB drive (160 GB) and got it to work. But it seems things are not too stable regarding USB. A few days later, all USB stuff has disappeared.

I even tried changing the USB card to see if the one I had was fried, but the new one has the same problem. Nothing shows up.

Where do I start to check things? Running lspci gives me this:

00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] System Controller (rev 11)
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] AGP Bridge
00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ISA (rev 04)
00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-768 [Opus] IDE (rev 04)
00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ACPI (rev 03)
00:09.0 Multimedia audio controller: Xilinx Corporation RME Digi9652 (Hammerfall) (rev 03)
00:10.0 PCI bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] PCI (rev 04)
01:05.0 VGA compatible controller: Matrox Graphics, Inc. MGA G550 AGP (rev 01)
02:05.0 FireWire (IEEE 1394): NEC Corporation IEEE 1394 Host Controller (rev 01)
02:06.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74)
02:08.0 USB Controller: NEC Corporation USB (rev 43)
02:08.1 USB Controller: NEC Corporation USB (rev 43)
02:08.2 USB Controller: NEC Corporation USB 2.0 (rev 04)

So obviously, the USB card is registered. It just does not work... Any ideas? I am really in problems here because my main computer, a laptop, has just died and I need to get Photoshop installed and work with a lot of files on a USB harddrive on this Linux desktop.. A few challenges ahead :-)
Regards,

Oceanwatcher
My blog - http://www.wisnaes.com/
My photo page - http://www.oceanwatcher.com/
New page for Norwegian readers - http://www.datahverdag.com/
User avatar
Oceanwatcher
Level 2
Level 2
 
Posts: 93
Joined: Sat Aug 16, 2008 11:00 am
Location: Delfim Moreira, Brazil

Linux Mint is funded by ads and donations.
 

Re: USB stopped working

Postby Husse on Thu Oct 02, 2008 7:11 am

This is the most difficult type of problem - worked, stopped working seemingly no hardware failure
Something must of course have been changed persistently, but what?
For starters run
Code: Select all
lsmod | grep -i usb

and see if any usb modules gets loaded
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: USB stopped working

Postby Oceanwatcher on Thu Oct 02, 2008 4:13 pm

Back online after nearly 24 hours off grid. Total blackout after a thunderstorm yesterday. Here is what the command produced:

ohci1394 33584 0
usbcore 146028 2 uhci_hcd,ohci_hcd
ieee1394 93752 2 sbp2,ohci1394


There is a harddisk connected at the moment, but not turned on.
Regards,

Oceanwatcher
My blog - http://www.wisnaes.com/
My photo page - http://www.oceanwatcher.com/
New page for Norwegian readers - http://www.datahverdag.com/
User avatar
Oceanwatcher
Level 2
Level 2
 
Posts: 93
Joined: Sat Aug 16, 2008 11:00 am
Location: Delfim Moreira, Brazil

Re: USB stopped working

Postby Husse on Fri Oct 03, 2008 12:32 pm

I get
usbcore 146028 3 ehci_hcd,ohci_hcd

This means that there is one more module referring to usbcore in my computer (that's the 3 and 2)
It is also used by ehci-hcd in my computer but uhci-hcd in yours
The difference between these is that ehci_hcd is the usb 2 driver - uhci_hcd is the usb 1.1 driver
//Edit nov 2 by Husse / the usb 1.1 driver is more commonly ohci_hcd //
Try
Code: Select all
modprobe ehci_hcd

and see if it helps

(Thunderstorm... strange we had a major thunderstorm yesterday which i s really odd in october, but no major power outage)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: USB stopped working

Postby Oceanwatcher on Fri Oct 03, 2008 3:25 pm

Today, I turned the attached USB harddrive on before starting the PC (as I ahve done many times before. During the startup, it seemed to do a filesystem check one one harddrive.

After booting up, I can see the name of the harddrive, but when I try to open it, I get Couldn't display "/media/Unns_disk". There is no application installed for this filetype.

Both the PCI card and the USB harddrive are USB2.0, so the same things should show for me as it shows for you...

Running the command you showed, resulted in nothing. No errors and no info. But running the lsmod again gives me this:

usb_storage 73664 1
libusual 19108 1 usb_storage
usbcore 146028 5 usb_storage,libusual,ehci_hcd,ohci_hcd
scsi_mod 151436 6 sbp2,usb_storage,sg,sr_mod,sd_mod,libata

I could always do another reboot....
Regards,

Oceanwatcher
My blog - http://www.wisnaes.com/
My photo page - http://www.oceanwatcher.com/
New page for Norwegian readers - http://www.datahverdag.com/
User avatar
Oceanwatcher
Level 2
Level 2
 
Posts: 93
Joined: Sat Aug 16, 2008 11:00 am
Location: Delfim Moreira, Brazil

Re: USB stopped working

Postby Husse on Fri Oct 03, 2008 4:02 pm

Couldn't display "/media/Unns_disk". There is no application installed for this filetype.

It is interpreting the name of the disk as a name of a file - this is a kind of error you get now and then
With the disk connected try pmount /dev/xxx (in a terminal - no sudo)
where xxx is what the drive is called as dev perhaps sdb1
pmount ("policy mount") is a wrapper around the standard mount program
which permits normal users to mount removable devices without a match‐
ing /etc/fstab entry.
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: USB stopped working

Postby Oceanwatcher on Mon Oct 06, 2008 10:18 am

Well, I tried rebooting several times. Then another reboot with the drive off (as many times before), then turn the drive on after login in Mint. And this time, for some reason, it worked! So now I have the USB back. Don't know how long it will work, but I am happy that it does.

The next problem now is to get sound working. I have a separate thread about this and I am really confused about it. It should not need to be this difficult! I can absolutely understand that Linux has not gained more acceptance with problems like this. Audio is something that should be easy to fix, preferrably working just out of the box.

Sorry for the rant. Gettnig a little too many problems at the same time here...

Thank you for helping. I will try the last fix as soon as the drive refuse to mount again.
Regards,

Oceanwatcher
My blog - http://www.wisnaes.com/
My photo page - http://www.oceanwatcher.com/
New page for Norwegian readers - http://www.datahverdag.com/
User avatar
Oceanwatcher
Level 2
Level 2
 
Posts: 93
Joined: Sat Aug 16, 2008 11:00 am
Location: Delfim Moreira, Brazil

Re: USB stopped working

Postby Husse on Mon Oct 06, 2008 2:32 pm

Audio is something that should be easy to fix, preferrably working just out of the box.

Agreed - have you looked into a forum for Vista problems?
There's more than here.... :) :)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: USB stopped working

Postby Oceanwatcher on Mon Oct 06, 2008 5:45 pm

Yeah. That is why everyone I know stick to XP pro. Stable, mature and works very well. If anyone want to define a competitor as the level that Linux have to surpass, it would be Windows XP Pro. At the moment, Linux have an advantage in terms og less problems with malware, but the disadvantage in terms of usability is huge. For anyone looking for an alternative, MacOSX is a better alternative. But they, of course, have the disadvantage that you have to use their hardware....

In other words - no perfect solution. I am not even touching the free vs. closed software issue as this is of absolutely no concern to Average Joe. As I said - the only thing that counts there is that it works. Every time. :-) I am ranting again.... Fact is - if I somehow could magically make all the problems of Linux go away, I would do it and then shout from the hilltops that this is the solution. But I can only talk about what I can see so far. So for me, my problem at the moment is

viewtopic.php?f=48&t=17193
Regards,

Oceanwatcher
My blog - http://www.wisnaes.com/
My photo page - http://www.oceanwatcher.com/
New page for Norwegian readers - http://www.datahverdag.com/
User avatar
Oceanwatcher
Level 2
Level 2
 
Posts: 93
Joined: Sat Aug 16, 2008 11:00 am
Location: Delfim Moreira, Brazil

Re: USB stopped working

Postby Oceanwatcher on Sun Nov 02, 2008 4:26 pm

I happened to notice something that made me enter a comment in another thread, but it really belong here, so I'll copy some of the info:

hitting CTRL+ALT+F1 suddenly got me a terminal window running full screen with the same message scrolling.

Code: Select all
 [18535.xxxxxx] hub 3-0:1-0 : over-current change on port 1


It is then repeated for port 2, 3, 4, and 5. The number in the beginning keeps rising, maybe an error number...

Can this be the USB error I am experiencing? Can this be what slows my computer down so much that it is slower than on Windows XP?


Reply from Husse:

This is something that the kernel catches from hardware and it may well be a hardware error (in USB)
And yes, Win may tolerate it and Mint be slowed down
You probably find it in syslog
There is an application in the menu "System log" and you can view syslog there
A seemingly strange question - do you see it in all TTYs? In ctrl+alt+F1 and F2 all the way up to F6 (F7 is back to X)


And from me:
Yes, you are right, it show in the syslog. I actually have problems looking at the first items in the log because it is constantly adding new messages and jumping to the end of the list...
And to the strange question - no, I only see it on TTY1. Does this mean anything special?
Regards,

Oceanwatcher
My blog - http://www.wisnaes.com/
My photo page - http://www.oceanwatcher.com/
New page for Norwegian readers - http://www.datahverdag.com/
User avatar
Oceanwatcher
Level 2
Level 2
 
Posts: 93
Joined: Sat Aug 16, 2008 11:00 am
Location: Delfim Moreira, Brazil

Re: USB stopped working

Postby Husse on Sun Nov 02, 2008 5:52 pm

My reply in the other topic was
Only on TTY1 means something special - but I don't know what
I saw reports on this error where different kernels or at least different distros gave different results
I'll take a look at the USB stuff
I think you have some hardware error but I'm not sure

This link is informative even if it speaks of a Thinkpad
http://community.livejournal.com/debian/335933.html
The drive you attach to USB is it externally powered or powered by USB?
In the later case you should try to use another cable and always use one of these cables that have two connectors in one end (to be plugged in two USB jacks that are on different USB ports - if they are on the same port you don't get any extra umph)
Talking of umph - go into the BIOS and check the voltages in your computer - I can't tell you where to look as that varies, but it's in there somewhere - the 5 V should be between 4.75 and 5.25 V
This is highly educational - I find a lot of questions to ask people with problematic USB drives....
And according to this link
https://bugs.launchpad.net/ubuntu/+sour ... +bug/39449
the kernel in Intrepid handles this better
If you google for
Code: Select all
over-current change on port 1

you get lots of hits interesting ones too
From what I read I get the impression this is faulty hardware - it may not be detected in Windows
And here is an example of this problem in Win XP
http://www.computing.net/answers/hardwa ... 50493.html
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: USB stopped working

Postby Oceanwatcher on Mon Nov 03, 2008 9:16 am

Thank you for the links. I will check. Not on that PC right now, but will be later.

The drive is externally powered. You know, it COULD be a problem with the power in the house... But that is something I will have to investigate further.

The USB card has been working fine for years. I got these problems after switching to Linux. I have also changed to a new USB card. Same problem. So unless my PC eats USB cards, I would be surprised if it is a real hardware fault on the USB part. But, stranger things have happened I guess :-) So I am not ruling anything out right now!

Thanks again.
Regards,

Oceanwatcher
My blog - http://www.wisnaes.com/
My photo page - http://www.oceanwatcher.com/
New page for Norwegian readers - http://www.datahverdag.com/
User avatar
Oceanwatcher
Level 2
Level 2
 
Posts: 93
Joined: Sat Aug 16, 2008 11:00 am
Location: Delfim Moreira, Brazil

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: austin.texas, Google Adsense [Bot], niowluka and 21 guests