You are not logged in.
hi,
how actually if we want to determine where is hardware mounted in /dev. For example, sound which is not /dev/dsp on my system. I need to know where exactly the sound for vmware to use it.
thanks
Offline
Offline
i've these in /dev/snd, which one to choose?
crw-rw---- 1 root audio 116, 0 2006-02-28 22:34 controlC0
crw-rw---- 1 root audio 116, 24 2006-02-28 22:34 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2006-02-28 22:34 pcmC0D0p
crw-rw---- 1 root audio 116, 25 2006-02-28 22:34 pcmC0D1c
crw-rw---- 1 root audio 116, 26 2006-02-28 22:34 pcmC0D2c
crw-rw---- 1 root audio 116, 27 2006-02-28 22:34 pcmC0D3c
crw-rw---- 1 root audio 116, 20 2006-02-28 22:34 pcmC0D4p
crw-rw---- 1 root audio 116, 33 2006-02-28 22:34 timer
Offline
if you dont have /dev/dsp, then you dont have the module snd-pcm-oss loaded.
you do not use the alsa nodes in /dev/snd instead.
iphitus
Offline
so i don't have sound in /dev? But i can play mp3, here is the output from player when mp3 played.
Playing /data/mp3/Varathron-HisMajestyAtTheSwamp-TheTressrisingOfNyarlathohepActI.mp3.
Audio file detected.
Clip info:
Title: TheTressrisingOfNyarlathohepAc
Artist: Varathron
Album: HisMajestyAtTheSwamp
Year:
Comment:
Genre: Other
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
alsa-init: 1 soundcard found, using: default
alsa: 44100 Hz/2 channels/4 bpf/60208 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Video: no video
Starting playback...
Offline
You can try /dev/snd/ or /dev/sound/ on vmware
Offline
if you dont have /dev/dsp, then you dont have the module snd-pcm-oss loaded.
you do not use the alsa nodes in /dev/snd instead.
so, just to clarify, u cannot use the alsa nodes in /dev/snd - and the only way is for u to modeprobe snd-pcm-oss, and use /dev/dsp?
Offline
you cannot use them for OSS apps. oss apps require /dev/dsp
Offline