Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't open audio device /dev/dsp: No such device alsa-init:
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
thetmgu
n00b
n00b


Joined: 21 Feb 2005
Posts: 10
Location: yangon

PostPosted: Fri Jan 13, 2006 7:55 pm    Post subject: Can't open audio device /dev/dsp: No such device alsa-init: Reply with quote

Hi
i have using gentoo and kde 4.3
i have emerge mplayer
& i play mp3 file with mplayer in terminal, i see this error how can i configure ?
======================================================

MPlayer 1.0pre6-3.3.5-20050130 (C) 2000-2004 MPlayer Team
CPU: Intel (Family: 8, Stepping: 1)
Detected cache-line size is 64 bytes
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:


Warning unknown option cache_min at line 144
Warning unknown option cache_prefill at line 147

77 audio & 189 video codecs
Playing 01 - Lay Phyu - Phin Si Dyne.mp3.
Cache fill: 18.36% (1540096 bytes) Audio file detected.
Clip info:
Title: Phin Si Dyne
Artist: Lay Phyu
Album: Saw Bwe Hmu Rememberance 2
Year:
Comment:
Track: 32
Genre: Rock
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such device
alsa-init: no soundcards found: Success
[AO ARTS] Connected to sound server.
[AO ARTS] Stream opened.
[AO ARTS] buffer size: 20480
[AO ARTS] buffer size: 2048
AO: [arts] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Video: no video
Starting playback...
A: 15.0 (15.0) 1.1% 49%
========================================================================
_________________
thetmgu
Back to top
View user's profile Send private message
FtR
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 121

PostPosted: Fri Jan 13, 2006 8:53 pm    Post subject: Reply with quote

did you loaded the alsa stuff ?

does your user is able to access /dev/snd ?


FtR
Back to top
View user's profile Send private message
thetmgu
n00b
n00b


Joined: 21 Feb 2005
Posts: 10
Location: yangon

PostPosted: Fri Jan 13, 2006 9:08 pm    Post subject: How can i do ? Reply with quote

No, How can i do ?
i have change in smb.conf ao=alsa >> ao=arts
it finished i cant see anything
=================
MPlayer 1.0pre6-3.3.5-20050130 (C) 2000-2004 MPlayer Team
CPU: Intel (Family: 8, Stepping: 1)
Detected cache-line size is 64 bytes
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:


Warning unknown option cache_min at line 146
Warning unknown option cache_prefill at line 149

77 audio & 189 video codecs
Playing /mnt/smbclient/sawbm2/01 - Lay Phyu - Phin Si Dyne.mp3.
Audio file detected.
Clip info:
Title: Phin Si Dyne
Artist: Lay Phyu
Album: Saw Bwe Hmu Rememberance 2
Year:
Comment:
Track: 32
Genre: Rock
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
[AO ARTS] Connected to sound server.
[AO ARTS] Stream opened.
[AO ARTS] buffer size: 20480
[AO ARTS] buffer size: 2048
AO: [arts] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Video: no video
Starting playback...
A: 56.5 (56.4) 1.1% 41%
===========================================


/dev/snd
bash: /dev/snd: No such file or directory
localhost ~ # cd /dev/snd
bash: cd: /dev/snd: No such file or directory
localhost ~ # nano /dev/snd
_________________
thetmgu
Back to top
View user's profile Send private message
FtR
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 121

PostPosted: Fri Jan 13, 2006 9:12 pm    Post subject: Reply with quote

first of all you should get your self into linux basics

1.) smb.conf is in no way related to sound that is the config file for samba

2.) to test existens of an file
ls -al /dev/snd
would be the way to go

3.)
try
/etc/init.d/alsa start
and see if the /dev/snd comes up


FtR
Back to top
View user's profile Send private message
thetmgu
n00b
n00b


Joined: 21 Feb 2005
Posts: 10
Location: yangon

PostPosted: Fri Jan 13, 2006 10:18 pm    Post subject: Reply with quote

sorry
1) no smb.conf i make mplayer.conf :oops:
2) my pc haven't /dev/snd /dev/sndstat
/dev/dsp

3) not /etc/init.d/alsa start
/etc/init.d/alsasound
_________________
thetmgu
Back to top
View user's profile Send private message
FtR
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 121

PostPosted: Fri Jan 13, 2006 11:23 pm    Post subject: Reply with quote

does you got /dev/snd after startign alsa ?
Back to top
View user's profile Send private message
thetmgu
n00b
n00b


Joined: 21 Feb 2005
Posts: 10
Location: yangon

PostPosted: Fri Jan 13, 2006 11:37 pm    Post subject: No :cry: Reply with quote

ls /dev/s
Display all 140 possibilities? (y or n)
sbpcd scd8 sdb10 sdc14 sdd4 sg6
sbpcd0 scd9 sdb11 sdc15 sdd5 sg7
sbpcd1 sda sdb12 sdc2 sdd6 sg8
sbpcd2 sda1 sdb13 sdc3 sdd7 sg9
sbpcd3 sda10 sdb14 sdc4 sdd8 shm/
scd0 sda11 sdb15 sdc5 sdd9 sjcd
scd1 sda12 sdb2 sdc6 sequencer smpte0
scd10 sda13 sdb3 sdc7 sg0 smpte1
scd11 sda14 sdb4 sdc8 sg1 smpte2
scd12 sda15 sdb5 sdc9 sg10 smpte3
scd13 sda2 sdb6 sdd sg11 sndstat
scd14 sda3 sdb7 sdd1 sg12 sonycd
scd15 sda4 sdb8 sdd10 sg13 sr0
scd16 sda5 sdb9 sdd11 sg14 sr1
scd2 sda6 sdc sdd12 sg15 sr10
scd3 sda7 sdc1 sdd13 sg16 sr11
scd4 sda8 sdc10 sdd14 sg2 sr12
scd5 sda9 sdc11 sdd15 sg3 sr13
scd6 sdb sdc12 sdd2 sg4 sr14
scd7 sdb1 sdc13 sdd3 sg5 sr15
:cry:
_________________
thetmgu
Back to top
View user's profile Send private message
Maximus2000
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2004
Posts: 127
Location: USA

PostPosted: Sat Jan 14, 2006 4:46 am    Post subject: Reply with quote

What version of udev are you useing. I and others have had the issue where udev does not create /dev/dsp or /dev/sound. The ones I know of are udev-.079 and udev-.078. I downgraded to udev-0.70 and all is working. I also experienced the is of no sdb1 or sdc1 when my usb drive were plugged in and dmesg said they were at sdb1 and sdc1. If the usb drives are not an issue try typing udevstart ast root.
_________________
Thanks
Maximus
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