You are not logged in.

#1 2004-12-13 08:51:15

tx-cary
Member
From: China
Registered: 2004-12-13
Posts: 43

Questions about /dev/dsp and /dev/cdrom

These two files can not be found in archlinux's filesystem. I seems being transform to /dev/snd/pcmC0D0p and /dev/cdroms/cdrom0. But it cost some problems.

For example, mp3blaster can not open the sound device, and the CD-player of KDE need /dev/cdrom to play audio-CD.

I tried to make some soft link, but after I reboot my machine, they all disappeared!


The repo for Chinese software、fonts and IM
[archcn]
Server = http://arch.ourlinux.net:81/archcn

Offline

#2 2004-12-13 10:04:06

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: Questions about /dev/dsp and /dev/cdrom

you have to configure udev rules to recreate the symlinks every reboot. If you are not using udev upgrade to from devfs to udev.

Offline

#3 2004-12-13 10:28:40

luisfelipe
Member
Registered: 2004-05-06
Posts: 96

Re: Questions about /dev/dsp and /dev/cdrom

I believe that if you use the modules 'snd_pcm_oss' and 'snd_mixer_oss', they will create
automatically the symlink for /dev/dsp .
About the cdrom, you're gonna have to do as said on the post above.

Offline

#4 2004-12-13 14:58:09

tx-cary
Member
From: China
Registered: 2004-12-13
Posts: 43

Re: Questions about /dev/dsp and /dev/cdrom

Thank you a lot. I will try it later!


The repo for Chinese software、fonts and IM
[archcn]
Server = http://arch.ourlinux.net:81/archcn

Offline

#5 2004-12-13 15:16:36

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Questions about /dev/dsp and /dev/cdrom

for the cdrom, it is better to use /dev/cdroms/cdrom0 than the /dev/cdrom symlink... whatever program you are using, you can modify the config for this.
As for the sound devices... /dev/dsp and other sound things are legacy device nodes (OSS) so you need to enable oss emulation by modprobing snd-pcm-oss

Offline

#6 2004-12-14 10:49:16

Pajaro
Member
Registered: 2004-04-21
Posts: 884

Re: Questions about /dev/dsp and /dev/cdrom

Initially I keeped using the /dev/cdroms/cdrom0 symlink, but a lot of programs use by default the /dev/cdrom symlink, so finally I created it to forget forever having to change the default config of every program that uses cd-rom.

Offline

Board footer

Powered by FluxBB