LinuxQuestions.org
Visit Jeremy's Blog.
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 01-05-2005, 11:51 AM   #1
JediGuy_bob
LQ Newbie
 
Registered: Apr 2004
Location: Albuquerque/Chicago
Posts: 22

Rep: Reputation: 15
Determining USB modules (ohci vs. uhci)


Alright, here is my question:

Is there an easy way of determining which USB module to use (ohci or uhci) from dmesg (or anywhere for that matter) that could easily be added to a script?

I have tried a number of tricks (such as dmesg|grep Intel, dmesg|grep VIA, cat /proc/bus/usb...) but they seem to be ineffective compared to just loading both modules and checking to see which one gets an error message. The reason I am doing this is because it needs to be done on a number of machines remotely.

Thanks for help in advance!


-bob
 
Old 01-05-2005, 01:04 PM   #2
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
lspci
 
Old 01-06-2005, 11:37 AM   #3
JediGuy_bob
LQ Newbie
 
Registered: Apr 2004
Location: Albuquerque/Chicago
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks! I also found out that grep -i usb /proc/pci also works as well. Thanks again!
 
Old 01-06-2005, 12:25 PM   #4
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
There is also lsusb. Both lspci and lsusb actually work by reading /proc. They just print the info out in human friendly format. Glad to have helped.

Last edited by kevinalm; 01-06-2005 at 12:28 PM.
 
  


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
disable 'usbcore' and 'uhci' modules on boot... lazlow69 Slackware 6 05-09-2004 07:52 PM
usb modem : Can ping, but cant browse - and cant modprobe usb-uhci nmoog Linux - Newbie 8 01-07-2004 11:50 PM
can I install usb-ohci module when I already have usb-uhci? krapaud Mandriva 9 11-17-2003 02:31 AM
Siemens Santis 10 ADSL USB -> usb-ohci error ph_gachoud Linux - Hardware 0 11-03-2003 02:59 AM
Red Hat Linux 8 hangs at initializing usb controller (usb-uhci) subaschan Linux - General 5 09-15-2003 02:49 AM

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

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