LinuxQuestions.org
Help answer threads with 0 replies.
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-28-2007, 04:39 PM   #1
General
Member
 
Registered: Aug 2005
Distribution: Debian 7
Posts: 526

Rep: Reputation: 31
How to determine where "port 2" is?


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?
 
Old 04-28-2007, 06:35 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by General
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?
 
Old 04-28-2007, 08:54 PM   #3
General
Member
 
Registered: Aug 2005
Distribution: Debian 7
Posts: 526

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by {BBI}Nexus{BBI}
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.

Last edited by General; 04-28-2007 at 08:56 PM.
 
Old 04-28-2007, 09:12 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
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.
 
Old 04-28-2007, 11:42 PM   #5
General
Member
 
Registered: Aug 2005
Distribution: Debian 7
Posts: 526

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by lazlow
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.
 
Old 04-29-2007, 10:04 AM   #6
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally Posted by General
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.
 
Old 05-03-2007, 01:02 AM   #7
General
Member
 
Registered: Aug 2005
Distribution: Debian 7
Posts: 526

Original Poster
Rep: Reputation: 31
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.
 
Old 05-03-2007, 07:27 PM   #8
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
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?
 
Old 05-03-2007, 07:59 PM   #9
General
Member
 
Registered: Aug 2005
Distribution: Debian 7
Posts: 526

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by {BBI}Nexus{BBI}
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.
 
Old 05-03-2007, 08:44 PM   #10
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
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.
 
Old 05-07-2007, 12:26 AM   #11
General
Member
 
Registered: Aug 2005
Distribution: Debian 7
Posts: 526

Original Poster
Rep: Reputation: 31
I have come up with two convergent theories about what is going on, anyone think either might be on the right track?
  1. 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.


  2. 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?

Last edited by General; 05-07-2007 at 12:42 AM.
 
  


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
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
determine Sendmail not to accept arbitrary "Mail From:" tag alext Linux - Networking 0 07-15-2006 01:25 PM
"Opposite" to a "Listening" in Port Lingo General_Tso Linux - Security 6 02-11-2004 11:19 AM
"httpd cannot determine local host name" hty Linux - Software 1 08-05-2003 09:53 AM
firewall.rc.config says :"open port 8080" but nmap says port is closed saavik Linux - Security 2 02-14-2002 12:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:25 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
Open Source Consulting | Domain Registration