Hi, Have been trying to
get ALSA working without success. Have had a look at the code in aplay
and it appears as though none of the devices in /dev/snd/ are able to be
opened. When attempting to run the alsa-utils I get the following output
as shown below. Included the dummy device in this instance of the kernel
configuration to test if the card specific to the actual sound hardware was the
problem (as you can see its a problem with the dummy device as well).
Would appreciate any assistance or information that may be of help to me.
Have tried to include as much information as possible- see below. cheers, Geoff Crowther Output from ./aplay
-l aplay: device_list:215: no
soundcards found... Output from
./amixer -c 0 (dummy) and also ./mixer –c 1 (Speaker) Invalid card number. The following
devices exist in /dev/snd/ controlC0 controlC3
hwC0D2 pcmC0D0p pcmC0D2c pcmC0D3p controlC1
hwC0D0 hwC0D3 pcmC0D1c
pcmC0D2p seq controlC2
hwC0D1 pcmC0D0c pcmC0D1p pcmC0D3c
timer ls -al /dev
(abbreviated) crw-rw---- 14, 3 dsp crw-rw---- 14, 19 dsp1 crw-rw---- 14, 35 dsp2 crw-rw---- 14, 51 dsp3 crw-rw---- 14, 4 audio crw-rw---- 14, 20 audio1 crw-rw---- 14, 36 audio2 crw-rw---- 14, 52 audio3 /proc/asound/cards 0
[Dummy ]: Dummy - Dummy Dummy 1 1
[Speaker ]: USB-Audio - Logitech
Speaker Logitech
Logitech Speaker at usb-fsl-ehci.2-1, full spe /proc/asound/card1/pcm0p card: 1 device: 0 subdevice: 0 stream: PLAYBACK id: USB Audio name: USB Audio subname: subdevice #0 class: 0 subclass: 0 subdevices_count: 1 subdevices_avail: 1 /proc/asound/devices
2: : timer 3: [ 0- 0]: digital audio
playback 4: [ 0- 0]: digital audio
capture 5: [ 0] : control 6: [ 1- 0]: digital audio
playback 7: [ 1] : control /proc/asound/pcm 00-00: Dummy PCM : Dummy PCM :
playback 8 : capture 8 01-00: USB Audio : USB Audio :
playback 1 /proc/asound/devices Sound Driver:3.8.1a-980706 (ALSA
v1.0.14 emulation code) Kernel: Linux snapper 2.6.22.6test2
#1 PREEMPT Thu Sep 10 12:22:12 EST 2009 armv6l Config options: 0 Installed drivers: Type 10: ALSA emulation Card config: Dummy 1 Logitech Logitech
Speaker at usb-fsl-ehci.2-1, full spe Audio devices: 0: Dummy PCM (DUPLEX) 1: USB Audio Synth devices: NOT ENABLED IN CONFIG Timers: 31: system timer Mixers: NOT ENABLED IN CONFIG /etc/issue Bluewater 1.0 Hardware Freescale MCIMX31 with ARMv6
compatible processor (v61) with Logitech V10 Notebook speakers
(USB - connected to USB port on MCIMX31) Kernel
Configuration (items configured into the kernel) SOUND - Sound Card Support (CONFIG_SOUND) - Advanced Linux Sound Architecture
(CONFIG_SND) - Sequencer support
(CONFIG_SND_SEQUENCER) - Sequencer dummy client
(CONFIG_SND_SEQ_DUMMY) - - OSS PCM (digital audio) API
(CONFIG_SND_PCM_OSS) - - Dynamic device file minor numbers
(CONFIG_SND_DYNAMIC_MINORS) - Support old ALSA API
(CONFIG_SND_SUPPORT_OLD_API) - Verbose procfs contents
(CONFIG_SND_VERBOSE_PROCFS) - Verbose printk
(CONFIG_SND_VERBOSE_PRINTK) - Debug (CONFIG_SND_DEBUG) - Debug detection
(CONFIG_SND_DEBUG_DETECT) - Dummy (dev/null) soundcard
(CONFIG_SND_DUMMY) - No ALSA arm devices - USB Audio/MIDI driver
(CONFIG_SND_USB_AUDIO) - Open sound system
(CONFIG_SOUND_PRIME) USB Support for Host-side USB USB verbose debug messages USB device filesystem USB device class-devices
(DEPRECATED) Dynamic USB minor allocation
(EXPERIMENTAL) EHCI HCD (USB 2.0) support Support for Freescale controller Support for Host1 port on Freescale
controller Support for Host2 port on Freescale
controller Support for OTG host port on
Freescale controller- Philips ISP1504 /var/log/messages input:
Logitech
Logitech Speaker as /class/input/input2 usb 3-1: link qh8-0601/ff69d100
start 7 [1/2 us] input: USB HID v1.00 Device
[
Logitech
Logitech Speaker] on usb-fsl-ehci.2-1 usbcore: registered new interface
driver usbhid drivers/hid/usbhid/hid-core.c:
v2.6:USB HID core driver Advanced Linux Sound Architecture
Driver Version 1.0.14 (Thu May 31 09:03:25 2007 UTC). snd-usb-audio 3-1:1.0:
usb_probe_interface snd-usb-audio 3-1:1.0:
usb_probe_interface - got id ALSA sound/usb/usbaudio.c:2753:
2:1:1: add audio endpoint 0x2 ALSA sound/usb/usbaudio.c:2753:
2:1:2: add audio endpoint 0x2 usb_endpoint usbdev3.2_ep02:
ep_device_release called for usbdev3.2_ep02 usb_endpoint usbdev3.2_ep02:
ep_device_release called for usbdev3.2_ep02 ALSA sound/usb/usbmixer.c:989: [3]
FU [PCM Playback Switch] ch = 1, val = 0/1/1 user.err kernel: ALSA sound/usb/usbmixer.c:406: cannot set ctl value: req = 0x4, wValue = 0x201, wIndex = 0x300, type = 4, data = ""> user.info kernel: ALSA
sound/usb/usbmixer.c:989: [3] FU [PCM Playback Volume] ch = 2, val =
-32768/0/256 usbcore: registered new interface
driver snd-usb-audio ALSA device list: #0: Dummy 1 #1:
Logitech
Logitech Speaker at usb-fsl-ehci.2-1, full spe |
------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user