LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-27-2004, 01:23 PM   #1
LouisTheDamned
LQ Newbie
 
Registered: Mar 2004
Posts: 18

Rep: Reputation: 0
Hardware Manipulation From Command Line


Im running Mandrake 9.1 and Ive found the Mandrake Control
Center to be lacking in ability to disable hardware, add hardware,
check drivers, etc.

Are there command line options that might work better?

Thanks in advance
 
Old 03-27-2004, 02:19 PM   #2
wiBo
Member
 
Registered: Aug 2003
Location: Saint-Georges de Beauce
Distribution: Gentoo soon..
Posts: 193

Rep: Reputation: 30
Use the control center, cauz in command line = harder :/

So?
 
Old 03-27-2004, 04:42 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
From console it's not that easy. As drivers are kernel modules you load a driver by loading a module, unload - by unloading and so on.

To load a module you run
modprobe modulename
To unload
rmmod modulename
To list all loaded modules
lsmod

A module won't load if it can't find hardware it supports. So to load driver for your hardware you need to know which module to load (usually kernel documentation can tell you which drivers supports which hardware).

Also /proc/ directory may be helpful. For instance, if you run
cat /proc/pci
all PCI devices are listed (with basic info)
 
  


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
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 08:19 PM
command line / hardware question Drissical Linux - Newbie 3 09-25-2004 11:13 PM
Command line version of Hardware Browser? weshutchins Linux - Hardware 2 09-22-2004 04:24 PM
configuring video hardware from command line redbeansnrice Linux - Hardware 1 09-02-2004 06:51 PM
linux hardware specs from command line? computera Linux - General 4 11-05-2002 05:54 PM


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