Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My computer has been printing errors about an internal connection problem on port 2. How can I determine what and where port 2 is on my computer?
Need a bit more info than that. An output of the error may possibly help. When does the printing of this error occur? Are you doing anything in particular before this error occurs? What flavour of Linux are you running?
Need a bit more info than that. An output of the error may possibly help. When does the printing of this error occur? Are you doing anything in particular before this error occurs? What flavour of Linux are you running?
Sorry to be so brief. Here is all of the details:
Output:
"hub 1-2:1.0 Cannot enable port 2. Maybe the USB cable is bad?"
As I have found through searches on-line, this message aparently means that my USB port has a problem, such as a loose wire. USB port is the word I use to refer to the place on the back of my laptop where I plug in USB devices, such as mice or external drives into. I have only one USB port, but I want to be positive that this is what it is being refered to, considering that 1) I have run different USB devices on it and they seem to work fine, 2) repairing the USB port requires me to disassemble most of the laptop.
This message is displayed once, about every second, and appears inside the console, so if I hit CTRL+ALT+F1 it is visible. It also appears during startup and shutdown, mixed within all of the other "normal" startup and shutdown text. Plugging in/removing devices does not change the message, although additional messages do appear telling me when a newly plugged in device has been detected.
I am running Debian Etch. I am trying to get ahold of another Linux distribution, so I can see if Etch or the kernel Etch uses is at fault.
Is it just happening with one particular device attached and not with other devices? Assuming so, it is probably a physical problem with that device rather than the port on your computer. Some usb devices have built in hubs and it could be a problem with a "pass through" usb port.
Is it just happening with one particular device attached and not with other devices? Assuming so, it is probably a physical problem with that device rather than the port on your computer. Some usb devices have built in hubs and it could be a problem with a "pass through" usb port.
It is not happening with just one particular device: this message appears all of the time, regardless of what is plugged in, or whether or not anything is plugged in at all. It appears when my mouse is plugged in, it appears when my external CD-ROM drive is plugged in, and it appears when nothing is plugged in. The message is just constantly repeated, about once every second, regardless of what I do.
It is not happening with just one particular device: this message appears all of the time, regardless of what is plugged in, or whether or not anything is plugged in at all. It appears when my mouse is plugged in, it appears when my external CD-ROM drive is plugged in, and it appears when nothing is plugged in. The message is just constantly repeated, about once every second, regardless of what I do.
I don't know how many usb ports you have on your laptop, but using an app like usbview may help identify which is port 2.
I have just one spot to plug in USB devices. Okay, I installed usbview, and it outputs the following information:
Quote:
Originally Posted by UHCI Host Controller
UHCI Host Controller
Manufacturer: Linux 2.6.18-4-686 uhci_hcd
Serial Number: 0000:00:07.2
Speed: 12Mb/s (full)
Number of Ports: 2
Bandwidth allocated: 104 / 900 (12%)
Total number of interrupt requests: 2
Total number of isochronous requests: 0
USB Version: 1.10
Device Class: 09(hub )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 64
Number of Configurations: 1
Config Number: 1
Number of Interfaces: 1
Attributes: e0
MaxPower Needed: 0mA
Interface Number: 0
Name: hub
Alternate Number: 0
Class: 09(hub )
Sub Class: 0
Protocol: 0
Number of Endpoints: 1
Endpoint Address: 81
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 2
Interval: 255ms
Quote:
Originally Posted by Optical USB Mouse
Optical USB Mouse
Manufacturer: Logitech
Speed: 1.5Mb/s (low)
USB Version: 2.00
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 046d
Product Id: c016
Revision Number: 3.40
Config Number: 1
Number of Interfaces: 1
Attributes: a0
MaxPower Needed: 100mA
Interface Number: 0
Name: usbhid
Alternate Number: 0
Class: 03(HID )
Sub Class: 1
Protocol: 2
Number of Endpoints: 1
Endpoint Address: 81
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 4
Interval: 10ms
Quote:
Originally Posted by Generic USB Hub
Generic USB Hub
Manufacturer: ALCOR
Speed: 12Mb/s (full)
Number of Ports: 4
USB Version: 1.10
Device Class: 09(hub )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 058f
Product Id: 9254
Revision Number: 3.14
Config Number: 1
Number of Interfaces: 1
Attributes: e0
MaxPower Needed: 100mA
Interface Number: 0
Name: hub
Alternate Number: 0
Class: 09(hub )
Sub Class: 0
Protocol: 0
Number of Endpoints: 1
Endpoint Address: 81
Direction: in
Attribute: 3
Type: Int.
Max Packet Size: 1
Interval: 255ms
I don't know what any of this means. Does this indicate that the error "hub 1-2:1.0 Cannot enable port 2. Maybe the USB cable is bad?" is in fact my USB port, and it is my USB port acting up? I don't see where any of the numbers match up the ones printed out by usbview.
When you plug a usb device into a port it will appear in the app. This way you can determine by a process of elimination which port is which. BTW, you suspect it may be a faulty cable, have you tried another one?
When you plug a usb device into a port it will appear in the app. This way you can determine by a process of elimination which port is which.
I plugged in a USB device and its details appeared, I posted them in the previous post, under "Optical USB Mouse".
Quote:
BTW, you suspect it may be a faulty cable, have you tried another one?
I don't know if it is a faulty cable, but that is what the error message I get says. It says that regardless of what or whether anything is plugged into it. The cable for the USB devices themselves are all fine: my USB devices have been tested on another Linux machine and they work fine.
Might the error be refering to a cable inside the computer connecting the USB port to the rest of the computer? This is what I am trying to determine. The error that I recieve says:
Quote:
Originally Posted by ERROR
hub 1-2:1.0 Cannot enable port 2. Maybe the USB cable is bad?
Let me rephrase my question: When the above error message refers to "hub 1-2:1.0" and "port 2" is this really refering to my USB port? I posted information about my USB port, but I don't see anything in it that says hub 1-2:1.0.
It certainly seems like it's an internal error of some kind inside the computer. I think the message about 'bad cable' is because it's assumed your usb is connected via a cable to the motherboard. This maybe true, although I've yet to see a laptop that uses a cable internally for the usb ports. Perhaps you should get the laptop checked by a qualified repairer.
I have come up with two convergent theories about what is going on, anyone think either might be on the right track?
I just got a PCMCIA card and it is not working (I will try to find the exact error). It is a wifi card that has a power indicator light and connection light. Now I have never used one of these, but I think when plugged in that the power indicator light should come on. Should the light come on? This got me wondering...
First, since the USB works, but the PCMCIA doesn't maybe the error I am getting about a bad cable is actually talking about the PCMCIA port?
Second, is it normal for USB devices to come in pairs and don't PCMCIA bays usually allow you to put in two cards?[/B] My laptop allows you to plug in only 1 USB device and put in one PCMCIA card. The spots for these are essentially right next to each other (at right angles). Is it possible that my laptop has an odd piece of hardware that handles 1 USB and 1 PCMCIA and Debian, thinking these comes in pairs, incorrectly thinks that it should be looking at a second USB port where there is actually a PCMCIA port, hense it gives me constant errors about cable problems?
To avoid confusing anyone: I am not saying that I have a PCMCIA card that I can put in the PCMCIA slot to allow me to use USB. I have an empty PCMCIA bay and right next to it a USB port.
When the computer first boots, like a second after I push power, it says that it found a USB Hub. Are USB hubs usually external, as seen at this Wikipedia entry? Or could "USB Hub" also refer to something built-in to the laptop? I am wondering, because this laptop came without Floppy/CD/DVD drives; the person who sold me the laptop had to install a fresh copy of Windows XP onto the system (which I have since deleted) before sending it to me...and they send lots of the same laptop. Would they have used a USB hub to install Windows XP only multiple systems at once? Is it possible that my computer (or BIOS) believes there is still an external USB hub attached, when this is no longer the case?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.