LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 01-03-2009, 09:15 AM   #1
allelopath
Member
 
Registered: Jan 2003
Location: New Mexico
Distribution: Ubuntu 18.04.3 LTS
Posts: 539

Rep: Reputation: 30
USB hub doesn't work


I have an HP Pavilion dv5000 with gOS/Ubuntu.
I have a USB keyboard and a wireless USB mouse (logitech) that work when individually plugged into USB ports. When I plug USB hub into one of the same USB ports and then plug the keyboard and mouse into the hub, they do not work,

I've tried changing parameters in the kernel boot command (removing quite and splash options, adding irqpoll, noapic) but these have no effect.

#dmesg|grep -i usb.
[ 13.117846] usbcore: registered new interface driver usbfs
[ 13.117871] usbcore: registered new interface driver hub
[ 13.131965] usbcore: registered new device driver usb
[ 13.166601] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[ 13.166938] ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 1
[ 13.225742] usb usb1: configuration #1 chosen from 1 choice
[ 13.225767] hub 1-0:1.0: USB hub found
[ 13.329645] ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 2
[ 13.389511] usb usb2: configuration #1 chosen from 1 choice
[ 13.389540] hub 2-0:1.0: USB hub found
[ 13.493564] ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 3
[ 13.633015] usb 1-1: new full speed USB device using ohci_hcd and address 2
[ 13.644990] ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[ 13.645107] usb usb3: configuration #1 chosen from 1 choice
[ 13.645129] hub 3-0:1.0: USB hub found
[ 14.068379] usb 3-1: new high speed USB device using ehci_hcd and address 2
[ 29.198399] usb 3-1: device descriptor read/64, error -110
[ 94.648429] usb 3-1: device descriptor read/64, error -110
[ 94.864340] usb 3-1: new high speed USB device using ehci_hcd and address 3
[ 115.932192] usb 3-1: device descriptor read/64, error -110
[ 131.184327] usb 3-1: device descriptor read/64, error -110
[ 131.400327] usb 3-1: new high speed USB device using ehci_hcd and address 4
[ 141.832433] usb 3-1: device not accepting address 4, error -110
[ 141.944433] usb 3-1: new high speed USB device using ehci_hcd and address 5
[ 152.376525] usb 3-1: device not accepting address 5, error -110
[ 155.344557] hub 3-0:1.0: Cannot enable port 5. Maybe the USB cable is bad?
[ 158.312587] hub 3-0:1.0: Cannot enable port 5. Maybe the USB cable is bad?
[ 161.280618] hub 3-0:1.0: Cannot enable port 5. Maybe the USB cable is bad?
[ 164.248643] hub 3-0:1.0: Cannot enable port 5. Maybe the USB cable is bad?
[ 165.354110] hub 3-0:1.0: Cannot enable port 6. Maybe the USB cable is bad?
[ 166.226116] hub 3-0:1.0: Cannot enable port 6. Maybe the USB cable is bad?
[ 167.098127] hub 3-0:1.0: Cannot enable port 6. Maybe the USB cable is bad?
[ 167.970139] hub 3-0:1.0: Cannot enable port 6. Maybe the USB cable is bad?
[ 171.040727] hub 3-0:1.0: Cannot enable port 7. Maybe the USB cable is bad?
[ 174.008747] hub 3-0:1.0: Cannot enable port 7. Maybe the USB cable is bad?
[ 176.976765] hub 3-0:1.0: Cannot enable port 7. Maybe the USB cable is bad?
[ 179.944806] hub 3-0:1.0: Cannot enable port 7. Maybe the USB cable is bad?

How can I fix this?
 
Old 01-03-2009, 11:38 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Does keyboard or mouse work with the hub?
If so, there may not be enough power available. Try using a powered hub.
 
Old 01-03-2009, 03:07 PM   #3
allelopath
Member
 
Registered: Jan 2003
Location: New Mexico
Distribution: Ubuntu 18.04.3 LTS
Posts: 539

Original Poster
Rep: Reputation: 30
Tried just the mouse with the hub, but it still doesn't work.
This same hub works with mouse and kbd on a win xp machine.

Last edited by allelopath; 01-03-2009 at 03:13 PM.
 
Old 01-03-2009, 04:45 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
This same hub works with mouse and kbd on a win xp machine.
linux is generally very sensible: If USB devices are asking for power, and it isn't reported as being supplied, then it may not be allowed to work, because it might be unreliable. That is the way it should be.

You tried the mouse, but what about the keyboard?

What we are trying to do here is isolate the "fault":
- Is it the hub?
- Is it the mouse?
- Is it the keyboard?
- Is it linux?

???

You are saying "they do not work" and
"How can I fix this?"

You are not helping us to help you: you need to use your intellect to isolate the "fault", provide us with useful information [Errr, did you try internet "search engine" perhaps?] and then ask us to help you correct it.
 
Old 01-03-2009, 05:01 PM   #5
AuroraCA
Member
 
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370

Rep: Reputation: 35
see: http://en.wikipedia.org/wiki/USB#Power

and:http://en.wikipedia.org/wiki/USB_hub#Power

Last edited by AuroraCA; 01-03-2009 at 05:06 PM.
 
Old 01-09-2009, 10:42 PM   #6
MamiyaOtaru
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Rep: Reputation: 0
I doubt it has anything to do with power. I have a similar situation. USB 2.0 hub, and attached to it a low speed KB, low speed mouse, full speed webcam and full speed mouse. This works fine in Windows.

In Linux, the two low speed devices work but the full speed devices do not work, unless I rmmod ehci_hcd. Then all four devices work.

Try unloading ehci_hcd. Your mouse/KB should work then, though you obviously lose high speed capability for other things. But it would help to figure out what is going on.
 
  


Reply



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
USB 2.0 PCI hub recognized as USB MartinEindhoven Linux - Hardware 2 06-13-2008 03:35 AM
Is it possible to make a pc work as a router/hub funkatron Linux - Hardware 1 07-14-2005 06:25 AM
USB devices died after USB hub install Twistedlizzard Linux - Hardware 5 07-08-2005 06:17 AM
usb port and usb hub dosent woke in suse 9.3 newpants2003 Linux - Newbie 1 06-13-2005 07:55 AM
How does a hub work? anders_ant Linux - Networking 3 07-31-2004 05:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:50 PM.

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
Open Source Consulting | Domain Registration