[alsa-devel] ALSA, SB1240 (Sound Blaster HD USB DAC) - need help :(

Самохин Александр Валентинович a.samokhin at greatcircus.ru
Thu Apr 6 10:55:16 CEST 2017


Hi,

I’m trying adding support for Creative SB1240(Sound Blaster HD, USB DAC)..
Player Volume control is working like a charm, but.. “Capture” interface (Mic, Line, Phonograph) – not working at all.

Can you help me to add support for this card?

I’m trying to sniff USB traffic between USB DAC & Windows Driver(with Wireshark usbdump).
But.. I need more theory, to do it..
I cannot get work any capturing interface ☹


I’t my environment:

# uname -a
Linux kernel 4.9.20 #1 SMP Wed Apr 5 18:42:37 MSK 2017 x86_64 GNU/Linux
# cat /etc/group
audio:x:63:root

# dmesg
***************
[    1.670745] usb 1-1.1: New USB device found, idVendor=041e, idProduct=3232
[    1.670748] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.670750] usb 1-1.1: Product: USB Sound Blaster HD
[    1.670752] usb 1-1.1: Manufacturer: Creative Technology
[    1.670753] usb 1-1.1: SerialNumber: 000003II
[    1.673435] input: Creative Technology USB Sound Blaster HD as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.5/0003:041E:3232.0001/input/input6
***************

# ls -la /dev/snd/
total 0
drwxr-xr-x    4 root     root           220 Apr  5 21:33 .
drwxr-xr-x   15 root     root          3360 Apr  5 21:34 ..
drwxr-xr-x    2 root     root            60 Apr  5 21:33 by-id
drwxr-xr-x    2 root     root            60 Apr  5 21:33 by-path
crw-rw----    1 root     audio     116,   2 Apr  5 21:33 controlC0
crw-rw----    1 root     audio     116,   4 Apr  5 21:33 pcmC0D0c
crw-rw----    1 root     audio     116,   3 Apr  5 21:34 pcmC0D0p
crw-rw----    1 root     audio     116,   6 Apr  5 22:57 pcmC0D1c
crw-rw----    1 root     audio     116,   5 Apr  5 21:33 pcmC0D1p
crw-rw----    1 root     audio     116,   7 Apr  5 21:33 pcmC0D2p
crw-rw----    1 root     audio     116,  33 Apr  5 21:33 timer

# amixer info
Card default 'HD'/'Creative Technology USB Sound Blaster HD at usb-0000:00:1a.0-1.1, full speed'
  Mixer name    : 'USB Mixer'
  Components    : 'USB041e:3232'
  Controls      : 8
  Simple ctrls  : 2

# amixer contents
numid=6,iface=MIXER,name='PCM Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=7,iface=MIXER,name='PCM Playback Volume'
  ; type=INTEGER,access=rw---R--,values=2,min=0,max=128,step=0
  : values=128,128
  | dBminmax-min=-64.00dB,max=0.00dB
numid=8,iface=MIXER,name='PCM Capture Source'
  ; type=ENUMERATED,access=rw------,values=1,items=3
  ; Item #0 'Mic'
  ; Item #1 'Line'
  ; Item #2 'Phonograph'
  : values=1
numid=4,iface=PCM,name='Capture Channel Map'
  ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
  : values=0,0
  | container
    | chmap-fixed=FL,FR

numid=1,iface=PCM,name='Playback Channel Map'
  ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
  : values=3,4
  | container
    | chmap-fixed=FL,FR

numid=5,iface=PCM,name='Capture Channel Map',device=1
  ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
  : values=0,0
  | container
    | chmap-fixed=FL,FR

numid=2,iface=PCM,name='Playback Channel Map',device=1
  ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
  : values=0,0
  | container
    | chmap-fixed=FL,FR

numid=3,iface=PCM,name='Playback Channel Map',device=2
  ; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
  : values=0,0
  | container
    | chmap-fixed=FL,FR



С уважением,
Александр Самохин

Заместитель начальника отдела
Отдел информационных технологий и компьютерного обеспечения
ФГУП «Большой Московский цирк»

Email: a.samokhin at greatcircus.ru<mailto:a.samokhin at greatcircus.ru> , it at greatcircus.ru<mailto:it at greatcircus.ru>
Tel: +7 (495) 930-22-25, вн. 2002
Mob: +7 (903) 296-77-98



More information about the Alsa-devel mailing list