LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 12: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, 01: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, 03:42 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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



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 07:19 PM
command line / hardware question Drissical Linux - Newbie 3 09-25-2004 10:13 PM
Command line version of Hardware Browser? weshutchins Linux - Hardware 2 09-22-2004 03:24 PM
configuring video hardware from command line redbeansnrice Linux - Hardware 1 09-02-2004 05:51 PM
linux hardware specs from command line? computera Linux - General 4 11-05-2002 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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