Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernelsound (no ALSA)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
knopper
Tux's lil' helper
Tux's lil' helper


Joined: 20 Apr 2002
Posts: 106
Location: The Netherlands

PostPosted: Sat Apr 27, 2002 3:13 pm    Post subject: Kernelsound (no ALSA) Reply with quote

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
View user's profile Send private message
celtic_hack
n00b
n00b


Joined: 19 Apr 2002
Posts: 20
Location: Liberty, MO

PostPosted: Sun Apr 28, 2002 4:40 am    Post subject: Re: Kernelsound (no ALSA) Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
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