LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-15-2006, 11:21 AM   #1
isalmbio
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Rep: Reputation: 0
Linux Device Drivers


I'm a linux newbie, and I don't know anything about device drivers in linux.

I'm currently using debian etch. My sound card is not working.

I hope any one could help me on where and how to get and install device drivers under linux.
 
Old 12-15-2006, 12:07 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
to configure your soundcard open a shell and run alsaconf
this should automatically detect and configure your sound card

then open your mixer (sound volume application) and make sure the volume levels are set correctly and the channels are not muted.

then you can use alsactl store to save the settings so it should work the next time you boot your machine


Code:
itg-debian:~# alsaconf

MENU 1

Terminating processes: 1564.
Unloading ALSA sound driver modules: snd-intel8x0 snd-ac97-codec snd-pcm-oss snd-mixer-oss snd-pcm snd-timer snd-page-alloc snd-mpu401-uart snd-rawmidi snd-seq-device.
Building card database...

MENU ASKING YOU TO SELECT SOUND CARD IF THERE IS MORE THAN ONE

Running update-modules...
Loading driver...
Setting default volumes...


===============================================================================

 Now ALSA is ready to use.
 For adjustment of volumes, use your favorite mixer.

 Have a lot of fun!


itg-debian:~# alsamixer

itg-debian:~# alsactl store
itg-debian:~#

Last edited by farslayer; 12-15-2006 at 12:11 PM.
 
Old 12-16-2006, 10:02 AM   #3
isalmbio
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Original Poster
Rep: Reputation: 0
Cool What about other device drivers

Thanks a lot i'll try it now....

But also I'd like to know about how to obtain other device drivers, and how to install it in linux.
I mean for printers, vga-cards, internal modems,...... etc.

Also one last question:
my SATA hard disk is not mounted and every time I try to mount it I get an error: "/dev/sda5 is not removable".
Is this because it is SATA or because it is NTFS partitions or both ???


 
Old 12-16-2006, 11:25 AM   #4
IMOBoss
LQ Newbie
 
Registered: Oct 2006
Location: Imotski
Distribution: Slackware 11
Posts: 10

Rep: Reputation: 0
I have the same problem with my IDE hd.
When I try to mount I get dev/hdb7 is not removable?
sugestions please?
 
Old 12-16-2006, 11:33 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
For printers you would use CUPS
http://www.linuxprinting.org/cups-doc.html

dpkg install cupsys cupsys-client cupsys-driver-gutenprint
and possibly one or two other packages depending on the type of printer you have. the info you need to determin this you should be able to find at linuxprinting.org. you can tehn configure the printer using the CUPS web interface which will be at : http://localhost:631/



A new graphics card can be configured using the dpkg reconfiguration tool to get a basic working config going..
dpkg --reconfigure xserver-xorg
Then if it's ATI or nVidia there are how-to's you can use to install the proprietary Linux drivers so you can get 3D harware acceleration going..
Debian nvidia how-toFollow the Module assistant directions)
ati how-to (start at section4 and follow the module assistant directions..)




Internal modems.. erm. I dunno I haven't used a modem in I don't know how long.. someone else can field that one.




SATA drive with NTFS you need to have NTFS support available..
start by installing the latest ntfs drivers..
apt-get install ntfs-3g

then you should be able to mount te drive using
ntfs-3g /dev/sda5 /mnt/windows -o umask=0,nls=utf8

If that all works you can add it to yor /etc/fstab file so it will automatically mount
/dev/sda5 /mnt/windows ntfs-3g umask=0,nls=utf8 0 0



Drivers for pretty much every device are in the lINUX kERNEL, THE Debina repositories, or packages related to the device. the trick is learning how to find them. start practicing yuor Internet search techniques with searches like..
debain ntfs how-to
debian nvidia how-to
debian cups how-to
debian modem how-to

Make use of the Linux documentation projects such as http://www.tldp.org/
Become familiar with how to use the apt package management system http://www.debian.org/doc/manuals/apt-howto/
And as always drop by here and ask 'smart questions' to get relevant helpful answers.

The more info you provide about what DistributioN and version you are running and what specific hardware you are trying to setup the easier it will be for people to assist you .

Hope that helps

enjoy !!
 
  


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
Automatic Device Drivers for linux tstolber Linux - General 2 04-09-2006 04:06 PM
Writing Linux Device Drivers pr@vn_t Programming 3 08-22-2005 08:52 PM
Linux Device Drivers, BOOK Download redhatrosh General 2 06-04-2005 01:19 AM
linux kernel device drivers alaios Linux - General 1 08-16-2004 08:08 AM
linux device drivers alaios Programming 1 05-24-2003 08:23 PM

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

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