LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 08-28-2008, 04:28 PM   #1
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Rep: Reputation: 32
Question How would I know what to modprobe, what to m-a a-i, etc for hardware?


In general Debian's hardware support is great, but occasionally I need to modprobe a driver or run 'm-a a-i ___' . This often seems to work but its just due to random stumble-upons over the net.

How do people know which hardware and the corresponding software to do this with?
 
Old 08-28-2008, 04:46 PM   #2
wernerz
Member
 
Registered: Jun 2008
Location: Ottawa, Ontario, Canada
Distribution: debian, dsl-n
Posts: 55

Rep: Reputation: 15
modprobe -l|more = List all available kernel modules

lspci = Will display pci devices on you're system

lsusb = Will display usb devices

lsmod = Display loaded modules

I have used lspci and lsusb to find my hardware. Then I do the modprobe -l|more to try and match a module with a hardware device. The modprobe -l |more command will display drivers by type. Example below:

$ modprobe -l

/lib/modules/2.6.12/net/wlan_xauth.ko
/lib/modules/2.6.12/net/wlan_wep.ko
/lib/modules/2.6.12/net/wlan_tkip.ko
/lib/modules/2.6.12/net/wlan_ccmp.ko
/lib/modules/2.6.12/net/wlan_acl.ko
/lib/modules/2.6.12/net/wlan.ko
/lib/modules/2.6.12/net/ath_rate_onoe.ko
/lib/modules/2.6.12/net/ath_pci.ko
/lib/modules/2.6.12/net/ath_hal.ko
/lib/modules/2.6.12/misc/ndiswrapper.ko
/lib/modules/2.6.12/misc/ltserial.ko
/lib/modules/2.6.12/misc/ltmodem.ko
/lib/modules/2.6.12/linux-wlan-ng/prism2_usb.ko
/lib/modules/2.6.12/linux-wlan-ng/prism2_plx.ko
/lib/modules/2.6.12/linux-wlan-ng/prism2_pci.ko
/lib/modules/2.6.12/linux-wlan-ng/prism2_cs.ko
/lib/modules/2.6.12/linux-wlan-ng/p80211.ko
/lib/modules/2.6.12/kernel/sound/usb/usx2y/snd-usb-usx2y.ko
/lib/modules/2.6.12/kernel/sound/usb/snd-usb-lib.ko
/lib/modules/2.6.12/kernel/sound/usb/snd-usb-audio.ko
/lib/modules/2.6.12/kernel/sound/synth/snd-util-mem.ko
/lib/modules/2.6.12/kernel/sound/synth/emux/snd-emux-synth.ko
/lib/modules/2.6.12/kernel/sound/soundcore.ko
/lib/modules/2.6.12/kernel/sound/pcmcia/vx/snd-vxpocket.ko
/lib/modules/2.6.12/kernel/sound/pcmcia/vx/snd-vxp440.ko
/lib/modules/2.6.12/kernel/sound/pcmcia/vx/snd-vx-cs.ko
/lib/modules/2.6.12/kernel/sound/pcmcia/pdaudiocf/snd-pdaudiocf.ko
/lib/modules/2.6.12/kernel/sound/pci/ymfpci/snd-ymfpci.ko
/lib/modules/2.6.12/kernel/sound/pci/vx222/snd-vx222.ko

Hope this helps a bit.

Last edited by wernerz; 08-28-2008 at 04:48 PM.
 
Old 09-19-2008, 02:13 PM   #3
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Original Poster
Rep: Reputation: 32
Ok but recently I got an older webcam; when I plug it in I get this:

$ dmesg
...
...
[19490.687420] usb 4-1.4: new full speed USB device using ehci_hcd and address 6
[19490.782448] usb 4-1.4: configuration #1 chosen from 1 choice
[19490.783932] usb 4-1.4: New USB device found, idVendor=05a9, idProduct=8519
[19490.783940] usb 4-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[19490.783944] usb 4-1.4: Product: USB Camera
[19490.783947] usb 4-1.4: Manufacturer: OmniVision Technologies, Inc.

$ lsusb
Bus 001 Device 003: ID 413c:3010 Dell Computer Corp. Optical Wheel Mouse
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 006: ID 05a9:8519 OmniVision Technologies, Inc. OV519 WebCam
Bus 004 Device 002: ID 0424:2504 Standard Microsystems Corp. USB 2.0 Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

So I now know that this USB device is also known as '05a9:8519' -- but what driver would I search for to match this device?
 
Old 09-19-2008, 03:05 PM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,436

Rep: Reputation: 83
http://alpha.dyndns.org/ov511/cameras.html
http://www.rastageeks.org/ov51x-jpeg....php/Main_Page
 
Old 09-25-2008, 01:16 PM   #5
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Original Poster
Rep: Reputation: 32
Thanks; I was hoping for something within apt/aptitude or even within some sort of official Debian HCL website.

I was able to google the driver for this before the post, but my question is: how would I know that if, say, there were no results from my websearch? How would I know that if someone didn't spend the time making these websites?

Where would I point a newbie to find drivers for their hardware, without hoping they'll stumble across it on various weblinks that may be relevant but are "wrong" in their eyes because the branding is different on the casing?

How is this done without a websearch?
 
Old 09-25-2008, 02:53 PM   #6
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,228
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
The web is your documentation for Linux, whenever you deal with various hardware you will end up doing some searching t find out which module to load or what driver to use. I prefer to search BEFORE I buy hardware to find a device that is well supported in Linux. That reduces the amount of custom modules that need installed or compiled.

The Internet is your documentation for Windows as well. The issues I ran into on my Production MS SQL Server and our MS Dynamics AX Accounting system today would not have been resolved in a timely fashion without Google, and the various other bits of documentation out there on the web. We spent around $250,000.00 on the accounting system and licensing and I still end up searching the Internet for answers. Kinda sick isn't it ?
 
  


Reply

Tags
drivers, hardware, ma, modprobe


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
Error message: modprobe: modprobe: can't locate module nls_iso8859-1 berty800 Linux - Hardware 1 06-06-2008 09:07 AM
Ndiswrapper installed driver installed, hardware present, but modprobe doesn't likeit Flukey Linux - Hardware 1 04-14-2007 11:22 AM
Ndiswrapper sees hardware, driver but will not modprobe kvgeorge1 Linux - Wireless Networking 1 05-16-2006 06:40 PM
Making modprobe pcspkr stick with modprobe.preload? gm4jjj Fedora 3 06-16-2004 03:27 AM
modprobe: modprobe can't locate module ppp0 in redhat 7.1 while shutting down. cyberdude3k Linux - Networking 1 09-08-2003 12:01 PM


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