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 12-17-2008, 02:26 AM   #1
anroy
LQ Newbie
 
Registered: Aug 2006
Location: Tokyo
Distribution: Gentoo, Xandros
Posts: 18

Rep: Reputation: 0
Arrow USB drivers and versions


Hi,

Does anyone know how to find out the version number(s) of the kernel's USB driver(s)?

Thanks.
 
Old 12-17-2008, 03:38 AM   #2
cladisch
Member
 
Registered: Oct 2008
Location: Earth
Distribution: Slackware
Posts: 227

Rep: Reputation: 54
Quote:
Does anyone know how to find out the version number(s) of the kernel's USB driver(s)?
In the general case, drivers don't have version numbers; you can just take the kernel version number.

For the drivers that have a version number, you have to download the corresponding kernel source and look at the driver's source code.
 
Old 12-17-2008, 07:59 AM   #3
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,231
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
use modinfo to get information on modules,

It looks as though cladish is 100% correct. In the case of usb drivers there is no independent version numbers, just the kernel version.

Code:
userer@it-etch:~$ lsmod | grep usb
usb_storage            72000  0 
usbserial              29128  1 pl2303
usbhid                 37248  0 
ide_core              110504  5 usb_storage,ide_generic,ide_cd,generic,atiixp
scsi_mod              124168  6 sg,sr_mod,usb_storage,sd_mod,ahci,libata
usbcore               112644  7 usb_storage,pl2303,usbserial,usbhid,ehci_hcd,ohci_hcd

userer@it-etch:~$ su - 
Password: 
it-etch:~# modinfo ehci_hcd
filename:       /lib/modules/2.6.18-6-686/kernel/drivers/usb/host/ehci-hcd.ko
description:    10 Dec 2004 USB 2.0 'Enhanced' Host Controller (EHCI) Driver
author:         David Brownell
license:        GPL
vermagic:       2.6.18-6-686 SMP mod_unload 686 REGPARM gcc-4.1
depends:        usbcore
alias:          pci:v*d*sv*sd*bc0Csc03i20*
parm:           park:park setting; 1-3 back-to-back async packets (uint)
parm:           log2_irq_thresh:log2 IRQ latency, 1-64 microframes (int)

it-etch:~# modinfo ohci_hcd
filename:       /lib/modules/2.6.18-6-686/kernel/drivers/usb/host/ohci-hcd.ko
author:         Roman Weissgaerber, David Brownell
description:    2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver
license:        GPL
vermagic:       2.6.18-6-686 SMP mod_unload 686 REGPARM gcc-4.1
depends:        usbcore
alias:          pci:v*d*sv*sd*bc0Csc03i10*
parm:           no_handshake:true (not default) disables BIOS handshake (bool)
parm:           distrust_firmware:true to distrust firmware power/overcurrent setup (bool)

it-etch:~# modinfo usbhid
filename:       /lib/modules/2.6.18-6-686/kernel/drivers/usb/input/usbhid.ko
author:         Andreas Gal, Vojtech Pavlik
description:    USB HID core driver
license:        GPL
vermagic:       2.6.18-6-686 SMP mod_unload 686 REGPARM gcc-4.1
depends:        usbcore
alias:          usb:v*p*d*dc*dsc*dp*ic03isc*ip*
parm:           pb_fnmode:Mode of fn key on PowerBooks (0 = disabled, 1 = fkeyslast, 2 = fkeysfirst) (int)
parm:           mousepoll:Polling interval of mice (uint)

it-etch:~# modinfo usb_storage
filename:       /lib/modules/2.6.18-6-686/kernel/drivers/usb/storage/usb-storage.ko
author:         Matthew Dharm <mdharm-usb@one-eyed-alien.net>
description:    USB Mass Storage driver for Linux
license:        GPL
vermagic:       2.6.18-6-686 SMP mod_unload 686 REGPARM gcc-4.1
depends:        ide-core,usbcore,scsi_mod
Other modules you compile and add in may have a version number as is the case with this Atheros driver..

Code:
filename:       /lib/modules/2.6.26-1-686/kernel/drivers/net/ath_hal.ko
license:        Proprietary
version:        i386-elf: 0.10.5.6
description:    Atheros Hardware Access Layer (HAL)
author:         Errno Consulting, Sam Leffler
srcversion:     0A1FE312A435FE01528EB3D
depends:        
vermagic:       2.6.26-1-686 SMP mod_unload modversions 686

Last edited by farslayer; 12-17-2008 at 08:07 AM.
 
  


Reply

Tags
drivers, usb


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
X won't start with nvidia drivers:::multiple module versions R00ts Linux - Software 1 06-30-2008 02:10 PM
Bad video drivers in newer versions CyberInfantry Ubuntu 2 11-29-2007 07:50 AM
Drivers and kernel versions... generic_user Linux - Kernel 0 07-18-2007 01:22 PM
Nvidia drivers, kernel versions and Redhat 9 sausagejohnson Red Hat 1 08-17-2004 08:20 PM
How do I install drivers for hardware not seen by linux versions leobing Linux - Hardware 2 12-01-2003 02:18 PM


All times are GMT -5. The time now is 08:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration