LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-21-2009, 07:24 PM   #1
tomnab
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
Red face making alsa work in busybox


Hi, I'd like to use Alsa tools in a busybox context
I think i have chosen the correct kernel options

dmesg lines are correct :

intel8x0_measure_ac97_clock: measured 52812 usecs
intel8x0: clocking to 40013
ALSA device list:
#0: Intel ICH6 with STAC9750,51 at irq 11

proc filesystem is correct :

cat /proc/asound/devices :

2: : timer
3: : sequencer
4: [ 0- 4]: digital audio playback
5: [ 0- 3]: digital audio capture
6: [ 0- 2]: digital audio capture
7: [ 0- 1]: digital audio capture
8: [ 0- 0]: digital audio playback
9: [ 0- 0]: digital audio capture
10: [ 0] : control

cat /proc/asound/cards :

0 [ICH6 ]: ICH4 - Intel ICH6
Intel ICH6 with STAC9750,51 at irq 11


ls /proc/asound/card0 :

codec97#0
id
intel8x0
oss_mixer
pcm0c
pcm0p
pcm1c
pcm2c
pcm3c
pcm4p

But I don't know what to give in the asound.conf file
I tried the following :

pcm.!default {
type hw
card 0
device 4
}

ctl.!default {
type hw
card 0
device 4
}

Then when i try to use amixer contents, i get :
amixer: Control default open error : Invalid argument

And when i try aplay pop.wav :
aplay:main:608: audio open error: No such file or directory

when i use cat hello.au > /dev/audio, it spends some time like it would play the soundtrack, but i do not hear anything...

Is there any way to be talk directly to the sound system by redirections witout amixer ? How can i be sure the sound is unmuted ?

It must be simple, but it has been 3 days without sleep that I started ;-(

Thank you for any idea...

tomnab
 
Old 07-03-2009, 02:54 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Use alsamixer part of alsa-utils package to change mixer levels as well as to unmute the card.
 
  


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
/sbin/reboot of busybox filesystem does not work raklo Linux - Kernel 16 04-10-2009 04:47 AM
Making Busybox to listen on TUN interface? jayadhanesh Linux - Software 0 03-14-2009 02:29 AM
making a linux boot disk (busybox initrd issue) win32sux Linux - Software 3 10-01-2006 09:09 PM
Making Alsa the Default haimeltjnfg Linux - Hardware 4 05-02-2004 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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