You are not logged in.

#1 2006-02-27 13:35:54

wem
Member
Registered: 2005-02-11
Posts: 43

How to determine where is hardware mounted in /dev

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

#2 2006-02-27 23:55:29

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: How to determine where is hardware mounted in /dev

Maybe in /dev/snd?

Offline

#3 2006-02-28 14:51:03

wem
Member
Registered: 2005-02-11
Posts: 43

Re: How to determine where is hardware mounted in /dev

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

#4 2006-03-01 00:29:06

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: How to determine where is hardware mounted in /dev

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

#5 2006-03-01 15:56:13

wem
Member
Registered: 2005-02-11
Posts: 43

Re: How to determine where is hardware mounted in /dev

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

#6 2006-03-01 21:56:49

RaLX
Member
Registered: 2005-10-17
Posts: 54

Re: How to determine where is hardware mounted in /dev

You can try /dev/snd/ or /dev/sound/ on vmware

Offline

#7 2006-03-11 17:43:56

jf/
Member
Registered: 2003-10-26
Posts: 79

Re: How to determine where is hardware mounted in /dev

iphitus wrote:

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

#8 2006-03-12 01:45:21

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: How to determine where is hardware mounted in /dev

you cannot use them for OSS apps. oss apps require /dev/dsp

Offline

Board footer

Powered by FluxBB