LinuxQuestions.org
Visit Jeremy's Blog.
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 04-06-2011, 01:32 PM   #1
Equinn
LQ Newbie
 
Registered: Feb 2008
Location: California
Distribution: Slackware 13.1
Posts: 24

Rep: Reputation: 0
Via Labs USB 3.0 Hub will not recognize a USB 3.0 device


Hi All,

I am trying to connect some USB 3.0 HDD's up to a Via Labs USB 3.0 Hub. When I type 'lsusb', it only lists the hub and not the devices. If I plug in a USB 2.0 device to the hub, it can be recognized. If I plug the USB 3.0 device directly into the system, it is also recognized.

In further investigating, I typed 'lsusb -v' and found that the USB 3.0 part of the hub has an error - under where the Hub Descriptor information is supposed to be, it says "** UNRECOGNIZED: 06 30 00 00 02 00 can't get hub descriptor: Broken Pipe"

So that explains why the drive can't be recognized. My question is: Is this a Linux problem or a Via Labs problem? I am running Slackware 13.1.

Is there somewhere on the system I can make Linux recognize this properly?

Thanks and best regards,
Equinn
 
Old 04-06-2011, 02:27 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,871

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
This is Deja Vue for me.
/begin long true history
Back in the early 2000s, I had a Via chipset with usb-2.0 which was congenitally nobbled. We proved this. It was giving log spam "overcurrent change detected on port x,y" until I removed the ehci module. This log spam had been a continuing mystery. I kicked the appropriate butt (David Brownell?) who was perpared to look at evidence. I then vented on Via Hardware's most populated forum. This got swiftly moved to some obscure linux forum but they put a programmer helping me, who wrote a kernel patch which simply read out the appropriate registers into the log. We got it right after 2 or 3 tries, read the registers, I dutifully plugged stuff in and out, and it all went off to the maintainer who realised that the hardware was not listening to the registers it was supposed to be controlled by.
He added the kernel option 'option echi_hcd ignore_oc=1' which still exists afaict. That fixed it.

In subsequent dialogue, the via programmer and I realised we had the same chipset. Mine had 6 usb ports - his had 4, and never had the issue. Apparently via disabled 2 ports in subsequent chips, and even he didn't know :-/.

/end long history

The usb spec used to be on Intel's site. The patch simply spat
' "REGISTER NAME" register contents' for all the relevant registers into syslog for any change to the overcurrent, which was our problem. I'd suggest you try something similar.
 
Old 04-06-2011, 02:47 PM   #3
Equinn
LQ Newbie
 
Registered: Feb 2008
Location: California
Distribution: Slackware 13.1
Posts: 24

Original Poster
Rep: Reputation: 0
Two things I should have mentioned:

1. The hub works fine on Windows.
2. I am sort of a newbie on Linux.

So to business_kid - your comments seem great, but way over my head. Should I be contacting Via or trying to put a patch in the kernel(which I wouldn't have the slightest idea where to begin)?

Thanks,
EQuinn
 
Old 04-07-2011, 03:21 AM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,871

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
I would suspect Via hardware.
http://www.via.com.tw/en/support/

Sorry if I was unclear. They have a record of making a mess of things hardware wise.
 
Old 04-07-2011, 06:03 PM   #5
Equinn
LQ Newbie
 
Registered: Feb 2008
Location: California
Distribution: Slackware 13.1
Posts: 24

Original Poster
Rep: Reputation: 0
OK, then I will try to contact VIA through our supplier. I'll post back what I find.
 
Old 04-08-2011, 01:08 PM   #6
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,871

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
There's another approach you can take. Plug out your usb-3.0 stuff, plug it back in, give it a few seconds, and run 'dmesg |tail -n 20'
Post the results
 
Old 04-25-2011, 03:15 PM   #7
Equinn
LQ Newbie
 
Registered: Feb 2008
Location: California
Distribution: Slackware 13.1
Posts: 24

Original Poster
Rep: Reputation: 0
Hi All,

I thought I would post back to let you know the outcome of this. Turns out that USB 3.0 hub support wasn't merged into the Linux kernel until 2.6.39. Only the USB 2.0 part of the USB 3.0 hub will be working in kernels before that version. That was according to the Linux USB developer, Sarah Sharp. I updated the kernel to 2.6.39 and low and behold, it worked.

Just thought you'd like to know.

Thanks,
Equinn
 
  


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
[SOLVED] command for recognize an usb device such as flash kzcom Linux - General 5 11-10-2010 02:47 PM
in slackware 10.2 USB hub device not accepting new address error=-71 ? ghansel Slackware 1 11-01-2010 07:26 PM
Inquiry:How to recognize the assigned device for attached usb memory? hadimotamedi Linux - Newbie 23 12-22-2009 08:31 PM
linux recognize usb sticks as same device lbdgwgt Linux - Kernel 5 01-18-2007 05:16 AM
How to recognize a USB device? enemorales Linux - General 2 04-10-2005 05:05 AM


All times are GMT -5. The time now is 03:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration