LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-07-2006, 06:13 PM   #1
kcapc
LQ Newbie
 
Registered: Sep 2006
Posts: 5

Rep: Reputation: 0
Front panel USB connector issues.


I have never (not even in Windows) been able to get my front panel USB to operate. There are 4 ports on the back, 2 on the front.
Everything is enabled in the BIOS. The header is wired correctly.

Motherboard is an Intel D845PEBT2.

Debian, kernel 2.6.16.16

lspci output:

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

lsusb output:

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

Now, obviously only 4 are shown (likely the 4 in the rear), but the front ports are seen in syslog when a device is inserted:

Sep 7 18:07:48 beast kernel: usb 1-6: new high speed USB device using ehci_hcd and address 24
Sep 7 18:07:48 beast kernel: usb 1-6: new high speed USB device using ehci_hcd and address 25
Sep 7 18:07:49 beast kernel: usb 1-6: new high speed USB device using ehci_hcd and address 26
Sep 7 18:07:49 beast kernel: usb 1-6: new high speed USB device using ehci_hcd and address 27

the same device inserted into one of the rear ports

Sep 7 18:08:41 beast kernel: usb 1-4: new high speed USB device using ehci_hcd and address 28
Sep 7 18:08:41 beast kernel: usb 1-4: configuration #1 chosen from 1 choice
Sep 7 18:08:41 beast kernel: Initializing USB Mass Storage driver...
Sep 7 18:08:41 beast kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Sep 7 18:08:41 beast kernel: usbcore: registered new driver usb-storage
Sep 7 18:08:41 beast kernel: USB Mass Storage support registered.
Sep 7 18:08:46 beast kernel: Vendor: CREATIVE Model: MuVo TX FM Rev: 1182
Sep 7 18:08:46 beast kernel: Type: Direct-Access ANSI SCSI revision: 04
Sep 7 18:08:46 beast kernel: SCSI device sdb: 1003008 512-byte hdwr sectors (514 MB)
Sep 7 18:08:46 beast kernel: sdb: Write Protect is off
Sep 7 18:08:46 beast kernel: SCSI device sdb: 1003008 512-byte hdwr sectors (514 MB)
Sep 7 18:08:46 beast kernel: sdb: Write Protect is off
Sep 7 18:08:46 beast kernel: sdb: sdb1
Sep 7 18:08:46 beast kernel: sd 2:0:0:0: Attached scsi removable disk sdb


so everything is definitely aware of the front ports existance, but for some reason there is no communication with the device. Any suggestions?
 
Old 09-07-2006, 06:34 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
What modules are loaded? lsmod command
The modules for USB are ohci-hcd and uhci-hcd for 1.0-1.1 USB controllers
ehci-hcd for 2.0 controlers.

Now looking at your info it looks like there are 3 1.1 controllers and a 2.0 controller. Do you know which ports are what on the machine?
If the rear are 2.0 and the front is 1.0 then my guess it is one of the least supported controllers under uhci-hcd. ohci-hcd controllers are better supported over ones theat use uhci-hcd. My only other thought since Windows does not see it is that there is a wiring issue ( but you mentioned this in the post ) or the controller my be partitially bad.

Brian1
 
Old 09-07-2006, 07:31 PM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
In addition to Brian1's comments regarding the modules, are you completely sure that the front USB ports are wired correctly? Considering that you say it has never worked, you might want to challenge that assumption, and depending on your computer's case, you may be facing the same situation as I did with my Antec cabinet, which was that I had to connect each individual wire from the front panel (power button, indicator lights, USB, etc) to a single pin on the mobo, rather than having the wires grouped together in one or more single plastic connector blocks. Having to attach each wire to a specific pin was a PITA, and it took me a while to get everything sorted out. Initially nothing was working correctly on my front panel, but by experimenting a little and switching the USB wires to the opposite pins I got it to work. One factor that contributed to the confusion was that the mobo's manual used different terminology for the pins than the case manufacturer used on wires. I don't recall the specifics, but it was something like the mobo using labels like "USB+" and "USB-" but the wires using "USB-1" and "USB-2". It wasn't exactly obvious, and even though I read and re-read the manuals I finally just got fed up and used the process of elimination to get it to work.
 
Old 09-07-2006, 07:48 PM   #4
kcapc
LQ Newbie
 
Registered: Sep 2006
Posts: 5

Original Poster
Rep: Reputation: 0
thanks for the help

modules:

ehci_hcd 27144 0
uhci_hcd 26896 0
usb_storage 62528 1
usbcore 110752 4 usb_storage,ehci_hcd,uhci_hcd
ide_core 111152 6 usb_storage,ide_generic,ide_disk,ide_cd,piix,generic
scsi_mod 122572 3 usb_storage,sd_mod,libata

I don't recall what brand my case is, but it also has the seperated pins, two groups of three (+5V, +D, -D) a pair of grounds and a single ground. The grounds are correct, and this is board side:

VREG_FP_WSBPWR0, USB_FPP0-, USB_FPP0+ (s/0/1 for the other set).

Seems pretty clear that VREG is +5V with the other two being the corresponding data lines.

For the heck of it I flipped the connectors and I didn't even get "usb 1-6: new high speed USB device using ehci_hcd" so Im fairly certain the wiring is correct.
 
Old 09-07-2006, 08:00 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I have one motherboard with an internal header like you describe. I bought a floppy case that has 2 usb ports and few other features. When plugging in the connector and verifying it was correct it did not allow my machine to boot. When I removed it, it fired up fine. Never did mess with it beyond that. The board is a Tyan S2462 I think. The device that has the plug on it was a holder for a 3 /12 floppy and had a 2 port USB plug beside it in a 5 1/4 form factor.

I must agree with the label as a confusing mess. I kind of consider that but did not decide to investigate further. Maybe when I upgrade again I might play with before sending it to router box to upgrade it. Currently use a pci USB and Firewire card from Adaptec. Works great to use a USB drive to backup partitions.

Not sure what to do from here on your side.

Brian1

Last edited by Brian1; 09-07-2006 at 08:03 PM.
 
Old 09-07-2006, 08:13 PM   #6
kcapc
LQ Newbie
 
Registered: Sep 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Been thinking about what you said here
Quote:
The modules for USB are ohci-hcd and uhci-hcd for 1.0-1.1 USB controllers
ehci-hcd for 2.0 controlers.
And that ohci has better support... perhaps if I disabled USB2.0 in the BIOS so that all ports revert to 1.1? I'll give that a try once some stuff gets finished and I can reboot. Thanks.
 
Old 09-07-2006, 08:19 PM   #7
kcapc
LQ Newbie
 
Registered: Sep 2006
Posts: 5

Original Poster
Rep: Reputation: 0
whoa... how about that. It worked!

Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 002: ID 041e:4120 Creative Technology, Ltd
Bus 003 Device 001: ID 0000:0000


Thanks! I never would have known that the different USB versions use different modules.
 
Old 09-07-2006, 08:36 PM   #8
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Is the connector from the case 2.0 compliant. Not sure of the requirements between the two. I kind of thought that may have been my issue.

Brian1
 
Old 09-07-2006, 08:57 PM   #9
kcapc
LQ Newbie
 
Registered: Sep 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I found it, it is an Antec

http://www.antec.com/us/productDetails.php?ProdID=90511

And yeah it says they are 2.0.

the ehci module is no longer being loaded, so I have to conclude that the devices I have been trying to use on the front port have not been 2.0 complaint, and for some reason it wouldn't revert to 1.1. Dunno, but it works!
 
Old 09-07-2006, 11:28 PM   #10
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Excellent - congrats on solving the problem and thanks for posting back. Likewise thanks Brian1 for the excellent diagnosis and recommendations. Well done everyone!
 
Old 09-08-2006, 05:37 PM   #11
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Glad to see you have it figured out as well.

Brian1
 
  


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
Help with front panel mic input? skullmunky Linux - Hardware 1 03-08-2006 11:33 AM
Front panel mic not working NetRAVEN5000 Linux - Hardware 2 08-08-2005 04:38 PM
Front Panel Customization tomoki0621 AIX 1 04-23-2005 08:46 AM
Digital Camera and usb connector on Mandrake 10 kobica Linux - Hardware 1 08-03-2004 01:56 AM
Front panel Audigy 2 Dernier_recours Linux - Hardware 1 09-23-2003 10:59 AM

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

All times are GMT -5. The time now is 09:31 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