recording with usb microphone Umik-1 on Debian and Raspberry Pi - 2nd try

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Team,

i am still looking for help/hints for this topic. if this is not the right forum, pls advise where i could turn to.
is there a way to contact the alsa developers?

i attached some new logs. there are outputs for:
- dmesg
- lsusb
- amixer -c 1
- arecord -l
- arecord -L
- arecord -vv -D "sysdefault:CARD=U12dB" test.wav

i attached 5 files. i collected outputs for two OS (Debian Wheezy and Raspbian) and with two microphones as well. one mic is fully supported (Samson C01U) and the other is the subject of this query (UMIK-1).

the only difference I can see at this level  is the sample format the mics are using:
- Samson C01U - /S16_LE/
- UMIK-1 - /S24-3LE/

i verified, the UMIK-1 mic is operational under Win7.

pls advise,
regards,
zoltan

-------- Original Message --------
Subject: recording with usb microphone Umik-1 on Debian and Raspberry Pi
Date: Thu, 27 Feb 2014 19:14:17 +0100
From: zoltan salamon <zsalamon@xxxxxxxxxxx>
To: alsa-user@xxxxxxxxxxxxxxxxxxxxx


Team,

I am trying to record with alsa and Umik-1 (http://www.minidsp.com/products/acoustic-measurement/umik-1) on Debian and Raspbian (on Raspberry Pi hardware).
in both cases, I am experiencing the following:

- "lsusb" displays: [Bus 001 Device 005: ID 2752:0007]
- "amixer" and "arecord -l -L" can see the device and i can adjust the capture level as well.
- but recording with "arecord" does not happen. the recording starts, but no input is detected.

pls see the attached log on each of the above steps.
with same steps i was able to record with a "Samson C01u" microphone.
kindly advise on troubleshooting or any possible next steps.

thank you in advance,
regards,
zoltan






This email is free from viruses and malware because avast! Antivirus protection is active.


#
#
# Inserting other USB Microphone
# Samson Technologies Corp. C01U
#
# this is working
#
#

root@raspberrypi:~# 
root@raspberrypi:~# 
root@raspberrypi:~# dmesg
<...>
[  377.179452] usb 1-1.2: new full-speed USB device number 5 using dwc_otg
[  377.294280] usb 1-1.2: New USB device found, idVendor=17a0, idProduct=0001
[  377.294317] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  377.294337] usb 1-1.2: Product: USB Microphone
[  377.294354] usb 1-1.2: Manufacturer: USB Microphone
root@raspberrypi:~# 
root@raspberrypi:~# 
root@raspberrypi:~# 
root@raspberrypi:~# lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
Bus 001 Device 005: ID 17a0:0001 Samson Technologies Corp. C01U condenser microphone
root@raspberrypi:~# 
root@raspberrypi:~# 
root@raspberrypi:~# amixer -c 1
Simple mixer control 'Mic',0
  Capabilities: cvolume cswitch cswitch-joined penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 55
  Front Left: Capture 31 [56%] [0.00dB] [on]
  Front Right: Capture 31 [56%] [0.00dB] [on]
root@raspberrypi:~# 
root@raspberrypi:~# 
root@raspberrypi:~# arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: Microphone [USB Microphone], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root@raspberrypi:~# 
root@raspberrypi:~# 
root@raspberrypi:~# arecord -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Microphone
    USB Microphone, USB Audio
    Default Audio Device
sysdefault:CARD=Microphone
    USB Microphone, USB Audio
    Default Audio Device
front:CARD=Microphone,DEV=0
    USB Microphone, USB Audio
    Front speakers
surround40:CARD=Microphone,DEV=0
    USB Microphone, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Microphone,DEV=0
    USB Microphone, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Microphone,DEV=0
    USB Microphone, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Microphone,DEV=0
    USB Microphone, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Microphone,DEV=0
    USB Microphone, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Microphone,DEV=0
    USB Microphone, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
root@raspberrypi:~# 
root@raspberrypi:~# 
root@raspberrypi:~# arecord -vv -D "sysdefault:CARD=Microphone" test.wav
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Converter: linear-interpolation
Protocol version: 10002
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 2730
  period_size  : 170
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 170
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 2730
  silence_threshold: 0
  silence_size : 0
  boundary     : 178913280
Slave: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0*0.5 + 1*0.5
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 8
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 6
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Snoop PCM
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 6
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'USB Microphone' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : ENABLE
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 1073741824
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
  appl_ptr     : 0
  hw_ptr       : 0
#+                                                 | 00%^C
Aborted by signal Interrupt...
root@raspberrypi:~# 
#
#
# Inserting the USB Microphone
# MiniDSP UMIK-1
#
# this is NOT working
#
#

root@raspberrypi:~# 
root@raspberrypi:~# 
root@raspberrypi:~# dmesg
<...>
[   37.939475] usb 1-1.2: new full-speed USB device number 4 using dwc_otg
[   38.054688] usb 1-1.2: New USB device found, idVendor=2752, idProduct=0007
[   38.054727] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   38.054747] usb 1-1.2: Product: Umik-1  Gain: 12dB  
[   38.054764] usb 1-1.2: Manufacturer: miniDSP 
[   38.054782] usb 1-1.2: SerialNumber: 00002
root@raspberrypi:~# 
root@raspberrypi:~# 
root@raspberrypi:~# lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
Bus 001 Device 004: ID 2752:0007  
root@raspberrypi:~# 
root@raspberrypi:~# 
root@raspberrypi:~# amixer -c 1
Simple mixer control 'Mic',0
  Capabilities: cvolume cswitch cswitch-joined penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 55
  Front Left: Capture 52 [95%] [21.00dB] [on]
  Front Right: Capture 52 [95%] [21.00dB] [on]
root@raspberrypi:~# 
root@raspberrypi:~# 
root@raspberrypi:~# arecord -l
**** List of CAPTURE Hardware Devices ****
card 1: U12dB [Umik-1  Gain: 12dB], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root@raspberrypi:~# 
root@raspberrypi:~# 
root@raspberrypi:~# arecord -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=U12dB
    Umik-1  Gain: 12dB, USB Audio
    Default Audio Device
sysdefault:CARD=U12dB
    Umik-1  Gain: 12dB, USB Audio
    Default Audio Device
front:CARD=U12dB,DEV=0
    Umik-1  Gain: 12dB, USB Audio
    Front speakers
surround40:CARD=U12dB,DEV=0
    Umik-1  Gain: 12dB, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=U12dB,DEV=0
    Umik-1  Gain: 12dB, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=U12dB,DEV=0
    Umik-1  Gain: 12dB, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=U12dB,DEV=0
    Umik-1  Gain: 12dB, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=U12dB,DEV=0
    Umik-1  Gain: 12dB, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=U12dB,DEV=0
    Umik-1  Gain: 12dB, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
root@raspberrypi:~# 
root@raspberrypi:~# 
root@raspberrypi:~# arecord -vv -D "sysdefault:CARD=U12dB" test.wav
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Converter: linear-interpolation
Protocol version: 10002
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 2730
  period_size  : 170
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 170
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 2730
  silence_threshold: 0
  silence_size : 0
  boundary     : 178913280
Slave: Route conversion PCM (sformat=S24_3LE)
  Transformation table:
    0 <- 0*0.5 + 1*0.5
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 8
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 6
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Snoop PCM
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : S24_3LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 24
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 6
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'Umik-1  Gain: 12dB' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : S24_3LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 24
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : ENABLE
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 1073741824
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
  appl_ptr     : 0
  hw_ptr       : 0
#+                                                 | 00%^C
Aborted by signal Interrupt...
root@raspberrypi:~# 
#
# logs for Samson USB Microphone C01U on Debian Wheezy
# recording ok
#


zsalamon@kahoolawe:~$ dmesg
<...>
[  356.040054] usb 5-1: new full-speed USB device number 3 using uhci_hcd
[  356.239074] usb 5-1: New USB device found, idVendor=17a0, idProduct=0001
[  356.239078] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  356.239082] usb 5-1: Product: USB Microphone
[  356.239084] usb 5-1: Manufacturer: USB Microphone
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ lsusb
<...>
Bus 005 Device 003: ID 17a0:0001 Samson Technologies Corp. C01U condenser microphone
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ amixer -c 1
Simple mixer control 'Mic',0
  Capabilities: cvolume cswitch cswitch-joined penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 55
  Front Left: Capture 55 [100%] [24.00dB] [on]
  Front Right: Capture 55 [100%] [24.00dB] [on]
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 1: Microphone [USB Microphone], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ arecord -L
default
    Playback/recording through the PulseAudio sound server
sysdefault:CARD=Intel
    HDA Intel, AD198x Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, AD198x Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, AD198x Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, AD198x Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, AD198x Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, AD198x Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, AD198x Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
sysdefault:CARD=Microphone
    USB Microphone, USB Audio
    Default Audio Device
front:CARD=Microphone,DEV=0
    USB Microphone, USB Audio
    Front speakers
surround40:CARD=Microphone,DEV=0
    USB Microphone, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Microphone,DEV=0
    USB Microphone, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Microphone,DEV=0
    USB Microphone, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Microphone,DEV=0
    USB Microphone, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Microphone,DEV=0
    USB Microphone, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Microphone,DEV=0
    USB Microphone, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ arecord -vv -D "sysdefault:CARD=Microphone" test.wav
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Converter: libspeex (builtin)
Protocol version: 10002
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 2730
  period_size  : 170
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 170
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 2730
  silence_threshold: 0
  silence_size : 0
  boundary     : 178913280
Slave: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0*0.5 + 1*0.5
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 8
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 6
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Snoop PCM
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 6
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'USB Microphone' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : ENABLE
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 1073741824
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
  appl_ptr     : 0
  hw_ptr       : 0
###########  +                                     | 25%^C
Aborted by signal Interrupt...
zsalamon@kahoolawe:~$ 
#
# logs for UMIK-1 USB Microphone on Debian Wheezy
# recording NOT ok
#


zsalamon@kahoolawe:~$ dmesg
<...>
[  684.640062] usb 5-1: new full-speed USB device number 4 using uhci_hcd
[  684.836090] usb 5-1: New USB device found, idVendor=2752, idProduct=0007
[  684.836099] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  684.836106] usb 5-1: Product: Umik-1  Gain: 12dB  
[  684.836112] usb 5-1: Manufacturer: miniDSP 
[  684.836117] usb 5-1: SerialNumber: 00002
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ lsusb
<...>
Bus 005 Device 004: ID 2752:0007  
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ amixer -c 1
Simple mixer control 'Mic',0
  Capabilities: cvolume cswitch cswitch-joined penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 55
  Front Left: Capture 50 [91%] [19.00dB] [on]
  Front Right: Capture 50 [91%] [19.00dB] [on]
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 1: U12dB [Umik-1  Gain: 12dB], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ arecord -L
default
    Playback/recording through the PulseAudio sound server
sysdefault:CARD=Intel
    HDA Intel, AD198x Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, AD198x Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, AD198x Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, AD198x Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, AD198x Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, AD198x Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, AD198x Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
sysdefault:CARD=U12dB
    Umik-1  Gain: 12dB, USB Audio
    Default Audio Device
front:CARD=U12dB,DEV=0
    Umik-1  Gain: 12dB, USB Audio
    Front speakers
surround40:CARD=U12dB,DEV=0
    Umik-1  Gain: 12dB, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=U12dB,DEV=0
    Umik-1  Gain: 12dB, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=U12dB,DEV=0
    Umik-1  Gain: 12dB, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=U12dB,DEV=0
    Umik-1  Gain: 12dB, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=U12dB,DEV=0
    Umik-1  Gain: 12dB, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=U12dB,DEV=0
    Umik-1  Gain: 12dB, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ 
zsalamon@kahoolawe:~$ arecord -vv -D "sysdefault:CARD=U12dB" test.wav
Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
Plug PCM: Rate conversion PCM (48000, sformat=U8)
Converter: libspeex (builtin)
Protocol version: 10002
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 8000
  exact rate   : 8000 (8000/1)
  msbits       : 8
  buffer_size  : 2730
  period_size  : 170
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 170
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 2730
  silence_threshold: 0
  silence_size : 0
  boundary     : 178913280
Slave: Route conversion PCM (sformat=S24_3LE)
  Transformation table:
    0 <- 0*0.5 + 1*0.5
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : U8
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 8
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 6
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Slave: Direct Snoop PCM
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : S24_3LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 24
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 6
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
Hardware PCM card 1 'Umik-1  Gain: 12dB' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : MMAP_INTERLEAVED
  format       : S24_3LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 24
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tstamp_mode  : ENABLE
  period_step  : 1
  avail_min    : 1024
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 1073741824
  silence_threshold: 0
  silence_size : 0
  boundary     : 1073741824
  appl_ptr     : 0
  hw_ptr       : 0
#+                                                 | 00%^C
Aborted by signal Interrupt...
zsalamon@kahoolawe:~$ 
root@raspberrypi:~# 
root@raspberrypi:~# lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
Bus 001 Device 004: ID 2752:0007  
root@raspberrypi:~# 
root@raspberrypi:~# lsusb -v

Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
<...>

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
<...>

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
<...>

Bus 001 Device 004: ID 2752:0007  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x2752 
  idProduct          0x0007 
  bcdDevice            1.00
  iManufacturer           1 miniDSP 
  iProduct                2 Umik-1  Gain: 12dB  
  iSerial                 3 00002
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          128
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength           40
        bInCollection           1
        baInterfaceNr( 0)       1
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Microphone
        bAssocTerminal          2
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             2
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          1
        bSourceID               3
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 3
        bSourceID               1
        bControlSize            1
        bmaControls( 0)      0x01
          Mute Control
        bmaControls( 1)      0x02
          Volume Control
        bmaControls( 2)      0x02
          Volume Control
        iFeature                0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           2
        bDelay                  1 frames
        wFormatTag              1 PCM
      AudioStreaming Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           3
        bBitResolution         24
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        48000
        junk at descriptor end: 11 2b 00 80 3e 00 22 56 00 00 7d 00 44 ac 00 80 bb 00
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes           13
          Transfer Type            Isochronous
          Synch Type               Synchronous
          Usage Type               Data
        wMaxPacketSize     0x0120  1x 288 bytes
        bInterval               1
        bRefresh                0
        bSynchAddress           0
        AudioControl Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         0 Undefined
          wLockDelay              0 Undefined
Device Status:     0x0000
  (Bus Powered)
root@raspberrypi:~# 
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux