Sergei Steshenko wrote:
Sergei:On Tue, 04 Jul 2006 09:16:58 -0500
Robert Rappaport <[EMAIL PROTECTED]> wrote:
Clemens Ladisch wrote:Robert Rappaport wrote:After running amixer to set up the card I am still unable to play.Does "aplay something.wav" work?The aplay command requires options that I am not familiar with. I would
like
to play cd's from my cdrom ( aplay needs a filename which I was not
able guess ),
mp3 music and streaming audio from the internet. aplay needs a file type,
sampling rate, format, and file name. Can you recommend some source
where I
might be able to determine the correct values for these options when
playing
cd's, mp3 files, and streaming audio from the internet with aplay.It seems like I should be able to play a cd with workboneThis player assumes that there is an audio cable between the CD drive
and the sound chip.Good reason why this player doesnt work.which I have used since 1998On the same machine?No. I bought a new Gateway Desktop that I am trying to set up. This is
to replace an old
Dell on which workbone worked as well as my two old Gateway Laptops.
Regards,
ClemensThanks for this input. When I tried to guess some values and make aplay
work I did get
some sound from my speakers. I think you have me on the right track.
Bob
Bob,
check 'cdparanoia' - it's a program which rips CDs into .wav files with good
quality. And you may rip only a track or even less.
'aplay' is the "canonical" application used to test ALSA and "officially"
supported by ALSA developers. The counterpart of 'aplay' is 'arecord'.
Thanks for getting me over the cdrom hurdle. I tried the program and it copied part
of a cd for me. However when I tried to play it with aplay, it said it was playing
"Playing Wave 'cdda.wav' : Signed : 16 bit Little endian, Rate 44100 Stereo " but
still no sound.
When I booted up after setting up amixer and /etc/asound.state was read, it gave this
message " Failed to obtain info for control #15 ( Invalid argument ) amixer: Control
default snd_hctl_elem_info error: Invalid argument.
I attach a copy of my setup.
Thanks for any additional ideas you might have for me.
Bob
*******Copies of settings:
*******amixer info - returns the following
Card default 'SB'/'HDA ATI SB at 0xfdff4000 irq 10'
Mixer name : 'Realtek ALC861'
Components : 'HDA:10ec0861'
Controls : 17
Simple ctrls : 12
*********lsmod returns
Module Size Used by Not tainted
snd-pcm-oss 37344 0 (unused)
snd-mixer-oss 12728 0 [snd-pcm-oss]
ide-scsi 9392 0
8139too 13928 1
mii 2272 0 [8139too]
crc32 2880 0 [8139too]
snd-hda-intel 9116 0
snd-hda-codec 119088 0 [snd-hda-intel]
snd-pcm 61796 0 [snd-pcm-oss snd-hda-intel snd-hda-codec]
snd-timer 15084 0 [snd-pcm]
snd 40680 0 [snd-pcm-oss snd-mixer-oss snd-hda-intel
snd-hda-codec snd-pcm snd-timer]
snd-page-alloc 5604 0 [snd-mixer-oss snd-hda-intel snd-pcm
snd-timer snd]
ac97_codec 11924 0 (unused)
sound 54280 0 (unused)
soundcore 3396 5 [snd sound]
printer 7648 0 (unused)
usbcore 59148 0 [printer]
lp 6404 0 (unused)
parport_pc 15044 1
parport 22824 1 [lp parport_pc]
******** amixer contents returns
Simple mixer control 'Headphone',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'Front',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'Front Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 23
Front Left: Playback 18 [78%] [on]
Front Right: Playback 18 [78%] [on]
Simple mixer control 'Surround',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'Center',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'LFE',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Side',0
Capabilities: pswitch
Playback channels: Front Left - Front Right
Front Left: Playback [on]
Front Right: Playback [on]
Simple mixer control 'Line',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 23
Front Left: Playback 18 [78%] [on]
Front Right: Playback 18 [78%] [on]
Simple mixer control 'CD',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 23
Front Left: Playback 18 [78%] [on]
Front Right: Playback 18 [78%] [on]
Simple mixer control 'Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 23
Front Left: Playback 18 [78%] [on]
Front Right: Playback 18 [78%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 13
Front Left: Capture 10 [77%] [on]
Front Right: Capture 10 [77%] [on]
Simple mixer control 'Input Source',0
Capabilities:
Mono:
******* contents of set by alsactl /etc/asound.state
state.SB {
control.1 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Front Playback Switch'
value.0 true
value.1 true
}
control.2 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Surround Playback Switch'
value.0 true
value.1 true
}
control.3 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Center Playback Switch'
value true
}
control.4 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'LFE Playback Switch'
value true
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Side Playback Switch'
value.0 true
value.1 true
}
control.6 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Headphone Playback Switch'
value.0 true
value.1 true
}
control.7 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 23'
iface MIXER
name 'Mic Playback Volume'
value.0 18
value.1 18
}
control.8 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Mic Playback Switch'
value.0 true
value.1 true
}
control.9 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 23'
iface MIXER
name 'Front Mic Playback Volume'
value.0 18
value.1 18
}
control.10 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Front Mic Playback Switch'
value.0 true
value.1 true
}
control.11 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 23'
iface MIXER
name 'Line Playback Volume'
value.0 18
value.1 18
}
control.12 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Line Playback Switch'
value.0 true
value.1 true
}
control.13 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 23'
iface MIXER
name 'CD Playback Volume'
value.0 18
value.1 18
}
control.14 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'CD Playback Switch'
value.0 true
value.1 true
}
control.15 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 13'
iface MIXER
name 'Capture Volume'
value.0 10
value.1 10
}
control.16 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Capture Switch'
value.0 true
value.1 true
}
control.17 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Mic
comment.item.1 'Front Mic'
comment.item.2 Line
comment.item.3 CD
iface MIXER
name 'Input Source'
value Mic
}
}
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Alsa-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-user
