Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo MAKEDEV audio errors
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
toni
n00b
n00b


Joined: 25 Sep 2002
Posts: 60
Location: Ljubljana, Slovenia

PostPosted: Sat Oct 05, 2002 9:16 pm    Post subject: Gentoo MAKEDEV audio errors Reply with quote

Hello!

I am trying to use the standard procedure for creating audio devices on a Linux box. MAKEDEV audio returns:

mv: cannot move `mixer-' to `mixer': Operation not permitted
mv: cannot move `sequencer-' to `sequencer': Operation not permitted
mv: cannot move `midi00-' to `midi00': Operation not permitted
mv: cannot move `dsp-' to `dsp': Operation not permitted
mv: cannot move `audio-' to `audio': Operation not permitted
mv: cannot move `sndstat-' to `sndstat': Operation not permitted
mv: cannot move `mixer1-' to `mixer1': Operation not permitted
mv: cannot move `midi01-' to `midi01': Operation not permitted
mv: cannot move `dsp1-' to `dsp1': Operation not permitted
mv: cannot move `audio1-' to `audio1': Operation not permitted
mv: cannot move `midi02-' to `midi02': Operation not permitted
mv: cannot move `midi03-' to `midi03': Operation not permitted
mv: cannot move `mpu401data-' to `mpu401data': Operation not permitted
mv: cannot move `mpu401stat-' to `mpu401stat': Operation not permitted
mv: cannot move `midi0-' to `midi0': Operation not permitted
mv: cannot move `rmidi0-' to `rmidi0': Operation not permitted
mv: cannot move `smtpe0-' to `smtpe0': Operation not permitted
mv: cannot move `midi1-' to `midi1': Operation not permitted
mv: cannot move `rmidi1-' to `rmidi1': Operation not permitted
mv: cannot move `smtpe1-' to `smtpe1': Operation not permitted
mv: cannot move `midi2-' to `midi2': Operation not permitted
mv: cannot move `rmidi2-' to `rmidi2': Operation not permitted
mv: cannot move `smtpe2-' to `smtpe2': Operation not permitted
mv: cannot move `midi3-' to `midi3': Operation not permitted
mv: cannot move `rmidi3-' to `rmidi3': Operation not permitted
mv: cannot move `smtpe3-' to `smtpe3': Operation not permitted

So I am left with a bunch of *- files.
Not to mention the wierd directory entry for dev:
drwxr-xr-x 1 root root 0 Jan 1 1970 dev

Anyone seen this problem yet?
_________________
[img]http://anduin.eldar.org/cgi-bin/fortune.pl?fortune_db=pratchett&background=transparent[/img]
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sat Oct 05, 2002 11:27 pm    Post subject: Reply with quote

If you're using devfs, you don't need to (or want to) run MAKEDEV. /etc/devfsd.conf is generally where you want to make changes to the contents of /dev. Does rebooting clean things out any?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
toni
n00b
n00b


Joined: 25 Sep 2002
Posts: 60
Location: Ljubljana, Slovenia

PostPosted: Sun Oct 06, 2002 12:57 pm    Post subject: I am just too old. Reply with quote

Ok.
Now I realize just how old I am getting.

I also realize that there is nothing in the realm of sound inside my /etc/devfsd.conf
Reboot doesn't help (although I wanted to do it to enable SB emulation on my motherboard, which hosts a VT82C686 AC97 Audio Controller)
KDE just complains there is no /dev/dsp, which there isn't.

Dmesg says this about the sound system
devfs_mk_dir(sound): using old entry in dir: dfff25c0 ""

I will search the net to find more resources, but if there's a quick way (cut and paste) for /etc/devfsd.conf to add sound devices, i'd be delighted.

Thnx for info!
_________________
[img]http://anduin.eldar.org/cgi-bin/fortune.pl?fortune_db=pratchett&background=transparent[/img]
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Oct 06, 2002 5:06 pm    Post subject: Reply with quote

Section 4.Sound of the Desktop Guide might help. Specifically, Code listing 24 & 25.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
toni
n00b
n00b


Joined: 25 Sep 2002
Posts: 60
Location: Ljubljana, Slovenia

PostPosted: Mon Oct 07, 2002 3:26 am    Post subject: Interesting concept. Reply with quote

As I got deeper and deeper into this, I realized that it's not really that mundane.
Nevertheless. I am now using ALSA drivers which seem to enable me to use sound devices as a regular user (a member of audio group though).
With the old OSS drivers the devfsd would manage the old-old devices, such as /dev/dsp or /dev/audio. The result is a symlink to a new-old /dev/sound/dsp or /dev/sound/audio. While the REAL devices had proper permissions and ownership, the linked ones were root.root owned and hed totally wrong permissions.
So much for ease of setup.

Now things seem to work out ok, apart from the unfortunate Kmix in KDE not being able to do anything. No sliders no controls, no nothing. Some source suggested that alsa-xmms should be emerged, but the sheer amount of dependencies put me off. Shouldn't KDE work with ALSA?

Oh, yes! There is an alsa conf file in /etc, that I am supposed to write in order to unmute the thingy on bootup. The information on this file is VERY RUSTIC to put it mildly. A bunch of monkeys typing the Encyclopedia Britanica would eventually get it right, but....

Any ideas on this Kmix problem?
_________________
[img]http://anduin.eldar.org/cgi-bin/fortune.pl?fortune_db=pratchett&background=transparent[/img]
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