View previous topic :: View next topic |
Author |
Message |
knopper Tux's lil' helper
Joined: 20 Apr 2002 Posts: 106 Location: The Netherlands
|
Posted: Sat Apr 27, 2002 3:13 pm Post subject: Kernelsound (no ALSA) |
|
|
Since ALSA 0.9.0 doesn't work that well yet, I'm thought of enabling sound by using the standard kernelmodules. It all goes well, but when I enter the command "MAKEDEV audio" in the directory /dev I'm getting this output:
mv: cannot move 'smtpe3-' to 'smtpe3' : Operation not permitted
This file isn't the only one, there are a lot more.
How can I solve this? I've already tried "chmod 777 smtpe3-" but this doesn't work.
I also have a less important question:
When I update packages, like ALSA, the old packages also stays installed, how can I configure it that when in update a package that the old one will be deleted.
Thanx |
|
Back to top |
|
|
celtic_hack n00b
Joined: 19 Apr 2002 Posts: 20 Location: Liberty, MO
|
Posted: Sun Apr 28, 2002 4:40 am Post subject: Re: Kernelsound (no ALSA) |
|
|
knopper wrote: | Since ALSA 0.9.0 doesn't work that well yet, I'm thought of enabling sound by using the standard kernelmodules. It all goes well, but when I enter the command "MAKEDEV audio" in the directory /dev I'm getting this output:
mv: cannot move 'smtpe3-' to 'smtpe3' : Operation not permitted
|
It looks like you are using devfs. devfs uses a different mechanism.
you need to modify your /etc/devfsd.conf file
Alsa creates these entries
# ALSA/OSS stuff
# Comment/change these if you want to change the permissions on
# the audio devices
LOOKUP snd MODLOAD ACTION snd
LOOKUP dsp MODLOAD
LOOKUP mixer MODLOAD
LOOKUP midi MODLOAD
REGISTER sound/.* PERMISSIONS root.audio 660
REGISTER snd/.* PERMISSIONS root.audio 660
I'm not real up on devfs myself, still having an issue with my cardreader. I know you can create the device using this file, also richard gooch's site
[http://www.atnf.csiro.au/people/rgooch/linux/docs/devfs.html]
has the devfs documentation. If you know your major minor numbers you can generate the device you need and make sure you have this enabled in the devfsd.conf
# Uncomment this if you want permissions to be saved and restored
# NB: Do NOT change the following!
# Do not do this for pseudo-terminal devices
REGISTER ^pt[sy]/.* IGNORE
CHANGE ^pt[sy]/.* IGNORE
CREATE ^pt[sy]/.* IGNORE
DELETE ^pt[sy] IGNORE
REGISTER .* COPY /lib/dev-state/$devname $devpath
CHANGE .* COPY $devpath /lib/dev-state/$devname
CREATE .* COPY $devpath /lib/dev-state/$devname
DELETE .* CFUNCTION GLOBAL unlink /lib/dev-state/$devname
RESTORE /lib/dev-state _________________ Celt
One OS to rule them all ... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|