LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-08-2004, 03:20 AM   #1
antipop
Member
 
Registered: Apr 2004
Distribution: debian
Posts: 62

Rep: Reputation: 15
Trouble with the sound card


I've problems with my sound card (an hercules muse XL)
When loading the desktop, it get this error message

Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (No such file or directory)
The sound server will continue, using the null output device.

If i launch xmms, i get this error (even if i'm root)

** WARNING **: alsa_setup_mixer(): Failed to find mixer element: PCM
ALSA lib pcm_hw.c:1055snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: No such file or directory

** WARNING **: alsa_setup(): Failed to open pcm device (default): No such file or directory

ps i'm using mandrake 10.0
 
Old 04-08-2004, 03:34 AM   #2
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
it seems your sound blaster device (/dev/snd/pcmC0D0p) doesn't exists in your /dev/dir, maybe the MAKEDEV script solves this, but I'm not sure about the effects it has on the /dev structure... maybe some other member here or some man page can tell you more about this...

greetz,
-= iluvatar =-

:edit: maybe the alsa setup can help you with this too, but don't know where it is, don't use alsa

Last edited by iluvatar; 04-08-2004 at 03:35 AM.
 
Old 04-08-2004, 03:40 AM   #3
antipop
Member
 
Registered: Apr 2004
Distribution: debian
Posts: 62

Original Poster
Rep: Reputation: 15
where do i launch the makedev command?
 
Old 04-10-2004, 03:44 AM   #4
antipop
Member
 
Registered: Apr 2004
Distribution: debian
Posts: 62

Original Poster
Rep: Reputation: 15
any one can help me?
 
Old 04-10-2004, 02:17 PM   #5
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Do you have onboard sound + the sound card?david
 
Old 04-17-2004, 02:52 PM   #6
antipop
Member
 
Registered: Apr 2004
Distribution: debian
Posts: 62

Original Poster
Rep: Reputation: 15
// sorry for the late reply i was in vacation

I only have the sound card no on board sound
 
Old 04-17-2004, 11:16 PM   #7
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
try;su
<password>
lsmod
what does it say,david
 
Old 04-18-2004, 12:16 AM   #8
braveneworld
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Rep: Reputation: 0
I too am having similar problems.
I have slackware with a voyetra montego II sound card.
I am able to play files from a CD but am unable to play mp3 files using for example real player, or xmms or alsaplayer.
I get the following message with xmms :

** WARNING **: alsa_mixer_setup(): Failed to find mixer element: PCM
ALSA lib pcm_hw.c:1055: (snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: No such device

** WARNING **: alsa_setup(): Failed to open pcm device (default): No such device

Following is the relevant output from lsmod :

lsmod | grep "^snd"
snd-pcm-oss 37828 0
snd-mixer-oss 12728 2 [snd-pcm-oss]
snd-usb-audio 45376 0 (unused)
snd-au8830 43224 1
snd-mpu401-uart 3280 0 [snd-au8830]
snd-rawmidi 12704 0 [snd-usb-audio snd-mpu401-uart]
snd-seq-device 3920 0 [snd-rawmidi]
snd-ac97-codec 44444 0 [snd-au8830]
snd-bt87x 5292 1
snd-pcm 56032 0 [snd-pcm-oss snd-usb-audio snd-au8830 snd-bt87x]
snd-timer 13508 0 [snd-pcm]
snd-page-alloc 6260 0 [snd-bt87x snd-pcm]
snd 30148 0 [snd-pcm-oss snd-mixer-oss snd-usb-audio snd-au8830 snd-mpu401-uart snd-rawmidi snd-seq-device snd-ac97-codec snd-bt87x snd-pcm snd-timer]


I am logged in a root when I get the messages with ALSA. The device exists alright.

ls -al /dev/snd/pcmC0D0p
crw-rw--w- 1 root sys 116, 16 Aug 29 2003 /dev/snd/pcmC0D0p

I have seen some messages mentioning that all the sound devices should belong to a group "audio" and you should NOT be logged in as root but as a normal user that belongs to the audio group.
I do not understand how this could make a difference.

Any help would be greatly appreciated.....
 
Old 05-01-2004, 03:22 AM   #9
antipop
Member
 
Registered: Apr 2004
Distribution: debian
Posts: 62

Original Poster
Rep: Reputation: 15
This is the result of the lsmod

[root@longchamp-4-81-56-16-121 chris]# lsmod
Module Size Used by
md5 3872 1
ipv6 232352 6
nvidia 2068232 0
sg 38044 0
binfmt_misc 9960 1
sr_mod 17060 0
raw 7616 2
ide-cd 40548 0
cdrom 37184 2 sr_mod,ide-cd
floppy 59444 0
lp 12200 0
snd-seq-oss 31232 0
snd-seq-midi-event 7552 1 snd-seq-oss
snd-seq 51024 4 snd-seq-oss,snd-seq-midi-event
snd-pcm-oss 51812 0
snd-mixer-oss 17952 1 snd-pcm-oss
snd-cmipci 33236 2
snd-pcm 93156 4 snd-pcm-oss,snd-cmipci
snd-page-alloc 11972 1 snd-pcm
snd-opl3-lib 9984 1 snd-cmipci
snd-timer 24484 3 snd-seq,snd-pcm,snd-opl3-lib
snd-hwdep 8928 1 snd-opl3-lib
gameport 4480 1 snd-cmipci
snd-mpu401-uart 7072 1 snd-cmipci
snd-rawmidi 23616 1 snd-mpu401-uart
snd-seq-device 8008 4 snd-seq-oss,snd-seq,snd-opl3-lib,snd-rawmidi
snd 52484 15 snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-cmipci,snd-pcm,snd-opl3-lib,snd-timer,snd-hwdep,snd-mpu401-uart,snd-rawmidi,snd-seq-device
soundcore 9248 1 snd
af_packet 20520 2
8139too 23712 0
mii 4992 1 8139too
nls_iso8859-15 4480 2
ntfs 85932 2
supermount 37876 2
hci_usb 12384 0
bluetooth 46116 1 hci_usb
amd-k7-agp 7564 1
agpgart 31016 1 amd-k7-agp
ppa 12296 0
sd_mod 16800 0
usb-storage 63136 0
parport_pc 32832 1
imm 12360 0
scsi_mod 114744 6 sg,sr_mod,ppa,sd_mod,usb-storage,imm
parport 38952 4 lp,ppa,parport_pc,imm
tsdev 7168 0
joydev 10240 0
evdev 9504 0
usbmouse 5216 0
hid 53312 0
ehci-hcd 24196 0
uhci-hcd 29104 0
usbcore 99132 8 hci_usb,usb-storage,usbmouse,hid,ehci-hcd,uhci-hcd
rtc 11576 0
reiserfs 246196 3
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble with sound card cas1123 Linux - Hardware 2 08-06-2005 07:08 PM
Sound Card trouble Hambone_20003 Linux - Hardware 13 04-05-2005 12:25 AM
sound card trouble ... HELP !!! JMK Linux - Newbie 2 03-13-2004 05:53 AM
Sound Card Trouble Songwriter311 General 6 01-21-2004 09:59 AM
Having Trouble with sound card..I think? CONWON Linux - Laptop and Netbook 2 09-12-2003 07:11 AM


All times are GMT -5. The time now is 10:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration