"Cannot enable port 1. Maybe the USB cable is bad?" with usb mouse on toshiba laptop

Bug #35492 reported by ryanmbruce on 2006-03-18
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu
Medium
Unassigned
linux-source-2.6.15 (Ubuntu)
Medium
Unassigned

Bug Description

This comes almost directly from the thread here:
http://www.ubuntuforums.org/showthread.php?t=145813

I have a Logitech MX1000 wireless mouse which has a usb receiver. When I boot my Toshiba Satellite up with the mouse plugged in, everything works just dandy. Exactly like things should be.

The problem comes when I plug the mouse in after the system has booted. Once I plug the mouse in I get the following kernel message repeated way too many times:

[4348319.623000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?

I know the cable isn't bad because the mouse works in ubuntu if plugged in before booting, and it works in gentoo and windows on the same computer. It also works in slackware on a different computer.

My laptop has both usb 2.0 and 1.1 ports (2 of each), and I have tried using the mouse in all of them unsuccessfully.

I think this may have something to do with ehci/uhci, but I'm not sure. To test that theory, I tried blacklisting ehci_hcd in /ect/modprobe.d/blacklist with the line 'blacklist ehci_hcd', but the module still loaded upon reboot.

Hotplug does work however, for my usb memory stick.

My roommate has the exact same mouse on a different computer also running dapper, and he has no problems what so ever.

I realize this is a bit vague, but I was led to believe that this may be a bug from a few people in the ubuntu IRC channels. If there's anything else that I can provide to help out, please let me know.

ryanmbruce (ryanmbruce) wrote :

This bug will most likely have to be moved/renamed/changed so that it resides under the correct package name. The Utopia project has merged hotplug, udev, and hal. I just labeled it what was most intuitive for me, but hotplug obviously doesn't exist in it's old form in dapper.

ryanmbruce (ryanmbruce) wrote :

Btw, my laptop is a Satellite A45-S120 and I'm running dapper with current updates.

My mouse also works on my roomate's laptop wich is a Satellite A15-S129. He is running dapper as well, but he hasn't updated for about a week. I don't think this is an issue though, as I have been having this problem for a couple weeks (since I installed ubuntu). I'll try it again after his updates finish just to be sure.

Below is a little snippet from the output of dmesg on my machine:

[4294709.149000] Bluetooth: L2CAP socket layer initialized
[4294709.153000] Bluetooth: RFCOMM socket layer initialized
[4294709.153000] Bluetooth: RFCOMM TTY layer initialized
[4294709.153000] Bluetooth: RFCOMM ver 1.7
[4296056.847000] cdrom: open failed.
[4352929.836000] usb 1-1: USB disconnect, address 3
[4352940.108000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4352942.108000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4352945.858000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4352947.858000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4352950.358000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4352953.858000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4352954.868000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4352964.608000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4352971.858000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4352983.358000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4352994.858000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4352998.108000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4353004.108000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4353005.118000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4353007.358000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4353015.067000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4353017.858000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?
[4353025.608000] hub 1-0:1.0: Cannot enable port 1. Maybe the USB cable is bad?

When I move the mouse to a different port on the same hub, I get 'Cannot enable port 2.' When I move it to the USB 1.1 ports on the side, I get 'hub 2-0:1.0: Cannot enable port 1.'

ryanmbruce (ryanmbruce) wrote :

---------------------------------------------------------------
lspci | grep USB
---------------------------------------------------------------

0000:00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
0000:00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
0000:00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)

------------------------------------------------------------------------
lsusb
------------------------------------------------------------------------

Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000

-----------------------------------------------------------------------
sudo hald --daemon=no --verbose=yes 2>&1 | tee hal.log
-----------------------------------------------------------------------

I don't get any messages from hald when I plug the mouse in after running this. As soon as I figure out how, I'll include the logfile just in case there's something useful within. I guess that means it's a kernel module thing after all?

output from 'sudo hald --daemon=no --verbose=yes 2>&1 | tee hal.log'

Matt Zimmerman (mdz) on 2006-04-07
Changed in linux-source-2.6.15:
assignee: nobody → ben-collins
ryanmbruce (ryanmbruce) wrote :

Sorry... a misplaced click linked this bug back to the hotplug package, and it shouldn't be. I don't know how/if I have permissions to unlink it.

Changed in hotplug:
status: Unconfirmed → Rejected
ryanmbruce (ryanmbruce) wrote :

What can I do to get more information on the problem?

sheeparegreat (sheeparegreat) wrote :

I have seen this very same problem and symptoms while installing Debian Testing on my friends Toshiba laptop.

My digital camera got detected and mounted but other devices do not work. If the device is plugged in before boot the device that I couldn't get working works; when unplugged and reinserted the device stops working.

I can get more information if required but the original post seems to have covered all the detail.

MarcosSoares (marcossoaressj) wrote :

My usb mouse got detected but my printer hp c3180 do not work. Messages from dmesg command:

[17179980.924000] usb 4-3: new high speed USB device using ehci_hcd and address 9
[17179981.260000] usb 4-3: unable to read config index 0 descriptor/all
[17179981.260000] usb 4-3: can't read configurations, error -71
[17179981.372000] usb 4-3: new high speed USB device using ehci_hcd and address 10
[17179981.504000] usb 4-3: device descriptor read/all, error -71
[17179982.380000] hub 4-0:1.0: Cannot enable port 3. Maybe the USB cable is bad?
[17179982.492000] usb 4-3: new high speed USB device using ehci_hcd and address 12
[17179982.512000] usb 4-3: device descriptor read/8, error -71
[17179982.632000] usb 4-3: device descriptor read/8, error -71

I solved my problem through this link:
http://forum.ubuntu-fr.org/viewtopic.php?id=46380

Many thanks for your link, I will have a look.

On 25 Feb 2007, at 01:41, MarcosSoares wrote:

> My usb mouse got detected but my printer hp c3180 do not work.
> Messages
> from dmesg command:
>
> [17179980.924000] usb 4-3: new high speed USB device using ehci_hcd
> and address 9
> [17179981.260000] usb 4-3: unable to read config index 0 descriptor/
> all
> [17179981.260000] usb 4-3: can't read configurations, error -71
> [17179981.372000] usb 4-3: new high speed USB device using ehci_hcd
> and address 10
> [17179981.504000] usb 4-3: device descriptor read/all, error -71
> [17179982.380000] hub 4-0:1.0: Cannot enable port 3. Maybe the USB
> cable is bad?
> [17179982.492000] usb 4-3: new high speed USB device using ehci_hcd
> and address 12
> [17179982.512000] usb 4-3: device descriptor read/8, error -71
> [17179982.632000] usb 4-3: device descriptor read/8, error -71
>
> I solved my problem through this link:
> http://forum.ubuntu-fr.org/viewtopic.php?id=46380
>
> --
> "Cannot enable port 1. Maybe the USB cable is bad?" with usb mouse
> on toshiba laptop
> https://launchpad.net/bugs/35492

I also experience the same problem on a Toshiba Satellite SA40-141 - if that helps. Can I do anything to help solving the problem - although I am not a programmer I have to say.

Looks like acpi=off in /boot/grub/menu.lst did the trick for me.

This bug has had no activity for a considerable period. This is a check to see if there is still interest in investigating this bug report.
Bug commentary indicates people may have found solutions for this.

Changed in linux-source-2.6.15:
status: New → Incomplete

Closing.

Changed in linux-source-2.6.15:
assignee: ben-collins → nobody
status: Incomplete → Invalid
elhoir (jfarroyo82) wrote :

hello, i have this same bug with an Olivetti ANY WAY Photo printer, using Ubuntu 12.04 beta, kernel 3.2.0-19

im having this issue since Ubuntu 10.10, at least!

Changed in linux-source-2.6.15 (Ubuntu):
status: Invalid → Confirmed
status: Confirmed → Invalid
Changed in hotplug (Ubuntu):
status: Invalid → Confirmed
elhoir (jfarroyo82) wrote :

bug triggered in Ubuntu 2.10 (Quantal Quetzal) using kernel 3.5.0-18-generic

elhoir (jfarroyo82) wrote :

i meant, 12.10 :)

Phillip Susi (psusi) wrote :

Elhoir, please file a new bug against the linux package.

affects: hotplug (Ubuntu) → ubuntu
Changed in ubuntu:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments