LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-16-2010, 09:05 AM   #1
donnied
Member
 
Registered: Oct 2006
Distribution: Debian x64
Posts: 198

Rep: Reputation: 30
no sound in squeeze/ lenny chroot


I recently reinstalled Debian. Previously I had sound working in schroot without a problem. I simply added the user to the audio group ran alsaconf and it worked.
Alsaconf has been removed from squeeze so I tried from Lenny. Alsaconf installs but does not find the sound card in the schroot. In deed it seems to be looking for amd64 modules (those of the host system).

lsmod from chroot:
Code:
snd                    46446  11 snd_via82xx,snd_ac97_codec,snd_pcm,snd_mpu401_uart,snd_rawmidi,snd_timer,snd_seq_device
lsmod from host:
Code:
snd                    46446  11 snd_via82xx,snd_ac97_codec,snd_pcm,snd_mpu401_uart,snd_rawmidi,snd_timer,snd_seq_device
This is the error message when trying to play a sound in the chroot:
Code:
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such device
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
Couldn't open audio device!
  reason: [Couldn't open timidity.cfg].
Oh, and oddly enough:
Code:
# ls /dev/*audio*
/dev/audio  /dev/audio0  /dev/audio1  /dev/audio2  /dev/audio3
when I directly use:
Code:
#chroot /chroot/squeeze-32/
I have sound.

When I comment out the line with directory (changing type to 'plain') in /etc/schroot/schroot.conf sound works.
Code:
[squeeze-32]
description=Debian squeeze (stable) 32-bit
priority=4
groups=audio,video
users=nadya,fuchs
aliases=stable,default
personality=linux32
directory=/chroot/squeeze-32
#type=directory
#run-setup-scripts=true
#run-exec-scripts=true

Last edited by donnied; 07-16-2010 at 03:10 PM.
 
Old 07-28-2010, 01:18 AM   #2
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
what give you the output of :
Code:
 aplay -L
cat /etc/modprobe.d/sound.conf
alsamixer is now much using /etc/modprobe.d/sound.conf if troubles.
the question is whether all moduesl are loaded

you need schrooting, well?

cool tip:
Quote:
adduser uesrname audio

Last edited by frenchn00b; 07-28-2010 at 01:19 AM.
 
  


Reply

Tags
alsa, schroot, sound



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
Laptop with Debian squeeze or lenny chiendarret Debian 1 04-02-2010 11:40 AM
Installing Squeeze kernel in Lenny system? linus72 Debian 1 04-01-2010 08:58 AM
Opinions on Best Way to upgrade from Lenny/Lenny Backports to Squeeze?? linus72 Debian 7 12-26-2009 09:44 AM
Lenny->Squeeze: keyboard problem jdkaye Debian 2 02-17-2009 08:11 AM
Lenny + 1 = Squeeze rickh Linux - General 6 09-01-2008 11:36 PM

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

All times are GMT -5. The time now is 11:46 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
Open Source Consulting | Domain Registration