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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
02-10-2004, 07:46 AM
|
#1
|
|
LQ Newbie
Registered: Feb 2004
Posts: 10
Rep:
|
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
|
|
|
|
02-10-2004, 09:03 AM
|
#2
|
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
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.
|
|
|
|
02-10-2004, 10:17 AM
|
#3
|
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
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 ....
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:56 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|