LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-29-2010, 07:46 AM   #1
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65
Sound problem, mpg321.mp3


Code:
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM default
No default libao driver available.
 
Old 01-29-2010, 07:49 AM   #2
cladisch
Member
 
Registered: Oct 2008
Location: Earth
Distribution: Slackware
Posts: 228

Rep: Reputation: 54
No sound driver loaded? What's in /proc/asound/cards?
 
Old 01-29-2010, 07:53 AM   #3
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Original Poster
Rep: Reputation: 65
cat /proc/asound/cards
Code:
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfdff8000 irq 16
 
Old 01-29-2010, 07:58 AM   #4
cladisch
Member
 
Registered: Oct 2008
Location: Earth
Distribution: Slackware
Posts: 228

Rep: Reputation: 54
Please check that /dev/snd/controlC0 and /dev/snd/pcmC0D0p exist, that you have permissions to access them, and that they have the same minor device numbers as listed in /proc/asound/devices.
 
Old 01-29-2010, 08:15 AM   #5
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Original Poster
Rep: Reputation: 65
Code:
total 0
crw-rw---- 1 root audio 116,  0 2010-01-30 00:37 controlC0
crw-rw---- 1 root audio 116,  4 2010-01-30 00:37 hwC0D0
crw-rw---- 1 root audio 116, 24 2010-01-30 00:37 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2010-01-30 00:37 pcmC0D0p
crw-rw---- 1 root audio 116,  1 2010-01-29 18:38 seq
crw-rw---- 1 root audio 116, 33 2010-01-30 00:37 timer
 
Old 01-29-2010, 08:17 AM   #6
cladisch
Member
 
Registered: Oct 2008
Location: Earth
Distribution: Slackware
Posts: 228

Rep: Reputation: 54
Quote:
Originally Posted by cola View Post
Code:
total 0
crw-rw---- 1 root audio 116,  0 2010-01-30 00:37 controlC0
crw-rw---- 1 root audio 116,  4 2010-01-30 00:37 hwC0D0
crw-rw---- 1 root audio 116, 24 2010-01-30 00:37 pcmC0D0c
crw-rw---- 1 root audio 116, 16 2010-01-30 00:37 pcmC0D0p
crw-rw---- 1 root audio 116,  1 2010-01-29 18:38 seq
crw-rw---- 1 root audio 116, 33 2010-01-30 00:37 timer
... and is your user member of the audio group, and what are the contents of /proc/asound/devices?
 
Old 01-29-2010, 08:23 AM   #7
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Original Poster
Rep: Reputation: 65
Code:
  0: [ 0]   : control
  1:        : sequencer
  4: [ 0- 0]: hardware dependent
 16: [ 0- 0]: digital audio playback
 24: [ 0- 0]: digital audio capture
 33:        : timer
 
Old 01-29-2010, 08:27 AM   #8
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Original Poster
Rep: Reputation: 65
Quote:
Originally Posted by cladisch View Post
... and is your user member of the audio group, and what are the contents of /proc/asound/devices?
I did:
Code:
chown <user> /dev/snd/controlC0 pcmC0D0p
ls -l /dev/snd
Code:
crw-rw---- 1 user audio 116,  0 2010-01-30 00:37 controlC0
crw-rw---- 1 root  audio 116,  4 2010-01-30 00:37 hwC0D0
crw-rw---- 1 root  audio 116, 24 2010-01-30 00:37 pcmC0D0c
crw-rw---- 1 user audio 116, 16 2010-01-29 20:24 pcmC0D0p
crw-rw---- 1 root  audio 116,  1 2010-01-29 18:38 seq
crw-rw---- 1 root  audio 116, 33 2010-01-30 00:37 timer
Still ,mpg321 01.mp3
Code:
ALSA lib pcm_direct.c:1113:(snd1_pcm_direct_initialize_poll_fd) unable to open timer 'hw:CLASS=3,SCLASS=0,CARD=0,DEV=0,SUBDEV=0'
ALSA lib pcm_dmix.c:1085:(snd_pcm_dmix_open) unable to initialize poll_fd
No default libao driver available.
 
Old 01-29-2010, 08:32 AM   #9
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Add yourself to the audio group.

Adam
 
Old 01-29-2010, 08:33 AM   #10
cladisch
Member
 
Registered: Oct 2008
Location: Earth
Distribution: Slackware
Posts: 228

Rep: Reputation: 54
Quote:
ALSA lib pcm_direct.c:1113snd1_pcm_direct_initialize_poll_fd) unable to open timer
Now it tried to open the timer device.

You are not supposed to change the permissions of the device nodes for each user; the user should get the appropriate group membership.
"usermod -a -G ..." should have helped.
 
Old 01-29-2010, 08:40 AM   #11
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Original Poster
Rep: Reputation: 65
Did reboot and it's done.
 
  


Reply



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
mpg321 problem in Slack 11 Mercurius Slackware 3 10-24-2006 02:37 AM
when i try to play a sound file with mpg123 or mpg321 i get an error VioLaToR Linux - Software 5 02-24-2004 12:25 PM
mpg321 in console (Slack9) problem csDraco_ Slackware 6 11-17-2003 02:33 AM
mpg321 problem slacking Slackware 7 12-05-2002 11:24 AM
mpg321 problem slacking Linux - Software 1 12-02-2002 05:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:32 PM.

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
Open Source Consulting | Domain Registration