LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-10-2004, 07:46 AM   #1
Tanguy
LQ Newbie
 
Registered: Feb 2004
Posts: 10

Rep: Reputation: 0
Question modprobe.conf 2.6.2 DIY


I've compiled the Vanilla 2.6.2 over a Mandrake 9.2, and (now) everything is _almost_ running perfect....
I still have problems having my modules (sound card) to start up at boot time. If i do a modprobe snd_intel8x0, it loads fine, and I can use it, but how can I have it to launch at boot time ?

My modprobe.conf was empty, so i created the line :
alias snd-card-0 snd_intel8x0
And now it loads after a while in the kernel, but the alsamixer setting are not saved, they're all muted at every bootup...


Then I wanna use a usb device. To make it work as soon as I plug it (a usb still camera), how do i do ?
I have usb support in my kernel, I have usb mass storage driver, and I've put in fstab a line like this :
none /proc/bus/usb usbfs defaults 0 0
I can see, then, the camera listed in the device file under /proc/bus/usb/devices, but how can I have access to it ?

That's a bit more than 1 question... sorry... any help is appreciated !

Thanx,

Tanguy
 
Old 02-10-2004, 09:03 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 65
For the first problem, the alsa sound levels, I would do something like this in an init script:

start up:
Code:
if [ -f /etc/aumixrc ] ; then
      ebegin "Loading Mixer settings"
      /usr/bin/aumix -f /etc/aumixrc -L >/dev/null 2>&1
   else
      ebegin "Setting Mixer settings"
      /usr/bin/aumix -v75 -c75 -w75 >/dev/null 2>&1
   fi
This will read mixer values from /etc/aumixrc and if it isn't there it'll just set the levels to 75%.

shutdown:
Code:
/usr/bin/aumix -f /etc/aumixrc -S >/dev/null 2>&1
Saves whatever your current settings are to /etc/aumixrc so when you boot up next time they will be the same.

As far as having the usb device mount automatically, you need to use supermount which I believe Mandrake includes automatically.
 
Old 02-10-2004, 10:17 AM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 58
well since you didn't mention it i am going to have to ask ....
after changing volume settings alsamixer, did you run
alsactl store
?

as of your camera, are you mounting it ?
something like
mount -t vfat /dev/sda1 /mnt/camerafiles
would be a similiar command you would be using, unless like stated above if you want to use that silly automount stuff ....
 
  


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
rc.modules, modprobe.conf????? nostromo Slackware 7 10-04-2005 09:53 AM
modprobe.conf from modules.conf Vaxon Linux - Hardware 1 09-22-2004 05:22 AM
i lost my modprobe.conf sesteban Linux - Newbie 1 08-11-2004 12:12 PM
[FC2] How to write a modprobe.conf from a module.conf??? Coume Fedora 0 05-31-2004 03:40 AM
modprobe.conf howto demmylls Linux - General 1 01-21-2004 10:11 AM


All times are GMT -5. The time now is 10:51 PM.

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