Hi everyone.
I'm trying to record sounds with the TS-7800 board, but I have some
problems with my Trust MC-3200 USB Microphone.
I recompiled the kernel (2.6.21 oct2008) to enable the ALSA drivers (USB
too) without problems.
This is the output of lsmod:
Module Size Used by
ehci_hcd 33580 0
snd_pcm_oss 46176 0
snd_mixer_oss 15328 1 snd_pcm_oss
zd1211rw 49956 0
firmware_class 7904 1 zd1211rw
ieee80211softmac 27648 1 zd1211rw
ieee80211 29924 2 zd1211rw,ieee80211softmac
ieee80211_crypt 4992 1 ieee80211
mvsata 73064 0
vfat 10816 0
fat 48380 1 vfat
sd_mod 15792 0
usb_storage 25796 0
scsi_mod 87460 3 mvsata,sd_mod,usb_storage
libusual 14096 1 usb_storage
evdev 8128 0
snd_usb_audio 76320 0
snd_pcm 72485 2 snd_pcm_oss,snd_usb_audio
snd_timer 21444 1 snd_pcm
snd_page_alloc 8040 1 snd_pcm
snd_usb_lib 14912 1 snd_usb_audio
usbhid 15140 0
snd_rawmidi 22016 1 snd_usb_lib
snd_hwdep 7460 1 snd_usb_audio
snd 49972 7
snd_pcm_oss,snd_mixer_oss,snd_usb_audio,snd_pcm,snd_timer,snd_rawmidi,sn\
d_hwdep
tsuart7800 2716 0
tsuart1 13964 1 tsuart7800
tssdcard 32192 2
ts7800 3600 0
usbcore 115968 8
ehci_hcd,zd1211rw,usb_storage,libusual,snd_usb_audio,snd_usb_lib,usbhid
The drivers seem to work correctly, when I plug the mic on the usb port
I get this informations:
:/# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14
07:25:50 2007 UTC).
:/# cat /proc/asound/cards
0 [default ]: USB-Audio - C-Media USB Headphone Set
C-Media USB Headphone Set at
usb-mv5182_ehci.0-1, full speed
:/# cat /proc/asound/devices
2: : timer
3: [ 0- 0]: digital audio playback
4: [ 0- 0]: digital audio capture
5: [ 0] : control
:/# ls /dev/snd/
controlC0
pcmC0D0c
pcmC0D0p
timer
I then compiled alsa-lib and alsa-utils for the ARM and that's the
output for amixer:
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch pswitch-joined penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 151
Mono:
Front Left: Playback 150 [99%] [-1.37dB] [on]
Front Right: Playback 150 [99%] [-1.37dB] [on]
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch
pswitch-joined cswitch cswitch-joined penum
Playback channels: Mono
Capture channels: Mono
Limits: Playback 0 - 32 Capture 0 - 16
Mono: Playback 23 [72%] [34.50dB] [off] Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Auto Gain Control',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
:/# amixer set Mic 60% unmute
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch
pswitch-joined cswitch cswitch-joined penum
Playback channels: Mono
Capture channels: Mono
Limits: Playback 0 - 32 Capture 0 - 16
Mono: Playback 20 [62%] [30.00dB] [on] Capture 10 [62%] [15.00dB] [on]
After the last command, if I plug the headphones on the base of the
microphone, I can hear what I say on it, but I get an error if I try to
start recording with arecord:
:/# arecord -d 10 -t wav -D plughw:0,0 test.wav
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
arecord: xrun:1359: read/write error, state = PREPARED
Anyone had similar problems or can suggest me what kind of problem it
is?
Thanks.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|