Hi,
On Wed, 31 Jan 2007 01:51:52 -0800
Jean-Michel Pouré wrote
>First of all, I would like to thank you for answering my previous
>messages. This is very neat, espacially when buying new hardware.
>Finally, I purchased a cheap audio card, the Terratec Aureon 5.1 USB
>MK.2, which seems to be fully supported by Alsa.
>I will add an entry in the Wiki.
>kind regards,
>Jean-Michel Pouré
Having read this I felt encouraged to buy an Aureon 5.1 USB MK.2.
I have been working at it for 4 days with very limited success.
After boot I can play a .wav file OK:-
]$ aplay -D plughw:1,0 bl_04.wav
Playing WAVE 'bl_04.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
When I try to record (with sound to the card input which gets through to the
PC speakers), however, I have no success
]$ arecord -f cd -t wav -D plughw:1,0 foobar.wav
Recording WAVE 'foobar.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Stereo
sometimes I get just an empty file (44bits)
occasionally a longer file of silence
but most often:-
When I stop it with <cntrl> C but the console prompt does not return
and:-
]$ ps aux | grep arecord
user_id 2320 0.0 0.0 0 0 pts/6 D+ 15:47 0:00 [arecord]
(D = Uninterruptible sleep (usually IO))
After this happens aplay (in a different console) behaves similarly, no sound
and goes into a 'D' state.
I am using alsa-driver-1.0.14rc3
( configured --with-sequencer=yes --with-oss=yes
--with-cards=usb-audio,seq-dummy, dummy, virmidi)
alsa-lib-1.0.14rc3, alsa-utils-1.0.14rc2 on Fedora Core 4 with kernel
2.6.15.4. I also have a SiS sound card built into the MB but have not compiles
an asla driver for it.
I would be most grateful for any help or hints specially from anyone who has
an Aureon 5.1 USB MK.2 working successfully.
Here are various files which may be helpful:-
=============================
]$ cat /proc/asound/cards
1 [Audio ]: USB-Audio - USB Audio
USB Audio at usb-0000:00:03.2-4.4, full speed
==============================
]$ls /proc/asound/card1
id oss_mixer pcm0c/ pcm0p/ stream0 usbbus usbid
========================================
]$cat /proc/asound/card1/id
Audio
============================
]$ cat /proc/asound/card1/stream0 (not recording)
USB Audio at usb-0000:00:03.2-4.4, full speed : USB Audio
Playback:
Status: Stop
Interface 1
Altset 1
Format: 0x2
Channels: 2
Endpoint: 1 OUT (ADAPTIVE)
Rates: 48000
Interface 1
Altset 2
Format: 0x2
Channels: 6
Endpoint: 1 OUT (ADAPTIVE)
Rates: 48000
Capture:
Status: Stop
Interface 2
Altset 1
Format: 0x2
Channels: 2
Endpoint: 2 IN (ASYNC)
Rates: 48000
===========================================
]$ cat /proc/asound/card1/stream0 (when arecord -f cd -t wav -D plughw:1,0
foobar.wav
Recording WAVE 'foobar.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Stereo )
USB Audio at usb-0000:00:03.2-4.4, full speed : USB Audio
Playback:
Status: Stop
Interface 1
Altset 1
Format: 0x2
Channels: 2
Endpoint: 1 OUT (ADAPTIVE)
Rates: 48000
Interface 1
Altset 2
Format: 0x2
Channels: 6
Endpoint: 1 OUT (ADAPTIVE)
Rates: 48000
Capture:
Status: Running
Interface = 2
=============================================
]$ cat /proc/asound/card1/stream0 (when arecord -f cd -t wav -D plughw:1,0
foobar.wav
Recording WAVE 'foobar.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Stereo ) [but not recording any sound]
USB Audio at usb-0000:00:03.2-4.4, full speed : USB Audio
Playback:
Status: Stop
Interface 1
Altset 1
Format: 0x2
Channels: 2
Endpoint: 1 OUT (ADAPTIVE)
Rates: 48000
Interface 1
Altset 2
Format: 0x2
Channels: 6
Endpoint: 1 OUT (ADAPTIVE)
Rates: 48000
Capture:
Status: Running
Status: Running
Interface = 2
Altset = 1
URBs = 8 [ 1 1 1 1 1 1 1 1 ]
Packet Size = 200
Momentary freq = 48000 Hz (0x30.0000)
Interface 2
Altset 1
Format: 0x2
Channels: 2
Endpoint: 2 IN (ASYNC)
Rates: 48000
===========================
]$ cat /proc/asound/card1/usbbus
001/006
===========================
]$ cat /proc/asound/card1/usbid
0ccd:0028
cat /proc/asound/card1/pcm0c/info
card: 1
device: 0
subdevice: 0
stream: CAPTURE
id: USB Audio
name: USB Audio
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
=====================================
]$ cat /proc/asound/card1/pcm0c/sub0/hw_params
closed
======================================
]$ cat /proc/asound/card1/pcm0c/sub0/sw_params
closed
=========================================================
]$ cat /proc/asound/card1/pcm0c/sub0/hw_params ( when arecord -f cd -t wav -D
plughw:1,0 foobar.wav )
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 6000
buffer_size: 24001
tick_time: 1000
========================================================
]$ cat /proc/asound/card1/pcm0c/sub0/sw_params (when arecord -f cd -t wav -D
plughw:1,0 foobar.wav)
tstamp_mode: NONE
period_step: 1
sleep_min: 0
avail_min: 6000
xfer_align: 6000
start_threshold: 1
stop_threshold: 24001
silence_threshold: 0
silence_size: 0
boundary: 1572929536
=================================================
]$ cat /proc/asound/card1/pcm0c/sub0/status when not recording)
closed
============================================
]$ cat /proc/asound/card1/pcm0c/sub0/status
state: RUNNING
trigger_time: 1175685886.411989000
tstamp : 1175685893.454656000
delay : 750
avail : 750
avail_max : 750
-----
hw_ptr : 750
appl_ptr : 0
========================
]$ cat /proc/asound/card1/pcm0p/info
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
===========================
]$ cat /proc/asound/card1/pcm0p/oss
=========================
]$ cat /proc/asound/card1/pcm0p/sub0/hw_params
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 6000 (this is 1024 when not playing)
buffer_size: 24001
tick_time: 1000
===============================
]$ cat /proc/asound/card1/pcm0p/sub0/sw_params
tstamp_mode: NONE
period_step: 1
sleep_min: 0
avail_min: 6000 } (these are 1024 when not playing)
xfer_align: 6000}
start_threshold: 24000
stop_threshold: 24001
silence_threshold: 0
silence_size: 0
boundary: 1572929536
===============================
]$ cat /proc/asound/card1/pcm0p/sub0/status
state: RUNNING
trigger_time: 1175697060.863093000
tstamp : 1175697066.782620000
delay : 22176
avail : 1825
avail_max : 6001
-----
hw_ptr : 283824
appl_ptr : 306000
=====================
]$ cat /proc/asound/hwdep
========================
]$ cat /proc/asound/modules
1 snd_usb_audio
=======================
]$ cat /proc/asound/timers
G0: system timer : 1000.000us (10000000 ticks)
P1-0-0: PCM playback 1-0-0 : SLAVE
P1-0-1: PCM capture 1-0-1 : SLAVE
]$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.14rc3.
Compiled on Apr 3 2007 for kernel 2.6.15.4.
======================
]$ cat /proc/asound/devices
1: : sequencer
32: [ 1] : control
33: : timer
48: [ 1- 0]: digital audio playback
56: [ 1- 0]: digital audio capture
]$ cat /proc/asound/pcm
01-00: USB Audio : USB Audio : playback 1 : capture 1
=========================
]$ cat /proc/asound/oss/devices
1: : sequencer
8: : sequencer
16: [1- 0]: mixer
19: [1- 0]: digital audio
20: [1- 0]: digital audio
==========================
]$ cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.14rc3 emulation code)
Kernel: Linux redroofs.ahg 2.6.15.4 #1 Wed Mar 15 12:39:37 GMT 2006 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
USB Audio at usb-0000:00:03.2-4.4, full speed
Audio devices:
1: USB Audio (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
7: system timer
Mixers:
1: USB Mixer
=====================
]$ cat /proc/asound/seq/clients
Client info
cur clients : 3
peak clients : 3
max clients : 192
Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Connecting To: 15:0
Client 14 : "Midi Through" [Kernel]
Port 0 : "Midi Through Port-0" (RWe-)
Client 15 : "OSS sequencer" [Kernel]
Port 0 : "Receiver" (-we-)
Connected From: 0:1
========================
]$ cat /proc/asound/seq/drivers
snd-seq-oss,loaded,0
=========================
]$ cat /proc/asound/seq/oss
OSS sequencer emulation version 0.1.8
ALSA client number 15
ALSA receiver port 0
Number of applications: 0
Number of synth devices: 0
Number of MIDI devices: 1
midi 0: [Midi Through Port-0] ALSA port 14:0
capability read/write / opened none
========================
]$ cat /proc/asound/seq/queues
=======================
]$ cat /proc/asound/seq/timer
=============================
]$ cat /proc/bus/usb/devices (part of)
T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#= 6 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0ccd ProdID=0028 Rev= 1.00
S: Product=USB Audio
C:* #Ifs= 4 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
I: If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I: If#= 1 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E: Ad=01(O) Atr=09(Isoc) MxPS= 200 Ivl=1ms
I: If#= 1 Alt= 2 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E: Ad=01(O) Atr=09(Isoc) MxPS= 600 Ivl=1ms
I: If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
I: If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
E: Ad=82(I) Atr=05(Isoc) MxPS= 200 Ivl=1ms
I: If#= 3 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=(none)
E: Ad=83(I) Atr=03(Int.) MxPS= 3 Ivl=32ms
====================
]$ amixer
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 255
Mono: Playback 125 [49%] [-25.37dB] [on]
Simple mixer control 'Line',0
Capabilities: pvolume cvolume pswitch pswitch-joined cswitch cswitch-joined
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: Playback 0 - 255 Capture 0 - 128
Front Left: Playback 130 [51%] [23.40dB] [on] Capture 93 [73%] [16.56dB]
[on]
Front Right: Playback 130 [51%] [23.40dB] [on] Capture 93 [73%] [16.56dB]
[on]
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined cvolume pswitch pswitch-joined cswitch
cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Mono
Capture channels: Mono
Limits: Playback 0 - 255 Capture 0 - 128
Mono: Playback 195 [76%] [35.10dB] [on] Capture 108 [84%] [19.26dB] [off]
Simple mixer control 'Mic Capture',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 In',0
Capabilities: cswitch cswitch-joined
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Input 1',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [off]
Simple mixer control 'Input 2',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [off]
=============================
]$ arecord -L
default:CARD=Audio
USB Audio, USB Audio
Default Audio Device
front:CARD=Audio,DEV=0
USB Audio, USB Audio
Front speakers
surround40:CARD=Audio,DEV=0
USB Audio, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=Audio,DEV=0
USB Audio, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Audio,DEV=0
USB Audio, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Audio,DEV=0
USB Audio, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Audio,DEV=0
USB Audio, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Audio,DEV=0
USB Audio, USB Audio
IEC958 (S/PDIF) Digital Audio Output
null
Discard all samples (playback) or generate zero samples (capture)
=====================
]$ less /etc/modprobe.conf
alias usb-controller ehci-hcd
alias usb-controller1 ohci-hcd
alias snd-card-1 snd-usb-audio
options snd-card-1 index=1
options snd-usb-audio index=1 nrpacks=1
alias char-major-14 soundcore
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
remove snd-usb-audio { /usr/sbin/alsactl store 1 >/dev/null 2>&1
|| : ; }; /sbin/modprobe -r --ignore-remove snd-us
b-audio
--
Best wishes,
Howard (A.H.Gilbert, Thornaby-on-Tees.)
==================================================
No Micro$oft products were used in the preparation
and distribution of this message.
==================================================
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user