Skip to contentSkip to conversation

Hercules P32 DJ: severe sound distortion during MIDI transfers

DISCUSSION Guido Trentalancia 3 participants 21 messages Mar 20, 2019 – Mar 22, 2019

lore
Share & tools
lore
#0 lore raw

Hello.

I am hitting a very serious bug (ALSA kernel driver or ALSA library) when using the Hercules P32 DJ audio interface.

The sound is severely distorted during MIDI transfers.

To reproduce:

- start playing something in a first console:

console1# AUDIODEV=hw:2,0 play audio.wav

- the audio plays fine

- now start "amidi" in a second console while the above track is still playing

console2# amidi -p hw:2,0,0 -d

- the sound is now severely distorted (basically noise, with some hard- to-distinguish features resembling the original track) until "amidi" is interrupted !

Kernel versions tested: from 4.12 up to 5.0.2 (latest).

NOTES: Always reproducible. Same device is working fine on Windows.

The output from alsa-info.sh and lsusb -v follows.

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.64
!!################################

!!Script ran on: Wed Mar 20 20:44:36 UTC 2019

!!Linux Distribution
!!------------------

!!DMI Information
!!---------------

Manufacturer:      Acer
Product Name:      Aspire 5745G
Product Version:   V1.19
Firmware Version:  V1.19
Board Vendor:      Acer
Board Name:        JV51_CP

!!ACPI Device Status Information
!!---------------

/sys/bus/acpi/devices/PNP0103:00/status 15
/sys/bus/acpi/devices/PNP0C0A:00/status 31
/sys/bus/acpi/devices/PNP0C0F:00/status 9
/sys/bus/acpi/devices/PNP0C0F:01/status 9
/sys/bus/acpi/devices/PNP0C0F:02/status 9
/sys/bus/acpi/devices/PNP0C0F:03/status 9
/sys/bus/acpi/devices/PNP0C0F:04/status 9
/sys/bus/acpi/devices/PNP0C0F:05/status 9
/sys/bus/acpi/devices/PNP0C0F:06/status 9
/sys/bus/acpi/devices/PNP0C0F:07/status 9

!!Kernel Information
!!------------------

Kernel release:    5.0.2
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         unknown
SMP Enabled:       Yes

!!ALSA Version
!!------------

Driver version:     k5.0.2
Library version:    1.1.8
Utilities version:  1.1.8

!!Loaded ALSA modules
!!-------------------

snd_hda_intel
snd_hda_intel
snd_usb_audio

!!Sound Servers on this system
!!----------------------------

Pulseaudio:
Installed - Yes (/usr/bin/pulseaudio)
Running - No

Jack:
Installed - Yes (/usr/bin/jackd)
Running - No

!!Soundcards recognised by ALSA
!!-----------------------------

0 [MID ]: HDA-Intel - HDA Intel MID

                      HDA Intel MID at 0xb7100000 irq 27
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xb3000000 irq 16

2 [DJ ]: USB-Audio - Hercules P32 DJ
Guillemot Corporation Hercules P32 DJ at usb-
0000:00:1d.0-1.4, full speed

!!PCI Soundcards installed in the system
!!--------------------------------------

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
01:00.1 Audio device: NVIDIA Corporation GT216 HDMI Audio Controller (rev a1)

!!Advanced information - PCI Vendor/Device/Subsystem ID's !!-------------------------------------------------------

00:1b.0 0403: 8086:3b56 (rev 05)

	Subsystem: 1025:035b
--
01:00.1 0403: 10de:0be2 (rev a1)
	Subsystem: 1025:035a

!!Loaded sound module options
!!---------------------------

!!Module: snd_hda_intel

	align_buffer_size : -1
	bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
beep_mode :
N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
enable :
Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y

	enable_msi : -1
	id :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),( null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu ll),(null)

	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
jackpoll_ms :
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
model :
(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),( null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu ll),(null)
patch :
(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),( null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu ll),(null)

	pm_blacklist : Y
	position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
power_save : 0
power_save_controller : Y
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
probe_only :
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

	single_cmd : -1
	snoop : -1

!!Module: snd_hda_intel

	align_buffer_size : -1
	bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
beep_mode :
N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
enable :
Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y

	enable_msi : -1
	id :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),( null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu ll),(null)

	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
jackpoll_ms :
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
model :
(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),( null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu ll),(null)
patch :
(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),( null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu ll),(null)

	pm_blacklist : Y
	position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
power_save : 0
power_save_controller : Y
probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
probe_only :
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

	single_cmd : -1
	snoop : -1

!!Module: snd_usb_audio
autoclock : Y
device_setup :
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
enable :
Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
id :
(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),( null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu ll),(null)

	ignore_ctl_error : N
	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
	pid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
quirk_alias :
(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),( null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu ll),(null)

	use_vmalloc : Y
	vid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1

!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek ALC269VB
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0269
Subsystem Id: 0x1025035b
Revision Id: 0x100100
No Modem Function Group found
Default PCM:

    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
Power states: D0 D1 D2 D3 CLKSTOP EPSS
Power: setting=D0, actual=D0
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0 IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Headphone Playback Volume", index=0, device=0

    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC269VB Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x00 0x00]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
  Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x51 0x51]
  Converter: stream=5, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM

Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
Control: name="IEC958 Playback Con Mask", index=0, device=0
Control: name="IEC958 Playback Pro Mask", index=0, device=0
Control: name="IEC958 Playback Default", index=0, device=0
Control: name="IEC958 Playback Switch", index=0, device=0
Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
Device: name="ALC269VB Digital", type="SPDIF", device=1
Converter: stream=5, channel=0
Digital:
Digital category: 0x0
IEC Coding Type: 0x0
PCM:

    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM

Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x8b 0x8b]
Converter: stream=0, channel=0
SDI-Select: 0
PCM:

    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="ALC269VB Analog", type="Audio", device=0
  Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x00 0x00]
  Converter: stream=1, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Connection: 1
     0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0

Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80
0x80]
Connection: 5

     0x18 0x19 0x1a 0x1b 0x1d

Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80]
Connection: 2

     0x02 0x0b

Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00 0x00] [0x80 0x80]
Connection: 2

     0x03 0x0b

Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x00] [0x80]
Connection: 2

     0x02 0x0b

Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x12 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
Control: name="Internal Mic Boost Volume", index=0, device=0

    ControlAmp: chs=3, dir=In, idx=0, ofs=0

Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0 Amp-In vals: [0x00 0x00]
Pincap 0x00000020: IN
Pin Default 0x99a30930: [Fixed] Mic at Int ATAPI
Conn = ATAPI, Color = Unknown
DefAssociation = 0x3, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Control: name="Speaker Playback Switch", index=0, device=0

    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00010014: OUT EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x0c 0x0d*

Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x17 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80]
Pincap 0x00000010: OUT
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x00:
Connection: 1

     0x0f
Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
  Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00001734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80
  Pin Default 0x03a19840: [Jack] Mic at Ext Left
    Conn = 1/8, Color = Pink
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Connection: 1
     0x0d

Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0 Amp-In vals: [0x00 0x00]
Pincap 0x00001724: IN Detect
Vref caps: HIZ 50 GRD 80
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=00, enabled=0
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x0000003c: IN OUT HP Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 2

     0x0c* 0x0d

Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0 Amp-In vals: [0x00 0x00]
Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-Out vals: [0x80 0x80]
Pincap 0x00000034: IN OUT Detect
Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Conn = 1/8, Color = Black
DefAssociation = 0xf, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Unsolicited: tag=00, enabled=0
Connection: 2

     0x0c* 0x0d

Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x1d [Pin Complex] wcaps 0x400000: Mono
Pincap 0x00000020: IN
Pin Default 0x4017992d: [N/A] Speaker at Ext N/A
Conn = Analog, Color = Pink DefAssociation = 0x2, Sequence = 0xd
Misc = NO_PRESENCE
Pin-ctls: 0x20: IN
Node 0x1e [Pin Complex] wcaps 0x400381: Stereo Digital
Pincap 0x00000014: OUT Detect
Pin Default 0x03451120: [Jack] SPDIF Out at Ext Left
Conn = Optical, Color = Black DefAssociation = 0x2, Sequence = 0x0
Misc = NO_PRESENCE
Pin-ctls: 0x40: OUT
Unsolicited: tag=00, enabled=0
Connection: 1

     0x06

Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
Processing caps: benign=0, ncoeff=25
Node 0x21 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
Control: name="Headphone Playback Switch", index=0, device=0

    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000001c: OUT HP Detect
  Pin Default 0x0321101f: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
  Pin-ctls: 0xc0: OUT HP
  Unsolicited: tag=01, enabled=1
  Connection: 2
     0x0c* 0x0d

Node 0x22 [Audio Selector] wcaps 0x30010b: Stereo Amp-In
Amp-In caps: N/A
Amp-In vals: [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00
0x00] [0x00 0x00] [0x00 0x00]
Connection: 7

     0x18 0x19 0x1a 0x1b 0x1d 0x0b 0x12*

Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1 Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80
0x80] [0x80 0x80]
Connection: 6

     0x18 0x19 0x1a 0x1b 0x1d 0x0b

Codec: Nvidia Generic
Address: 0
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de000a
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:

    rates [0x0]:
    bits [0x0]:
    formats [0x0]:

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
Power states: D0 D1 D2 D3
Power: setting=D0, actual=D0
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
Control: name="IEC958 Playback Con Mask", index=0, device=0
Control: name="IEC958 Playback Pro Mask", index=0, device=0
Control: name="IEC958 Playback Default", index=0, device=0
Control: name="IEC958 Playback Switch", index=0, device=0
Device: name="Generic Digital", type="HDMI", device=3
Converter: stream=0, channel=0
Digital: Enabled
Digital category: 0x0
IEC Coding Type: 0x0
PCM:

    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3

Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
Pincap 0x09000094: OUT Detect HBR HDMI DP
Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=01, enabled=1
Connection: 1

     0x04

Codec: Nvidia Generic
Address: 1
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de000a
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:

    rates [0x0]:
    bits [0x0]:
    formats [0x0]:

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
Power states: D0 D1 D2 D3
Power: setting=D0, actual=D0
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
Control: name="IEC958 Playback Con Mask", index=1, device=0
Control: name="IEC958 Playback Pro Mask", index=1, device=0
Control: name="IEC958 Playback Default", index=1, device=0
Control: name="IEC958 Playback Switch", index=1, device=0
Device: name="Generic Digital", type="HDMI", device=7
Converter: stream=0, channel=0
Digital: Enabled
Digital category: 0x0
IEC Coding Type: 0x0
PCM:

    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3

Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
Pincap 0x09000094: OUT Detect HBR HDMI DP
Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=01, enabled=1
Connection: 1

     0x04

Codec: Nvidia Generic
Address: 2
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de000a
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:

    rates [0x0]:
    bits [0x0]:
    formats [0x0]:

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
Power states: D0 D1 D2 D3
Power: setting=D0, actual=D0
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
Control: name="IEC958 Playback Con Mask", index=2, device=0
Control: name="IEC958 Playback Pro Mask", index=2, device=0
Control: name="IEC958 Playback Default", index=2, device=0
Control: name="IEC958 Playback Switch", index=2, device=0
Device: name="Generic Digital", type="HDMI", device=8
Converter: stream=0, channel=0
Digital: Enabled
Digital category: 0x0
IEC Coding Type: 0x0
PCM:

    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3

Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
Pincap 0x09000094: OUT Detect HBR HDMI DP
Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=01, enabled=1
Connection: 1

     0x04

Codec: Nvidia Generic
Address: 3
AFG Function Id: 0x1 (unsol 0)
Vendor Id: 0x10de000a
Subsystem Id: 0x10de0101
Revision Id: 0x100100
No Modem Function Group found
Default PCM:

    rates [0x0]:
    bits [0x0]:
    formats [0x0]:

Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
Power states: D0 D1 D2 D3
Power: setting=D0, actual=D0
GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
Control: name="IEC958 Playback Con Mask", index=3, device=0
Control: name="IEC958 Playback Pro Mask", index=3, device=0
Control: name="IEC958 Playback Default", index=3, device=0
Control: name="IEC958 Playback Switch", index=3, device=0
Device: name="Generic Digital", type="HDMI", device=9
Converter: stream=5, channel=0
Digital: Enabled
Digital category: 0x0
IEC Coding Type: 0x0
PCM:

    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3

Unsolicited: tag=00, enabled=0
Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
Pincap 0x09000094: OUT Detect HBR HDMI DP
Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
Conn = Digital, Color = Unknown
DefAssociation = 0x1, Sequence = 0x0
Pin-ctls: 0x40: OUT
Unsolicited: tag=01, enabled=1
Connection: 1

     0x04

--endcollapse--

!!USB Mixer information
!!---------------------
--startcollapse--

USB Mixer: usb_id=0x06f8b121, ctrlif=0, ctlerr=0
Card: Guillemot Corporation Hercules P32 DJ at usb-0000:00:1d.0-1.4, full speed
Unit: 2

    Control: name="PCM Playback Volume", index=0
    Info: id=2, control=2, cmask=0xf, channels=4, type="S16"
    Volume: min=-25600, max=0, dBmin=-10000, dBmax=0
  Unit: 2
    Control: name="PCM Playback Switch", index=0
    Info: id=2, control=1, cmask=0xf, channels=4, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0

--endcollapse--

!!ALSA Device nodes
!!-----------------

crw-rw----. 1 root audio 116, 6 Mar 20 18:15 /dev/snd/controlC0 crw-rw----. 1 root audio 116, 15 Mar 20 18:15 /dev/snd/controlC1 crw-rw----. 1 root audio 116, 18 Mar 20 21:25 /dev/snd/controlC2 crw-rw----. 1 root audio 116, 5 Mar 20 18:15 /dev/snd/hwC0D0 crw-rw----. 1 root audio 116, 11 Mar 20 18:15 /dev/snd/hwC1D0 crw-rw----. 1 root audio 116, 12 Mar 20 18:15 /dev/snd/hwC1D1 crw-rw----. 1 root audio 116, 13 Mar 20 18:15 /dev/snd/hwC1D2 crw-rw----. 1 root audio 116, 14 Mar 20 18:15 /dev/snd/hwC1D3 crw-rw----. 1 root audio 116, 17 Mar 20 21:25 /dev/snd/midiC2D0

crw-rw----. 1 root audio 116,  3 Mar 20 19:58 /dev/snd/pcmC0D0c
crw-rw----. 1 root audio 116,  2 Mar 20 20:40 /dev/snd/pcmC0D0p
crw-rw----. 1 root audio 116,  4 Mar 20 19:58 /dev/snd/pcmC0D1p
crw-rw----. 1 root audio 116,  7 Mar 20 19:58 /dev/snd/pcmC1D3p
crw-rw----. 1 root audio 116,  8 Mar 20 19:58 /dev/snd/pcmC1D7p
crw-rw----. 1 root audio 116,  9 Mar 20 19:58 /dev/snd/pcmC1D8p

crw-rw----. 1 root audio 116, 10 Mar 20 19:58 /dev/snd/pcmC1D9p crw-rw----. 1 root audio 116, 16 Mar 20 21:32 /dev/snd/pcmC2D0p crw-rw----. 1 root audio 116, 1 Mar 20 17:19 /dev/snd/seq crw-rw----. 1 root audio 116, 33 Mar 20 18:15 /dev/snd/timer

/dev/snd/by-id:
total 0
drwxr-xr-x. 2 root root 60 Mar 20 21:25 . drwxr-xr-x. 4 root root 460 Mar 20 21:25 .. lrwxrwxrwx. 1 root root 12 Mar 20 21:25 usb- Guillemot_Corporation_Hercules_P32_DJ-00 -> ../controlC2

/dev/snd/by-path:
total 0
drwxr-xr-x. 2 root root 100 Mar 20 21:25 .
drwxr-xr-x. 4 root root 460 Mar 20 21:25 ..
lrwxrwxrwx. 1 root root 12 Mar 20 18:15 pci-0000:00:1b.0 -> ../controlC0
lrwxrwxrwx. 1 root root 12 Mar 20 21:25 pci-0000:00:1d.0-usb-0:1.4:1.0 -> ../controlC2
lrwxrwxrwx. 1 root root 12 Mar 20 18:15 pci-0000:01:00.1 -> ../controlC1

!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: ALC269VB Analog [ALC269VB Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 1: ALC269VB Digital [ALC269VB Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: Generic Digital [Generic Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: Generic Digital [Generic Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: Generic Digital [Generic Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: Generic Digital [Generic Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: DJ [Hercules P32 DJ], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: ALC269VB Analog [ALC269VB Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [MID]

Card hw:0 'MID'/'HDA Intel MID at 0xb7100000 irq 27'
Mixer name : 'Realtek ALC269VB'
Components : 'HDA:10ec0269,1025035b,00100100'
Controls : 31
Simple ctrls : 14
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 81 [93%] [-4.50dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 0 [0%] [-65.25dB] [off] Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on] Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 128 [50%] [-25.40dB]
Front Right: Playback 128 [50%] [-25.40dB]
Simple mixer control 'Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Beep',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 0 [0%] [-16.50dB] [on]
Front Right: Capture 0 [0%] [-16.50dB] [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Enabled'
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 60 [50%] [0.00dB]
Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Internal Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Loopback Mixing',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'

!!-------Mixer controls for card 1 [NVidia]

Card hw:1 'NVidia'/'HDA NVidia at 0xb3000000 irq 16'
Mixer name : 'Nvidia Generic'
Components : 'HDA:10de000a,10de0101,00100100'
Controls : 24
Simple ctrls : 4
Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',1
Capabilities: pswitch pswitch-joined Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',2
Capabilities: pswitch pswitch-joined Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',3
Capabilities: pswitch pswitch-joined Playback channels: Mono
Mono: Playback [on]

!!-------Mixer controls for card 2 [DJ]

Card hw:2 'DJ'/'Guillemot Corporation Hercules P32 DJ at usb- 0000:00:1d.0-1.4, full speed'
Mixer name : 'USB Mixer'
Components : 'USB06f8:b121'
Controls : 4
Simple ctrls : 1
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right - Rear Left - Rear Right
Limits: Playback 0 - 400
Mono:
Front Left: Playback 320 [80%] [-20.00dB] [on]
Front Right: Playback 320 [80%] [-20.00dB] [on]
Rear Left: Playback 320 [80%] [-20.00dB] [on]
Rear Right: Playback 320 [80%] [-20.00dB] [on]

!!Alsactl output
!!--------------

--startcollapse--

state.MID {
	control.1 {
		iface MIXER
		name 'Headphone Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 87'
			dbmin -6525
			dbmax 0
			dbvalue.0 -6525
			dbvalue.1 -6525
		}
	}
	control.2 {
		iface MIXER
		name 'Headphone Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'Speaker Playback Volume'
		value.0 87
		value.1 87
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 87'
			dbmin -6525
			dbmax 0
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.4 {
		iface MIXER
		name 'Speaker Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.5 {
		iface MIXER
		name 'Loopback Mixing'
		value Disabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.6 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.7 {
		iface MIXER
		name 'Mic Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.8 {
		iface MIXER
		name 'Auto-Mute Mode'
		value Enabled
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Disabled
			item.1 Enabled
		}
	}
	control.9 {
		iface MIXER
		name 'Capture Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -1650
			dbmax 3000
			dbvalue.0 -1650
			dbvalue.1 -1650
		}
	}
	control.10 {
		iface MIXER
		name 'Capture Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.11 {
		iface MIXER
		name 'Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3600
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.12 {
		iface MIXER
		name 'Internal Mic Boost Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 3'
			dbmin 0
			dbmax 3600
			dbvalue.0 0
			dbvalue.1 0
		}
	}
	control.13 {
		iface MIXER
		name 'Beep Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 31'
			dbmin -3450
			dbmax 1200
			dbvalue.0 -3450
			dbvalue.1 -3450
		}
	}
	control.14 {
		iface MIXER
		name 'Beep Playback Switch'
		value.0 false
		value.1 false
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.15 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value

'0fff000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000'

		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.16 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value

'0f00000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000'

		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.17 {
		iface MIXER
		name 'IEC958 Playback Default'
		value

'0400000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000'

		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.18 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.19 {
		iface MIXER
		name 'IEC958 Default PCM Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.20 {
		iface MIXER
		name 'Master Playback Volume'
		value 81
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 87'
			dbmin -6525
			dbmax 0
			dbvalue.0 -450
		}
	}
	control.21 {
		iface MIXER
		name 'Master Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.22 {
		iface CARD
		name 'Mic Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.23 {
		iface CARD
		name 'Internal Mic Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.24 {
		iface CARD
		name 'Headphone Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.25 {
		iface CARD
		name 'Speaker Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.26 {
		iface CARD
		name 'SPDIF Phantom Jack'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.27 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.28 {
		iface PCM
		name 'Capture Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.29 {
		iface PCM
		device 1
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.30 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 128
		value.1 128
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 255'
			tlv '0000000100000008ffffec1400000014'
			dbmin -5100
			dbmax 0
			dbvalue.0 -2540
			dbvalue.1 -2540
		}
	}
	control.31 {
		iface MIXER
		name 'Digital Capture Volume'
		value.0 60
		value.1 60
		comment {
			access 'read write user'
			type INTEGER
			count 2
			range '0 - 120'
			tlv '0000000100000008fffff44800000032'
			dbmin -3000
			dbmax 3000
			dbvalue.0 0
			dbvalue.1 0
		}
	}
}
state.NVidia {
	control.1 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		value

'0fff000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000'

		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.2 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		value

'0f00000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000'

		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.3 {
		iface MIXER
		name 'IEC958 Playback Default'
		value

'0400000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000'

		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.4 {
		iface MIXER
		name 'IEC958 Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.5 {
		iface CARD
		name 'HDMI Jack'
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.6 {
		iface PCM
		device 3
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.7 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 1
		value

'0fff000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000'

		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.8 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 1
		value

'0f00000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000'

		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.9 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 1
		value

'0400000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000'

		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.10 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 1
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.11 {
		iface CARD
		name 'HDMI Jack'
		index 1
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.12 {
		iface PCM
		device 7
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.13 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 2
		value

'0fff000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000'

		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.14 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 2
		value

'0f00000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000'

		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.15 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 2
		value

'0400000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000'

		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.16 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 2
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.17 {
		iface CARD
		name 'HDMI Jack'
		index 2
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.18 {
		iface PCM
		device 8
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
	control.19 {
		iface MIXER
		name 'IEC958 Playback Con Mask'
		index 3
		value

'0fff000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000'

		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.20 {
		iface MIXER
		name 'IEC958 Playback Pro Mask'
		index 3
		value

'0f00000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000'

		comment {
			access read
			type IEC958
			count 1
		}
	}
	control.21 {
		iface MIXER
		name 'IEC958 Playback Default'
		index 3
		value

'0400000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000000000000000000000000'

		comment {
			access 'read write'
			type IEC958
			count 1
		}
	}
	control.22 {
		iface MIXER
		name 'IEC958 Playback Switch'
		index 3
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.23 {
		iface CARD
		name 'HDMI Jack'
		index 3
		value false
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.24 {
		iface PCM
		device 9
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		comment {
			access read
			type INTEGER
			count 2
			range '0 - 36'
		}
	}
}
state.DJ {
	control.1 {
		iface PCM
		name 'Playback Channel Map'
		value.0 0
		value.1 0
		value.2 0
		value.3 0
		comment {
			access read
			type INTEGER
			count 4
			range '0 - 36'
		}
	}
	control.2 {
		iface MIXER
		name 'PCM Playback Switch'
		value.0 true
		value.1 true
		value.2 true
		value.3 true
		comment {
			access 'read write'
			type BOOLEAN
			count 4
		}
	}
	control.3 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 320
		value.1 320
		value.2 320
		value.3 320
		comment {
			access 'read write'
			type INTEGER
			count 4
			range '0 - 400'
			dbmin -10000
			dbmax 0
			dbvalue.0 -2000
			dbvalue.1 -2000
			dbvalue.2 -2000
			dbvalue.3 -2000
		}
	}
	control.4 {
		iface CARD
		name 'Keep Interface'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
}

--endcollapse--

!!All Loaded Modules
!!------------------

Module
snd_hrtimer
snd_seq_midi
snd_seq_dummy
snd_seq_midi_event
snd_seq
snd_pcm_oss
snd_mixer_oss
xt_iprange
ipv6
crc_ccitt
arc4
brcmsmac
cordic
brcmutil
mac80211
sha256_ssse3
snd_usb_audio
snd_usbmidi_lib
sha256_generic
snd_rawmidi
cfg80211
snd_seq_device
iTCO_wdt
iTCO_vendor_support
snd_hda_codec_realtek
snd_hda_codec_generic
ledtrig_audio
snd_hda_intel
joydev
snd_hda_codec
acer_wmi
sparse_keymap
bcma
snd_hda_core
rfkill
pcc_cpufreq
snd_hwdep
acpi_cpufreq
snd_pcm
snd_timer
mei_me
snd
mei
pcspkr
soundcore
lpc_ich
i2c_i801
mfd_core
ums_onetouch
usb_storage
dm_crypt
serio_raw
atl1c
nouveau
mxm_wmi
i2c_algo_bit
drm_kms_helper
syscopyarea
sysfillrect
sysimgblt
fb_sys_fops
ttm
wmi
video
drm
i2c_core

!!Sysfs Files
!!-----------

/sys/class/sound/hwC0D0/init_pin_configs:
0x12 0x99a30930
0x14 0x99130110
0x17 0x411111f0
0x18 0x03a19840
0x19 0x411111f0
0x1a 0x411111f0
0x1b 0x411111f0
0x1d 0x4017992d
0x1e 0x03451120
0x21 0x0321101f

/sys/class/sound/hwC0D0/driver_pin_configs:

/sys/class/sound/hwC0D0/user_pin_configs:

/sys/class/sound/hwC0D0/init_verbs:

/sys/class/sound/hwC0D0/hints:

/sys/class/sound/hwC1D0/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D0/driver_pin_configs:

/sys/class/sound/hwC1D0/user_pin_configs:

/sys/class/sound/hwC1D0/init_verbs:

/sys/class/sound/hwC1D0/hints:

/sys/class/sound/hwC1D1/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D1/driver_pin_configs:

/sys/class/sound/hwC1D1/user_pin_configs:

/sys/class/sound/hwC1D1/init_verbs:

/sys/class/sound/hwC1D1/hints:

/sys/class/sound/hwC1D2/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D2/driver_pin_configs:

/sys/class/sound/hwC1D2/user_pin_configs:

/sys/class/sound/hwC1D2/init_verbs:

/sys/class/sound/hwC1D2/hints:

/sys/class/sound/hwC1D3/init_pin_configs:
0x05 0x18560010

/sys/class/sound/hwC1D3/driver_pin_configs:

/sys/class/sound/hwC1D3/user_pin_configs:

/sys/class/sound/hwC1D3/init_verbs:

/sys/class/sound/hwC1D3/hints:

!!ALSA/HDA dmesg
!!--------------

[    0.238633] ACPI: Added _OSI(Linux-Dell-Video)
[    0.238779] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.238926] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
--
[   24.240651] input: Acer WMI hotkeys as
/devices/virtual/input/input16
[   24.294387] snd_hda_intel 0000:00:1b.0: enabling device (0000 ->
0002)
[   24.295148] snd_hda_intel 0000:01:00.1: Disabling MSI
[   24.417727] snd_hda_codec_realtek hdaudioC0D0: autoconfig for
ALC269VB: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[   24.418128] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0
(0x0/0x0/0x0/0x0/0x0)
[   24.418507] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1
(0x21/0x0/0x0/0x0/0x0)
[   24.419057] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[   24.419695] snd_hda_codec_realtek hdaudioC0D0:    dig-out=0x1e/0x0
[   24.420312] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[   24.420959] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[   24.421602] snd_hda_codec_realtek hdaudioC0D0:      Internal
Mic=0x12
[   24.448267] input: HDA Intel MID Mic as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input17
[   24.448762] input: HDA Intel MID Headphone as
/devices/pci0000:00/0000:00:1b.0/sound/card0/input18
[   24.517380] mei mei::55213584-9a29-4916-badf-0fb7ed682aeb:01: Could
not read FW version
[   24.517783] mei mei::55213584-9a29-4916-badf-0fb7ed682aeb:01: FW
version command failed -5
[   24.606385] snd_hda_codec_generic hdaudioC1D0: autoconfig for
Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
[   24.606759] snd_hda_codec_generic hdaudioC1D0:    speaker_outs=0
(0x0/0x0/0x0/0x0/0x0)
[   24.607115] snd_hda_codec_generic hdaudioC1D0:    hp_outs=0
(0x0/0x0/0x0/0x0/0x0)
[   24.607684] snd_hda_codec_generic hdaudioC1D0:    mono: mono_out=0x0
[   24.608266] snd_hda_codec_generic hdaudioC1D0:    dig-out=0x5/0x0
[   24.608871] snd_hda_codec_generic hdaudioC1D0:    inputs:
[   24.684106] mce: CPU3: Core temperature above threshold, cpu clock
throttled (total events = 1)
--
[   24.770560] iTCO_vendor_support: vendor-support=0
[   24.790526] snd_hda_codec_generic hdaudioC1D1: autoconfig for
Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
[   24.790874] snd_hda_codec_generic hdaudioC1D1:    speaker_outs=0
(0x0/0x0/0x0/0x0/0x0)
[   24.791202] snd_hda_codec_generic hdaudioC1D1:    hp_outs=0
(0x0/0x0/0x0/0x0/0x0)
[   24.791536] snd_hda_codec_generic hdaudioC1D1:    mono: mono_out=0x0
[   24.791995] snd_hda_codec_generic hdaudioC1D1:    dig-out=0x5/0x0
[   24.792477] snd_hda_codec_generic hdaudioC1D1:    inputs:
[   24.799553] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
--
[   24.800621] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[   24.850369] snd_hda_codec_generic hdaudioC1D2: autoconfig for
Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
[   24.850650] snd_hda_codec_generic hdaudioC1D2:    speaker_outs=0
(0x0/0x0/0x0/0x0/0x0)
[   24.850911] snd_hda_codec_generic hdaudioC1D2:    hp_outs=0
(0x0/0x0/0x0/0x0/0x0)
[   24.851165] snd_hda_codec_generic hdaudioC1D2:    mono: mono_out=0x0
[   24.851415] snd_hda_codec_generic hdaudioC1D2:    dig-out=0x5/0x0
[   24.851747] snd_hda_codec_generic hdaudioC1D2:    inputs:
[   25.056813] snd_hda_codec_generic hdaudioC1D3: autoconfig for
Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
[   25.057109] snd_hda_codec_generic hdaudioC1D3:    speaker_outs=0
(0x0/0x0/0x0/0x0/0x0)
[   25.057393] snd_hda_codec_generic hdaudioC1D3:    hp_outs=0
(0x0/0x0/0x0/0x0/0x0)
[   25.057658] snd_hda_codec_generic hdaudioC1D3:    mono: mono_out=0x0
[   25.057924] snd_hda_codec_generic hdaudioC1D3:    dig-out=0x5/0x0
[   25.058180] snd_hda_codec_generic hdaudioC1D3:    inputs:
[   25.094153] input: HDA NVidia HDMI as
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
[   25.094539] input: HDA NVidia HDMI as
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
[   25.094891] input: HDA NVidia HDMI as
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input21
[   25.095249] input: HDA NVidia HDMI as
/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input22
[   25.783253] cfg80211: Loading compiled-in X.509 certificates for
regulatory database
--
[   26.044956] usb 2-1.4: [2] FU [PCM Playback Volume] ch = 4, val =
-25600/0/64
[   26.046216] usbcore: registered new interface driver snd-usb-audio
[   26.088396] cfg80211: Problem loading in-kernel X.509 certificate (-

13)

-----------------------

lsusb -v

Bus 002 Device 003: ID 06f8:b121 Guillemot Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10

  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x06f8 Guillemot Corp.
  idProduct          0xb121 
  bcdDevice            2.00
  iManufacturer           1 Guillemot Corporation
  iProduct                2 Hercules P32 DJ
  iSerial                 0 
  bNumConfigurations      1

Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 196
bNumInterfaces 3
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 480mA
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 10
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 43
bInCollection 2
baInterfaceNr( 0) 1
baInterfaceNr( 1) 2
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bNrChannels 4
wChannelConfig 0x0033
Left Front (L)
Right Front (R)
Left Surround (LS)
Right Surround (RS)
iChannelNames 0
iTerminal 0
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 2
bSourceID 1
bControlSize 1
bmaControls( 0) 0x00
bmaControls( 1) 0x03
Mute Control
Volume Control
bmaControls( 2) 0x03
Mute Control
Volume Control
bmaControls( 3) 0x03
Mute Control
Volume Control
bmaControls( 4) 0x03
Mute Control
Volume Control
iFeature 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 3
wTerminalType 0x0301 Speaker
bAssocTerminal 0
bSourceID 2
iTerminal 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 2
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 0
iInterface 0
AudioStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 1
bDelay 1 frames
wFormatTag 1 PCM
AudioStreaming Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bNrChannels 4
bSubframeSize 2
bBitResolution 16
bSamFreqType 1 Discrete
tSamFreq[ 0] 48000
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0188 1x 392 bytes
bInterval 1
bRefresh 0
bSynchAddress 129
AudioControl Endpoint Descriptor:
bLength 7
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x00
bLockDelayUnits 0 Undefined
wLockDelay 0 Undefined
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0003 1x 3 bytes
bInterval 1
bRefresh 5
bSynchAddress 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 1 Audio
bInterfaceSubClass 3 MIDI Streaming
bInterfaceProtocol 0
iInterface 2 Hercules P32 DJ
MIDIStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 65
MIDIStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 2 (MIDI_IN_JACK)
bJackType 1 Embedded
bJackID 1
iJack 0
MIDIStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 2 (MIDI_IN_JACK)
bJackType 2 External
bJackID 2
iJack 0
MIDIStreaming Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (MIDI_OUT_JACK)
bJackType 1 Embedded
bJackID 3
bNrInputPins 1
baSourceID( 0) 2
BaSourcePin( 0) 1
iJack 0
MIDIStreaming Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (MIDI_OUT_JACK)
bJackType 2 External
bJackID 4
bNrInputPins 1
baSourceID( 0) 1
BaSourcePin( 0) 1
iJack 0
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
bRefresh 0
bSynchAddress 0
MIDIStreaming Endpoint Descriptor:
bLength 5
bDescriptorType 37
bDescriptorSubtype 1 (GENERAL)
bNumEmbMIDIJack 1
baAssocJackID( 0) 1
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 0
bRefresh 0
bSynchAddress 0
MIDIStreaming Endpoint Descriptor:
bLength 5
bDescriptorType 37
bDescriptorSubtype 1 (GENERAL)
bNumEmbMIDIJack 1
baAssocJackID( 0) 3
Device Status: 0x0e01
Self Powered

Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00

  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x8087 Intel Corp.
  idProduct          0x0020 Integrated Rate Matching Hub
  bcdDevice            0.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1

Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 12
Hub Descriptor:
bLength 11
bDescriptorType 41
nNbrPorts 8
wHubCharacteristic 0x0089
Per-port power switching
Per-port overcurrent protection
TT think time 8 FS bits
Port indicators
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00 0x00
PortPwrCtrlMask 0xff 0xff
Hub Port Status:
Port 1: 0000.0100 power
Port 2: 0000.0100 power
Port 3: 0000.0100 power
Port 4: 0000.0103 power enable connect
Port 5: 0000.0100 power
Port 6: 0000.0100 power
Port 7: 0000.0100 power
Port 8: 0000.0100 power
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00

  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub

bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00

  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            5.00
  iManufacturer           3 Linux 5.0.2 ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 0000:00:1d.0
  bNumConfigurations      1

Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 3
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0503 highspeed power enable connect Port 2: 0000.0100 power
Port 3: 0000.0100 power
Device Status: 0x0001
Self Powered

Bus 001 Device 005: ID 0d49:7010 Maxtor OneTouch
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00

  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0d49 Maxtor
  idProduct          0x7010 OneTouch
  bcdDevice            2.00
  iManufacturer           1 Maxtor
  iProduct                3 OneTouch
  iSerial                 2 Y61LWLCE    
  bNumConfigurations      1

Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 39
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x88 EP 8 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 bytes
bInterval 9
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00

  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 

bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered

Bus 001 Device 003: ID 064e:a219 Suyin Corp. 1.3M WebCam (notebook emachines E730, Acer sub-brand)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x064e Suyin Corp.
idProduct 0xa219 1.3M WebCam (notebook emachines E730, Acer
sub-brand)
bcdDevice 2.15

  iManufacturer           2 Suyin
  iProduct                1 1.3M WebCam
  iSerial                 3 HF1315-S32B-OV01-VA-R02.01.05
  bNumConfigurations      1

Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 527
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 14 Video
bFunctionSubClass 3 Video Interface Collection
bFunctionProtocol 0
iFunction 5 1.3M WebCam
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 1 Video Control
bInterfaceProtocol 0
iInterface 5 1.3M WebCam
VideoControl Interface Descriptor:
bLength 13
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdUVC 1.00
wTotalLength 77
dwClockFrequency 15.000000MHz
bInCollection 1
baInterfaceNr( 0) 1
VideoControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 2
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 4
iTerminal 0
VideoControl Interface Descriptor:
bLength 26
bDescriptorType 36
bDescriptorSubtype 6 (EXTENSION_UNIT)
bUnitID 4
guidExtensionCode {7033f028-1163-2e4a-ba2c-
6890eb334016}

        bNumControl             8
        bNrPins                 1
        baSourceID( 0)          3
        bControlSize            1

bmControls( 0) 0x0f
iExtension 0
VideoControl Interface Descriptor:
bLength 18
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Camera Sensor
bAssocTerminal 0
iTerminal 0
wObjectiveFocalLengthMin 0
wObjectiveFocalLengthMax 0
wOcularFocalLength 0
bControlSize 3
bmControls 0x00000000
VideoControl Interface Descriptor:
bLength 11
bDescriptorType 36
bDescriptorSubtype 5 (PROCESSING_UNIT)
Warning: Descriptor too short
bUnitID 3
bSourceID 1
wMaxMultiplier 0
bControlSize 2
bmControls 0x0000153f
Brightness
Contrast
Hue
Saturation
Sharpness
Gamma
Backlight Compensation
Power Line Frequency
White Balance Temperature, Auto
iProcessing 0
bmVideoStandards 0xc6
NTSC - 525/60
PAL - 625/50
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 6
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 5 1.3M WebCam
VideoStreaming Interface Descriptor:
bLength 14
bDescriptorType 36
bDescriptorSubtype 1 (INPUT_HEADER)
bNumFormats 1
wTotalLength 307
bEndPointAddress 129
bmInfo 0
bTerminalLink 2
bStillCaptureMethod 2
bTriggerSupport 0
bTriggerUsage 0
bControlSize 1
bmaControls( 0) 27
VideoStreaming Interface Descriptor:
bLength 27
bDescriptorType 36
bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
bFormatIndex 1
bNumFrameDescriptors 7
guidFormat {59555932-0000-1000-8000-
00aa00389b71}
bBitsPerPixel 16
bDefaultFrameIndex 1
bAspectRatioX 0
bAspectRatioY 0
bmInterlaceFlags 0x00
Interlaced stream or variable: No
Fields per frame: 2 fields
Field 1 first: No
Field pattern: Field 1 only
bCopyProtect 0
VideoStreaming Interface Descriptor:
bLength 34
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 1
bmCapabilities 0x00
Still image unsupported
wWidth 640
wHeight 480
dwMinBitRate 73728000
dwMaxBitRate 147456000
dwMaxVideoFrameBufferSize 614400
dwDefaultFrameInterval 333333
bFrameIntervalType 2
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 666666
VideoStreaming Interface Descriptor:
bLength 34
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 2
bmCapabilities 0x00
Still image unsupported
wWidth 352
wHeight 288
dwMinBitRate 24330240
dwMaxBitRate 48660480
dwMaxVideoFrameBufferSize 202752
dwDefaultFrameInterval 333333
bFrameIntervalType 2
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 666666
VideoStreaming Interface Descriptor:
bLength 34
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 3
bmCapabilities 0x00
Still image unsupported
wWidth 320
wHeight 240
dwMinBitRate 18432000
dwMaxBitRate 36864000
dwMaxVideoFrameBufferSize 153600
dwDefaultFrameInterval 333333
bFrameIntervalType 2
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 666666
VideoStreaming Interface Descriptor:
bLength 34
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 4
bmCapabilities 0x00
Still image unsupported
wWidth 176
wHeight 144
dwMinBitRate 6082560
dwMaxBitRate 12165120
dwMaxVideoFrameBufferSize 50688
dwDefaultFrameInterval 333333
bFrameIntervalType 2
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 666666
VideoStreaming Interface Descriptor:
bLength 34
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 5
bmCapabilities 0x00
Still image unsupported
wWidth 160
wHeight 120
dwMinBitRate 4608000
dwMaxBitRate 9216000
dwMaxVideoFrameBufferSize 38400
dwDefaultFrameInterval 333333
bFrameIntervalType 2
dwFrameInterval( 0) 333333
dwFrameInterval( 1) 666666
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 6
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 800
dwMinBitRate 122880000
dwMaxBitRate 122880000
dwMaxVideoFrameBufferSize 2048000
dwDefaultFrameInterval 1333333
bFrameIntervalType 1
dwFrameInterval( 0) 1333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
bFrameIndex 7
bmCapabilities 0x00
Still image unsupported
wWidth 1280
wHeight 1024
dwMinBitRate 157286400
dwMaxBitRate 157286400
dwMaxVideoFrameBufferSize 2621440
dwDefaultFrameInterval 1333333
bFrameIntervalType 1
dwFrameInterval( 0) 1333333
VideoStreaming Interface Descriptor:
bLength 30
bDescriptorType 36
bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
bEndpointAddress 0
bNumImageSizePatterns 6
wWidth( 0) 1280
wHeight( 0) 1024
wWidth( 1) 640
wHeight( 1) 480
wWidth( 2) 320
wHeight( 2) 240
wWidth( 3) 320
wHeight( 3) 240
wWidth( 4) 176
wHeight( 4) 144
wWidth( 5) 160
wHeight( 5) 120
bNumCompressionPatterns 6
VideoStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 13 (COLORFORMAT)
bColorPrimaries 1 (BT.709,sRGB)
bTransferCharacteristics 1 (BT.709)
bMatrixCoefficients 4 (SMPTE 170M (BT.601))
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0080 1x 128 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0100 1x 256 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0320 1x 800 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0b20 2x 800 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x1320 3x 800 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 6
bNumEndpoints 1
bInterfaceClass 14 Video
bInterfaceSubClass 2 Video Streaming
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x1400 3x 1024 bytes
bInterval 1
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0002
(Bus Powered)
Remote Wakeup Enabled

Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00

  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x8087 Intel Corp.
  idProduct          0x0020 Integrated Rate Matching Hub
  bcdDevice            0.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1

Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0001 1x 1 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 6
wHubCharacteristic 0x0089
Per-port power switching
Per-port overcurrent protection
TT think time 8 FS bits
Port indicators
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0503 highspeed power enable connect Port 2: 0000.0503 highspeed power enable connect Port 3: 0000.0100 power
Port 4: 0000.0100 power
Port 5: 0000.0100 power
Port 6: 0000.0100 power
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00

  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub

bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00

  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            5.00
  iManufacturer           3 Linux 5.0.2 ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 0000:00:1a.0
  bNumConfigurations      1

Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
Hub Descriptor:
bLength 9
bDescriptorType 41
nNbrPorts 3
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 10 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
DeviceRemovable 0x00
PortPwrCtrlMask 0xff
Hub Port Status:
Port 1: 0000.0503 highspeed power enable connect Port 2: 0000.0100 power
Port 3: 0000.0100 power
Device Status: 0x0001
Self Powered

Does anybody know how to fix this problem ?

Regards,

Guido

#1 lore raw

I wonder if this might be due to a bug in the "USB Audio Driver for Alsa"? [1]https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound /usb [2]https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/tree/sound/us b
Guido

     On the 20th of March 2019 at 21.47 Guido Trentalancia
     <[email protected] wrote:

     Hello.

     I am hitting a very serious bug (ALSA kernel driver or ALSA library)
     when using the Hercules P32 DJ audio interface.

     The sound is severely distorted during MIDI transfers.

     To reproduce:
     * start playing something in a first console:

     console1# AUDIODEV=hw:2,0 play audio.wav
     * the audio plays fine
     * now start "amidi" in a second console while the above track is
       still
       playing

     console2# amidi -p hw:2,0,0 -d
     * the sound is now severely distorted (basically noise, with some
       hard-
       to-distinguish features resembling the original track) until
       "amidi" is
       interrupted !

     Kernel versions tested: from 4.12 up to 5.0.2 (latest).

     NOTES: Always reproducible. Same device is working fine on Windows.

     The output from alsa-info.sh and lsusb -v follows.

     upload=true&script=true&cardinfo=
     !!################################
     !!ALSA Information Script v 0.4.64
     !!################################

     !!Script ran on: Wed Mar 20 20:44:36 UTC 2019

     !!Linux Distribution
     !!------------------

     !!DMI Information
     !!---------------

     Manufacturer: Acer
     Product Name: Aspire 5745G
     Product Version: V1.19
     Firmware Version: V1.19
     Board Vendor: Acer
     Board Name: JV51_CP

     !!ACPI Device Status Information
     !!---------------

     /sys/bus/acpi/devices/PNP0103:00/status 15
     /sys/bus/acpi/devices/PNP0C0A:00/status 31
     /sys/bus/acpi/devices/PNP0C0F:00/status 9
     /sys/bus/acpi/devices/PNP0C0F:01/status 9
     /sys/bus/acpi/devices/PNP0C0F:02/status 9
     /sys/bus/acpi/devices/PNP0C0F:03/status 9
     /sys/bus/acpi/devices/PNP0C0F:04/status 9
     /sys/bus/acpi/devices/PNP0C0F:05/status 9
     /sys/bus/acpi/devices/PNP0C0F:06/status 9
     /sys/bus/acpi/devices/PNP0C0F:07/status 9

     !!Kernel Information
     !!------------------

     Kernel release: 5.0.2
     Operating System: GNU/Linux
     Architecture: x86_64
     Processor: unknown
     SMP Enabled: Yes

     !!ALSA Version
     !!------------

     Driver version: k5.0.2
     Library version: 1.1.8
     Utilities version: 1.1.8

     !!Loaded ALSA modules
     !!-------------------

     snd_hda_intel
     snd_hda_intel
     snd_usb_audio

     !!Sound Servers on this system
     !!----------------------------

     Pulseaudio:
     Installed - Yes (/usr/bin/pulseaudio)
     Running - No

     Jack:
     Installed - Yes (/usr/bin/jackd)
     Running - No

     !!Soundcards recognised by ALSA
     !!-----------------------------

     0 [MID ]: HDA-Intel - HDA Intel MID
     HDA Intel MID at 0xb7100000 irq 27
     1 [NVidia ]: HDA-Intel - HDA NVidia
     HDA NVidia at 0xb3000000 irq 16
     2 [DJ ]: USB-Audio - Hercules P32 DJ
     Guillemot Corporation Hercules P32 DJ at usb-
     0000:00:1d.0-1.4, full speed

     !!PCI Soundcards installed in the system
     !!--------------------------------------

     00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset
     High Definition Audio (rev 05)
     01:00.1 Audio device: NVIDIA Corporation GT216 HDMI Audio Controller
     (rev a1)

     !!Advanced information - PCI Vendor/Device/Subsystem ID's
     !!-------------------------------------------------------

     00:1b.0 0403: 8086:3b56 (rev 05)

     Subsystem: 1025:035b
     --
     01:00.1 0403: 10de:0be2 (rev a1)
     Subsystem: 1025:035a

     !!Loaded sound module options
     !!---------------------------

     !!Module: snd_hda_intel
     align_buffer_size : -1
     bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
     1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
     beep_mode :
     N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
     enable :
     Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
     enable_msi : -1
     id :
     (null),(null),(null),(null),(null),(null),(null),(null),(null),(null
     ),(
     null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
     ,(n
     ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),
     (nu
     ll),(null)
     index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
     1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
     jackpoll_ms :
     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
     model :
     (null),(null),(null),(null),(null),(null),(null),(null),(null),(null
     ),(
     null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
     ,(n
     ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),
     (nu
     ll),(null)
     patch :
     (null),(null),(null),(null),(null),(null),(null),(null),(null),(null
     ),(
     null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
     ,(n
     ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),
     (nu
     ll),(null)
     pm_blacklist : Y
     position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
     1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
     power_save : 0
     power_save_controller : Y
     probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
     1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
     probe_only :
     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
     single_cmd : -1
     snoop : -1

     !!Module: snd_hda_intel
     align_buffer_size : -1
     bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
     1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
     beep_mode :
     N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
     enable :
     Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
     enable_msi : -1
     id :
     (null),(null),(null),(null),(null),(null),(null),(null),(null),(null
     ),(
     null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
     ,(n
     ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),
     (nu
     ll),(null)
     index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
     1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
     jackpoll_ms :
     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
     model :
     (null),(null),(null),(null),(null),(null),(null),(null),(null),(null
     ),(
     null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
     ,(n
     ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),
     (nu
     ll),(null)
     patch :
     (null),(null),(null),(null),(null),(null),(null),(null),(null),(null
     ),(
     null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
     ,(n
     ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),
     (nu
     ll),(null)
     pm_blacklist : Y
     position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
     1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
     power_save : 0
     power_save_controller : Y
     probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
     1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
     probe_only :
     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
     single_cmd : -1
     snoop : -1

     !!Module: snd_usb_audio
     autoclock : Y
     device_setup :
     0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
     enable :
     Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
     id :
     (null),(null),(null),(null),(null),(null),(null),(null),(null),(null
     ),(
     null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
     ,(n
     ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),
     (nu
     ll),(null)
     ignore_ctl_error : N
     index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
     1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
     pid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
     1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
     quirk_alias :
     (null),(null),(null),(null),(null),(null),(null),(null),(null),(null
     ),(
     null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
     ,(n
     ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),
     (nu
     ll),(null)
     use_vmalloc : Y
     vid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
     1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1

     !!HDA-Intel Codec information
     !!---------------------------
     --startcollapse--

     Codec: Realtek ALC269VB
     Address: 0
     AFG Function Id: 0x1 (unsol 1)
     Vendor Id: 0x10ec0269
     Subsystem Id: 0x1025035b
     Revision Id: 0x100100
     No Modem Function Group found
     Default PCM:
     rates [0x560]: 44100 48000 96000 192000
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
     Default Amp-In caps: N/A
     Default Amp-Out caps: N/A
     State of AFG node 0x01:
     Power states: D0 D1 D2 D3 CLKSTOP EPSS
     Power: setting=D0, actual=D0
     GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
     IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
     IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
     Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
     Control: name="Headphone Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
     Device: name="ALC269VB Analog", type="Audio", device=0
     Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
     Amp-Out vals: [0x00 0x00]
     Converter: stream=5, channel=0
     PCM:
     rates [0x560]: 44100 48000 96000 192000
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
     Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
     Control: name="Speaker Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
     Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
     Amp-Out vals: [0x51 0x51]
     Converter: stream=5, channel=0
     PCM:
     rates [0x560]: 44100 48000 96000 192000
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
     Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
     Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
     Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
     Control: name="IEC958 Playback Con Mask", index=0, device=0
     Control: name="IEC958 Playback Pro Mask", index=0, device=0
     Control: name="IEC958 Playback Default", index=0, device=0
     Control: name="IEC958 Playback Switch", index=0, device=0
     Control: name="IEC958 Default PCM Playback Switch", index=0,
     device=0
     Device: name="ALC269VB Digital", type="SPDIF", device=1
     Converter: stream=5, channel=0
     Digital:
     Digital category: 0x0
     IEC Coding Type: 0x0
     PCM:
     rates [0x5e0]: 44100 48000 88200 96000 192000
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
     Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
     Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
     Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
     Amp-In vals: [0x8b 0x8b]
     Converter: stream=0, channel=0
     SDI-Select: 0
     PCM:
     rates [0x560]: 44100 48000 96000 192000
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
     Connection: 1
     0x23
     Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
     Control: name="Capture Volume", index=0, device=0
     ControlAmp: chs=3, dir=In, idx=0, ofs=0
     Control: name="Capture Switch", index=0, device=0
     ControlAmp: chs=3, dir=In, idx=0, ofs=0
     Device: name="ALC269VB Analog", type="Audio", device=0
     Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
     Amp-In vals: [0x00 0x00]
     Converter: stream=1, channel=0
     SDI-Select: 0
     PCM:
     rates [0x560]: 44100 48000 96000 192000
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
     Connection: 1
     0x22
     Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
     Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
     Control: name="Mic Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=In, idx=0, ofs=0
     Control: name="Mic Playback Switch", index=0, device=0
     ControlAmp: chs=3, dir=In, idx=0, ofs=0
     Control: name="Beep Playback Volume", index=0, device=0
     ControlAmp: chs=3, dir=In, idx=4, ofs=0
     Control: name="Beep Playback Switch", index=0, device=0
     ControlAmp: chs=3, dir=In, idx=4, ofs=0
     Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
     Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80
     0x80]
     Connection: 5
     0x18 0x19 0x1a 0x1b 0x1d
     Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
     Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
     Amp-In vals: [0x00 0x00] [0x80 0x80]
     Connection: 2
     0x02 0x0b
     Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
     Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
     Amp-In vals: [0x00 0x00] [0x80 0x80]
     Connection: 2
     0x03 0x0b
     Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
     Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono Amp-In
     Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
     Amp-In vals: [0x00] [0x80]
     Connection: 2
     0x02 0x0b
     Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
     Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
     Node 0x12 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
     Control: name="Internal Mic Boost Volume", index=0, device=0
     ControlAmp: chs=3, dir=In, idx=0, ofs=0
     Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
     Amp-In vals: [0x00 0x00]
     Pincap 0x00000020: IN
     Pin Default 0x99a30930: [Fixed] Mic at Int ATAPI
     Conn = ATAPI, Color = Unknown
     DefAssociation = 0x3, Sequence = 0x0
     Misc = NO_PRESENCE
     Pin-ctls: 0x20: IN
     Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
     Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
     Control: name="Speaker Playback Switch", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
     Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
     Amp-Out vals: [0x00 0x00]
     Pincap 0x00010014: OUT EAPD Detect
     EAPD 0x2: EAPD
     Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
     Conn = ATAPI, Color = Unknown
     DefAssociation = 0x1, Sequence = 0x0
     Misc = NO_PRESENCE
     Pin-ctls: 0x40: OUT
     Unsolicited: tag=00, enabled=0
     Connection: 2
     0x0c 0x0d*
     Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
     Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
     Node 0x17 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
     Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
     Amp-Out vals: [0x80]
     Pincap 0x00000010: OUT
     Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
     Conn = 1/8, Color = Black
     DefAssociation = 0xf, Sequence = 0x0
     Misc = NO_PRESENCE
     Pin-ctls: 0x00:
     Connection: 1
     0x0f
     Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
     Control: name="Mic Boost Volume", index=0, device=0
     ControlAmp: chs=3, dir=In, idx=0, ofs=0
     Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
     Amp-In vals: [0x00 0x00]
     Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
     Amp-Out vals: [0x80 0x80]
     Pincap 0x00001734: IN OUT Detect
     Vref caps: HIZ 50 GRD 80
     Pin Default 0x03a19840: [Jack] Mic at Ext Left
     Conn = 1/8, Color = Pink
     DefAssociation = 0x4, Sequence = 0x0
     Pin-ctls: 0x24: IN VREF_80
     Unsolicited: tag=02, enabled=1
     Connection: 1
     0x0d
     Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
     Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
     Amp-In vals: [0x00 0x00]
     Pincap 0x00001724: IN Detect
     Vref caps: HIZ 50 GRD 80
     Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
     Conn = 1/8, Color = Black
     DefAssociation = 0xf, Sequence = 0x0
     Misc = NO_PRESENCE
     Pin-ctls: 0x20: IN VREF_HIZ
     Unsolicited: tag=00, enabled=0
     Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
     Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
     Amp-In vals: [0x00 0x00]
     Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
     Amp-Out vals: [0x80 0x80]
     Pincap 0x0000003c: IN OUT HP Detect
     Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
     Conn = 1/8, Color = Black
     DefAssociation = 0xf, Sequence = 0x0
     Misc = NO_PRESENCE
     Pin-ctls: 0x20: IN
     Unsolicited: tag=00, enabled=0
     Connection: 2
     0x0c* 0x0d
     Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
     Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
     Amp-In vals: [0x00 0x00]
     Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
     Amp-Out vals: [0x80 0x80]
     Pincap 0x00000034: IN OUT Detect
     Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
     Conn = 1/8, Color = Black
     DefAssociation = 0xf, Sequence = 0x0
     Misc = NO_PRESENCE
     Pin-ctls: 0x20: IN
     Unsolicited: tag=00, enabled=0
     Connection: 2
     0x0c* 0x0d
     Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
     Node 0x1d [Pin Complex] wcaps 0x400000: Mono
     Pincap 0x00000020: IN
     Pin Default 0x4017992d: [N/A] Speaker at Ext N/A
     Conn = Analog, Color = Pink
     DefAssociation = 0x2, Sequence = 0xd
     Misc = NO_PRESENCE
     Pin-ctls: 0x20: IN
     Node 0x1e [Pin Complex] wcaps 0x400381: Stereo Digital
     Pincap 0x00000014: OUT Detect
     Pin Default 0x03451120: [Jack] SPDIF Out at Ext Left
     Conn = Optical, Color = Black
     DefAssociation = 0x2, Sequence = 0x0
     Misc = NO_PRESENCE
     Pin-ctls: 0x40: OUT
     Unsolicited: tag=00, enabled=0
     Connection: 1
     0x06
     Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
     Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
     Processing caps: benign=0, ncoeff=25
     Node 0x21 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
     Control: name="Headphone Playback Switch", index=0, device=0
     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
     Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
     Amp-Out vals: [0x80 0x80]
     Pincap 0x0000001c: OUT HP Detect
     Pin Default 0x0321101f: [Jack] HP Out at Ext Left
     Conn = 1/8, Color = Black
     DefAssociation = 0x1, Sequence = 0xf
     Pin-ctls: 0xc0: OUT HP
     Unsolicited: tag=01, enabled=1
     Connection: 2
     0x0c* 0x0d
     Node 0x22 [Audio Selector] wcaps 0x30010b: Stereo Amp-In
     Amp-In caps: N/A
     Amp-In vals: [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00
     0x00] [0x00 0x00] [0x00 0x00]
     Connection: 7
     0x18 0x19 0x1a 0x1b 0x1d 0x0b 0x12*
     Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
     Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
     Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80
     0x80] [0x80 0x80]
     Connection: 6
     0x18 0x19 0x1a 0x1b 0x1d 0x0b
     Codec: Nvidia Generic
     Address: 0
     AFG Function Id: 0x1 (unsol 0)
     Vendor Id: 0x10de000a
     Subsystem Id: 0x10de0101
     Revision Id: 0x100100
     No Modem Function Group found
     Default PCM:
     rates [0x0]:
     bits [0x0]:
     formats [0x0]:
     Default Amp-In caps: N/A
     Default Amp-Out caps: N/A
     State of AFG node 0x01:
     Power states: D0 D1 D2 D3
     Power: setting=D0, actual=D0
     GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
     Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
     Control: name="IEC958 Playback Con Mask", index=0, device=0
     Control: name="IEC958 Playback Pro Mask", index=0, device=0
     Control: name="IEC958 Playback Default", index=0, device=0
     Control: name="IEC958 Playback Switch", index=0, device=0
     Device: name="Generic Digital", type="HDMI", device=3
     Converter: stream=0, channel=0
     Digital: Enabled
     Digital category: 0x0
     IEC Coding Type: 0x0
     PCM:
     rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
     bits [0xe]: 16 20 24
     formats [0x5]: PCM AC3
     Unsolicited: tag=00, enabled=0
     Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
     Pincap 0x09000094: OUT Detect HBR HDMI DP
     Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
     Conn = Digital, Color = Unknown
     DefAssociation = 0x1, Sequence = 0x0
     Pin-ctls: 0x40: OUT
     Unsolicited: tag=01, enabled=1
     Connection: 1
     0x04
     Codec: Nvidia Generic
     Address: 1
     AFG Function Id: 0x1 (unsol 0)
     Vendor Id: 0x10de000a
     Subsystem Id: 0x10de0101
     Revision Id: 0x100100
     No Modem Function Group found
     Default PCM:
     rates [0x0]:
     bits [0x0]:
     formats [0x0]:
     Default Amp-In caps: N/A
     Default Amp-Out caps: N/A
     State of AFG node 0x01:
     Power states: D0 D1 D2 D3
     Power: setting=D0, actual=D0
     GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
     Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
     Control: name="IEC958 Playback Con Mask", index=1, device=0
     Control: name="IEC958 Playback Pro Mask", index=1, device=0
     Control: name="IEC958 Playback Default", index=1, device=0
     Control: name="IEC958 Playback Switch", index=1, device=0
     Device: name="Generic Digital", type="HDMI", device=7
     Converter: stream=0, channel=0
     Digital: Enabled
     Digital category: 0x0
     IEC Coding Type: 0x0
     PCM:
     rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
     bits [0xe]: 16 20 24
     formats [0x5]: PCM AC3
     Unsolicited: tag=00, enabled=0
     Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
     Pincap 0x09000094: OUT Detect HBR HDMI DP
     Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
     Conn = Digital, Color = Unknown
     DefAssociation = 0x1, Sequence = 0x0
     Pin-ctls: 0x40: OUT
     Unsolicited: tag=01, enabled=1
     Connection: 1
     0x04
     Codec: Nvidia Generic
     Address: 2
     AFG Function Id: 0x1 (unsol 0)
     Vendor Id: 0x10de000a
     Subsystem Id: 0x10de0101
     Revision Id: 0x100100
     No Modem Function Group found
     Default PCM:
     rates [0x0]:
     bits [0x0]:
     formats [0x0]:
     Default Amp-In caps: N/A
     Default Amp-Out caps: N/A
     State of AFG node 0x01:
     Power states: D0 D1 D2 D3
     Power: setting=D0, actual=D0
     GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
     Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
     Control: name="IEC958 Playback Con Mask", index=2, device=0
     Control: name="IEC958 Playback Pro Mask", index=2, device=0
     Control: name="IEC958 Playback Default", index=2, device=0
     Control: name="IEC958 Playback Switch", index=2, device=0
     Device: name="Generic Digital", type="HDMI", device=8
     Converter: stream=0, channel=0
     Digital: Enabled
     Digital category: 0x0
     IEC Coding Type: 0x0
     PCM:
     rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
     bits [0xe]: 16 20 24
     formats [0x5]: PCM AC3
     Unsolicited: tag=00, enabled=0
     Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
     Pincap 0x09000094: OUT Detect HBR HDMI DP
     Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
     Conn = Digital, Color = Unknown
     DefAssociation = 0x1, Sequence = 0x0
     Pin-ctls: 0x40: OUT
     Unsolicited: tag=01, enabled=1
     Connection: 1
     0x04
     Codec: Nvidia Generic
     Address: 3
     AFG Function Id: 0x1 (unsol 0)
     Vendor Id: 0x10de000a
     Subsystem Id: 0x10de0101
     Revision Id: 0x100100
     No Modem Function Group found
     Default PCM:
     rates [0x0]:
     bits [0x0]:
     formats [0x0]:
     Default Amp-In caps: N/A
     Default Amp-Out caps: N/A
     State of AFG node 0x01:
     Power states: D0 D1 D2 D3
     Power: setting=D0, actual=D0
     GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
     Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
     Control: name="IEC958 Playback Con Mask", index=3, device=0
     Control: name="IEC958 Playback Pro Mask", index=3, device=0
     Control: name="IEC958 Playback Default", index=3, device=0
     Control: name="IEC958 Playback Switch", index=3, device=0
     Device: name="Generic Digital", type="HDMI", device=9
     Converter: stream=5, channel=0
     Digital: Enabled
     Digital category: 0x0
     IEC Coding Type: 0x0
     PCM:
     rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
     bits [0xe]: 16 20 24
     formats [0x5]: PCM AC3
     Unsolicited: tag=00, enabled=0
     Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
     Pincap 0x09000094: OUT Detect HBR HDMI DP
     Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
     Conn = Digital, Color = Unknown
     DefAssociation = 0x1, Sequence = 0x0
     Pin-ctls: 0x40: OUT
     Unsolicited: tag=01, enabled=1
     Connection: 1
     0x04
     --endcollapse--

     !!USB Mixer information
     !!---------------------
     --startcollapse--

     USB Mixer: usb_id=0x06f8b121, ctrlif=0, ctlerr=0
     Card: Guillemot Corporation Hercules P32 DJ at usb-0000:00:1d.0-1.4,
     full speed
     Unit: 2
     Control: name="PCM Playback Volume", index=0
     Info: id=2, control=2, cmask=0xf, channels=4, type="S16"
     Volume: min=-25600, max=0, dBmin=-10000, dBmax=0
     Unit: 2
     Control: name="PCM Playback Switch", index=0
     Info: id=2, control=1, cmask=0xf, channels=4, type="INV_BOOLEAN"
     Volume: min=0, max=1, dBmin=0, dBmax=0
     --endcollapse--

     !!ALSA Device nodes
     !!-----------------

     crw-rw----. 1 root audio 116, 6 Mar 20 18:15 /dev/snd/controlC0
     crw-rw----. 1 root audio 116, 15 Mar 20 18:15 /dev/snd/controlC1
     crw-rw----. 1 root audio 116, 18 Mar 20 21:25 /dev/snd/controlC2
     crw-rw----. 1 root audio 116, 5 Mar 20 18:15 /dev/snd/hwC0D0
     crw-rw----. 1 root audio 116, 11 Mar 20 18:15 /dev/snd/hwC1D0
     crw-rw----. 1 root audio 116, 12 Mar 20 18:15 /dev/snd/hwC1D1
     crw-rw----. 1 root audio 116, 13 Mar 20 18:15 /dev/snd/hwC1D2
     crw-rw----. 1 root audio 116, 14 Mar 20 18:15 /dev/snd/hwC1D3
     crw-rw----. 1 root audio 116, 17 Mar 20 21:25 /dev/snd/midiC2D0
     crw-rw----. 1 root audio 116, 3 Mar 20 19:58 /dev/snd/pcmC0D0c
     crw-rw----. 1 root audio 116, 2 Mar 20 20:40 /dev/snd/pcmC0D0p
     crw-rw----. 1 root audio 116, 4 Mar 20 19:58 /dev/snd/pcmC0D1p
     crw-rw----. 1 root audio 116, 7 Mar 20 19:58 /dev/snd/pcmC1D3p
     crw-rw----. 1 root audio 116, 8 Mar 20 19:58 /dev/snd/pcmC1D7p
     crw-rw----. 1 root audio 116, 9 Mar 20 19:58 /dev/snd/pcmC1D8p
     crw-rw----. 1 root audio 116, 10 Mar 20 19:58 /dev/snd/pcmC1D9p
     crw-rw----. 1 root audio 116, 16 Mar 20 21:32 /dev/snd/pcmC2D0p
     crw-rw----. 1 root audio 116, 1 Mar 20 17:19 /dev/snd/seq
     crw-rw----. 1 root audio 116, 33 Mar 20 18:15 /dev/snd/timer

     /dev/snd/by-id:
     total 0
     drwxr-xr-x. 2 root root 60 Mar 20 21:25 .
     drwxr-xr-x. 4 root root 460 Mar 20 21:25 ..
     lrwxrwxrwx. 1 root root 12 Mar 20 21:25 usb-
     Guillemot_Corporation_Hercules_P32_DJ-00 -> ../controlC2

     /dev/snd/by-path:
     total 0
     drwxr-xr-x. 2 root root 100 Mar 20 21:25 .
     drwxr-xr-x. 4 root root 460 Mar 20 21:25 ..
     lrwxrwxrwx. 1 root root 12 Mar 20 18:15 pci-0000:00:1b.0 ->
     ../controlC0
     lrwxrwxrwx. 1 root root 12 Mar 20 21:25
     pci-0000:00:1d.0-usb-0:1.4:1.0
     -> ../controlC2
     lrwxrwxrwx. 1 root root 12 Mar 20 18:15 pci-0000:01:00.1 ->
     ../controlC1

     !!Aplay/Arecord output
     !!--------------------

     APLAY

     **** List of PLAYBACK Hardware Devices ****
     card 0: MID [HDA Intel MID], device 0: ALC269VB Analog [ALC269VB
     Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
     card 0: MID [HDA Intel MID], device 1: ALC269VB Digital [ALC269VB
     Digital]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
     card 1: NVidia [HDA NVidia], device 3: Generic Digital [Generic
     Digital]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
     card 1: NVidia [HDA NVidia], device 7: Generic Digital [Generic
     Digital]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
     card 1: NVidia [HDA NVidia], device 8: Generic Digital [Generic
     Digital]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
     card 1: NVidia [HDA NVidia], device 9: Generic Digital [Generic
     Digital]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
     card 2: DJ [Hercules P32 DJ], device 0: USB Audio [USB Audio]
     Subdevices: 1/1
     Subdevice #0: subdevice #0

     ARECORD

     **** List of CAPTURE Hardware Devices ****
     card 0: MID [HDA Intel MID], device 0: ALC269VB Analog [ALC269VB
     Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0

     !!Amixer output
     !!-------------

     !!-------Mixer controls for card 0 [MID]

     Card hw:0 'MID'/'HDA Intel MID at 0xb7100000 irq 27'
     Mixer name : 'Realtek ALC269VB'
     Components : 'HDA:10ec0269,1025035b,00100100'
     Controls : 31
     Simple ctrls : 14
     Simple mixer control 'Master',0
     Capabilities: pvolume pvolume-joined pswitch pswitch-joined
     Playback channels: Mono
     Limits: Playback 0 - 87
     Mono: Playback 81 [93%] [-4.50dB] [on]
     Simple mixer control 'Headphone',0
     Capabilities: pvolume pswitch
     Playback channels: Front Left - Front Right
     Limits: Playback 0 - 87
     Mono:
     Front Left: Playback 0 [0%] [-65.25dB] [off]
     Front Right: Playback 0 [0%] [-65.25dB] [off]
     Simple mixer control 'Speaker',0
     Capabilities: pvolume pswitch
     Playback channels: Front Left - Front Right
     Limits: Playback 0 - 87
     Mono:
     Front Left: Playback 87 [100%] [0.00dB] [on]
     Front Right: Playback 87 [100%] [0.00dB] [on]
     Simple mixer control 'PCM',0
     Capabilities: pvolume
     Playback channels: Front Left - Front Right
     Limits: Playback 0 - 255
     Mono:
     Front Left: Playback 128 [50%] [-25.40dB]
     Front Right: Playback 128 [50%] [-25.40dB]
     Simple mixer control 'Mic',0
     Capabilities: pvolume pswitch
     Playback channels: Front Left - Front Right
     Limits: Playback 0 - 31
     Mono:
     Front Left: Playback 0 [0%] [-34.50dB] [off]
     Front Right: Playback 0 [0%] [-34.50dB] [off]
     Simple mixer control 'Mic Boost',0
     Capabilities: volume
     Playback channels: Front Left - Front Right
     Capture channels: Front Left - Front Right
     Limits: 0 - 3
     Front Left: 0 [0%] [0.00dB]
     Front Right: 0 [0%] [0.00dB]
     Simple mixer control 'IEC958',0
     Capabilities: pswitch pswitch-joined
     Playback channels: Mono
     Mono: Playback [off]
     Simple mixer control 'IEC958 Default PCM',0
     Capabilities: pswitch pswitch-joined
     Playback channels: Mono
     Mono: Playback [on]
     Simple mixer control 'Beep',0
     Capabilities: pvolume pswitch
     Playback channels: Front Left - Front Right
     Limits: Playback 0 - 31
     Mono:
     Front Left: Playback 0 [0%] [-34.50dB] [off]
     Front Right: Playback 0 [0%] [-34.50dB] [off]
     Simple mixer control 'Capture',0
     Capabilities: cvolume cswitch
     Capture channels: Front Left - Front Right
     Limits: Capture 0 - 31
     Front Left: Capture 0 [0%] [-16.50dB] [on]
     Front Right: Capture 0 [0%] [-16.50dB] [on]
     Simple mixer control 'Auto-Mute Mode',0
     Capabilities: enum
     Items: 'Disabled' 'Enabled'
     Item0: 'Enabled'
     Simple mixer control 'Digital',0
     Capabilities: cvolume
     Capture channels: Front Left - Front Right
     Limits: Capture 0 - 120
     Front Left: Capture 60 [50%] [0.00dB]
     Front Right: Capture 60 [50%] [0.00dB]
     Simple mixer control 'Internal Mic Boost',0
     Capabilities: volume
     Playback channels: Front Left - Front Right
     Capture channels: Front Left - Front Right
     Limits: 0 - 3
     Front Left: 0 [0%] [0.00dB]
     Front Right: 0 [0%] [0.00dB]
     Simple mixer control 'Loopback Mixing',0
     Capabilities: enum
     Items: 'Disabled' 'Enabled'
     Item0: 'Disabled'

     !!-------Mixer controls for card 1 [NVidia]

     Card hw:1 'NVidia'/'HDA NVidia at 0xb3000000 irq 16'
     Mixer name : 'Nvidia Generic'
     Components : 'HDA:10de000a,10de0101,00100100'
     Controls : 24
     Simple ctrls : 4
     Simple mixer control 'IEC958',0
     Capabilities: pswitch pswitch-joined
     Playback channels: Mono
     Mono: Playback [on]
     Simple mixer control 'IEC958',1
     Capabilities: pswitch pswitch-joined
     Playback channels: Mono
     Mono: Playback [on]
     Simple mixer control 'IEC958',2
     Capabilities: pswitch pswitch-joined
     Playback channels: Mono
     Mono: Playback [on]
     Simple mixer control 'IEC958',3
     Capabilities: pswitch pswitch-joined
     Playback channels: Mono
     Mono: Playback [on]

     !!-------Mixer controls for card 2 [DJ]

     Card hw:2 'DJ'/'Guillemot Corporation Hercules P32 DJ at usb-
     0000:00:1d.0-1.4, full speed'
     Mixer name : 'USB Mixer'
     Components : 'USB06f8:b121'
     Controls : 4
     Simple ctrls : 1
     Simple mixer control 'PCM',0
     Capabilities: pvolume pswitch
     Playback channels: Front Left - Front Right - Rear Left - Rear Right
     Limits: Playback 0 - 400
     Mono:
     Front Left: Playback 320 [80%] [-20.00dB] [on]
     Front Right: Playback 320 [80%] [-20.00dB] [on]
     Rear Left: Playback 320 [80%] [-20.00dB] [on]
     Rear Right: Playback 320 [80%] [-20.00dB] [on]

     !!Alsactl output
     !!--------------

     --startcollapse--
     state.MID {
     control.1 {
     iface MIXER
     name 'Headphone Playback Volume'
     value.0 0
     value.1 0
     comment {
     access 'read write'
     type INTEGER
     count 2
     range '0 - 87'
     dbmin -6525
     dbmax 0
     dbvalue.0 -6525
     dbvalue.1 -6525
     }
     }
     control.2 {
     iface MIXER
     name 'Headphone Playback Switch'
     value.0 false
     value.1 false
     comment {
     access 'read write'
     type BOOLEAN
     count 2
     }
     }
     control.3 {
     iface MIXER
     name 'Speaker Playback Volume'
     value.0 87
     value.1 87
     comment {
     access 'read write'
     type INTEGER
     count 2
     range '0 - 87'
     dbmin -6525
     dbmax 0
     dbvalue.0 0
     dbvalue.1 0
     }
     }
     control.4 {
     iface MIXER
     name 'Speaker Playback Switch'
     value.0 true
     value.1 true
     comment {
     access 'read write'
     type BOOLEAN
     count 2
     }
     }
     control.5 {
     iface MIXER
     name 'Loopback Mixing'
     value Disabled
     comment {
     access 'read write'
     type ENUMERATED
     count 1
     item.0 Disabled
     item.1 Enabled
     }
     }
     control.6 {
     iface MIXER
     name 'Mic Playback Volume'
     value.0 0
     value.1 0
     comment {
     access 'read write'
     type INTEGER
     count 2
     range '0 - 31'
     dbmin -3450
     dbmax 1200
     dbvalue.0 -3450
     dbvalue.1 -3450
     }
     }
     control.7 {
     iface MIXER
     name 'Mic Playback Switch'
     value.0 false
     value.1 false
     comment {
     access 'read write'
     type BOOLEAN
     count 2
     }
     }
     control.8 {
     iface MIXER
     name 'Auto-Mute Mode'
     value Enabled
     comment {
     access 'read write'
     type ENUMERATED
     count 1
     item.0 Disabled
     item.1 Enabled
     }
     }
     control.9 {
     iface MIXER
     name 'Capture Volume'
     value.0 0
     value.1 0
     comment {
     access 'read write'
     type INTEGER
     count 2
     range '0 - 31'
     dbmin -1650
     dbmax 3000
     dbvalue.0 -1650
     dbvalue.1 -1650
     }
     }
     control.10 {
     iface MIXER
     name 'Capture Switch'
     value.0 true
     value.1 true
     comment {
     access 'read write'
     type BOOLEAN
     count 2
     }
     }
     control.11 {
     iface MIXER
     name 'Mic Boost Volume'
     value.0 0
     value.1 0
     comment {
     access 'read write'
     type INTEGER
     count 2
     range '0 - 3'
     dbmin 0
     dbmax 3600
     dbvalue.0 0
     dbvalue.1 0
     }
     }
     control.12 {
     iface MIXER
     name 'Internal Mic Boost Volume'
     value.0 0
     value.1 0
     comment {
     access 'read write'
     type INTEGER
     count 2
     range '0 - 3'
     dbmin 0
     dbmax 3600
     dbvalue.0 0
     dbvalue.1 0
     }
     }
     control.13 {
     iface MIXER
     name 'Beep Playback Volume'
     value.0 0
     value.1 0
     comment {
     access 'read write'
     type INTEGER
     count 2
     range '0 - 31'
     dbmin -3450
     dbmax 1200
     dbvalue.0 -3450
     dbvalue.1 -3450
     }
     }
     control.14 {
     iface MIXER
     name 'Beep Playback Switch'
     value.0 false
     value.1 false
     comment {
     access 'read write'
     type BOOLEAN
     count 2
     }
     }
     control.15 {
     iface MIXER
     name 'IEC958 Playback Con Mask'
     value
     '0fff000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     0'
     comment {
     access read
     type IEC958
     count 1
     }
     }
     control.16 {
     iface MIXER
     name 'IEC958 Playback Pro Mask'
     value
     '0f00000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     0'
     comment {
     access read
     type IEC958
     count 1
     }
     }
     control.17 {
     iface MIXER
     name 'IEC958 Playback Default'
     value
     '0400000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     0'
     comment {
     access 'read write'
     type IEC958
     count 1
     }
     }
     control.18 {
     iface MIXER
     name 'IEC958 Playback Switch'
     value false
     comment {
     access 'read write'
     type BOOLEAN
     count 1
     }
     }
     control.19 {
     iface MIXER
     name 'IEC958 Default PCM Playback Switch'
     value true
     comment {
     access 'read write'
     type BOOLEAN
     count 1
     }
     }
     control.20 {
     iface MIXER
     name 'Master Playback Volume'
     value 81
     comment {
     access 'read write'
     type INTEGER
     count 1
     range '0 - 87'
     dbmin -6525
     dbmax 0
     dbvalue.0 -450
     }
     }
     control.21 {
     iface MIXER
     name 'Master Playback Switch'
     value true
     comment {
     access 'read write'
     type BOOLEAN
     count 1
     }
     }
     control.22 {
     iface CARD
     name 'Mic Jack'
     value false
     comment {
     access read
     type BOOLEAN
     count 1
     }
     }
     control.23 {
     iface CARD
     name 'Internal Mic Phantom Jack'
     value true
     comment {
     access read
     type BOOLEAN
     count 1
     }
     }
     control.24 {
     iface CARD
     name 'Headphone Jack'
     value false
     comment {
     access read
     type BOOLEAN
     count 1
     }
     }
     control.25 {
     iface CARD
     name 'Speaker Phantom Jack'
     value true
     comment {
     access read
     type BOOLEAN
     count 1
     }
     }
     control.26 {
     iface CARD
     name 'SPDIF Phantom Jack'
     value true
     comment {
     access read
     type BOOLEAN
     count 1
     }
     }
     control.27 {
     iface PCM
     name 'Playback Channel Map'
     value.0 0
     value.1 0
     comment {
     access read
     type INTEGER
     count 2
     range '0 - 36'
     }
     }
     control.28 {
     iface PCM
     name 'Capture Channel Map'
     value.0 0
     value.1 0
     comment {
     access read
     type INTEGER
     count 2
     range '0 - 36'
     }
     }
     control.29 {
     iface PCM
     device 1
     name 'Playback Channel Map'
     value.0 0
     value.1 0
     comment {
     access read
     type INTEGER
     count 2
     range '0 - 36'
     }
     }
     control.30 {
     iface MIXER
     name 'PCM Playback Volume'
     value.0 128
     value.1 128
     comment {
     access 'read write user'
     type INTEGER
     count 2
     range '0 - 255'
     tlv '0000000100000008ffffec1400000014'
     dbmin -5100
     dbmax 0
     dbvalue.0 -2540
     dbvalue.1 -2540
     }
     }
     control.31 {
     iface MIXER
     name 'Digital Capture Volume'
     value.0 60
     value.1 60
     comment {
     access 'read write user'
     type INTEGER
     count 2
     range '0 - 120'
     tlv '0000000100000008fffff44800000032'
     dbmin -3000
     dbmax 3000
     dbvalue.0 0
     dbvalue.1 0
     }
     }
     }
     state.NVidia {
     control.1 {
     iface MIXER
     name 'IEC958 Playback Con Mask'
     value
     '0fff000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     0'
     comment {
     access read
     type IEC958
     count 1
     }
     }
     control.2 {
     iface MIXER
     name 'IEC958 Playback Pro Mask'
     value
     '0f00000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     0'
     comment {
     access read
     type IEC958
     count 1
     }
     }
     control.3 {
     iface MIXER
     name 'IEC958 Playback Default'
     value
     '0400000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     0'
     comment {
     access 'read write'
     type IEC958
     count 1
     }
     }
     control.4 {
     iface MIXER
     name 'IEC958 Playback Switch'
     value true
     comment {
     access 'read write'
     type BOOLEAN
     count 1
     }
     }
     control.5 {
     iface CARD
     name 'HDMI Jack'
     value false
     comment {
     access read
     type BOOLEAN
     count 1
     }
     }
     control.6 {
     iface PCM
     device 3
     name 'Playback Channel Map'
     value.0 0
     value.1 0
     comment {
     access read
     type INTEGER
     count 2
     range '0 - 36'
     }
     }
     control.7 {
     iface MIXER
     name 'IEC958 Playback Con Mask'
     index 1
     value
     '0fff000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     0'
     comment {
     access read
     type IEC958
     count 1
     }
     }
     control.8 {
     iface MIXER
     name 'IEC958 Playback Pro Mask'
     index 1
     value
     '0f00000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     0'
     comment {
     access read
     type IEC958
     count 1
     }
     }
     control.9 {
     iface MIXER
     name 'IEC958 Playback Default'
     index 1
     value
     '0400000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     0'
     comment {
     access 'read write'
     type IEC958
     count 1
     }
     }
     control.10 {
     iface MIXER
     name 'IEC958 Playback Switch'
     index 1
     value true
     comment {
     access 'read write'
     type BOOLEAN
     count 1
     }
     }
     control.11 {
     iface CARD
     name 'HDMI Jack'
     index 1
     value false
     comment {
     access read
     type BOOLEAN
     count 1
     }
     }
     control.12 {
     iface PCM
     device 7
     name 'Playback Channel Map'
     value.0 0
     value.1 0
     comment {
     access read
     type INTEGER
     count 2
     range '0 - 36'
     }
     }
     control.13 {
     iface MIXER
     name 'IEC958 Playback Con Mask'
     index 2
     value
     '0fff000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     0'
     comment {
     access read
     type IEC958
     count 1
     }
     }
     control.14 {
     iface MIXER
     name 'IEC958 Playback Pro Mask'
     index 2
     value
     '0f00000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     0'
     comment {
     access read
     type IEC958
     count 1
     }
     }
     control.15 {
     iface MIXER
     name 'IEC958 Playback Default'
     index 2
     value
     '0400000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     0'
     comment {
     access 'read write'
     type IEC958
     count 1
     }
     }
     control.16 {
     iface MIXER
     name 'IEC958 Playback Switch'
     index 2
     value true
     comment {
     access 'read write'
     type BOOLEAN
     count 1
     }
     }
     control.17 {
     iface CARD
     name 'HDMI Jack'
     index 2
     value false
     comment {
     access read
     type BOOLEAN
     count 1
     }
     }
     control.18 {
     iface PCM
     device 8
     name 'Playback Channel Map'
     value.0 0
     value.1 0
     comment {
     access read
     type INTEGER
     count 2
     range '0 - 36'
     }
     }
     control.19 {
     iface MIXER
     name 'IEC958 Playback Con Mask'
     index 3
     value
     '0fff000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     0'
     comment {
     access read
     type IEC958
     count 1
     }
     }
     control.20 {
     iface MIXER
     name 'IEC958 Playback Pro Mask'
     index 3
     value
     '0f00000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     0'
     comment {
     access read
     type IEC958
     count 1
     }
     }
     control.21 {
     iface MIXER
     name 'IEC958 Playback Default'
     index 3
     value
     '0400000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     000
     00000000000000000000000000000000000000000000000000000000000000000000
     0'
     comment {
     access 'read write'
     type IEC958
     count 1
     }
     }
     control.22 {
     iface MIXER
     name 'IEC958 Playback Switch'
     index 3
     value true
     comment {
     access 'read write'
     type BOOLEAN
     count 1
     }
     }
     control.23 {
     iface CARD
     name 'HDMI Jack'
     index 3
     value false
     comment {
     access read
     type BOOLEAN
     count 1
     }
     }
     control.24 {
     iface PCM
     device 9
     name 'Playback Channel Map'
     value.0 0
     value.1 0
     comment {
     access read
     type INTEGER
     count 2
     range '0 - 36'
     }
     }
     }
     state.DJ {
     control.1 {
     iface PCM
     name 'Playback Channel Map'
     value.0 0
     value.1 0
     value.2 0
     value.3 0
     comment {
     access read
     type INTEGER
     count 4
     range '0 - 36'
     }
     }
     control.2 {
     iface MIXER
     name 'PCM Playback Switch'
     value.0 true
     value.1 true
     value.2 true
     value.3 true
     comment {
     access 'read write'
     type BOOLEAN
     count 4
     }
     }
     control.3 {
     iface MIXER
     name 'PCM Playback Volume'
     value.0 320
     value.1 320
     value.2 320
     value.3 320
     comment {
     access 'read write'
     type INTEGER
     count 4
     range '0 - 400'
     dbmin -10000
     dbmax 0
     dbvalue.0 -2000
     dbvalue.1 -2000
     dbvalue.2 -2000
     dbvalue.3 -2000
     }
     }
     control.4 {
     iface CARD
     name 'Keep Interface'
     value false
     comment {
     access 'read write'
     type BOOLEAN
     count 1
     }
     }
     }
     --endcollapse--

     !!All Loaded Modules
     !!------------------

     Module
     snd_hrtimer
     snd_seq_midi
     snd_seq_dummy
     snd_seq_midi_event
     snd_seq
     snd_pcm_oss
     snd_mixer_oss
     xt_iprange
     ipv6
     crc_ccitt
     arc4
     brcmsmac
     cordic
     brcmutil
     mac80211
     sha256_ssse3
     snd_usb_audio
     snd_usbmidi_lib
     sha256_generic
     snd_rawmidi
     cfg80211
     snd_seq_device
     iTCO_wdt
     iTCO_vendor_support
     snd_hda_codec_realtek
     snd_hda_codec_generic
     ledtrig_audio
     snd_hda_intel
     joydev
     snd_hda_codec
     acer_wmi
     sparse_keymap
     bcma
     snd_hda_core
     rfkill
     pcc_cpufreq
     snd_hwdep
     acpi_cpufreq
     snd_pcm
     snd_timer
     mei_me
     snd
     mei
     pcspkr
     soundcore
     lpc_ich
     i2c_i801
     mfd_core
     ums_onetouch
     usb_storage
     dm_crypt
     serio_raw
     atl1c
     nouveau
     mxm_wmi
     i2c_algo_bit
     drm_kms_helper
     syscopyarea
     sysfillrect
     sysimgblt
     fb_sys_fops
     ttm
     wmi
     video
     drm
     i2c_core

     !!Sysfs Files
     !!-----------

     /sys/class/sound/hwC0D0/init_pin_configs:
     0x12 0x99a30930
     0x14 0x99130110
     0x17 0x411111f0
     0x18 0x03a19840
     0x19 0x411111f0
     0x1a 0x411111f0
     0x1b 0x411111f0
     0x1d 0x4017992d
     0x1e 0x03451120
     0x21 0x0321101f

     /sys/class/sound/hwC0D0/driver_pin_configs:

     /sys/class/sound/hwC0D0/user_pin_configs:

     /sys/class/sound/hwC0D0/init_verbs:

     /sys/class/sound/hwC0D0/hints:

     /sys/class/sound/hwC1D0/init_pin_configs:
     0x05 0x18560010

     /sys/class/sound/hwC1D0/driver_pin_configs:

     /sys/class/sound/hwC1D0/user_pin_configs:

     /sys/class/sound/hwC1D0/init_verbs:

     /sys/class/sound/hwC1D0/hints:

     /sys/class/sound/hwC1D1/init_pin_configs:
     0x05 0x18560010

     /sys/class/sound/hwC1D1/driver_pin_configs:

     /sys/class/sound/hwC1D1/user_pin_configs:

     /sys/class/sound/hwC1D1/init_verbs:

     /sys/class/sound/hwC1D1/hints:

     /sys/class/sound/hwC1D2/init_pin_configs:
     0x05 0x18560010

     /sys/class/sound/hwC1D2/driver_pin_configs:

     /sys/class/sound/hwC1D2/user_pin_configs:

     /sys/class/sound/hwC1D2/init_verbs:

     /sys/class/sound/hwC1D2/hints:

     /sys/class/sound/hwC1D3/init_pin_configs:
     0x05 0x18560010

     /sys/class/sound/hwC1D3/driver_pin_configs:

     /sys/class/sound/hwC1D3/user_pin_configs:

     /sys/class/sound/hwC1D3/init_verbs:

     /sys/class/sound/hwC1D3/hints:

     !!ALSA/HDA dmesg
     !!--------------

     [ 0.238633] ACPI: Added _OSI(Linux-Dell-Video)
     [ 0.238779] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)

     [ 0.238926] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
     --
     [ 24.240651] input: Acer WMI hotkeys as
     /devices/virtual/input/input16
     [ 24.294387] snd_hda_intel 0000:00:1b.0: enabling device (0000 ->
     0002)
     [ 24.295148] snd_hda_intel 0000:01:00.1: Disabling MSI
     [ 24.417727] snd_hda_codec_realtek hdaudioC0D0: autoconfig for
     ALC269VB: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
     [ 24.418128] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0
     (0x0/0x0/0x0/0x0/0x0)
     [ 24.418507] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1
     (0x21/0x0/0x0/0x0/0x0)
     [ 24.419057] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
     [ 24.419695] snd_hda_codec_realtek hdaudioC0D0: dig-out=0x1e/0x0
     [ 24.420312] snd_hda_codec_realtek hdaudioC0D0: inputs:
     [ 24.420959] snd_hda_codec_realtek hdaudioC0D0: Mic=0x18
     [ 24.421602] snd_hda_codec_realtek hdaudioC0D0: Internal
     Mic=0x12
     [ 24.448267] input: HDA Intel MID Mic as
     /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
     [ 24.448762] input: HDA Intel MID Headphone as
     /devices/pci0000:00/0000:00:1b.0/sound/card0/input18
     [ 24.517380] mei mei::55213584-9a29-4916-badf-0fb7ed682aeb:01: Could
     not read FW version
     [ 24.517783] mei mei::55213584-9a29-4916-badf-0fb7ed682aeb:01: FW
     version command failed -5
     [ 24.606385] snd_hda_codec_generic hdaudioC1D0: autoconfig for
     Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
     [ 24.606759] snd_hda_codec_generic hdaudioC1D0: speaker_outs=0
     (0x0/0x0/0x0/0x0/0x0)
     [ 24.607115] snd_hda_codec_generic hdaudioC1D0: hp_outs=0
     (0x0/0x0/0x0/0x0/0x0)
     [ 24.607684] snd_hda_codec_generic hdaudioC1D0: mono: mono_out=0x0
     [ 24.608266] snd_hda_codec_generic hdaudioC1D0: dig-out=0x5/0x0
     [ 24.608871] snd_hda_codec_generic hdaudioC1D0: inputs:
     [ 24.684106] mce: CPU3: Core temperature above threshold, cpu clock

     throttled (total events = 1)
     --
     [ 24.770560] iTCO_vendor_support: vendor-support=0
     [ 24.790526] snd_hda_codec_generic hdaudioC1D1: autoconfig for
     Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
     [ 24.790874] snd_hda_codec_generic hdaudioC1D1: speaker_outs=0
     (0x0/0x0/0x0/0x0/0x0)
     [ 24.791202] snd_hda_codec_generic hdaudioC1D1: hp_outs=0
     (0x0/0x0/0x0/0x0/0x0)
     [ 24.791536] snd_hda_codec_generic hdaudioC1D1: mono: mono_out=0x0
     [ 24.791995] snd_hda_codec_generic hdaudioC1D1: dig-out=0x5/0x0
     [ 24.792477] snd_hda_codec_generic hdaudioC1D1: inputs:

     [ 24.799553] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
     --
     [ 24.800621] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
     [ 24.850369] snd_hda_codec_generic hdaudioC1D2: autoconfig for
     Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
     [ 24.850650] snd_hda_codec_generic hdaudioC1D2: speaker_outs=0
     (0x0/0x0/0x0/0x0/0x0)
     [ 24.850911] snd_hda_codec_generic hdaudioC1D2: hp_outs=0
     (0x0/0x0/0x0/0x0/0x0)
     [ 24.851165] snd_hda_codec_generic hdaudioC1D2: mono: mono_out=0x0
     [ 24.851415] snd_hda_codec_generic hdaudioC1D2: dig-out=0x5/0x0
     [ 24.851747] snd_hda_codec_generic hdaudioC1D2: inputs:
     [ 25.056813] snd_hda_codec_generic hdaudioC1D3: autoconfig for
     Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
     [ 25.057109] snd_hda_codec_generic hdaudioC1D3: speaker_outs=0
     (0x0/0x0/0x0/0x0/0x0)
     [ 25.057393] snd_hda_codec_generic hdaudioC1D3: hp_outs=0
     (0x0/0x0/0x0/0x0/0x0)
     [ 25.057658] snd_hda_codec_generic hdaudioC1D3: mono: mono_out=0x0
     [ 25.057924] snd_hda_codec_generic hdaudioC1D3: dig-out=0x5/0x0
     [ 25.058180] snd_hda_codec_generic hdaudioC1D3: inputs:
     [ 25.094153] input: HDA NVidia HDMI as
     /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
     [ 25.094539] input: HDA NVidia HDMI as
     /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
     [ 25.094891] input: HDA NVidia HDMI as
     /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input21
     [ 25.095249] input: HDA NVidia HDMI as
     /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input22
     [ 25.783253] cfg80211: Loading compiled-in X.509 certificates for

     regulatory database
     --
     [ 26.044956] usb 2-1.4: [2] FU [PCM Playback Volume] ch = 4, val =
     -25600/0/64
     [ 26.046216] usbcore: registered new interface driver snd-usb-audio
     [ 26.088396] cfg80211: Problem loading in-kernel X.509 certificate
     (-
     13)

     -----------------------

     lsusb -v

     Bus 002 Device 003: ID 06f8:b121 Guillemot Corp.
     Device Descriptor:
     bLength 18
     bDescriptorType 1
     bcdUSB 1.10
     bDeviceClass 0 (Defined at Interface level)
     bDeviceSubClass 0
     bDeviceProtocol 0
     bMaxPacketSize0 64
     idVendor 0x06f8 Guillemot Corp.
     idProduct 0xb121
     bcdDevice 2.00
     iManufacturer 1 Guillemot Corporation
     iProduct 2 Hercules P32 DJ
     iSerial 0
     bNumConfigurations 1
     Configuration Descriptor:
     bLength 9
     bDescriptorType 2
     wTotalLength 196
     bNumInterfaces 3
     bConfigurationValue 1
     iConfiguration 0
     bmAttributes 0xc0
     Self Powered
     MaxPower 480mA
     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 10
     bDescriptorType 36
     bDescriptorSubtype 1 (HEADER)
     bcdADC 1.00
     wTotalLength 43
     bInCollection 2
     baInterfaceNr( 0) 1
     baInterfaceNr( 1) 2
     AudioControl Interface Descriptor:
     bLength 12
     bDescriptorType 36
     bDescriptorSubtype 2 (INPUT_TERMINAL)
     bTerminalID 1
     wTerminalType 0x0101 USB Streaming
     bAssocTerminal 0
     bNrChannels 4
     wChannelConfig 0x0033
     Left Front (L)
     Right Front (R)
     Left Surround (LS)
     Right Surround (RS)
     iChannelNames 0
     iTerminal 0
     AudioControl Interface Descriptor:
     bLength 12
     bDescriptorType 36
     bDescriptorSubtype 6 (FEATURE_UNIT)
     bUnitID 2
     bSourceID 1
     bControlSize 1
     bmaControls( 0) 0x00
     bmaControls( 1) 0x03
     Mute Control
     Volume Control
     bmaControls( 2) 0x03
     Mute Control
     Volume Control
     bmaControls( 3) 0x03
     Mute Control
     Volume Control
     bmaControls( 4) 0x03
     Mute Control
     Volume Control
     iFeature 0
     AudioControl Interface Descriptor:
     bLength 9
     bDescriptorType 36
     bDescriptorSubtype 3 (OUTPUT_TERMINAL)
     bTerminalID 3
     wTerminalType 0x0301 Speaker
     bAssocTerminal 0
     bSourceID 2
     iTerminal 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 2
     bInterfaceClass 1 Audio
     bInterfaceSubClass 2 Streaming
     bInterfaceProtocol 0
     iInterface 0
     AudioStreaming Interface Descriptor:
     bLength 7
     bDescriptorType 36
     bDescriptorSubtype 1 (AS_GENERAL)
     bTerminalLink 1
     bDelay 1 frames
     wFormatTag 1 PCM
     AudioStreaming Interface Descriptor:
     bLength 11
     bDescriptorType 36
     bDescriptorSubtype 2 (FORMAT_TYPE)
     bFormatType 1 (FORMAT_TYPE_I)
     bNrChannels 4
     bSubframeSize 2
     bBitResolution 16
     bSamFreqType 1 Discrete
     tSamFreq[ 0] 48000
     Endpoint Descriptor:
     bLength 9
     bDescriptorType 5
     bEndpointAddress 0x01 EP 1 OUT
     bmAttributes 5
     Transfer Type Isochronous
     Synch Type Asynchronous
     Usage Type Data
     wMaxPacketSize 0x0188 1x 392 bytes
     bInterval 1
     bRefresh 0
     bSynchAddress 129
     AudioControl Endpoint Descriptor:
     bLength 7
     bDescriptorType 37
     bDescriptorSubtype 1 (EP_GENERAL)
     bmAttributes 0x00
     bLockDelayUnits 0 Undefined
     wLockDelay 0 Undefined
     Endpoint Descriptor:
     bLength 9
     bDescriptorType 5
     bEndpointAddress 0x81 EP 1 IN
     bmAttributes 17
     Transfer Type Isochronous
     Synch Type None
     Usage Type Feedback
     wMaxPacketSize 0x0003 1x 3 bytes
     bInterval 1
     bRefresh 5
     bSynchAddress 0
     Interface Descriptor:
     bLength 9
     bDescriptorType 4
     bInterfaceNumber 2
     bAlternateSetting 0
     bNumEndpoints 2
     bInterfaceClass 1 Audio
     bInterfaceSubClass 3 MIDI Streaming
     bInterfaceProtocol 0
     iInterface 2 Hercules P32 DJ
     MIDIStreaming Interface Descriptor:
     bLength 7
     bDescriptorType 36
     bDescriptorSubtype 1 (HEADER)
     bcdADC 1.00
     wTotalLength 65
     MIDIStreaming Interface Descriptor:
     bLength 6
     bDescriptorType 36
     bDescriptorSubtype 2 (MIDI_IN_JACK)
     bJackType 1 Embedded
     bJackID 1
     iJack 0
     MIDIStreaming Interface Descriptor:
     bLength 6
     bDescriptorType 36
     bDescriptorSubtype 2 (MIDI_IN_JACK)
     bJackType 2 External
     bJackID 2
     iJack 0
     MIDIStreaming Interface Descriptor:
     bLength 9
     bDescriptorType 36
     bDescriptorSubtype 3 (MIDI_OUT_JACK)
     bJackType 1 Embedded
     bJackID 3
     bNrInputPins 1
     baSourceID( 0) 2
     BaSourcePin( 0) 1
     iJack 0
     MIDIStreaming Interface Descriptor:
     bLength 9
     bDescriptorType 36
     bDescriptorSubtype 3 (MIDI_OUT_JACK)
     bJackType 2 External
     bJackID 4
     bNrInputPins 1
     baSourceID( 0) 1
     BaSourcePin( 0) 1
     iJack 0
     Endpoint Descriptor:
     bLength 9
     bDescriptorType 5
     bEndpointAddress 0x02 EP 2 OUT
     bmAttributes 2
     Transfer Type Bulk
     Synch Type None
     Usage Type Data
     wMaxPacketSize 0x0040 1x 64 bytes
     bInterval 0
     bRefresh 0
     bSynchAddress 0
     MIDIStreaming Endpoint Descriptor:
     bLength 5
     bDescriptorType 37
     bDescriptorSubtype 1 (GENERAL)
     bNumEmbMIDIJack 1
     baAssocJackID( 0) 1
     Endpoint Descriptor:
     bLength 9
     bDescriptorType 5
     bEndpointAddress 0x82 EP 2 IN
     bmAttributes 2
     Transfer Type Bulk
     Synch Type None
     Usage Type Data
     wMaxPacketSize 0x0040 1x 64 bytes
     bInterval 0
     bRefresh 0
     bSynchAddress 0
     MIDIStreaming Endpoint Descriptor:
     bLength 5
     bDescriptorType 37
     bDescriptorSubtype 1 (GENERAL)
     bNumEmbMIDIJack 1
     baAssocJackID( 0) 3
     Device Status: 0x0e01
     Self Powered

     Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate
     Matching
     Hub
     Device Descriptor:
     bLength 18
     bDescriptorType 1
     bcdUSB 2.00
     bDeviceClass 9 Hub
     bDeviceSubClass 0 Unused
     bDeviceProtocol 1 Single TT
     bMaxPacketSize0 64
     idVendor 0x8087 Intel Corp.
     idProduct 0x0020 Integrated Rate Matching Hub
     bcdDevice 0.00
     iManufacturer 0
     iProduct 0
     iSerial 0
     bNumConfigurations 1
     Configuration Descriptor:
     bLength 9
     bDescriptorType 2
     wTotalLength 25
     bNumInterfaces 1
     bConfigurationValue 1
     iConfiguration 0
     bmAttributes 0xe0
     Self Powered
     Remote Wakeup
     MaxPower 0mA
     Interface Descriptor:
     bLength 9
     bDescriptorType 4
     bInterfaceNumber 0
     bAlternateSetting 0
     bNumEndpoints 1
     bInterfaceClass 9 Hub
     bInterfaceSubClass 0 Unused
     bInterfaceProtocol 0 Full speed (or root) hub
     iInterface 0
     Endpoint Descriptor:
     bLength 7
     bDescriptorType 5
     bEndpointAddress 0x81 EP 1 IN
     bmAttributes 3
     Transfer Type Interrupt
     Synch Type None
     Usage Type Data
     wMaxPacketSize 0x0002 1x 2 bytes
     bInterval 12
     Hub Descriptor:
     bLength 11
     bDescriptorType 41
     nNbrPorts 8
     wHubCharacteristic 0x0089
     Per-port power switching
     Per-port overcurrent protection
     TT think time 8 FS bits
     Port indicators
     bPwrOn2PwrGood 50 * 2 milli seconds
     bHubContrCurrent 0 milli Ampere
     DeviceRemovable 0x00 0x00
     PortPwrCtrlMask 0xff 0xff
     Hub Port Status:
     Port 1: 0000.0100 power
     Port 2: 0000.0100 power
     Port 3: 0000.0100 power
     Port 4: 0000.0103 power enable connect
     Port 5: 0000.0100 power
     Port 6: 0000.0100 power
     Port 7: 0000.0100 power
     Port 8: 0000.0100 power
     Device Qualifier (for other device speed):
     bLength 10
     bDescriptorType 6
     bcdUSB 2.00
     bDeviceClass 9 Hub
     bDeviceSubClass 0 Unused
     bDeviceProtocol 0 Full speed (or root) hub
     bMaxPacketSize0 64
     bNumConfigurations 1
     Device Status: 0x0001
     Self Powered

     Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
     Device Descriptor:
     bLength 18
     bDescriptorType 1
     bcdUSB 2.00
     bDeviceClass 9 Hub
     bDeviceSubClass 0 Unused
     bDeviceProtocol 0 Full speed (or root) hub
     bMaxPacketSize0 64
     idVendor 0x1d6b Linux Foundation
     idProduct 0x0002 2.0 root hub
     bcdDevice 5.00
     iManufacturer 3 Linux 5.0.2 ehci_hcd
     iProduct 2 EHCI Host Controller
     iSerial 1 0000:00:1d.0
     bNumConfigurations 1
     Configuration Descriptor:
     bLength 9
     bDescriptorType 2
     wTotalLength 25
     bNumInterfaces 1
     bConfigurationValue 1
     iConfiguration 0
     bmAttributes 0xe0
     Self Powered
     Remote Wakeup
     MaxPower 0mA
     Interface Descriptor:
     bLength 9
     bDescriptorType 4
     bInterfaceNumber 0
     bAlternateSetting 0
     bNumEndpoints 1
     bInterfaceClass 9 Hub
     bInterfaceSubClass 0 Unused
     bInterfaceProtocol 0 Full speed (or root) hub
     iInterface 0
     Endpoint Descriptor:
     bLength 7
     bDescriptorType 5
     bEndpointAddress 0x81 EP 1 IN
     bmAttributes 3
     Transfer Type Interrupt
     Synch Type None
     Usage Type Data
     wMaxPacketSize 0x0004 1x 4 bytes
     bInterval 12
     Hub Descriptor:
     bLength 9
     bDescriptorType 41
     nNbrPorts 3
     wHubCharacteristic 0x000a
     No power switching (usb 1.0)
     Per-port overcurrent protection
     bPwrOn2PwrGood 10 * 2 milli seconds
     bHubContrCurrent 0 milli Ampere
     DeviceRemovable 0x00
     PortPwrCtrlMask 0xff
     Hub Port Status:
     Port 1: 0000.0503 highspeed power enable connect
     Port 2: 0000.0100 power
     Port 3: 0000.0100 power
     Device Status: 0x0001
     Self Powered

     Bus 001 Device 005: ID 0d49:7010 Maxtor OneTouch
     Device Descriptor:
     bLength 18
     bDescriptorType 1
     bcdUSB 2.00
     bDeviceClass 0 (Defined at Interface level)
     bDeviceSubClass 0
     bDeviceProtocol 0
     bMaxPacketSize0 64
     idVendor 0x0d49 Maxtor
     idProduct 0x7010 OneTouch
     bcdDevice 2.00
     iManufacturer 1 Maxtor
     iProduct 3 OneTouch
     iSerial 2 Y61LWLCE
     bNumConfigurations 1
     Configuration Descriptor:
     bLength 9
     bDescriptorType 2
     wTotalLength 39
     bNumInterfaces 1
     bConfigurationValue 1
     iConfiguration 0
     bmAttributes 0xc0
     Self Powered
     MaxPower 0mA
     Interface Descriptor:
     bLength 9
     bDescriptorType 4
     bInterfaceNumber 0
     bAlternateSetting 0
     bNumEndpoints 3
     bInterfaceClass 8 Mass Storage
     bInterfaceSubClass 6 SCSI
     bInterfaceProtocol 80 Bulk-Only
     iInterface 0
     Endpoint Descriptor:
     bLength 7
     bDescriptorType 5
     bEndpointAddress 0x02 EP 2 OUT
     bmAttributes 2
     Transfer Type Bulk
     Synch Type None
     Usage Type Data
     wMaxPacketSize 0x0200 1x 512 bytes
     bInterval 0
     Endpoint Descriptor:
     bLength 7
     bDescriptorType 5
     bEndpointAddress 0x88 EP 8 IN
     bmAttributes 2
     Transfer Type Bulk
     Synch Type None
     Usage Type Data
     wMaxPacketSize 0x0200 1x 512 bytes
     bInterval 0
     Endpoint Descriptor:
     bLength 7
     bDescriptorType 5
     bEndpointAddress 0x81 EP 1 IN
     bmAttributes 3
     Transfer Type Interrupt
     Synch Type None
     Usage Type Data
     wMaxPacketSize 0x0002 1x 2 bytes
     bInterval 9
     Device Qualifier (for other device speed):
     bLength 10
     bDescriptorType 6
     bcdUSB 2.00
     bDeviceClass 0 (Defined at Interface level)
     bDeviceSubClass 0
     bDeviceProtocol 0
     bMaxPacketSize0 64
     bNumConfigurations 1
     Device Status: 0x0001
     Self Powered

     Bus 001 Device 003: ID 064e:a219 Suyin Corp. 1.3M WebCam (notebook
     emachines E730, Acer sub-brand)
     Device Descriptor:
     bLength 18
     bDescriptorType 1
     bcdUSB 2.00
     bDeviceClass 239 Miscellaneous Device
     bDeviceSubClass 2 ?
     bDeviceProtocol 1 Interface Association
     bMaxPacketSize0 64
     idVendor 0x064e Suyin Corp.
     idProduct 0xa219 1.3M WebCam (notebook emachines E730, Acer
     sub-brand)
     bcdDevice 2.15
     iManufacturer 2 Suyin
     iProduct 1 1.3M WebCam
     iSerial 3 HF1315-S32B-OV01-VA-R02.01.05
     bNumConfigurations 1
     Configuration Descriptor:
     bLength 9
     bDescriptorType 2
     wTotalLength 527
     bNumInterfaces 2
     bConfigurationValue 1
     iConfiguration 0
     bmAttributes 0x80
     (Bus Powered)
     MaxPower 500mA
     Interface Association:
     bLength 8
     bDescriptorType 11
     bFirstInterface 0
     bInterfaceCount 2
     bFunctionClass 14 Video
     bFunctionSubClass 3 Video Interface Collection
     bFunctionProtocol 0
     iFunction 5 1.3M WebCam
     Interface Descriptor:
     bLength 9
     bDescriptorType 4
     bInterfaceNumber 0
     bAlternateSetting 0
     bNumEndpoints 1
     bInterfaceClass 14 Video
     bInterfaceSubClass 1 Video Control
     bInterfaceProtocol 0
     iInterface 5 1.3M WebCam
     VideoControl Interface Descriptor:
     bLength 13
     bDescriptorType 36
     bDescriptorSubtype 1 (HEADER)
     bcdUVC 1.00
     wTotalLength 77
     dwClockFrequency 15.000000MHz
     bInCollection 1
     baInterfaceNr( 0) 1
     VideoControl Interface Descriptor:
     bLength 9
     bDescriptorType 36
     bDescriptorSubtype 3 (OUTPUT_TERMINAL)
     bTerminalID 2
     wTerminalType 0x0101 USB Streaming
     bAssocTerminal 0
     bSourceID 4
     iTerminal 0
     VideoControl Interface Descriptor:
     bLength 26
     bDescriptorType 36
     bDescriptorSubtype 6 (EXTENSION_UNIT)
     bUnitID 4
     guidExtensionCode {7033f028-1163-2e4a-ba2c-
     6890eb334016}
     bNumControl 8
     bNrPins 1
     baSourceID( 0) 3
     bControlSize 1
     bmControls( 0) 0x0f
     iExtension 0
     VideoControl Interface Descriptor:
     bLength 18
     bDescriptorType 36
     bDescriptorSubtype 2 (INPUT_TERMINAL)
     bTerminalID 1
     wTerminalType 0x0201 Camera Sensor
     bAssocTerminal 0
     iTerminal 0
     wObjectiveFocalLengthMin 0
     wObjectiveFocalLengthMax 0
     wOcularFocalLength 0
     bControlSize 3
     bmControls 0x00000000
     VideoControl Interface Descriptor:
     bLength 11
     bDescriptorType 36
     bDescriptorSubtype 5 (PROCESSING_UNIT)
     Warning: Descriptor too short
     bUnitID 3
     bSourceID 1
     wMaxMultiplier 0
     bControlSize 2
     bmControls 0x0000153f
     Brightness
     Contrast
     Hue
     Saturation
     Sharpness
     Gamma
     Backlight Compensation
     Power Line Frequency
     White Balance Temperature, Auto
     iProcessing 0
     bmVideoStandards 0xc6
     NTSC - 525/60
     PAL - 625/50
     Endpoint Descriptor:
     bLength 7
     bDescriptorType 5
     bEndpointAddress 0x83 EP 3 IN
     bmAttributes 3
     Transfer Type Interrupt
     Synch Type None
     Usage Type Data
     wMaxPacketSize 0x0010 1x 16 bytes
     bInterval 6
     Interface Descriptor:
     bLength 9
     bDescriptorType 4
     bInterfaceNumber 1
     bAlternateSetting 0
     bNumEndpoints 0
     bInterfaceClass 14 Video
     bInterfaceSubClass 2 Video Streaming
     bInterfaceProtocol 0
     iInterface 5 1.3M WebCam
     VideoStreaming Interface Descriptor:
     bLength 14
     bDescriptorType 36
     bDescriptorSubtype 1 (INPUT_HEADER)
     bNumFormats 1
     wTotalLength 307
     bEndPointAddress 129
     bmInfo 0
     bTerminalLink 2
     bStillCaptureMethod 2
     bTriggerSupport 0
     bTriggerUsage 0
     bControlSize 1
     bmaControls( 0) 27
     VideoStreaming Interface Descriptor:
     bLength 27
     bDescriptorType 36
     bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
     bFormatIndex 1
     bNumFrameDescriptors 7
     guidFormat {59555932-0000-1000-8000-
     00aa00389b71}
     bBitsPerPixel 16
     bDefaultFrameIndex 1
     bAspectRatioX 0
     bAspectRatioY 0
     bmInterlaceFlags 0x00
     Interlaced stream or variable: No
     Fields per frame: 2 fields
     Field 1 first: No
     Field pattern: Field 1 only
     bCopyProtect 0
     VideoStreaming Interface Descriptor:
     bLength 34
     bDescriptorType 36
     bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
     bFrameIndex 1
     bmCapabilities 0x00
     Still image unsupported
     wWidth 640
     wHeight 480
     dwMinBitRate 73728000
     dwMaxBitRate 147456000
     dwMaxVideoFrameBufferSize 614400
     dwDefaultFrameInterval 333333
     bFrameIntervalType 2
     dwFrameInterval( 0) 333333
     dwFrameInterval( 1) 666666
     VideoStreaming Interface Descriptor:
     bLength 34
     bDescriptorType 36
     bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
     bFrameIndex 2
     bmCapabilities 0x00
     Still image unsupported
     wWidth 352
     wHeight 288
     dwMinBitRate 24330240
     dwMaxBitRate 48660480
     dwMaxVideoFrameBufferSize 202752
     dwDefaultFrameInterval 333333
     bFrameIntervalType 2
     dwFrameInterval( 0) 333333
     dwFrameInterval( 1) 666666
     VideoStreaming Interface Descriptor:
     bLength 34
     bDescriptorType 36
     bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
     bFrameIndex 3
     bmCapabilities 0x00
     Still image unsupported
     wWidth 320
     wHeight 240
     dwMinBitRate 18432000
     dwMaxBitRate 36864000
     dwMaxVideoFrameBufferSize 153600
     dwDefaultFrameInterval 333333
     bFrameIntervalType 2
     dwFrameInterval( 0) 333333
     dwFrameInterval( 1) 666666
     VideoStreaming Interface Descriptor:
     bLength 34
     bDescriptorType 36
     bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
     bFrameIndex 4
     bmCapabilities 0x00
     Still image unsupported
     wWidth 176
     wHeight 144
     dwMinBitRate 6082560
     dwMaxBitRate 12165120
     dwMaxVideoFrameBufferSize 50688
     dwDefaultFrameInterval 333333
     bFrameIntervalType 2
     dwFrameInterval( 0) 333333
     dwFrameInterval( 1) 666666
     VideoStreaming Interface Descriptor:
     bLength 34
     bDescriptorType 36
     bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
     bFrameIndex 5
     bmCapabilities 0x00
     Still image unsupported
     wWidth 160
     wHeight 120
     dwMinBitRate 4608000
     dwMaxBitRate 9216000
     dwMaxVideoFrameBufferSize 38400
     dwDefaultFrameInterval 333333
     bFrameIntervalType 2
     dwFrameInterval( 0) 333333
     dwFrameInterval( 1) 666666
     VideoStreaming Interface Descriptor:
     bLength 30
     bDescriptorType 36
     bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
     bFrameIndex 6
     bmCapabilities 0x00
     Still image unsupported
     wWidth 1280
     wHeight 800
     dwMinBitRate 122880000
     dwMaxBitRate 122880000
     dwMaxVideoFrameBufferSize 2048000
     dwDefaultFrameInterval 1333333
     bFrameIntervalType 1
     dwFrameInterval( 0) 1333333
     VideoStreaming Interface Descriptor:
     bLength 30
     bDescriptorType 36
     bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
     bFrameIndex 7
     bmCapabilities 0x00
     Still image unsupported
     wWidth 1280
     wHeight 1024
     dwMinBitRate 157286400
     dwMaxBitRate 157286400
     dwMaxVideoFrameBufferSize 2621440
     dwDefaultFrameInterval 1333333
     bFrameIntervalType 1
     dwFrameInterval( 0) 1333333
     VideoStreaming Interface Descriptor:
     bLength 30
     bDescriptorType 36
     bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
     bEndpointAddress 0
     bNumImageSizePatterns 6
     wWidth( 0) 1280
     wHeight( 0) 1024
     wWidth( 1) 640
     wHeight( 1) 480
     wWidth( 2) 320
     wHeight( 2) 240
     wWidth( 3) 320
     wHeight( 3) 240
     wWidth( 4) 176
     wHeight( 4) 144
     wWidth( 5) 160
     wHeight( 5) 120
     bNumCompressionPatterns 6
     VideoStreaming Interface Descriptor:
     bLength 6
     bDescriptorType 36
     bDescriptorSubtype 13 (COLORFORMAT)
     bColorPrimaries 1 (BT.709,sRGB)
     bTransferCharacteristics 1 (BT.709)
     bMatrixCoefficients 4 (SMPTE 170M (BT.601))
     Interface Descriptor:
     bLength 9
     bDescriptorType 4
     bInterfaceNumber 1
     bAlternateSetting 1
     bNumEndpoints 1
     bInterfaceClass 14 Video
     bInterfaceSubClass 2 Video Streaming
     bInterfaceProtocol 0
     iInterface 0
     Endpoint Descriptor:
     bLength 7
     bDescriptorType 5
     bEndpointAddress 0x81 EP 1 IN
     bmAttributes 5
     Transfer Type Isochronous
     Synch Type Asynchronous
     Usage Type Data
     wMaxPacketSize 0x0080 1x 128 bytes
     bInterval 1
     Interface Descriptor:
     bLength 9
     bDescriptorType 4
     bInterfaceNumber 1
     bAlternateSetting 2
     bNumEndpoints 1
     bInterfaceClass 14 Video
     bInterfaceSubClass 2 Video Streaming
     bInterfaceProtocol 0
     iInterface 0
     Endpoint Descriptor:
     bLength 7
     bDescriptorType 5
     bEndpointAddress 0x81 EP 1 IN
     bmAttributes 5
     Transfer Type Isochronous
     Synch Type Asynchronous
     Usage Type Data
     wMaxPacketSize 0x0100 1x 256 bytes
     bInterval 1
     Interface Descriptor:
     bLength 9
     bDescriptorType 4
     bInterfaceNumber 1
     bAlternateSetting 3
     bNumEndpoints 1
     bInterfaceClass 14 Video
     bInterfaceSubClass 2 Video Streaming
     bInterfaceProtocol 0
     iInterface 0
     Endpoint Descriptor:
     bLength 7
     bDescriptorType 5
     bEndpointAddress 0x81 EP 1 IN
     bmAttributes 5
     Transfer Type Isochronous
     Synch Type Asynchronous
     Usage Type Data
     wMaxPacketSize 0x0320 1x 800 bytes
     bInterval 1
     Interface Descriptor:
     bLength 9
     bDescriptorType 4
     bInterfaceNumber 1
     bAlternateSetting 4
     bNumEndpoints 1
     bInterfaceClass 14 Video
     bInterfaceSubClass 2 Video Streaming
     bInterfaceProtocol 0
     iInterface 0
     Endpoint Descriptor:
     bLength 7
     bDescriptorType 5
     bEndpointAddress 0x81 EP 1 IN
     bmAttributes 5
     Transfer Type Isochronous
     Synch Type Asynchronous
     Usage Type Data
     wMaxPacketSize 0x0b20 2x 800 bytes
     bInterval 1
     Interface Descriptor:
     bLength 9
     bDescriptorType 4
     bInterfaceNumber 1
     bAlternateSetting 5
     bNumEndpoints 1
     bInterfaceClass 14 Video
     bInterfaceSubClass 2 Video Streaming
     bInterfaceProtocol 0
     iInterface 0
     Endpoint Descriptor:
     bLength 7
     bDescriptorType 5
     bEndpointAddress 0x81 EP 1 IN
     bmAttributes 5
     Transfer Type Isochronous
     Synch Type Asynchronous
     Usage Type Data
     wMaxPacketSize 0x1320 3x 800 bytes
     bInterval 1
     Interface Descriptor:
     bLength 9
     bDescriptorType 4
     bInterfaceNumber 1
     bAlternateSetting 6
     bNumEndpoints 1
     bInterfaceClass 14 Video
     bInterfaceSubClass 2 Video Streaming
     bInterfaceProtocol 0
     iInterface 0
     Endpoint Descriptor:
     bLength 7
     bDescriptorType 5
     bEndpointAddress 0x81 EP 1 IN
     bmAttributes 5
     Transfer Type Isochronous
     Synch Type Asynchronous
     Usage Type Data
     wMaxPacketSize 0x1400 3x 1024 bytes
     bInterval 1
     Device Qualifier (for other device speed):
     bLength 10
     bDescriptorType 6
     bcdUSB 2.00
     bDeviceClass 239 Miscellaneous Device
     bDeviceSubClass 2 ?
     bDeviceProtocol 1 Interface Association
     bMaxPacketSize0 64
     bNumConfigurations 1
     Device Status: 0x0002
     (Bus Powered)
     Remote Wakeup Enabled

     Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate
     Matching
     Hub
     Device Descriptor:
     bLength 18
     bDescriptorType 1
     bcdUSB 2.00
     bDeviceClass 9 Hub
     bDeviceSubClass 0 Unused
     bDeviceProtocol 1 Single TT
     bMaxPacketSize0 64
     idVendor 0x8087 Intel Corp.
     idProduct 0x0020 Integrated Rate Matching Hub
     bcdDevice 0.00
     iManufacturer 0
     iProduct 0
     iSerial 0
     bNumConfigurations 1
     Configuration Descriptor:
     bLength 9
     bDescriptorType 2
     wTotalLength 25
     bNumInterfaces 1
     bConfigurationValue 1
     iConfiguration 0
     bmAttributes 0xe0
     Self Powered
     Remote Wakeup
     MaxPower 0mA
     Interface Descriptor:
     bLength 9
     bDescriptorType 4
     bInterfaceNumber 0
     bAlternateSetting 0
     bNumEndpoints 1
     bInterfaceClass 9 Hub
     bInterfaceSubClass 0 Unused
     bInterfaceProtocol 0 Full speed (or root) hub
     iInterface 0
     Endpoint Descriptor:
     bLength 7
     bDescriptorType 5
     bEndpointAddress 0x81 EP 1 IN
     bmAttributes 3
     Transfer Type Interrupt
     Synch Type None
     Usage Type Data
     wMaxPacketSize 0x0001 1x 1 bytes
     bInterval 12
     Hub Descriptor:
     bLength 9
     bDescriptorType 41
     nNbrPorts 6
     wHubCharacteristic 0x0089
     Per-port power switching
     Per-port overcurrent protection
     TT think time 8 FS bits
     Port indicators
     bPwrOn2PwrGood 50 * 2 milli seconds
     bHubContrCurrent 0 milli Ampere
     DeviceRemovable 0x00
     PortPwrCtrlMask 0xff
     Hub Port Status:
     Port 1: 0000.0503 highspeed power enable connect
     Port 2: 0000.0503 highspeed power enable connect
     Port 3: 0000.0100 power
     Port 4: 0000.0100 power
     Port 5: 0000.0100 power
     Port 6: 0000.0100 power
     Device Qualifier (for other device speed):
     bLength 10
     bDescriptorType 6
     bcdUSB 2.00
     bDeviceClass 9 Hub
     bDeviceSubClass 0 Unused
     bDeviceProtocol 0 Full speed (or root) hub
     bMaxPacketSize0 64
     bNumConfigurations 1
     Device Status: 0x0001
     Self Powered

     Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
     Device Descriptor:
     bLength 18
     bDescriptorType 1
     bcdUSB 2.00
     bDeviceClass 9 Hub
     bDeviceSubClass 0 Unused
     bDeviceProtocol 0 Full speed (or root) hub
     bMaxPacketSize0 64
     idVendor 0x1d6b Linux Foundation
     idProduct 0x0002 2.0 root hub
     bcdDevice 5.00
     iManufacturer 3 Linux 5.0.2 ehci_hcd
     iProduct 2 EHCI Host Controller
     iSerial 1 0000:00:1a.0
     bNumConfigurations 1
     Configuration Descriptor:
     bLength 9
     bDescriptorType 2
     wTotalLength 25
     bNumInterfaces 1
     bConfigurationValue 1
     iConfiguration 0
     bmAttributes 0xe0
     Self Powered
     Remote Wakeup
     MaxPower 0mA
     Interface Descriptor:
     bLength 9
     bDescriptorType 4
     bInterfaceNumber 0
     bAlternateSetting 0
     bNumEndpoints 1
     bInterfaceClass 9 Hub
     bInterfaceSubClass 0 Unused
     bInterfaceProtocol 0 Full speed (or root) hub
     iInterface 0
     Endpoint Descriptor:
     bLength 7
     bDescriptorType 5
     bEndpointAddress 0x81 EP 1 IN
     bmAttributes 3
     Transfer Type Interrupt
     Synch Type None
     Usage Type Data
     wMaxPacketSize 0x0004 1x 4 bytes
     bInterval 12
     Hub Descriptor:
     bLength 9
     bDescriptorType 41
     nNbrPorts 3
     wHubCharacteristic 0x000a
     No power switching (usb 1.0)
     Per-port overcurrent protection
     bPwrOn2PwrGood 10 * 2 milli seconds
     bHubContrCurrent 0 milli Ampere
     DeviceRemovable 0x00
     PortPwrCtrlMask 0xff
     Hub Port Status:
     Port 1: 0000.0503 highspeed power enable connect
     Port 2: 0000.0100 power
     Port 3: 0000.0100 power
     Device Status: 0x0001
     Self Powered

     Does anybody know how to fix this problem ?

     Regards,

     Guido

     _______________________________________________
     Alsa-devel mailing list
     [email protected]
     [3]https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

References

1. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/usb
2. https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/tree/sound/usb
3. https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw
Quoted 6 lines · Guido Trentalancia

I wonder if this might be due to a bug in the "USB Audio Driver for Alsa"?

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/usb

https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/tree/sound/usb

More likely a buggy firmware of your USB audio device :)

From the driver implementation POV, both audio and MIDI devices are
handled by individual endpoints, hence they shouldn't conflict.

Or another possibility would be some USB host side issue like the bandwidth. But it's a MIDI stream that is very low data rate, so this sounds also unlikely...

thanks,

Takashi

Quoted 3,005 lines

Guido

    On the 20th of March 2019 at 21.47 Guido Trentalancia
    <[email protected] wrote:
   
    Hello.
   
    I am hitting a very serious bug (ALSA kernel driver or ALSA library)
    when using the Hercules P32 DJ audio interface.
   
    The sound is severely distorted during MIDI transfers.
   
    To reproduce:
   
      + start playing something in a first console:
   
    console1# AUDIODEV=hw:2,0 play audio.wav
   
      + the audio plays fine
       
      + now start "amidi" in a second console while the above track is still
        playing
       
    console2# amidi -p hw:2,0,0 -d
   
      + the sound is now severely distorted (basically noise, with some hard-
        to-distinguish features resembling the original track) until "amidi"
        is
        interrupted !
   
    Kernel versions tested: from 4.12 up to 5.0.2 (latest).
   
    NOTES: Always reproducible. Same device is working fine on Windows.
   
    The output from alsa-info.sh and lsusb -v follows.
   
    upload=true&script=true&cardinfo=
    !!################################
    !!ALSA Information Script v 0.4.64
    !!################################
   
    !!Script ran on: Wed Mar 20 20:44:36 UTC 2019
   
    !!Linux Distribution
    !!------------------
   
    !!DMI Information
    !!---------------
   
    Manufacturer: Acer
    Product Name: Aspire 5745G
    Product Version: V1.19
    Firmware Version: V1.19
    Board Vendor: Acer
    Board Name: JV51_CP
   
    !!ACPI Device Status Information
    !!---------------
   
    /sys/bus/acpi/devices/PNP0103:00/status 15
    /sys/bus/acpi/devices/PNP0C0A:00/status 31
    /sys/bus/acpi/devices/PNP0C0F:00/status 9
    /sys/bus/acpi/devices/PNP0C0F:01/status 9
    /sys/bus/acpi/devices/PNP0C0F:02/status 9
    /sys/bus/acpi/devices/PNP0C0F:03/status 9
    /sys/bus/acpi/devices/PNP0C0F:04/status 9
    /sys/bus/acpi/devices/PNP0C0F:05/status 9
    /sys/bus/acpi/devices/PNP0C0F:06/status 9
    /sys/bus/acpi/devices/PNP0C0F:07/status 9
   
    !!Kernel Information
    !!------------------
   
    Kernel release: 5.0.2
    Operating System: GNU/Linux
    Architecture: x86_64
    Processor: unknown
    SMP Enabled: Yes
   
    !!ALSA Version
    !!------------
   
    Driver version: k5.0.2
    Library version: 1.1.8
    Utilities version: 1.1.8
   
    !!Loaded ALSA modules
    !!-------------------
   
    snd_hda_intel
    snd_hda_intel
    snd_usb_audio
   
    !!Sound Servers on this system
    !!----------------------------
   
    Pulseaudio:
    Installed - Yes (/usr/bin/pulseaudio)
    Running - No
   
    Jack:
    Installed - Yes (/usr/bin/jackd)
    Running - No
   
    !!Soundcards recognised by ALSA
    !!-----------------------------
   
    0 [MID ]: HDA-Intel - HDA Intel MID
    HDA Intel MID at 0xb7100000 irq 27
    1 [NVidia ]: HDA-Intel - HDA NVidia
    HDA NVidia at 0xb3000000 irq 16
    2 [DJ ]: USB-Audio - Hercules P32 DJ
    Guillemot Corporation Hercules P32 DJ at usb-
    0000:00:1d.0-1.4, full speed
   
    !!PCI Soundcards installed in the system
    !!--------------------------------------
   
    00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset
    High Definition Audio (rev 05)
    01:00.1 Audio device: NVIDIA Corporation GT216 HDMI Audio Controller
    (rev a1)
   
    !!Advanced information - PCI Vendor/Device/Subsystem ID's
    !!-------------------------------------------------------
   
    00:1b.0 0403: 8086:3b56 (rev 05)
   
    Subsystem: 1025:035b
    --
    01:00.1 0403: 10de:0be2 (rev a1)
    Subsystem: 1025:035a
   
    !!Loaded sound module options
    !!---------------------------
   
    !!Module: snd_hda_intel
    align_buffer_size : -1
    bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    beep_mode :
    N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
    enable :
    Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
    enable_msi : -1
    id :
    (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
    null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
    ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
    ll),(null)
    index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    jackpoll_ms :
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    model :
    (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
    null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
    ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
    ll),(null)
    patch :
    (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
    null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
    ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
    ll),(null)
    pm_blacklist : Y
    position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    power_save : 0
    power_save_controller : Y
    probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    probe_only :
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    single_cmd : -1
    snoop : -1
   
    !!Module: snd_hda_intel
    align_buffer_size : -1
    bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    beep_mode :
    N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
    enable :
    Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
    enable_msi : -1
    id :
    (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
    null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
    ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
    ll),(null)
    index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    jackpoll_ms :
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    model :
    (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
    null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
    ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
    ll),(null)
    patch :
    (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
    null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
    ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
    ll),(null)
    pm_blacklist : Y
    position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    power_save : 0
    power_save_controller : Y
    probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    probe_only :
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    single_cmd : -1
    snoop : -1
   
    !!Module: snd_usb_audio
    autoclock : Y
    device_setup :
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    enable :
    Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
    id :
    (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
    null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
    ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
    ll),(null)
    ignore_ctl_error : N
    index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    pid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    quirk_alias :
    (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
    null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
    ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
    ll),(null)
    use_vmalloc : Y
    vid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
   
    !!HDA-Intel Codec information
    !!---------------------------
    --startcollapse--
   
    Codec: Realtek ALC269VB
    Address: 0
    AFG Function Id: 0x1 (unsol 1)
    Vendor Id: 0x10ec0269
    Subsystem Id: 0x1025035b
    Revision Id: 0x100100
    No Modem Function Group found
    Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    State of AFG node 0x01:
    Power states: D0 D1 D2 D3 CLKSTOP EPSS
    Power: setting=D0, actual=D0
    GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
    IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
    IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
    Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
    Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Device: name="ALC269VB Analog", type="Audio", device=0
    Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
    Amp-Out vals: [0x00 0x00]
    Converter: stream=5, channel=0
    PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
    Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
    Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
    Amp-Out vals: [0x51 0x51]
    Converter: stream=5, channel=0
    PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
    Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
    Control: name="IEC958 Playback Con Mask", index=0, device=0
    Control: name="IEC958 Playback Pro Mask", index=0, device=0
    Control: name="IEC958 Playback Default", index=0, device=0
    Control: name="IEC958 Playback Switch", index=0, device=0
    Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
    Device: name="ALC269VB Digital", type="SPDIF", device=1
    Converter: stream=5, channel=0
    Digital:
    Digital category: 0x0
    IEC Coding Type: 0x0
    PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
    Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
    Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
    Amp-In vals: [0x8b 0x8b]
    Converter: stream=0, channel=0
    SDI-Select: 0
    PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
    Connection: 1
    0x23
    Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
    Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
    Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
    Device: name="ALC269VB Analog", type="Audio", device=0
    Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
    Amp-In vals: [0x00 0x00]
    Converter: stream=1, channel=0
    SDI-Select: 0
    PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
    Connection: 1
    0x22
    Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
    Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
    Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
    Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
    Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
    Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
    Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80
    0x80]
    Connection: 5
    0x18 0x19 0x1a 0x1b 0x1d
    Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
    Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-In vals: [0x00 0x00] [0x80 0x80]
    Connection: 2
    0x02 0x0b
    Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
    Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-In vals: [0x00 0x00] [0x80 0x80]
    Connection: 2
    0x03 0x0b
    Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono Amp-In
    Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-In vals: [0x00] [0x80]
    Connection: 2
    0x02 0x0b
    Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x12 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
    Control: name="Internal Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
    Amp-In vals: [0x00 0x00]
    Pincap 0x00000020: IN
    Pin Default 0x99a30930: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
    Pin-ctls: 0x20: IN
    Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
    Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals: [0x00 0x00]
    Pincap 0x00010014: OUT EAPD Detect
    EAPD 0x2: EAPD
    Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
    Pin-ctls: 0x40: OUT
    Unsolicited: tag=00, enabled=0
    Connection: 2
    0x0c 0x0d*
    Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x17 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals: [0x80]
    Pincap 0x00000010: OUT
    Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
    Pin-ctls: 0x00:
    Connection: 1
    0x0f
    Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
    Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
    Amp-In vals: [0x00 0x00]
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals: [0x80 0x80]
    Pincap 0x00001734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80
    Pin Default 0x03a19840: [Jack] Mic at Ext Left
    Conn = 1/8, Color = Pink
    DefAssociation = 0x4, Sequence = 0x0
    Pin-ctls: 0x24: IN VREF_80
    Unsolicited: tag=02, enabled=1
    Connection: 1
    0x0d
    Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
    Amp-In vals: [0x00 0x00]
    Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
    Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
    Pin-ctls: 0x20: IN VREF_HIZ
    Unsolicited: tag=00, enabled=0
    Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
    Amp-In vals: [0x00 0x00]
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals: [0x80 0x80]
    Pincap 0x0000003c: IN OUT HP Detect
    Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
    Pin-ctls: 0x20: IN
    Unsolicited: tag=00, enabled=0
    Connection: 2
    0x0c* 0x0d
    Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
    Amp-In vals: [0x00 0x00]
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals: [0x80 0x80]
    Pincap 0x00000034: IN OUT Detect
    Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
    Pin-ctls: 0x20: IN
    Unsolicited: tag=00, enabled=0
    Connection: 2
    0x0c* 0x0d
    Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x1d [Pin Complex] wcaps 0x400000: Mono
    Pincap 0x00000020: IN
    Pin Default 0x4017992d: [N/A] Speaker at Ext N/A
    Conn = Analog, Color = Pink
    DefAssociation = 0x2, Sequence = 0xd
    Misc = NO_PRESENCE
    Pin-ctls: 0x20: IN
    Node 0x1e [Pin Complex] wcaps 0x400381: Stereo Digital
    Pincap 0x00000014: OUT Detect
    Pin Default 0x03451120: [Jack] SPDIF Out at Ext Left
    Conn = Optical, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
    Pin-ctls: 0x40: OUT
    Unsolicited: tag=00, enabled=0
    Connection: 1
    0x06
    Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
    Processing caps: benign=0, ncoeff=25
    Node 0x21 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
    Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals: [0x80 0x80]
    Pincap 0x0000001c: OUT HP Detect
    Pin Default 0x0321101f: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Black
    DefAssociation = 0x1, Sequence = 0xf
    Pin-ctls: 0xc0: OUT HP
    Unsolicited: tag=01, enabled=1
    Connection: 2
    0x0c* 0x0d
    Node 0x22 [Audio Selector] wcaps 0x30010b: Stereo Amp-In
    Amp-In caps: N/A
    Amp-In vals: [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00
    0x00] [0x00 0x00] [0x00 0x00]
    Connection: 7
    0x18 0x19 0x1a 0x1b 0x1d 0x0b 0x12*
    Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
    Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80
    0x80] [0x80 0x80]
    Connection: 6
    0x18 0x19 0x1a 0x1b 0x1d 0x0b
    Codec: Nvidia Generic
    Address: 0
    AFG Function Id: 0x1 (unsol 0)
    Vendor Id: 0x10de000a
    Subsystem Id: 0x10de0101
    Revision Id: 0x100100
    No Modem Function Group found
    Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    State of AFG node 0x01:
    Power states: D0 D1 D2 D3
    Power: setting=D0, actual=D0
    GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
    Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
    Control: name="IEC958 Playback Con Mask", index=0, device=0
    Control: name="IEC958 Playback Pro Mask", index=0, device=0
    Control: name="IEC958 Playback Default", index=0, device=0
    Control: name="IEC958 Playback Switch", index=0, device=0
    Device: name="Generic Digital", type="HDMI", device=3
    Converter: stream=0, channel=0
    Digital: Enabled
    Digital category: 0x0
    IEC Coding Type: 0x0
    PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
    Unsolicited: tag=00, enabled=0
    Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
    Pincap 0x09000094: OUT Detect HBR HDMI DP
    Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Pin-ctls: 0x40: OUT
    Unsolicited: tag=01, enabled=1
    Connection: 1
    0x04
    Codec: Nvidia Generic
    Address: 1
    AFG Function Id: 0x1 (unsol 0)
    Vendor Id: 0x10de000a
    Subsystem Id: 0x10de0101
    Revision Id: 0x100100
    No Modem Function Group found
    Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    State of AFG node 0x01:
    Power states: D0 D1 D2 D3
    Power: setting=D0, actual=D0
    GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
    Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
    Control: name="IEC958 Playback Con Mask", index=1, device=0
    Control: name="IEC958 Playback Pro Mask", index=1, device=0
    Control: name="IEC958 Playback Default", index=1, device=0
    Control: name="IEC958 Playback Switch", index=1, device=0
    Device: name="Generic Digital", type="HDMI", device=7
    Converter: stream=0, channel=0
    Digital: Enabled
    Digital category: 0x0
    IEC Coding Type: 0x0
    PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
    Unsolicited: tag=00, enabled=0
    Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
    Pincap 0x09000094: OUT Detect HBR HDMI DP
    Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Pin-ctls: 0x40: OUT
    Unsolicited: tag=01, enabled=1
    Connection: 1
    0x04
    Codec: Nvidia Generic
    Address: 2
    AFG Function Id: 0x1 (unsol 0)
    Vendor Id: 0x10de000a
    Subsystem Id: 0x10de0101
    Revision Id: 0x100100
    No Modem Function Group found
    Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    State of AFG node 0x01:
    Power states: D0 D1 D2 D3
    Power: setting=D0, actual=D0
    GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
    Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
    Control: name="IEC958 Playback Con Mask", index=2, device=0
    Control: name="IEC958 Playback Pro Mask", index=2, device=0
    Control: name="IEC958 Playback Default", index=2, device=0
    Control: name="IEC958 Playback Switch", index=2, device=0
    Device: name="Generic Digital", type="HDMI", device=8
    Converter: stream=0, channel=0
    Digital: Enabled
    Digital category: 0x0
    IEC Coding Type: 0x0
    PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
    Unsolicited: tag=00, enabled=0
    Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
    Pincap 0x09000094: OUT Detect HBR HDMI DP
    Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Pin-ctls: 0x40: OUT
    Unsolicited: tag=01, enabled=1
    Connection: 1
    0x04
    Codec: Nvidia Generic
    Address: 3
    AFG Function Id: 0x1 (unsol 0)
    Vendor Id: 0x10de000a
    Subsystem Id: 0x10de0101
    Revision Id: 0x100100
    No Modem Function Group found
    Default PCM:
    rates [0x0]:
    bits [0x0]:
    formats [0x0]:
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    State of AFG node 0x01:
    Power states: D0 D1 D2 D3
    Power: setting=D0, actual=D0
    GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
    Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
    Control: name="IEC958 Playback Con Mask", index=3, device=0
    Control: name="IEC958 Playback Pro Mask", index=3, device=0
    Control: name="IEC958 Playback Default", index=3, device=0
    Control: name="IEC958 Playback Switch", index=3, device=0
    Device: name="Generic Digital", type="HDMI", device=9
    Converter: stream=5, channel=0
    Digital: Enabled
    Digital category: 0x0
    IEC Coding Type: 0x0
    PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
    Unsolicited: tag=00, enabled=0
    Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
    Pincap 0x09000094: OUT Detect HBR HDMI DP
    Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Pin-ctls: 0x40: OUT
    Unsolicited: tag=01, enabled=1
    Connection: 1
    0x04
    --endcollapse--
   
    !!USB Mixer information
    !!---------------------
    --startcollapse--
   
    USB Mixer: usb_id=0x06f8b121, ctrlif=0, ctlerr=0
    Card: Guillemot Corporation Hercules P32 DJ at usb-0000:00:1d.0-1.4,
    full speed
    Unit: 2
    Control: name="PCM Playback Volume", index=0
    Info: id=2, control=2, cmask=0xf, channels=4, type="S16"
    Volume: min=-25600, max=0, dBmin=-10000, dBmax=0
    Unit: 2
    Control: name="PCM Playback Switch", index=0
    Info: id=2, control=1, cmask=0xf, channels=4, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
    --endcollapse--
   
    !!ALSA Device nodes
    !!-----------------
   
    crw-rw----. 1 root audio 116, 6 Mar 20 18:15 /dev/snd/controlC0
    crw-rw----. 1 root audio 116, 15 Mar 20 18:15 /dev/snd/controlC1
    crw-rw----. 1 root audio 116, 18 Mar 20 21:25 /dev/snd/controlC2
    crw-rw----. 1 root audio 116, 5 Mar 20 18:15 /dev/snd/hwC0D0
    crw-rw----. 1 root audio 116, 11 Mar 20 18:15 /dev/snd/hwC1D0
    crw-rw----. 1 root audio 116, 12 Mar 20 18:15 /dev/snd/hwC1D1
    crw-rw----. 1 root audio 116, 13 Mar 20 18:15 /dev/snd/hwC1D2
    crw-rw----. 1 root audio 116, 14 Mar 20 18:15 /dev/snd/hwC1D3
    crw-rw----. 1 root audio 116, 17 Mar 20 21:25 /dev/snd/midiC2D0
    crw-rw----. 1 root audio 116, 3 Mar 20 19:58 /dev/snd/pcmC0D0c
    crw-rw----. 1 root audio 116, 2 Mar 20 20:40 /dev/snd/pcmC0D0p
    crw-rw----. 1 root audio 116, 4 Mar 20 19:58 /dev/snd/pcmC0D1p
    crw-rw----. 1 root audio 116, 7 Mar 20 19:58 /dev/snd/pcmC1D3p
    crw-rw----. 1 root audio 116, 8 Mar 20 19:58 /dev/snd/pcmC1D7p
    crw-rw----. 1 root audio 116, 9 Mar 20 19:58 /dev/snd/pcmC1D8p
    crw-rw----. 1 root audio 116, 10 Mar 20 19:58 /dev/snd/pcmC1D9p
    crw-rw----. 1 root audio 116, 16 Mar 20 21:32 /dev/snd/pcmC2D0p
    crw-rw----. 1 root audio 116, 1 Mar 20 17:19 /dev/snd/seq
    crw-rw----. 1 root audio 116, 33 Mar 20 18:15 /dev/snd/timer
   
    /dev/snd/by-id:
    total 0
    drwxr-xr-x. 2 root root 60 Mar 20 21:25 .
    drwxr-xr-x. 4 root root 460 Mar 20 21:25 ..
    lrwxrwxrwx. 1 root root 12 Mar 20 21:25 usb-
    Guillemot_Corporation_Hercules_P32_DJ-00 -> ../controlC2
   
    /dev/snd/by-path:
    total 0
    drwxr-xr-x. 2 root root 100 Mar 20 21:25 .
    drwxr-xr-x. 4 root root 460 Mar 20 21:25 ..
    lrwxrwxrwx. 1 root root 12 Mar 20 18:15 pci-0000:00:1b.0 ->
    ../controlC0
    lrwxrwxrwx. 1 root root 12 Mar 20 21:25 pci-0000:00:1d.0-usb-0:1.4:1.0
    -> ../controlC2
    lrwxrwxrwx. 1 root root 12 Mar 20 18:15 pci-0000:01:00.1 ->
    ../controlC1
   
    !!Aplay/Arecord output
    !!--------------------
   
    APLAY
   
    **** List of PLAYBACK Hardware Devices ****
    card 0: MID [HDA Intel MID], device 0: ALC269VB Analog [ALC269VB
    Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 0: MID [HDA Intel MID], device 1: ALC269VB Digital [ALC269VB
    Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 3: Generic Digital [Generic
    Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 7: Generic Digital [Generic
    Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 8: Generic Digital [Generic
    Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: NVidia [HDA NVidia], device 9: Generic Digital [Generic
    Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 2: DJ [Hercules P32 DJ], device 0: USB Audio [USB Audio]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
   
    ARECORD
   
    **** List of CAPTURE Hardware Devices ****
    card 0: MID [HDA Intel MID], device 0: ALC269VB Analog [ALC269VB
    Analog]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
   
    !!Amixer output
    !!-------------
   
    !!-------Mixer controls for card 0 [MID]
   
    Card hw:0 'MID'/'HDA Intel MID at 0xb7100000 irq 27'
    Mixer name : 'Realtek ALC269VB'
    Components : 'HDA:10ec0269,1025035b,00100100'
    Controls : 31
    Simple ctrls : 14
    Simple mixer control 'Master',0
    Capabilities: pvolume pvolume-joined pswitch pswitch-joined
    Playback channels: Mono
    Limits: Playback 0 - 87
    Mono: Playback 81 [93%] [-4.50dB] [on]
    Simple mixer control 'Headphone',0
    Capabilities: pvolume pswitch
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 87
    Mono:
    Front Left: Playback 0 [0%] [-65.25dB] [off]
    Front Right: Playback 0 [0%] [-65.25dB] [off]
    Simple mixer control 'Speaker',0
    Capabilities: pvolume pswitch
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 87
    Mono:
    Front Left: Playback 87 [100%] [0.00dB] [on]
    Front Right: Playback 87 [100%] [0.00dB] [on]
    Simple mixer control 'PCM',0
    Capabilities: pvolume
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 255
    Mono:
    Front Left: Playback 128 [50%] [-25.40dB]
    Front Right: Playback 128 [50%] [-25.40dB]
    Simple mixer control 'Mic',0
    Capabilities: pvolume pswitch
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 31
    Mono:
    Front Left: Playback 0 [0%] [-34.50dB] [off]
    Front Right: Playback 0 [0%] [-34.50dB] [off]
    Simple mixer control 'Mic Boost',0
    Capabilities: volume
    Playback channels: Front Left - Front Right
    Capture channels: Front Left - Front Right
    Limits: 0 - 3
    Front Left: 0 [0%] [0.00dB]
    Front Right: 0 [0%] [0.00dB]
    Simple mixer control 'IEC958',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [off]
    Simple mixer control 'IEC958 Default PCM',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]
    Simple mixer control 'Beep',0
    Capabilities: pvolume pswitch
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 31
    Mono:
    Front Left: Playback 0 [0%] [-34.50dB] [off]
    Front Right: Playback 0 [0%] [-34.50dB] [off]
    Simple mixer control 'Capture',0
    Capabilities: cvolume cswitch
    Capture channels: Front Left - Front Right
    Limits: Capture 0 - 31
    Front Left: Capture 0 [0%] [-16.50dB] [on]
    Front Right: Capture 0 [0%] [-16.50dB] [on]
    Simple mixer control 'Auto-Mute Mode',0
    Capabilities: enum
    Items: 'Disabled' 'Enabled'
    Item0: 'Enabled'
    Simple mixer control 'Digital',0
    Capabilities: cvolume
    Capture channels: Front Left - Front Right
    Limits: Capture 0 - 120
    Front Left: Capture 60 [50%] [0.00dB]
    Front Right: Capture 60 [50%] [0.00dB]
    Simple mixer control 'Internal Mic Boost',0
    Capabilities: volume
    Playback channels: Front Left - Front Right
    Capture channels: Front Left - Front Right
    Limits: 0 - 3
    Front Left: 0 [0%] [0.00dB]
    Front Right: 0 [0%] [0.00dB]
    Simple mixer control 'Loopback Mixing',0
    Capabilities: enum
    Items: 'Disabled' 'Enabled'
    Item0: 'Disabled'
   
    !!-------Mixer controls for card 1 [NVidia]
   
    Card hw:1 'NVidia'/'HDA NVidia at 0xb3000000 irq 16'
    Mixer name : 'Nvidia Generic'
    Components : 'HDA:10de000a,10de0101,00100100'
    Controls : 24
    Simple ctrls : 4
    Simple mixer control 'IEC958',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]
    Simple mixer control 'IEC958',1
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]
    Simple mixer control 'IEC958',2
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]
    Simple mixer control 'IEC958',3
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]
   
    !!-------Mixer controls for card 2 [DJ]
   
    Card hw:2 'DJ'/'Guillemot Corporation Hercules P32 DJ at usb-
    0000:00:1d.0-1.4, full speed'
    Mixer name : 'USB Mixer'
    Components : 'USB06f8:b121'
    Controls : 4
    Simple ctrls : 1
    Simple mixer control 'PCM',0
    Capabilities: pvolume pswitch
    Playback channels: Front Left - Front Right - Rear Left - Rear Right
    Limits: Playback 0 - 400
    Mono:
    Front Left: Playback 320 [80%] [-20.00dB] [on]
    Front Right: Playback 320 [80%] [-20.00dB] [on]
    Rear Left: Playback 320 [80%] [-20.00dB] [on]
    Rear Right: Playback 320 [80%] [-20.00dB] [on]
   
    !!Alsactl output
    !!--------------
   
    --startcollapse--
    state.MID {
    control.1 {
    iface MIXER
    name 'Headphone Playback Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 87'
    dbmin -6525
    dbmax 0
    dbvalue.0 -6525
    dbvalue.1 -6525
    }
    }
    control.2 {
    iface MIXER
    name 'Headphone Playback Switch'
    value.0 false
    value.1 false
    comment {
    access 'read write'
    type BOOLEAN
    count 2
    }
    }
    control.3 {
    iface MIXER
    name 'Speaker Playback Volume'
    value.0 87
    value.1 87
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 87'
    dbmin -6525
    dbmax 0
    dbvalue.0 0
    dbvalue.1 0
    }
    }
    control.4 {
    iface MIXER
    name 'Speaker Playback Switch'
    value.0 true
    value.1 true
    comment {
    access 'read write'
    type BOOLEAN
    count 2
    }
    }
    control.5 {
    iface MIXER
    name 'Loopback Mixing'
    value Disabled
    comment {
    access 'read write'
    type ENUMERATED
    count 1
    item.0 Disabled
    item.1 Enabled
    }
    }
    control.6 {
    iface MIXER
    name 'Mic Playback Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 31'
    dbmin -3450
    dbmax 1200
    dbvalue.0 -3450
    dbvalue.1 -3450
    }
    }
    control.7 {
    iface MIXER
    name 'Mic Playback Switch'
    value.0 false
    value.1 false
    comment {
    access 'read write'
    type BOOLEAN
    count 2
    }
    }
    control.8 {
    iface MIXER
    name 'Auto-Mute Mode'
    value Enabled
    comment {
    access 'read write'
    type ENUMERATED
    count 1
    item.0 Disabled
    item.1 Enabled
    }
    }
    control.9 {
    iface MIXER
    name 'Capture Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 31'
    dbmin -1650
    dbmax 3000
    dbvalue.0 -1650
    dbvalue.1 -1650
    }
    }
    control.10 {
    iface MIXER
    name 'Capture Switch'
    value.0 true
    value.1 true
    comment {
    access 'read write'
    type BOOLEAN
    count 2
    }
    }
    control.11 {
    iface MIXER
    name 'Mic Boost Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 3'
    dbmin 0
    dbmax 3600
    dbvalue.0 0
    dbvalue.1 0
    }
    }
    control.12 {
    iface MIXER
    name 'Internal Mic Boost Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 3'
    dbmin 0
    dbmax 3600
    dbvalue.0 0
    dbvalue.1 0
    }
    }
    control.13 {
    iface MIXER
    name 'Beep Playback Volume'
    value.0 0
    value.1 0
    comment {
    access 'read write'
    type INTEGER
    count 2
    range '0 - 31'
    dbmin -3450
    dbmax 1200
    dbvalue.0 -3450
    dbvalue.1 -3450
    }
    }
    control.14 {
    iface MIXER
    name 'Beep Playback Switch'
    value.0 false
    value.1 false
    comment {
    access 'read write'
    type BOOLEAN
    count 2
    }
    }
    control.15 {
    iface MIXER
    name 'IEC958 Playback Con Mask'
    value
    '0fff000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access read
    type IEC958
    count 1
    }
    }
    control.16 {
    iface MIXER
    name 'IEC958 Playback Pro Mask'
    value
    '0f00000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access read
    type IEC958
    count 1
    }
    }
    control.17 {
    iface MIXER
    name 'IEC958 Playback Default'
    value
    '0400000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access 'read write'
    type IEC958
    count 1
    }
    }
    control.18 {
    iface MIXER
    name 'IEC958 Playback Switch'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    }
    }
    control.19 {
    iface MIXER
    name 'IEC958 Default PCM Playback Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    }
    }
    control.20 {
    iface MIXER
    name 'Master Playback Volume'
    value 81
    comment {
    access 'read write'
    type INTEGER
    count 1
    range '0 - 87'
    dbmin -6525
    dbmax 0
    dbvalue.0 -450
    }
    }
    control.21 {
    iface MIXER
    name 'Master Playback Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    }
    }
    control.22 {
    iface CARD
    name 'Mic Jack'
    value false
    comment {
    access read
    type BOOLEAN
    count 1
    }
    }
    control.23 {
    iface CARD
    name 'Internal Mic Phantom Jack'
    value true
    comment {
    access read
    type BOOLEAN
    count 1
    }
    }
    control.24 {
    iface CARD
    name 'Headphone Jack'
    value false
    comment {
    access read
    type BOOLEAN
    count 1
    }
    }
    control.25 {
    iface CARD
    name 'Speaker Phantom Jack'
    value true
    comment {
    access read
    type BOOLEAN
    count 1
    }
    }
    control.26 {
    iface CARD
    name 'SPDIF Phantom Jack'
    value true
    comment {
    access read
    type BOOLEAN
    count 1
    }
    }
    control.27 {
    iface PCM
    name 'Playback Channel Map'
    value.0 0
    value.1 0
    comment {
    access read
    type INTEGER
    count 2
    range '0 - 36'
    }
    }
    control.28 {
    iface PCM
    name 'Capture Channel Map'
    value.0 0
    value.1 0
    comment {
    access read
    type INTEGER
    count 2
    range '0 - 36'
    }
    }
    control.29 {
    iface PCM
    device 1
    name 'Playback Channel Map'
    value.0 0
    value.1 0
    comment {
    access read
    type INTEGER
    count 2
    range '0 - 36'
    }
    }
    control.30 {
    iface MIXER
    name 'PCM Playback Volume'
    value.0 128
    value.1 128
    comment {
    access 'read write user'
    type INTEGER
    count 2
    range '0 - 255'
    tlv '0000000100000008ffffec1400000014'
    dbmin -5100
    dbmax 0
    dbvalue.0 -2540
    dbvalue.1 -2540
    }
    }
    control.31 {
    iface MIXER
    name 'Digital Capture Volume'
    value.0 60
    value.1 60
    comment {
    access 'read write user'
    type INTEGER
    count 2
    range '0 - 120'
    tlv '0000000100000008fffff44800000032'
    dbmin -3000
    dbmax 3000
    dbvalue.0 0
    dbvalue.1 0
    }
    }
    }
    state.NVidia {
    control.1 {
    iface MIXER
    name 'IEC958 Playback Con Mask'
    value
    '0fff000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access read
    type IEC958
    count 1
    }
    }
    control.2 {
    iface MIXER
    name 'IEC958 Playback Pro Mask'
    value
    '0f00000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access read
    type IEC958
    count 1
    }
    }
    control.3 {
    iface MIXER
    name 'IEC958 Playback Default'
    value
    '0400000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access 'read write'
    type IEC958
    count 1
    }
    }
    control.4 {
    iface MIXER
    name 'IEC958 Playback Switch'
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    }
    }
    control.5 {
    iface CARD
    name 'HDMI Jack'
    value false
    comment {
    access read
    type BOOLEAN
    count 1
    }
    }
    control.6 {
    iface PCM
    device 3
    name 'Playback Channel Map'
    value.0 0
    value.1 0
    comment {
    access read
    type INTEGER
    count 2
    range '0 - 36'
    }
    }
    control.7 {
    iface MIXER
    name 'IEC958 Playback Con Mask'
    index 1
    value
    '0fff000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access read
    type IEC958
    count 1
    }
    }
    control.8 {
    iface MIXER
    name 'IEC958 Playback Pro Mask'
    index 1
    value
    '0f00000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access read
    type IEC958
    count 1
    }
    }
    control.9 {
    iface MIXER
    name 'IEC958 Playback Default'
    index 1
    value
    '0400000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access 'read write'
    type IEC958
    count 1
    }
    }
    control.10 {
    iface MIXER
    name 'IEC958 Playback Switch'
    index 1
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    }
    }
    control.11 {
    iface CARD
    name 'HDMI Jack'
    index 1
    value false
    comment {
    access read
    type BOOLEAN
    count 1
    }
    }
    control.12 {
    iface PCM
    device 7
    name 'Playback Channel Map'
    value.0 0
    value.1 0
    comment {
    access read
    type INTEGER
    count 2
    range '0 - 36'
    }
    }
    control.13 {
    iface MIXER
    name 'IEC958 Playback Con Mask'
    index 2
    value
    '0fff000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access read
    type IEC958
    count 1
    }
    }
    control.14 {
    iface MIXER
    name 'IEC958 Playback Pro Mask'
    index 2
    value
    '0f00000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access read
    type IEC958
    count 1
    }
    }
    control.15 {
    iface MIXER
    name 'IEC958 Playback Default'
    index 2
    value
    '0400000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access 'read write'
    type IEC958
    count 1
    }
    }
    control.16 {
    iface MIXER
    name 'IEC958 Playback Switch'
    index 2
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    }
    }
    control.17 {
    iface CARD
    name 'HDMI Jack'
    index 2
    value false
    comment {
    access read
    type BOOLEAN
    count 1
    }
    }
    control.18 {
    iface PCM
    device 8
    name 'Playback Channel Map'
    value.0 0
    value.1 0
    comment {
    access read
    type INTEGER
    count 2
    range '0 - 36'
    }
    }
    control.19 {
    iface MIXER
    name 'IEC958 Playback Con Mask'
    index 3
    value
    '0fff000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access read
    type IEC958
    count 1
    }
    }
    control.20 {
    iface MIXER
    name 'IEC958 Playback Pro Mask'
    index 3
    value
    '0f00000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access read
    type IEC958
    count 1
    }
    }
    control.21 {
    iface MIXER
    name 'IEC958 Playback Default'
    index 3
    value
    '0400000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    00000000000000000000000000000000000000000000000000000000000000000000000
    000000000000000000000000000000000000000000000000000000000000000000000'
    comment {
    access 'read write'
    type IEC958
    count 1
    }
    }
    control.22 {
    iface MIXER
    name 'IEC958 Playback Switch'
    index 3
    value true
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    }
    }
    control.23 {
    iface CARD
    name 'HDMI Jack'
    index 3
    value false
    comment {
    access read
    type BOOLEAN
    count 1
    }
    }
    control.24 {
    iface PCM
    device 9
    name 'Playback Channel Map'
    value.0 0
    value.1 0
    comment {
    access read
    type INTEGER
    count 2
    range '0 - 36'
    }
    }
    }
    state.DJ {
    control.1 {
    iface PCM
    name 'Playback Channel Map'
    value.0 0
    value.1 0
    value.2 0
    value.3 0
    comment {
    access read
    type INTEGER
    count 4
    range '0 - 36'
    }
    }
    control.2 {
    iface MIXER
    name 'PCM Playback Switch'
    value.0 true
    value.1 true
    value.2 true
    value.3 true
    comment {
    access 'read write'
    type BOOLEAN
    count 4
    }
    }
    control.3 {
    iface MIXER
    name 'PCM Playback Volume'
    value.0 320
    value.1 320
    value.2 320
    value.3 320
    comment {
    access 'read write'
    type INTEGER
    count 4
    range '0 - 400'
    dbmin -10000
    dbmax 0
    dbvalue.0 -2000
    dbvalue.1 -2000
    dbvalue.2 -2000
    dbvalue.3 -2000
    }
    }
    control.4 {
    iface CARD
    name 'Keep Interface'
    value false
    comment {
    access 'read write'
    type BOOLEAN
    count 1
    }
    }
    }
    --endcollapse--
   
    !!All Loaded Modules
    !!------------------
   
    Module
    snd_hrtimer
    snd_seq_midi
    snd_seq_dummy
    snd_seq_midi_event
    snd_seq
    snd_pcm_oss
    snd_mixer_oss
    xt_iprange
    ipv6
    crc_ccitt
    arc4
    brcmsmac
    cordic
    brcmutil
    mac80211
    sha256_ssse3
    snd_usb_audio
    snd_usbmidi_lib
    sha256_generic
    snd_rawmidi
    cfg80211
    snd_seq_device
    iTCO_wdt
    iTCO_vendor_support
    snd_hda_codec_realtek
    snd_hda_codec_generic
    ledtrig_audio
    snd_hda_intel
    joydev
    snd_hda_codec
    acer_wmi
    sparse_keymap
    bcma
    snd_hda_core
    rfkill
    pcc_cpufreq
    snd_hwdep
    acpi_cpufreq
    snd_pcm
    snd_timer
    mei_me
    snd
    mei
    pcspkr
    soundcore
    lpc_ich
    i2c_i801
    mfd_core
    ums_onetouch
    usb_storage
    dm_crypt
    serio_raw
    atl1c
    nouveau
    mxm_wmi
    i2c_algo_bit
    drm_kms_helper
    syscopyarea
    sysfillrect
    sysimgblt
    fb_sys_fops
    ttm
    wmi
    video
    drm
    i2c_core
   
    !!Sysfs Files
    !!-----------
   
    /sys/class/sound/hwC0D0/init_pin_configs:
    0x12 0x99a30930
    0x14 0x99130110
    0x17 0x411111f0
    0x18 0x03a19840
    0x19 0x411111f0
    0x1a 0x411111f0
    0x1b 0x411111f0
    0x1d 0x4017992d
    0x1e 0x03451120
    0x21 0x0321101f
   
    /sys/class/sound/hwC0D0/driver_pin_configs:
   
    /sys/class/sound/hwC0D0/user_pin_configs:
   
    /sys/class/sound/hwC0D0/init_verbs:
   
    /sys/class/sound/hwC0D0/hints:
   
    /sys/class/sound/hwC1D0/init_pin_configs:
    0x05 0x18560010
   
    /sys/class/sound/hwC1D0/driver_pin_configs:
   
    /sys/class/sound/hwC1D0/user_pin_configs:
   
    /sys/class/sound/hwC1D0/init_verbs:
   
    /sys/class/sound/hwC1D0/hints:
   
    /sys/class/sound/hwC1D1/init_pin_configs:
    0x05 0x18560010
   
    /sys/class/sound/hwC1D1/driver_pin_configs:
   
    /sys/class/sound/hwC1D1/user_pin_configs:
   
    /sys/class/sound/hwC1D1/init_verbs:
   
    /sys/class/sound/hwC1D1/hints:
   
    /sys/class/sound/hwC1D2/init_pin_configs:
    0x05 0x18560010
   
    /sys/class/sound/hwC1D2/driver_pin_configs:
   
    /sys/class/sound/hwC1D2/user_pin_configs:
   
    /sys/class/sound/hwC1D2/init_verbs:
   
    /sys/class/sound/hwC1D2/hints:
   
    /sys/class/sound/hwC1D3/init_pin_configs:
    0x05 0x18560010
   
    /sys/class/sound/hwC1D3/driver_pin_configs:
   
    /sys/class/sound/hwC1D3/user_pin_configs:
   
    /sys/class/sound/hwC1D3/init_verbs:
   
    /sys/class/sound/hwC1D3/hints:
   
    !!ALSA/HDA dmesg
    !!--------------
   
    [ 0.238633] ACPI: Added _OSI(Linux-Dell-Video)
    [ 0.238779] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
   
    [ 0.238926] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
    --
    [ 24.240651] input: Acer WMI hotkeys as
    /devices/virtual/input/input16
    [ 24.294387] snd_hda_intel 0000:00:1b.0: enabling device (0000 ->
    0002)
    [ 24.295148] snd_hda_intel 0000:01:00.1: Disabling MSI
    [ 24.417727] snd_hda_codec_realtek hdaudioC0D0: autoconfig for
    ALC269VB: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
    [ 24.418128] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0
    (0x0/0x0/0x0/0x0/0x0)
    [ 24.418507] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1
    (0x21/0x0/0x0/0x0/0x0)
    [ 24.419057] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
    [ 24.419695] snd_hda_codec_realtek hdaudioC0D0: dig-out=0x1e/0x0
    [ 24.420312] snd_hda_codec_realtek hdaudioC0D0: inputs:
    [ 24.420959] snd_hda_codec_realtek hdaudioC0D0: Mic=0x18
    [ 24.421602] snd_hda_codec_realtek hdaudioC0D0: Internal
    Mic=0x12
    [ 24.448267] input: HDA Intel MID Mic as
    /devices/pci0000:00/0000:00:1b.0/sound/card0/input17
    [ 24.448762] input: HDA Intel MID Headphone as
    /devices/pci0000:00/0000:00:1b.0/sound/card0/input18
    [ 24.517380] mei mei::55213584-9a29-4916-badf-0fb7ed682aeb:01: Could
    not read FW version
    [ 24.517783] mei mei::55213584-9a29-4916-badf-0fb7ed682aeb:01: FW
    version command failed -5
    [ 24.606385] snd_hda_codec_generic hdaudioC1D0: autoconfig for
    Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
    [ 24.606759] snd_hda_codec_generic hdaudioC1D0: speaker_outs=0
    (0x0/0x0/0x0/0x0/0x0)
    [ 24.607115] snd_hda_codec_generic hdaudioC1D0: hp_outs=0
    (0x0/0x0/0x0/0x0/0x0)
    [ 24.607684] snd_hda_codec_generic hdaudioC1D0: mono: mono_out=0x0
    [ 24.608266] snd_hda_codec_generic hdaudioC1D0: dig-out=0x5/0x0
    [ 24.608871] snd_hda_codec_generic hdaudioC1D0: inputs:
    [ 24.684106] mce: CPU3: Core temperature above threshold, cpu clock
   
    throttled (total events = 1)
    --
    [ 24.770560] iTCO_vendor_support: vendor-support=0
    [ 24.790526] snd_hda_codec_generic hdaudioC1D1: autoconfig for
    Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
    [ 24.790874] snd_hda_codec_generic hdaudioC1D1: speaker_outs=0
    (0x0/0x0/0x0/0x0/0x0)
    [ 24.791202] snd_hda_codec_generic hdaudioC1D1: hp_outs=0
    (0x0/0x0/0x0/0x0/0x0)
    [ 24.791536] snd_hda_codec_generic hdaudioC1D1: mono: mono_out=0x0
    [ 24.791995] snd_hda_codec_generic hdaudioC1D1: dig-out=0x5/0x0
    [ 24.792477] snd_hda_codec_generic hdaudioC1D1: inputs:
   
    [ 24.799553] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
    --
    [ 24.800621] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
    [ 24.850369] snd_hda_codec_generic hdaudioC1D2: autoconfig for
    Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
    [ 24.850650] snd_hda_codec_generic hdaudioC1D2: speaker_outs=0
    (0x0/0x0/0x0/0x0/0x0)
    [ 24.850911] snd_hda_codec_generic hdaudioC1D2: hp_outs=0
    (0x0/0x0/0x0/0x0/0x0)
    [ 24.851165] snd_hda_codec_generic hdaudioC1D2: mono: mono_out=0x0
    [ 24.851415] snd_hda_codec_generic hdaudioC1D2: dig-out=0x5/0x0
    [ 24.851747] snd_hda_codec_generic hdaudioC1D2: inputs:
    [ 25.056813] snd_hda_codec_generic hdaudioC1D3: autoconfig for
    Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
    [ 25.057109] snd_hda_codec_generic hdaudioC1D3: speaker_outs=0
    (0x0/0x0/0x0/0x0/0x0)
    [ 25.057393] snd_hda_codec_generic hdaudioC1D3: hp_outs=0
    (0x0/0x0/0x0/0x0/0x0)
    [ 25.057658] snd_hda_codec_generic hdaudioC1D3: mono: mono_out=0x0
    [ 25.057924] snd_hda_codec_generic hdaudioC1D3: dig-out=0x5/0x0
    [ 25.058180] snd_hda_codec_generic hdaudioC1D3: inputs:
    [ 25.094153] input: HDA NVidia HDMI as
    /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
    [ 25.094539] input: HDA NVidia HDMI as
    /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
    [ 25.094891] input: HDA NVidia HDMI as
    /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input21
    [ 25.095249] input: HDA NVidia HDMI as
    /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input22
    [ 25.783253] cfg80211: Loading compiled-in X.509 certificates for
   
    regulatory database
    --
    [ 26.044956] usb 2-1.4: [2] FU [PCM Playback Volume] ch = 4, val =
    -25600/0/64
    [ 26.046216] usbcore: registered new interface driver snd-usb-audio
    [ 26.088396] cfg80211: Problem loading in-kernel X.509 certificate (-
    13)
   
    -----------------------
   
    lsusb -v
   
    Bus 002 Device 003: ID 06f8:b121 Guillemot Corp.
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 1.10
    bDeviceClass 0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 64
    idVendor 0x06f8 Guillemot Corp.
    idProduct 0xb121
    bcdDevice 2.00
    iManufacturer 1 Guillemot Corporation
    iProduct 2 Hercules P32 DJ
    iSerial 0
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 196
    bNumInterfaces 3
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xc0
    Self Powered
    MaxPower 480mA
    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 10
    bDescriptorType 36
    bDescriptorSubtype 1 (HEADER)
    bcdADC 1.00
    wTotalLength 43
    bInCollection 2
    baInterfaceNr( 0) 1
    baInterfaceNr( 1) 2
    AudioControl Interface Descriptor:
    bLength 12
    bDescriptorType 36
    bDescriptorSubtype 2 (INPUT_TERMINAL)
    bTerminalID 1
    wTerminalType 0x0101 USB Streaming
    bAssocTerminal 0
    bNrChannels 4
    wChannelConfig 0x0033
    Left Front (L)
    Right Front (R)
    Left Surround (LS)
    Right Surround (RS)
    iChannelNames 0
    iTerminal 0
    AudioControl Interface Descriptor:
    bLength 12
    bDescriptorType 36
    bDescriptorSubtype 6 (FEATURE_UNIT)
    bUnitID 2
    bSourceID 1
    bControlSize 1
    bmaControls( 0) 0x00
    bmaControls( 1) 0x03
    Mute Control
    Volume Control
    bmaControls( 2) 0x03
    Mute Control
    Volume Control
    bmaControls( 3) 0x03
    Mute Control
    Volume Control
    bmaControls( 4) 0x03
    Mute Control
    Volume Control
    iFeature 0
    AudioControl Interface Descriptor:
    bLength 9
    bDescriptorType 36
    bDescriptorSubtype 3 (OUTPUT_TERMINAL)
    bTerminalID 3
    wTerminalType 0x0301 Speaker
    bAssocTerminal 0
    bSourceID 2
    iTerminal 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 2
    bInterfaceClass 1 Audio
    bInterfaceSubClass 2 Streaming
    bInterfaceProtocol 0
    iInterface 0
    AudioStreaming Interface Descriptor:
    bLength 7
    bDescriptorType 36
    bDescriptorSubtype 1 (AS_GENERAL)
    bTerminalLink 1
    bDelay 1 frames
    wFormatTag 1 PCM
    AudioStreaming Interface Descriptor:
    bLength 11
    bDescriptorType 36
    bDescriptorSubtype 2 (FORMAT_TYPE)
    bFormatType 1 (FORMAT_TYPE_I)
    bNrChannels 4
    bSubframeSize 2
    bBitResolution 16
    bSamFreqType 1 Discrete
    tSamFreq[ 0] 48000
    Endpoint Descriptor:
    bLength 9
    bDescriptorType 5
    bEndpointAddress 0x01 EP 1 OUT
    bmAttributes 5
    Transfer Type Isochronous
    Synch Type Asynchronous
    Usage Type Data
    wMaxPacketSize 0x0188 1x 392 bytes
    bInterval 1
    bRefresh 0
    bSynchAddress 129
    AudioControl Endpoint Descriptor:
    bLength 7
    bDescriptorType 37
    bDescriptorSubtype 1 (EP_GENERAL)
    bmAttributes 0x00
    bLockDelayUnits 0 Undefined
    wLockDelay 0 Undefined
    Endpoint Descriptor:
    bLength 9
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 17
    Transfer Type Isochronous
    Synch Type None
    Usage Type Feedback
    wMaxPacketSize 0x0003 1x 3 bytes
    bInterval 1
    bRefresh 5
    bSynchAddress 0
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 2
    bAlternateSetting 0
    bNumEndpoints 2
    bInterfaceClass 1 Audio
    bInterfaceSubClass 3 MIDI Streaming
    bInterfaceProtocol 0
    iInterface 2 Hercules P32 DJ
    MIDIStreaming Interface Descriptor:
    bLength 7
    bDescriptorType 36
    bDescriptorSubtype 1 (HEADER)
    bcdADC 1.00
    wTotalLength 65
    MIDIStreaming Interface Descriptor:
    bLength 6
    bDescriptorType 36
    bDescriptorSubtype 2 (MIDI_IN_JACK)
    bJackType 1 Embedded
    bJackID 1
    iJack 0
    MIDIStreaming Interface Descriptor:
    bLength 6
    bDescriptorType 36
    bDescriptorSubtype 2 (MIDI_IN_JACK)
    bJackType 2 External
    bJackID 2
    iJack 0
    MIDIStreaming Interface Descriptor:
    bLength 9
    bDescriptorType 36
    bDescriptorSubtype 3 (MIDI_OUT_JACK)
    bJackType 1 Embedded
    bJackID 3
    bNrInputPins 1
    baSourceID( 0) 2
    BaSourcePin( 0) 1
    iJack 0
    MIDIStreaming Interface Descriptor:
    bLength 9
    bDescriptorType 36
    bDescriptorSubtype 3 (MIDI_OUT_JACK)
    bJackType 2 External
    bJackID 4
    bNrInputPins 1
    baSourceID( 0) 1
    BaSourcePin( 0) 1
    iJack 0
    Endpoint Descriptor:
    bLength 9
    bDescriptorType 5
    bEndpointAddress 0x02 EP 2 OUT
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0040 1x 64 bytes
    bInterval 0
    bRefresh 0
    bSynchAddress 0
    MIDIStreaming Endpoint Descriptor:
    bLength 5
    bDescriptorType 37
    bDescriptorSubtype 1 (GENERAL)
    bNumEmbMIDIJack 1
    baAssocJackID( 0) 1
    Endpoint Descriptor:
    bLength 9
    bDescriptorType 5
    bEndpointAddress 0x82 EP 2 IN
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0040 1x 64 bytes
    bInterval 0
    bRefresh 0
    bSynchAddress 0
    MIDIStreaming Endpoint Descriptor:
    bLength 5
    bDescriptorType 37
    bDescriptorSubtype 1 (GENERAL)
    bNumEmbMIDIJack 1
    baAssocJackID( 0) 3
    Device Status: 0x0e01
    Self Powered
   
    Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching
    Hub
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 1 Single TT
    bMaxPacketSize0 64
    idVendor 0x8087 Intel Corp.
    idProduct 0x0020 Integrated Rate Matching Hub
    bcdDevice 0.00
    iManufacturer 0
    iProduct 0
    iSerial 0
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
    Self Powered
    Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 9 Hub
    bInterfaceSubClass 0 Unused
    bInterfaceProtocol 0 Full speed (or root) hub
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0002 1x 2 bytes
    bInterval 12
    Hub Descriptor:
    bLength 11
    bDescriptorType 41
    nNbrPorts 8
    wHubCharacteristic 0x0089
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
    Port indicators
    bPwrOn2PwrGood 50 * 2 milli seconds
    bHubContrCurrent 0 milli Ampere
    DeviceRemovable 0x00 0x00
    PortPwrCtrlMask 0xff 0xff
    Hub Port Status:
    Port 1: 0000.0100 power
    Port 2: 0000.0100 power
    Port 3: 0000.0100 power
    Port 4: 0000.0103 power enable connect
    Port 5: 0000.0100 power
    Port 6: 0000.0100 power
    Port 7: 0000.0100 power
    Port 8: 0000.0100 power
    Device Qualifier (for other device speed):
    bLength 10
    bDescriptorType 6
    bcdUSB 2.00
    bDeviceClass 9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed (or root) hub
    bMaxPacketSize0 64
    bNumConfigurations 1
    Device Status: 0x0001
    Self Powered
   
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed (or root) hub
    bMaxPacketSize0 64
    idVendor 0x1d6b Linux Foundation
    idProduct 0x0002 2.0 root hub
    bcdDevice 5.00
    iManufacturer 3 Linux 5.0.2 ehci_hcd
    iProduct 2 EHCI Host Controller
    iSerial 1 0000:00:1d.0
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
    Self Powered
    Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 9 Hub
    bInterfaceSubClass 0 Unused
    bInterfaceProtocol 0 Full speed (or root) hub
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0004 1x 4 bytes
    bInterval 12
    Hub Descriptor:
    bLength 9
    bDescriptorType 41
    nNbrPorts 3
    wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
    bPwrOn2PwrGood 10 * 2 milli seconds
    bHubContrCurrent 0 milli Ampere
    DeviceRemovable 0x00
    PortPwrCtrlMask 0xff
    Hub Port Status:
    Port 1: 0000.0503 highspeed power enable connect
    Port 2: 0000.0100 power
    Port 3: 0000.0100 power
    Device Status: 0x0001
    Self Powered
   
    Bus 001 Device 005: ID 0d49:7010 Maxtor OneTouch
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 64
    idVendor 0x0d49 Maxtor
    idProduct 0x7010 OneTouch
    bcdDevice 2.00
    iManufacturer 1 Maxtor
    iProduct 3 OneTouch
    iSerial 2 Y61LWLCE
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 39
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xc0
    Self Powered
    MaxPower 0mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 3
    bInterfaceClass 8 Mass Storage
    bInterfaceSubClass 6 SCSI
    bInterfaceProtocol 80 Bulk-Only
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x02 EP 2 OUT
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0200 1x 512 bytes
    bInterval 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x88 EP 8 IN
    bmAttributes 2
    Transfer Type Bulk
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0200 1x 512 bytes
    bInterval 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0002 1x 2 bytes
    bInterval 9
    Device Qualifier (for other device speed):
    bLength 10
    bDescriptorType 6
    bcdUSB 2.00
    bDeviceClass 0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 64
    bNumConfigurations 1
    Device Status: 0x0001
    Self Powered
   
    Bus 001 Device 003: ID 064e:a219 Suyin Corp. 1.3M WebCam (notebook
    emachines E730, Acer sub-brand)
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 239 Miscellaneous Device
    bDeviceSubClass 2 ?
    bDeviceProtocol 1 Interface Association
    bMaxPacketSize0 64
    idVendor 0x064e Suyin Corp.
    idProduct 0xa219 1.3M WebCam (notebook emachines E730, Acer
    sub-brand)
    bcdDevice 2.15
    iManufacturer 2 Suyin
    iProduct 1 1.3M WebCam
    iSerial 3 HF1315-S32B-OV01-VA-R02.01.05
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 527
    bNumInterfaces 2
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0x80
    (Bus Powered)
    MaxPower 500mA
    Interface Association:
    bLength 8
    bDescriptorType 11
    bFirstInterface 0
    bInterfaceCount 2
    bFunctionClass 14 Video
    bFunctionSubClass 3 Video Interface Collection
    bFunctionProtocol 0
    iFunction 5 1.3M WebCam
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 14 Video
    bInterfaceSubClass 1 Video Control
    bInterfaceProtocol 0
    iInterface 5 1.3M WebCam
    VideoControl Interface Descriptor:
    bLength 13
    bDescriptorType 36
    bDescriptorSubtype 1 (HEADER)
    bcdUVC 1.00
    wTotalLength 77
    dwClockFrequency 15.000000MHz
    bInCollection 1
    baInterfaceNr( 0) 1
    VideoControl Interface Descriptor:
    bLength 9
    bDescriptorType 36
    bDescriptorSubtype 3 (OUTPUT_TERMINAL)
    bTerminalID 2
    wTerminalType 0x0101 USB Streaming
    bAssocTerminal 0
    bSourceID 4
    iTerminal 0
    VideoControl Interface Descriptor:
    bLength 26
    bDescriptorType 36
    bDescriptorSubtype 6 (EXTENSION_UNIT)
    bUnitID 4
    guidExtensionCode {7033f028-1163-2e4a-ba2c-
    6890eb334016}
    bNumControl 8
    bNrPins 1
    baSourceID( 0) 3
    bControlSize 1
    bmControls( 0) 0x0f
    iExtension 0
    VideoControl Interface Descriptor:
    bLength 18
    bDescriptorType 36
    bDescriptorSubtype 2 (INPUT_TERMINAL)
    bTerminalID 1
    wTerminalType 0x0201 Camera Sensor
    bAssocTerminal 0
    iTerminal 0
    wObjectiveFocalLengthMin 0
    wObjectiveFocalLengthMax 0
    wOcularFocalLength 0
    bControlSize 3
    bmControls 0x00000000
    VideoControl Interface Descriptor:
    bLength 11
    bDescriptorType 36
    bDescriptorSubtype 5 (PROCESSING_UNIT)
    Warning: Descriptor too short
    bUnitID 3
    bSourceID 1
    wMaxMultiplier 0
    bControlSize 2
    bmControls 0x0000153f
    Brightness
    Contrast
    Hue
    Saturation
    Sharpness
    Gamma
    Backlight Compensation
    Power Line Frequency
    White Balance Temperature, Auto
    iProcessing 0
    bmVideoStandards 0xc6
    NTSC - 525/60
    PAL - 625/50
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x83 EP 3 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0010 1x 16 bytes
    bInterval 6
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 1
    bAlternateSetting 0
    bNumEndpoints 0
    bInterfaceClass 14 Video
    bInterfaceSubClass 2 Video Streaming
    bInterfaceProtocol 0
    iInterface 5 1.3M WebCam
    VideoStreaming Interface Descriptor:
    bLength 14
    bDescriptorType 36
    bDescriptorSubtype 1 (INPUT_HEADER)
    bNumFormats 1
    wTotalLength 307
    bEndPointAddress 129
    bmInfo 0
    bTerminalLink 2
    bStillCaptureMethod 2
    bTriggerSupport 0
    bTriggerUsage 0
    bControlSize 1
    bmaControls( 0) 27
    VideoStreaming Interface Descriptor:
    bLength 27
    bDescriptorType 36
    bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
    bFormatIndex 1
    bNumFrameDescriptors 7
    guidFormat {59555932-0000-1000-8000-
    00aa00389b71}
    bBitsPerPixel 16
    bDefaultFrameIndex 1
    bAspectRatioX 0
    bAspectRatioY 0
    bmInterlaceFlags 0x00
    Interlaced stream or variable: No
    Fields per frame: 2 fields
    Field 1 first: No
    Field pattern: Field 1 only
    bCopyProtect 0
    VideoStreaming Interface Descriptor:
    bLength 34
    bDescriptorType 36
    bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
    bFrameIndex 1
    bmCapabilities 0x00
    Still image unsupported
    wWidth 640
    wHeight 480
    dwMinBitRate 73728000
    dwMaxBitRate 147456000
    dwMaxVideoFrameBufferSize 614400
    dwDefaultFrameInterval 333333
    bFrameIntervalType 2
    dwFrameInterval( 0) 333333
    dwFrameInterval( 1) 666666
    VideoStreaming Interface Descriptor:
    bLength 34
    bDescriptorType 36
    bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
    bFrameIndex 2
    bmCapabilities 0x00
    Still image unsupported
    wWidth 352
    wHeight 288
    dwMinBitRate 24330240
    dwMaxBitRate 48660480
    dwMaxVideoFrameBufferSize 202752
    dwDefaultFrameInterval 333333
    bFrameIntervalType 2
    dwFrameInterval( 0) 333333
    dwFrameInterval( 1) 666666
    VideoStreaming Interface Descriptor:
    bLength 34
    bDescriptorType 36
    bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
    bFrameIndex 3
    bmCapabilities 0x00
    Still image unsupported
    wWidth 320
    wHeight 240
    dwMinBitRate 18432000
    dwMaxBitRate 36864000
    dwMaxVideoFrameBufferSize 153600
    dwDefaultFrameInterval 333333
    bFrameIntervalType 2
    dwFrameInterval( 0) 333333
    dwFrameInterval( 1) 666666
    VideoStreaming Interface Descriptor:
    bLength 34
    bDescriptorType 36
    bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
    bFrameIndex 4
    bmCapabilities 0x00
    Still image unsupported
    wWidth 176
    wHeight 144
    dwMinBitRate 6082560
    dwMaxBitRate 12165120
    dwMaxVideoFrameBufferSize 50688
    dwDefaultFrameInterval 333333
    bFrameIntervalType 2
    dwFrameInterval( 0) 333333
    dwFrameInterval( 1) 666666
    VideoStreaming Interface Descriptor:
    bLength 34
    bDescriptorType 36
    bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
    bFrameIndex 5
    bmCapabilities 0x00
    Still image unsupported
    wWidth 160
    wHeight 120
    dwMinBitRate 4608000
    dwMaxBitRate 9216000
    dwMaxVideoFrameBufferSize 38400
    dwDefaultFrameInterval 333333
    bFrameIntervalType 2
    dwFrameInterval( 0) 333333
    dwFrameInterval( 1) 666666
    VideoStreaming Interface Descriptor:
    bLength 30
    bDescriptorType 36
    bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
    bFrameIndex 6
    bmCapabilities 0x00
    Still image unsupported
    wWidth 1280
    wHeight 800
    dwMinBitRate 122880000
    dwMaxBitRate 122880000
    dwMaxVideoFrameBufferSize 2048000
    dwDefaultFrameInterval 1333333
    bFrameIntervalType 1
    dwFrameInterval( 0) 1333333
    VideoStreaming Interface Descriptor:
    bLength 30
    bDescriptorType 36
    bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
    bFrameIndex 7
    bmCapabilities 0x00
    Still image unsupported
    wWidth 1280
    wHeight 1024
    dwMinBitRate 157286400
    dwMaxBitRate 157286400
    dwMaxVideoFrameBufferSize 2621440
    dwDefaultFrameInterval 1333333
    bFrameIntervalType 1
    dwFrameInterval( 0) 1333333
    VideoStreaming Interface Descriptor:
    bLength 30
    bDescriptorType 36
    bDescriptorSubtype 3 (STILL_IMAGE_FRAME)
    bEndpointAddress 0
    bNumImageSizePatterns 6
    wWidth( 0) 1280
    wHeight( 0) 1024
    wWidth( 1) 640
    wHeight( 1) 480
    wWidth( 2) 320
    wHeight( 2) 240
    wWidth( 3) 320
    wHeight( 3) 240
    wWidth( 4) 176
    wHeight( 4) 144
    wWidth( 5) 160
    wHeight( 5) 120
    bNumCompressionPatterns 6
    VideoStreaming Interface Descriptor:
    bLength 6
    bDescriptorType 36
    bDescriptorSubtype 13 (COLORFORMAT)
    bColorPrimaries 1 (BT.709,sRGB)
    bTransferCharacteristics 1 (BT.709)
    bMatrixCoefficients 4 (SMPTE 170M (BT.601))
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 1
    bAlternateSetting 1
    bNumEndpoints 1
    bInterfaceClass 14 Video
    bInterfaceSubClass 2 Video Streaming
    bInterfaceProtocol 0
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 5
    Transfer Type Isochronous
    Synch Type Asynchronous
    Usage Type Data
    wMaxPacketSize 0x0080 1x 128 bytes
    bInterval 1
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 1
    bAlternateSetting 2
    bNumEndpoints 1
    bInterfaceClass 14 Video
    bInterfaceSubClass 2 Video Streaming
    bInterfaceProtocol 0
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 5
    Transfer Type Isochronous
    Synch Type Asynchronous
    Usage Type Data
    wMaxPacketSize 0x0100 1x 256 bytes
    bInterval 1
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 1
    bAlternateSetting 3
    bNumEndpoints 1
    bInterfaceClass 14 Video
    bInterfaceSubClass 2 Video Streaming
    bInterfaceProtocol 0
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 5
    Transfer Type Isochronous
    Synch Type Asynchronous
    Usage Type Data
    wMaxPacketSize 0x0320 1x 800 bytes
    bInterval 1
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 1
    bAlternateSetting 4
    bNumEndpoints 1
    bInterfaceClass 14 Video
    bInterfaceSubClass 2 Video Streaming
    bInterfaceProtocol 0
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 5
    Transfer Type Isochronous
    Synch Type Asynchronous
    Usage Type Data
    wMaxPacketSize 0x0b20 2x 800 bytes
    bInterval 1
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 1
    bAlternateSetting 5
    bNumEndpoints 1
    bInterfaceClass 14 Video
    bInterfaceSubClass 2 Video Streaming
    bInterfaceProtocol 0
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 5
    Transfer Type Isochronous
    Synch Type Asynchronous
    Usage Type Data
    wMaxPacketSize 0x1320 3x 800 bytes
    bInterval 1
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 1
    bAlternateSetting 6
    bNumEndpoints 1
    bInterfaceClass 14 Video
    bInterfaceSubClass 2 Video Streaming
    bInterfaceProtocol 0
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 5
    Transfer Type Isochronous
    Synch Type Asynchronous
    Usage Type Data
    wMaxPacketSize 0x1400 3x 1024 bytes
    bInterval 1
    Device Qualifier (for other device speed):
    bLength 10
    bDescriptorType 6
    bcdUSB 2.00
    bDeviceClass 239 Miscellaneous Device
    bDeviceSubClass 2 ?
    bDeviceProtocol 1 Interface Association
    bMaxPacketSize0 64
    bNumConfigurations 1
    Device Status: 0x0002
    (Bus Powered)
    Remote Wakeup Enabled
   
    Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching
    Hub
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 1 Single TT
    bMaxPacketSize0 64
    idVendor 0x8087 Intel Corp.
    idProduct 0x0020 Integrated Rate Matching Hub
    bcdDevice 0.00
    iManufacturer 0
    iProduct 0
    iSerial 0
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
    Self Powered
    Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 9 Hub
    bInterfaceSubClass 0 Unused
    bInterfaceProtocol 0 Full speed (or root) hub
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0001 1x 1 bytes
    bInterval 12
    Hub Descriptor:
    bLength 9
    bDescriptorType 41
    nNbrPorts 6
    wHubCharacteristic 0x0089
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
    Port indicators
    bPwrOn2PwrGood 50 * 2 milli seconds
    bHubContrCurrent 0 milli Ampere
    DeviceRemovable 0x00
    PortPwrCtrlMask 0xff
    Hub Port Status:
    Port 1: 0000.0503 highspeed power enable connect
    Port 2: 0000.0503 highspeed power enable connect
    Port 3: 0000.0100 power
    Port 4: 0000.0100 power
    Port 5: 0000.0100 power
    Port 6: 0000.0100 power
    Device Qualifier (for other device speed):
    bLength 10
    bDescriptorType 6
    bcdUSB 2.00
    bDeviceClass 9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed (or root) hub
    bMaxPacketSize0 64
    bNumConfigurations 1
    Device Status: 0x0001
    Self Powered
   
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 9 Hub
    bDeviceSubClass 0 Unused
    bDeviceProtocol 0 Full speed (or root) hub
    bMaxPacketSize0 64
    idVendor 0x1d6b Linux Foundation
    idProduct 0x0002 2.0 root hub
    bcdDevice 5.00
    iManufacturer 3 Linux 5.0.2 ehci_hcd
    iProduct 2 EHCI Host Controller
    iSerial 1 0000:00:1a.0
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 25
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
    Self Powered
    Remote Wakeup
    MaxPower 0mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 1
    bInterfaceClass 9 Hub
    bInterfaceSubClass 0 Unused
    bInterfaceProtocol 0 Full speed (or root) hub
    iInterface 0
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x81 EP 1 IN
    bmAttributes 3
    Transfer Type Interrupt
    Synch Type None
    Usage Type Data
    wMaxPacketSize 0x0004 1x 4 bytes
    bInterval 12
    Hub Descriptor:
    bLength 9
    bDescriptorType 41
    nNbrPorts 3
    wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
    bPwrOn2PwrGood 10 * 2 milli seconds
    bHubContrCurrent 0 milli Ampere
    DeviceRemovable 0x00
    PortPwrCtrlMask 0xff
    Hub Port Status:
    Port 1: 0000.0503 highspeed power enable connect
    Port 2: 0000.0100 power
    Port 3: 0000.0100 power
    Device Status: 0x0001
    Self Powered
   
    Does anybody know how to fix this problem ?
   
    Regards,
   
    Guido
   
    _______________________________________________
    Alsa-devel mailing list
    [email protected]
    https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#3 lore raw

It cannot be a firmware bug, as you say, because:

- it does NOT happen on Windows!
- it does NOT even always happen on Linux: other users (with different kernel / ALSA library) are not experiencing the same problem;
- it happens with several firmware versions, including the latest one (1.36 and 1.46).

So it is either a bug in ALSA kernel driver, USB sound driver (more likely) or ALSA library.

Now, you are in charge of the USB sound driver, can you please double check??

Regards,

Guido

Il 22 marzo 2019 09:55:52 CET, Takashi Iwai <[email protected]> ha scritto:

Quoted 882 lines
Quoted 2 lines · Guido Trentalancia

I wonder if this might be due to a bug in the "USB Audio Driver for

Alsa"?

Quoted 2 lines

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/usb

Quoted 2 lines

https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/tree/sound/usb

More likely a buggy firmware of your USB audio device :)

From the driver implementation POV, both audio and MIDI devices are handled by individual endpoints, hence they shouldn't conflict.

Or another possibility would be some USB host side issue like the bandwidth. But it's a MIDI stream that is very low data rate, so this sounds also unlikely...

thanks,

Takashi

Quoted 9 lines

Guido

On the 20th of March 2019 at 21.47 Guido Trentalancia <[email protected] wrote:

Hello.

I am hitting a very serious bug (ALSA kernel driver or ALSA

library)

Quoted 6 lines

when using the Hercules P32 DJ audio interface.

The sound is severely distorted during MIDI transfers.

To reproduce:

Quoted 7 lines

+ start playing something in a first console:

console1# AUDIODEV=hw:2,0 play audio.wav

+ the audio plays fine

+ now start "amidi" in a second console while the above track

is still

Quoted 5 lines

playing

console2# amidi -p hw:2,0,0 -d

+ the sound is now severely distorted (basically noise, with

some hard-

Quoted 1 line

to-distinguish features resembling the original track) until

"amidi"

Quoted 6 lines

is
interrupted !

Kernel versions tested: from 4.12 up to 5.0.2 (latest).

NOTES: Always reproducible. Same device is working fine on

Windows.

Quoted 78 lines
   
    The output from alsa-info.sh and lsusb -v follows.
   
    upload=true&script=true&cardinfo=
    !!################################
    !!ALSA Information Script v 0.4.64
    !!################################
   
    !!Script ran on: Wed Mar 20 20:44:36 UTC 2019
   
    !!Linux Distribution
    !!------------------
   
    !!DMI Information
    !!---------------
   
    Manufacturer: Acer
    Product Name: Aspire 5745G
    Product Version: V1.19
    Firmware Version: V1.19
    Board Vendor: Acer
    Board Name: JV51_CP
   
    !!ACPI Device Status Information
    !!---------------
   
    /sys/bus/acpi/devices/PNP0103:00/status 15
    /sys/bus/acpi/devices/PNP0C0A:00/status 31
    /sys/bus/acpi/devices/PNP0C0F:00/status 9
    /sys/bus/acpi/devices/PNP0C0F:01/status 9
    /sys/bus/acpi/devices/PNP0C0F:02/status 9
    /sys/bus/acpi/devices/PNP0C0F:03/status 9
    /sys/bus/acpi/devices/PNP0C0F:04/status 9
    /sys/bus/acpi/devices/PNP0C0F:05/status 9
    /sys/bus/acpi/devices/PNP0C0F:06/status 9
    /sys/bus/acpi/devices/PNP0C0F:07/status 9
   
    !!Kernel Information
    !!------------------
   
    Kernel release: 5.0.2
    Operating System: GNU/Linux
    Architecture: x86_64
    Processor: unknown
    SMP Enabled: Yes
   
    !!ALSA Version
    !!------------
   
    Driver version: k5.0.2
    Library version: 1.1.8
    Utilities version: 1.1.8
   
    !!Loaded ALSA modules
    !!-------------------
   
    snd_hda_intel
    snd_hda_intel
    snd_usb_audio
   
    !!Sound Servers on this system
    !!----------------------------
   
    Pulseaudio:
    Installed - Yes (/usr/bin/pulseaudio)
    Running - No
   
    Jack:
    Installed - Yes (/usr/bin/jackd)
    Running - No
   
    !!Soundcards recognised by ALSA
    !!-----------------------------
   
    0 [MID ]: HDA-Intel - HDA Intel MID
    HDA Intel MID at 0xb7100000 irq 27
    1 [NVidia ]: HDA-Intel - HDA NVidia
    HDA NVidia at 0xb3000000 irq 16
Quoted 8 lines
    2 [DJ ]: USB-Audio - Hercules P32 DJ
    Guillemot Corporation Hercules P32 DJ at usb-
    0000:00:1d.0-1.4, full speed
   
    !!PCI Soundcards installed in the system
    !!--------------------------------------
   
    00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series

Chipset

Quoted 2 lines

High Definition Audio (rev 05)
01:00.1 Audio device: NVIDIA Corporation GT216 HDMI Audio

Controller

Quoted 17 lines
    (rev a1)
   
    !!Advanced information - PCI Vendor/Device/Subsystem ID's
    !!-------------------------------------------------------
   
    00:1b.0 0403: 8086:3b56 (rev 05)
   
    Subsystem: 1025:035b
    --
    01:00.1 0403: 10de:0be2 (rev a1)
    Subsystem: 1025:035a
   
    !!Loaded sound module options
    !!---------------------------
   
    !!Module: snd_hda_intel
    align_buffer_size : -1
Quoted 9 lines
    bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    beep_mode :
    N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
    enable :
    Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
    enable_msi : -1
    id :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 7 lines
    ll),(null)
    index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    jackpoll_ms :
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    model :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 3 lines
    ll),(null)
    patch :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 15 lines
    ll),(null)
    pm_blacklist : Y
    position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    power_save : 0
    power_save_controller : Y
    probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    probe_only :
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    single_cmd : -1
    snoop : -1
   
    !!Module: snd_hda_intel
    align_buffer_size : -1
Quoted 9 lines
    bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    beep_mode :
    N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
    enable :
    Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
    enable_msi : -1
    id :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 7 lines
    ll),(null)
    index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    jackpoll_ms :
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    model :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 3 lines
    ll),(null)
    patch :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 13 lines
    ll),(null)
    pm_blacklist : Y
    position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    power_save : 0
    power_save_controller : Y
    probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    probe_only :
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    single_cmd : -1
    snoop : -1
Quoted 8 lines
    !!Module: snd_usb_audio
    autoclock : Y
    device_setup :
    0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
    enable :
    Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
    id :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 8 lines
    ll),(null)
    ignore_ctl_error : N
    index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    pid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
    quirk_alias :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 49 lines
    ll),(null)
    use_vmalloc : Y
    vid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
    1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
   
    !!HDA-Intel Codec information
    !!---------------------------
    --startcollapse--
   
    Codec: Realtek ALC269VB
    Address: 0
    AFG Function Id: 0x1 (unsol 1)
    Vendor Id: 0x10ec0269
    Subsystem Id: 0x1025035b
    Revision Id: 0x100100
    No Modem Function Group found
    Default PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    State of AFG node 0x01:
    Power states: D0 D1 D2 D3 CLKSTOP EPSS
    Power: setting=D0, actual=D0
    GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
    IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
    IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
    Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
    Control: name="Headphone Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Device: name="ALC269VB Analog", type="Audio", device=0
    Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
    Amp-Out vals: [0x00 0x00]
    Converter: stream=5, channel=0
    PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
    Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
    Control: name="Speaker Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
    Amp-Out vals: [0x51 0x51]
    Converter: stream=5, channel=0
    PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Quoted 8 lines
    Node 0x04 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
    Control: name="IEC958 Playback Con Mask", index=0, device=0
    Control: name="IEC958 Playback Pro Mask", index=0, device=0
    Control: name="IEC958 Playback Default", index=0, device=0
    Control: name="IEC958 Playback Switch", index=0, device=0
    Control: name="IEC958 Default PCM Playback Switch", index=0,

device=0

Quoted 41 lines
    Device: name="ALC269VB Digital", type="SPDIF", device=1
    Converter: stream=5, channel=0
    Digital:
    Digital category: 0x0
    IEC Coding Type: 0x0
    PCM:
    rates [0x5e0]: 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
    Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
    Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
    Amp-In vals: [0x8b 0x8b]
    Converter: stream=0, channel=0
    SDI-Select: 0
    PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
    Connection: 1
    0x23
    Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
    Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
    Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
    Device: name="ALC269VB Analog", type="Audio", device=0
    Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
    Amp-In vals: [0x00 0x00]
    Converter: stream=1, channel=0
    SDI-Select: 0
    PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
    Connection: 1
    0x22
    Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
    Control: name="Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
Quoted 8 lines
    Control: name="Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
    Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
    Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=4, ofs=0
    Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
    Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]

[0x80

Quoted 145 lines
    0x80]
    Connection: 5
    0x18 0x19 0x1a 0x1b 0x1d
    Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
    Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-In vals: [0x00 0x00] [0x80 0x80]
    Connection: 2
    0x02 0x0b
    Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
    Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-In vals: [0x00 0x00] [0x80 0x80]
    Connection: 2
    0x03 0x0b
    Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono Amp-In
    Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-In vals: [0x00] [0x80]
    Connection: 2
    0x02 0x0b
    Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x12 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
    Control: name="Internal Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
    Amp-In vals: [0x00 0x00]
    Pincap 0x00000020: IN
    Pin Default 0x99a30930: [Fixed] Mic at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x3, Sequence = 0x0
    Misc = NO_PRESENCE
    Pin-ctls: 0x20: IN
    Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
    Control: name="Speaker Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals: [0x00 0x00]
    Pincap 0x00010014: OUT EAPD Detect
    EAPD 0x2: EAPD
    Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
    Conn = ATAPI, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Misc = NO_PRESENCE
    Pin-ctls: 0x40: OUT
    Unsolicited: tag=00, enabled=0
    Connection: 2
    0x0c 0x0d*
    Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x16 [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x17 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals: [0x80]
    Pincap 0x00000010: OUT
    Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
    Pin-ctls: 0x00:
    Connection: 1
    0x0f
    Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
    Control: name="Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
    Amp-In vals: [0x00 0x00]
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals: [0x80 0x80]
    Pincap 0x00001734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80
    Pin Default 0x03a19840: [Jack] Mic at Ext Left
    Conn = 1/8, Color = Pink
    DefAssociation = 0x4, Sequence = 0x0
    Pin-ctls: 0x24: IN VREF_80
    Unsolicited: tag=02, enabled=1
    Connection: 1
    0x0d
    Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
    Amp-In vals: [0x00 0x00]
    Pincap 0x00001724: IN Detect
    Vref caps: HIZ 50 GRD 80
    Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
    Pin-ctls: 0x20: IN VREF_HIZ
    Unsolicited: tag=00, enabled=0
    Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
    Amp-In vals: [0x00 0x00]
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals: [0x80 0x80]
    Pincap 0x0000003c: IN OUT HP Detect
    Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
    Pin-ctls: 0x20: IN
    Unsolicited: tag=00, enabled=0
    Connection: 2
    0x0c* 0x0d
    Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
    Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
    Amp-In vals: [0x00 0x00]
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals: [0x80 0x80]
    Pincap 0x00000034: IN OUT Detect
    Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
    Pin-ctls: 0x20: IN
    Unsolicited: tag=00, enabled=0
    Connection: 2
    0x0c* 0x0d
    Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x1d [Pin Complex] wcaps 0x400000: Mono
    Pincap 0x00000020: IN
    Pin Default 0x4017992d: [N/A] Speaker at Ext N/A
    Conn = Analog, Color = Pink
    DefAssociation = 0x2, Sequence = 0xd
    Misc = NO_PRESENCE
    Pin-ctls: 0x20: IN
    Node 0x1e [Pin Complex] wcaps 0x400381: Stereo Digital
    Pincap 0x00000014: OUT Detect
    Pin Default 0x03451120: [Jack] SPDIF Out at Ext Left
    Conn = Optical, Color = Black
    DefAssociation = 0x2, Sequence = 0x0
    Misc = NO_PRESENCE
    Pin-ctls: 0x40: OUT
    Unsolicited: tag=00, enabled=0
    Connection: 1
    0x06
    Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
    Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
    Processing caps: benign=0, ncoeff=25
    Node 0x21 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
    Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
    Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-Out vals: [0x80 0x80]
    Pincap 0x0000001c: OUT HP Detect
    Pin Default 0x0321101f: [Jack] HP Out at Ext Left
    Conn = 1/8, Color = Black
Quoted 8 lines
    DefAssociation = 0x1, Sequence = 0xf
    Pin-ctls: 0xc0: OUT HP
    Unsolicited: tag=01, enabled=1
    Connection: 2
    0x0c* 0x0d
    Node 0x22 [Audio Selector] wcaps 0x30010b: Stereo Amp-In
    Amp-In caps: N/A
    Amp-In vals: [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00]

[0x00

Quoted 6 lines
    0x00] [0x00 0x00] [0x00 0x00]
    Connection: 7
    0x18 0x19 0x1a 0x1b 0x1d 0x0b 0x12*
    Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
    Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
    Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]

[0x80

Quoted 13 lines
    0x80] [0x80 0x80]
    Connection: 6
    0x18 0x19 0x1a 0x1b 0x1d 0x0b
    Codec: Nvidia Generic
    Address: 0
    AFG Function Id: 0x1 (unsol 0)
    Vendor Id: 0x10de000a
    Subsystem Id: 0x10de0101
    Revision Id: 0x100100
    No Modem Function Group found
    Default PCM:
    rates [0x0]:
    bits [0x0]:
Quoted 8 lines
    formats [0x0]:
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    State of AFG node 0x01:
    Power states: D0 D1 D2 D3
    Power: setting=D0, actual=D0
    GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
    Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe

CP

Quoted 33 lines
    Control: name="IEC958 Playback Con Mask", index=0, device=0
    Control: name="IEC958 Playback Pro Mask", index=0, device=0
    Control: name="IEC958 Playback Default", index=0, device=0
    Control: name="IEC958 Playback Switch", index=0, device=0
    Device: name="Generic Digital", type="HDMI", device=3
    Converter: stream=0, channel=0
    Digital: Enabled
    Digital category: 0x0
    IEC Coding Type: 0x0
    PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
    Unsolicited: tag=00, enabled=0
    Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
    Pincap 0x09000094: OUT Detect HBR HDMI DP
    Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Pin-ctls: 0x40: OUT
    Unsolicited: tag=01, enabled=1
    Connection: 1
    0x04
    Codec: Nvidia Generic
    Address: 1
    AFG Function Id: 0x1 (unsol 0)
    Vendor Id: 0x10de000a
    Subsystem Id: 0x10de0101
    Revision Id: 0x100100
    No Modem Function Group found
    Default PCM:
    rates [0x0]:
    bits [0x0]:
Quoted 8 lines
    formats [0x0]:
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    State of AFG node 0x01:
    Power states: D0 D1 D2 D3
    Power: setting=D0, actual=D0
    GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
    Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe

CP

Quoted 33 lines
    Control: name="IEC958 Playback Con Mask", index=1, device=0
    Control: name="IEC958 Playback Pro Mask", index=1, device=0
    Control: name="IEC958 Playback Default", index=1, device=0
    Control: name="IEC958 Playback Switch", index=1, device=0
    Device: name="Generic Digital", type="HDMI", device=7
    Converter: stream=0, channel=0
    Digital: Enabled
    Digital category: 0x0
    IEC Coding Type: 0x0
    PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
    Unsolicited: tag=00, enabled=0
    Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
    Pincap 0x09000094: OUT Detect HBR HDMI DP
    Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Pin-ctls: 0x40: OUT
    Unsolicited: tag=01, enabled=1
    Connection: 1
    0x04
    Codec: Nvidia Generic
    Address: 2
    AFG Function Id: 0x1 (unsol 0)
    Vendor Id: 0x10de000a
    Subsystem Id: 0x10de0101
    Revision Id: 0x100100
    No Modem Function Group found
    Default PCM:
    rates [0x0]:
    bits [0x0]:
Quoted 8 lines
    formats [0x0]:
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    State of AFG node 0x01:
    Power states: D0 D1 D2 D3
    Power: setting=D0, actual=D0
    GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
    Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe

CP

Quoted 33 lines
    Control: name="IEC958 Playback Con Mask", index=2, device=0
    Control: name="IEC958 Playback Pro Mask", index=2, device=0
    Control: name="IEC958 Playback Default", index=2, device=0
    Control: name="IEC958 Playback Switch", index=2, device=0
    Device: name="Generic Digital", type="HDMI", device=8
    Converter: stream=0, channel=0
    Digital: Enabled
    Digital category: 0x0
    IEC Coding Type: 0x0
    PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
    Unsolicited: tag=00, enabled=0
    Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
    Pincap 0x09000094: OUT Detect HBR HDMI DP
    Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Pin-ctls: 0x40: OUT
    Unsolicited: tag=01, enabled=1
    Connection: 1
    0x04
    Codec: Nvidia Generic
    Address: 3
    AFG Function Id: 0x1 (unsol 0)
    Vendor Id: 0x10de000a
    Subsystem Id: 0x10de0101
    Revision Id: 0x100100
    No Modem Function Group found
    Default PCM:
    rates [0x0]:
    bits [0x0]:
Quoted 8 lines
    formats [0x0]:
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    State of AFG node 0x01:
    Power states: D0 D1 D2 D3
    Power: setting=D0, actual=D0
    GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
    Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe

CP

Quoted 23 lines
    Control: name="IEC958 Playback Con Mask", index=3, device=0
    Control: name="IEC958 Playback Pro Mask", index=3, device=0
    Control: name="IEC958 Playback Default", index=3, device=0
    Control: name="IEC958 Playback Switch", index=3, device=0
    Device: name="Generic Digital", type="HDMI", device=9
    Converter: stream=5, channel=0
    Digital: Enabled
    Digital category: 0x0
    IEC Coding Type: 0x0
    PCM:
    rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
    bits [0xe]: 16 20 24
    formats [0x5]: PCM AC3
    Unsolicited: tag=00, enabled=0
    Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
    Pincap 0x09000094: OUT Detect HBR HDMI DP
    Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
    Conn = Digital, Color = Unknown
    DefAssociation = 0x1, Sequence = 0x0
    Pin-ctls: 0x40: OUT
    Unsolicited: tag=01, enabled=1
    Connection: 1
    0x04
Quoted 8 lines
    --endcollapse--
   
    !!USB Mixer information
    !!---------------------
    --startcollapse--
   
    USB Mixer: usb_id=0x06f8b121, ctrlif=0, ctlerr=0
    Card: Guillemot Corporation Hercules P32 DJ at

usb-0000:00:1d.0-1.4,

Quoted 41 lines
    full speed
    Unit: 2
    Control: name="PCM Playback Volume", index=0
    Info: id=2, control=2, cmask=0xf, channels=4, type="S16"
    Volume: min=-25600, max=0, dBmin=-10000, dBmax=0
    Unit: 2
    Control: name="PCM Playback Switch", index=0
    Info: id=2, control=1, cmask=0xf, channels=4, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
    --endcollapse--
   
    !!ALSA Device nodes
    !!-----------------
   
    crw-rw----. 1 root audio 116, 6 Mar 20 18:15 /dev/snd/controlC0
    crw-rw----. 1 root audio 116, 15 Mar 20 18:15 /dev/snd/controlC1
    crw-rw----. 1 root audio 116, 18 Mar 20 21:25 /dev/snd/controlC2
    crw-rw----. 1 root audio 116, 5 Mar 20 18:15 /dev/snd/hwC0D0
    crw-rw----. 1 root audio 116, 11 Mar 20 18:15 /dev/snd/hwC1D0
    crw-rw----. 1 root audio 116, 12 Mar 20 18:15 /dev/snd/hwC1D1
    crw-rw----. 1 root audio 116, 13 Mar 20 18:15 /dev/snd/hwC1D2
    crw-rw----. 1 root audio 116, 14 Mar 20 18:15 /dev/snd/hwC1D3
    crw-rw----. 1 root audio 116, 17 Mar 20 21:25 /dev/snd/midiC2D0
    crw-rw----. 1 root audio 116, 3 Mar 20 19:58 /dev/snd/pcmC0D0c
    crw-rw----. 1 root audio 116, 2 Mar 20 20:40 /dev/snd/pcmC0D0p
    crw-rw----. 1 root audio 116, 4 Mar 20 19:58 /dev/snd/pcmC0D1p
    crw-rw----. 1 root audio 116, 7 Mar 20 19:58 /dev/snd/pcmC1D3p
    crw-rw----. 1 root audio 116, 8 Mar 20 19:58 /dev/snd/pcmC1D7p
    crw-rw----. 1 root audio 116, 9 Mar 20 19:58 /dev/snd/pcmC1D8p
    crw-rw----. 1 root audio 116, 10 Mar 20 19:58 /dev/snd/pcmC1D9p
    crw-rw----. 1 root audio 116, 16 Mar 20 21:32 /dev/snd/pcmC2D0p
    crw-rw----. 1 root audio 116, 1 Mar 20 17:19 /dev/snd/seq
    crw-rw----. 1 root audio 116, 33 Mar 20 18:15 /dev/snd/timer
   
    /dev/snd/by-id:
    total 0
    drwxr-xr-x. 2 root root 60 Mar 20 21:25 .
    drwxr-xr-x. 4 root root 460 Mar 20 21:25 ..
    lrwxrwxrwx. 1 root root 12 Mar 20 21:25 usb-
    Guillemot_Corporation_Hercules_P32_DJ-00 -> ../controlC2
Quoted 7 lines
    /dev/snd/by-path:
    total 0
    drwxr-xr-x. 2 root root 100 Mar 20 21:25 .
    drwxr-xr-x. 4 root root 460 Mar 20 21:25 ..
    lrwxrwxrwx. 1 root root 12 Mar 20 18:15 pci-0000:00:1b.0 ->
    ../controlC0
    lrwxrwxrwx. 1 root root 12 Mar 20 21:25

pci-0000:00:1d.0-usb-0:1.4:1.0

Quoted 90 lines

-> ../controlC2
lrwxrwxrwx. 1 root root 12 Mar 20 18:15 pci-0000:01:00.1 -> ../controlC1

!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: ALC269VB Analog [ALC269VB Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 1: ALC269VB Digital [ALC269VB Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: Generic Digital [Generic Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: Generic Digital [Generic Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: Generic Digital [Generic Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: Generic Digital [Generic Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: DJ [Hercules P32 DJ], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: ALC269VB Analog [ALC269VB Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [MID]

Card hw:0 'MID'/'HDA Intel MID at 0xb7100000 irq 27' Mixer name : 'Realtek ALC269VB'
Components : 'HDA:10ec0269,1025035b,00100100' Controls : 31
Simple ctrls : 14
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 81 [93%] [-4.50dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 0 [0%] [-65.25dB] [off] Front Right: Playback 0 [0%] [-65.25dB] [off] Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on] Front Right: Playback 87 [100%] [0.00dB] [on] Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 128 [50%] [-25.40dB]
Front Right: Playback 128 [50%] [-25.40dB]
Simple mixer control 'Mic',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off]
Sim

#4 lore raw
Quoted 4 lines · Guido Trentalancia

It cannot be a firmware bug, as you say, because:

- it does NOT happen on Windows!

It doesn't mean that the device behaves correctly as advertised.

Quoted 9 lines

- it does NOT even always happen on Linux: other users (with different kernel / ALSA library) are not experiencing the same problem;
- it happens with several firmware versions, including the latest one (1.36 and 1.46).

So it is either a bug in ALSA kernel driver, USB sound driver (more likely) or ALSA library.

Now, you are in charge of the USB sound driver, can you please double check??

If it doesn't happen for other users with the very same device, you'd need to identify what's the difference between your case and others. For example, if the difference of alsa-lib matters, you can try the very same condition.

This kind of bug can't be easily debugged without the actual hardware, unfortunately.

Takashi

Quoted 882 lines

Regards,

Guido

Il 22 marzo 2019 09:55:52 CET, Takashi Iwai <[email protected]> ha scritto:

    On Thu, 21 Mar 2019 23:27:46 +0100,
    Guido Trentalancia wrote:
         
         I wonder if this might be due to a bug in the "USB Audio Driver for Alsa"?
         
         https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/usb
         
         https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/tree/sound/usb
    
    More likely a buggy firmware of your USB audio device :)
    
     From the driver implementation POV, both audio and MIDI devices are
    handled by individual endpoints, hence they shouldn't conflict.
    
    Or another possibility would be some USB host side issue like the
    bandwidth.  But
    it's a MIDI stream that is very low data rate, so this
    sounds also unlikely...

    thanks,
    
    Takashi

         Guido
         
             On the 20th of March 2019 at 21.47 Guido Trentalancia
             <[email protected] wrote:
            
             Hello.
            
             I am hitting a very serious bug (ALSA kernel driver or ALSA library)
             when using the Hercules P32 DJ audio interface.
            
             The sound is severely distorted during MIDI transfers.
            
             To reproduce:
            
               + start playing something in a first console:
            
             console1# AUDIODEV=hw:2,0 play audio.wav
            
               + the audio plays fine
                
               + now start "amidi" in a second console while the above track is still
                 playing
                
             console2#
        amidi -p hw:2,0,0 -d
            
               + the sound is now severely distorted (basically noise, with some hard-
                 to-distinguish features resembling the original track) until "amidi"
                 is
                 interrupted !
            
             Kernel versions tested: from 4.12 up to 5.0.2 (latest).
            
             NOTES: Always reproducible. Same device is working fine on Windows.
            
             The output from alsa-info.sh and lsusb -v follows.
            
             upload=true&script=true&cardinfo=
             !!################################
             !!ALSA Information Script v 0.4.64
             !!################################
            
             !!Script ran on: Wed Mar 20 20:44:36 UTC 2019
            
             !!Linux Distribution
             !!------------------
            
             !!DMI Information
             !!---------------
            
             Manufacturer: Acer
             Product Name: Aspire 5745G
           
         Product Version: V1.19
             Firmware Version: V1.19
             Board Vendor: Acer
             Board Name: JV51_CP
            
             !!ACPI Device Status Information
             !!---------------
            
             /sys/bus/acpi/devices/PNP0103:00/status 15
             /sys/bus/acpi/devices/PNP0C0A:00/status 31
             /sys/bus/acpi/devices/PNP0C0F:00/status 9
             /sys/bus/acpi/devices/PNP0C0F:01/status 9
             /sys/bus/acpi/devices/PNP0C0F:02/status 9
             /sys/bus/acpi/devices/PNP0C0F:03/status 9
             /sys/bus/acpi/devices/PNP0C0F:04/status 9
             /sys/bus/acpi/devices/PNP0C0F:05/status 9
             /sys/bus/acpi/devices/PNP0C0F:06/status 9
             /sys/bus/acpi/devices/PNP0C0F:07/status 9
            
             !!Kernel Information
             !!------------------
            
             Kernel release: 5.0.2
             Operating System: GNU/Linux
             Architecture: x86_64
             Processor: unknown
             SMP Enabled: Yes
            
             !!ALSA
        Version
             !!------------
            
             Driver version: k5.0.2
             Library version: 1.1.8
             Utilities version: 1.1.8
            
             !!Loaded ALSA modules
             !!-------------------
            
             snd_hda_intel
             snd_hda_intel
             snd_usb_audio
            
             !!Sound Servers on this system
             !!----------------------------
            
             Pulseaudio:
             Installed - Yes (/usr/bin/pulseaudio)
             Running - No
            
             Jack:
             Installed - Yes (/usr/bin/jackd)
             Running - No
            
             !!Soundcards recognised by ALSA
             !!-----------------------------
            
             0 [MID ]: HDA-Intel - HDA Intel MID
             HDA Intel MID at 0xb7100000 irq 27
             1 [NVidia ]: HDA-Intel - HDA NVidia
             HDA NVidia at 0xb3000000 irq 16
             2 [DJ ]: USB-Audio - Hercules P32 DJ
             Guillemot Corporation Hercules P32 DJ at usb-
            
        0000:00:1d.0-1.4, full speed
            
             !!PCI Soundcards installed in the system
             !!
        ----------------------------------------------------------------------

             00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset
             High Definition Audio (rev 05)
             01:00.1 Audio device: NVIDIA Corporation GT216 HDMI Audio Controller
             (rev a1)
            
             !!Advanced information - PCI Vendor/Device/Subsystem ID's
             !!
        ----------------------------------------------------------------------

             00:1b.0 0403: 8086:3b56 (rev 05)
            
             Subsystem: 1025:035b
             --
             01:00.1 0403: 10de:0be2 (rev a1)
             Subsystem: 1025:035a
            
             !!Loaded sound module options
             !!---------------------------
            
             !!Module: snd_hda_intel
             align_buffer_size : -1
             bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             beep_mode :
            
        N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
             enable :
             Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
             enable_msi : -1
             id :
             (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
             null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
             ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
             ll),(null)
             index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             jackpoll_ms :
             0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
             model :
             (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
             null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
             ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
             ll),(null)
             patch :
         
           (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
             null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
             ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
             ll),(null)
             pm_blacklist : Y
             position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             power_save : 0
             power_save_controller : Y
             probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             probe_only :
             0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
             single_cmd : -1
             snoop : -1
            
             !!Module: snd_hda_intel
             align_buffer_size : -1
             bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             beep_mode :
            
        N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
             enable :
             Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
             enable_msi : -1
             id :
             (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
             null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
             ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
             ll),(null)
             index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             jackpoll_ms :
             0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
             model :
             (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
             null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
             ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
             ll),(null)
             patch :
         
           (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
             null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
             ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
             ll),(null)
             pm_blacklist : Y
             position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             power_save : 0
             power_save_controller : Y
             probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             probe_only :
             0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
             single_cmd : -1
             snoop : -1
            
             !!Module: snd_usb_audio
             autoclock : Y
             device_setup :
             0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
             enable :
            
        Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
             id :
             (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
             null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
             ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
             ll),(null)
             ignore_ctl_error : N
             index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             pid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             quirk_alias :
             (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
             null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
             ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
             ll),(null)
             use_vmalloc : Y
             vid :
        -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
            
             !!HDA-Intel Codec information
             !!---------------------------
             --startcollapse--
            
             Codec: Realtek ALC269VB
             Address: 0
             AFG Function Id: 0x1 (unsol 1)
             Vendor Id: 0x10ec0269
             Subsystem Id: 0x1025035b
             Revision Id: 0x100100
             No Modem Function Group found
             Default PCM:
             rates [0x560]: 44100 48000 96000 192000
             bits [0xe]: 16 20 24
             formats [0x1]: PCM
             Default Amp-In caps: N/A
             Default Amp-Out caps: N/A
             State of AFG node 0x01:
             Power states: D0 D1 D2 D3 CLKSTOP EPSS
             Power: setting=D0, actual=D0
             GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
             IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
             IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
            
        Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
             Control: name="Headphone Playback Volume", index=0, device=0
             ControlAmp: chs=3, dir=Out, idx=0, ofs=0
             Device: name="ALC269VB Analog", type="Audio", device=0
             Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
             Amp-Out vals: [0x00 0x00]
             Converter: stream=5, channel=0
             PCM:
             rates [0x560]: 44100 48000 96000 192000
             bits [0xe]: 16 20 24
             formats [0x1]: PCM
             Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
             Control: name="Speaker Playback Volume", index=0, device=0
             ControlAmp: chs=3, dir=Out, idx=0, ofs=0
             Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
             Amp-Out vals: [0x51 0x51]
             Converter: stream=5, channel=0
             PCM:
             rates [0x560]: 44100 48000 96000 192000
             bits [0xe]: 16 20 24
             formats [0x1]: PCM
             Node 0x04 [Vendor
        Defined Widget] wcaps 0xf00000: Mono
             Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
             Control: name="IEC958 Playback Con Mask", index=0, device=0
             Control: name="IEC958 Playback Pro Mask", index=0, device=0
             Control: name="IEC958 Playback Default", index=0, device=0
             Control: name="IEC958 Playback Switch", index=0, device=0
             Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
             Device: name="ALC269VB Digital", type="SPDIF", device=1
             Converter: stream=5, channel=0
             Digital:
             Digital category: 0x0
             IEC Coding Type: 0x0
             PCM:
             rates [0x5e0]: 44100 48000 88200 96000 192000
             bits [0xe]: 16 20 24
             formats [0x1]: PCM
             Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
             Amp-In caps:
        ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
             Amp-In vals: [0x8b 0x8b]
             Converter: stream=0, channel=0
             SDI-Select: 0
             PCM:
             rates [0x560]: 44100 48000 96000 192000
             bits [0xe]: 16 20 24
             formats [0x1]: PCM
             Connection: 1
             0x23
             Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
             Control: name="Capture Volume", index=0, device=0
             ControlAmp: chs=3, dir=In, idx=0, ofs=0
             Control: name="Capture Switch", index=0, device=0
             ControlAmp: chs=3, dir=In, idx=0, ofs=0
             Device: name="ALC269VB Analog", type="Audio", device=0
             Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
             Amp-In vals: [0x00 0x00]
             Converter: stream=1, channel=0
             SDI-Select: 0
             PCM:
             rates [0x560]: 44100 48000 96000 192000
             bits [0xe]: 16 20 24
             formats [0x1]: PCM
             Connection: 1
             0x22
          
          Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
             Control: name="Mic Playback Volume", index=0, device=0
             ControlAmp: chs=3, dir=In, idx=0, ofs=0
             Control: name="Mic Playback Switch", index=0, device=0
             ControlAmp: chs=3, dir=In, idx=0, ofs=0
             Control: name="Beep Playback Volume", index=0, device=0
             ControlAmp: chs=3, dir=In, idx=4, ofs=0
             Control: name="Beep Playback Switch", index=0, device=0
             ControlAmp: chs=3, dir=In, idx=4, ofs=0
             Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
             Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80
             0x80]
             Connection: 5
             0x18 0x19 0x1a 0x1b 0x1d
             Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
             Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
             Amp-In vals: [0x00 0x00] [0x80 0x80]
            
        Connection: 2
             0x02 0x0b
             Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
             Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
             Amp-In vals: [0x00 0x00] [0x80 0x80]
             Connection: 2
             0x03 0x0b
             Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono Amp-In
             Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
             Amp-In vals: [0x00] [0x80]
             Connection: 2
             0x02 0x0b
             Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x12 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
             Control: name="Internal Mic Boost Volume", index=0, device=0
             ControlAmp: chs=3, dir=In, idx=0, ofs=0
             Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
             Amp-In vals: [0x00 0x00]
             Pincap 0x00000020: IN
             Pin
        Default 0x99a30930: [Fixed] Mic at Int ATAPI
             Conn = ATAPI, Color = Unknown
             DefAssociation = 0x3, Sequence = 0x0
             Misc = NO_PRESENCE
             Pin-ctls: 0x20: IN
             Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
             Control: name="Speaker Playback Switch", index=0, device=0
             ControlAmp: chs=3, dir=Out, idx=0, ofs=0
             Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
             Amp-Out vals: [0x00 0x00]
             Pincap 0x00010014: OUT EAPD Detect
             EAPD 0x2: EAPD
             Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
             Conn = ATAPI, Color = Unknown
             DefAssociation = 0x1, Sequence = 0x0
             Misc = NO_PRESENCE
             Pin-ctls: 0x40: OUT
             Unsolicited: tag=00, enabled=0
             Connection: 2
             0x0c 0x0d*
             Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x16
        [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x17 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
             Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
             Amp-Out vals: [0x80]
             Pincap 0x00000010: OUT
             Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
             Conn = 1/8, Color = Black
             DefAssociation = 0xf, Sequence = 0x0
             Misc = NO_PRESENCE
             Pin-ctls: 0x00:
             Connection: 1
             0x0f
             Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
             Control: name="Mic Boost Volume", index=0, device=0
             ControlAmp: chs=3, dir=In, idx=0, ofs=0
             Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
             Amp-In vals: [0x00 0x00]
             Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
             Amp-Out vals: [0x80 0x80]
             Pincap 0x00001734: IN OUT Detect
             Vref caps: HIZ 50 GRD 80
             Pin Default 0x03a19840: [Jack] Mic at
        Ext Left
             Conn = 1/8, Color = Pink
             DefAssociation = 0x4, Sequence = 0x0
             Pin-ctls: 0x24: IN VREF_80
             Unsolicited: tag=02, enabled=1
             Connection: 1
             0x0d
             Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
             Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
             Amp-In vals: [0x00 0x00]
             Pincap 0x00001724: IN Detect
             Vref caps: HIZ 50 GRD 80
             Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
             Conn = 1/8, Color = Black
             DefAssociation = 0xf, Sequence = 0x0
             Misc = NO_PRESENCE
             Pin-ctls: 0x20: IN VREF_HIZ
             Unsolicited: tag=00, enabled=0
             Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
             Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
             Amp-In vals: [0x00 0x00]
             Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
             Amp-Out vals: [0x80 0x80]
             Pincap
        0x0000003c: IN OUT HP Detect
             Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
             Conn = 1/8, Color = Black
             DefAssociation = 0xf, Sequence = 0x0
             Misc = NO_PRESENCE
             Pin-ctls: 0x20: IN
             Unsolicited: tag=00, enabled=0
             Connection: 2
             0x0c* 0x0d
             Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
             Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
             Amp-In vals: [0x00 0x00]
             Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
             Amp-Out vals: [0x80 0x80]
             Pincap 0x00000034: IN OUT Detect
             Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
             Conn = 1/8, Color = Black
             DefAssociation = 0xf, Sequence = 0x0
             Misc = NO_PRESENCE
             Pin-ctls: 0x20: IN
             Unsolicited: tag=00, enabled=0
             Connection: 2
             0x0c* 0x0d
             Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
         
           Node 0x1d [Pin Complex] wcaps 0x400000: Mono
             Pincap 0x00000020: IN
             Pin Default 0x4017992d: [N/A] Speaker at Ext N/A
             Conn = Analog, Color = Pink
             DefAssociation = 0x2, Sequence = 0xd
             Misc = NO_PRESENCE
             Pin-ctls: 0x20: IN
             Node 0x1e [Pin Complex] wcaps 0x400381: Stereo Digital
             Pincap 0x00000014: OUT Detect
             Pin Default 0x03451120: [Jack] SPDIF Out at Ext Left
             Conn = Optical, Color = Black
             DefAssociation = 0x2, Sequence = 0x0
             Misc = NO_PRESENCE
             Pin-ctls: 0x40: OUT
             Unsolicited: tag=00, enabled=0
             Connection: 1
             0x06
             Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
             Processing caps: benign=0, ncoeff=25
             Node 0x21 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
             Control: name="Headphone Playback Switch", index=0, device=0
           
         ControlAmp: chs=3, dir=Out, idx=0, ofs=0
             Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
             Amp-Out vals: [0x80 0x80]
             Pincap 0x0000001c: OUT HP Detect
             Pin Default 0x0321101f: [Jack] HP Out at Ext Left
             Conn = 1/8, Color = Black
             DefAssociation = 0x1, Sequence = 0xf
             Pin-ctls: 0xc0: OUT HP
             Unsolicited: tag=01, enabled=1
             Connection: 2
             0x0c* 0x0d
             Node 0x22 [Audio Selector] wcaps 0x30010b: Stereo Amp-In
             Amp-In caps: N/A
             Amp-In vals: [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00
             0x00] [0x00 0x00] [0x00 0x00]
             Connection: 7
             0x18 0x19 0x1a 0x1b 0x1d 0x0b 0x12*
             Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
             Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
             Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80
             0x80] [0x80 0x80]
             Connection: 6
             0x18 0x19 0x1a 0x1b 0x1d 0x0b
             Codec: Nvidia Generic
             Address: 0
             AFG Function Id: 0x1 (unsol 0)
             Vendor Id: 0x10de000a
             Subsystem Id: 0x10de0101
             Revision Id: 0x100100
             No Modem Function Group found
             Default PCM:
             rates [0x0]:
             bits [0x0]:
             formats [0x0]:
             Default Amp-In caps: N/A
             Default Amp-Out caps: N/A
             State of AFG node 0x01:
             Power states: D0 D1 D2 D3
             Power: setting=D0, actual=D0
             GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
             Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
             Control: name="IEC958 Playback Con Mask", index=0, device=0
             Control: name="IEC958 Playback Pro Mask", index=0, device=0
             Control: name="IEC958 Playback Default", index=0, device=0
             Control: name="IEC958 Playback Switch", index=0, device=0
             Device: name="Generic Digital",
        type="HDMI", device=3
             Converter: stream=0, channel=0
             Digital: Enabled
             Digital category: 0x0
             IEC Coding Type: 0x0
             PCM:
             rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
             bits [0xe]: 16 20 24
             formats [0x5]: PCM AC3
             Unsolicited: tag=00, enabled=0
             Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
             Pincap 0x09000094: OUT Detect HBR HDMI DP
             Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
             Conn = Digital, Color = Unknown
             DefAssociation = 0x1, Sequence = 0x0
             Pin-ctls: 0x40: OUT
             Unsolicited: tag=01, enabled=1
             Connection: 1
             0x04
             Codec: Nvidia Generic
             Address: 1
             AFG Function Id: 0x1 (unsol 0)
             Vendor Id: 0x10de000a
             Subsystem Id: 0x10de0101
             Revision Id: 0x100100
             No Modem Function Group found
             Default PCM:
            
        rates [0x0]:
             bits [0x0]:
             formats [0x0]:
             Default Amp-In caps: N/A
             Default Amp-Out caps: N/A
             State of AFG node 0x01:
             Power states: D0 D1 D2 D3
             Power: setting=D0, actual=D0
             GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
             Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
             Control: name="IEC958 Playback Con Mask", index=1, device=0
             Control: name="IEC958 Playback Pro Mask", index=1, device=0
             Control: name="IEC958 Playback Default", index=1, device=0
             Control: name="IEC958 Playback Switch", index=1, device=0
             Device: name="Generic Digital", type="HDMI", device=7
             Converter: stream=0, channel=0
             Digital: Enabled
             Digital category: 0x0
             IEC Coding Type: 0x0
             PCM:
             rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
             bits [0xe]: 16 20 24
             formats [0x5]: PCM AC3
        
            Unsolicited: tag=00, enabled=0
             Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
             Pincap 0x09000094: OUT Detect HBR HDMI DP
             Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
             Conn = Digital, Color = Unknown
             DefAssociation = 0x1, Sequence = 0x0
             Pin-ctls: 0x40: OUT
             Unsolicited: tag=01, enabled=1
             Connection: 1
             0x04
             Codec: Nvidia Generic
             Address: 2
             AFG Function Id: 0x1 (unsol 0)
             Vendor Id: 0x10de000a
             Subsystem Id: 0x10de0101
             Revision Id: 0x100100
             No Modem Function Group found
             Default PCM:
             rates [0x0]:
             bits [0x0]:
             formats [0x0]:
             Default Amp-In caps: N/A
             Default Amp-Out caps: N/A
             State of AFG node 0x01:
             Power states: D0 D1 D2 D3
             Power: setting=D0, actual=D0
             GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
             Node
        0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
             Control: name="IEC958 Playback Con Mask", index=2, device=0
             Control: name="IEC958 Playback Pro Mask", index=2, device=0
             Control: name="IEC958 Playback Default", index=2, device=0
             Control: name="IEC958 Playback Switch", index=2, device=0
             Device: name="Generic Digital", type="HDMI", device=8
             Converter: stream=0, channel=0
             Digital: Enabled
             Digital category: 0x0
             IEC Coding Type: 0x0
             PCM:
             rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
             bits [0xe]: 16 20 24
             formats [0x5]: PCM AC3
             Unsolicited: tag=00, enabled=0
             Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
             Pincap 0x09000094: OUT Detect HBR HDMI DP
             Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
             Conn = Digital, Color = Unknown
             DefAssociation = 0x1, Sequence =
        0x0
             Pin-ctls: 0x40: OUT
             Unsolicited: tag=01, enabled=1
             Connection: 1
             0x04
             Codec: Nvidia Generic
             Address: 3
             AFG Function Id: 0x1 (unsol 0)
             Vendor Id: 0x10de000a
             Subsystem Id: 0x10de0101
             Revision Id: 0x100100
             No Modem Function Group found
             Default PCM:
             rates [0x0]:
             bits [0x0]:
             formats [0x0]:
             Default Amp-In caps: N/A
             Default Amp-Out caps: N/A
             State of AFG node 0x01:
             Power states: D0 D1 D2 D3
             Power: setting=D0, actual=D0
             GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
             Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
             Control: name="IEC958 Playback Con Mask", index=3, device=0
             Control: name="IEC958 Playback Pro Mask", index=3, device=0
             Control: name="IEC958 Playback Default", index=3, device=0
             Control: name="IEC958
        Playback Switch", index=3, device=0
             Device: name="Generic Digital", type="HDMI", device=9
             Converter: stream=5, channel=0
             Digital: Enabled
             Digital category: 0x0
             IEC Coding Type: 0x0
             PCM:
             rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
             bits [0xe]: 16 20 24
             formats [0x5]: PCM AC3
             Unsolicited: tag=00, enabled=0
             Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
             Pincap 0x09000094: OUT Detect HBR HDMI DP
             Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
             Conn = Digital, Color = Unknown
             DefAssociation = 0x1, Sequence = 0x0
             Pin-ctls: 0x40: OUT
             Unsolicited: tag=01, enabled=1
             Connection: 1
             0x04
             --endcollapse--
            
             !!USB Mixer information
             !!---------------------
             --startcollapse--
            
             USB Mixer: usb_id=0x06f8b121,
        ctrlif=0, ctlerr=0
             Card: Guillemot Corporation Hercules P32 DJ at usb-0000:00:1d.0-1.4,
             full speed
             Unit: 2
             Control: name="PCM Playback Volume", index=0
             Info: id=2, control=2, cmask=0xf, channels=4, type="S16"
             Volume: min=-25600, max=0, dBmin=-10000, dBmax=0
             Unit: 2
             Control: name="PCM Playback Switch", index=0
             Info: id=2, control=1, cmask=0xf, channels=4, type="INV_BOOLEAN"
             Volume: min=0, max=1, dBmin=0, dBmax=0
             --endcollapse--
            
             !!ALSA Device nodes
             !!-----------------
            
             crw-rw----. 1 root audio 116, 6 Mar 20 18:15 /dev/snd/controlC0
             crw-rw----. 1 root audio 116, 15 Mar 20 18:15 /dev/snd/controlC1
             crw-rw----. 1 root audio 116, 18 Mar 20 21:25 /dev/snd/controlC2
             crw-rw----. 1 root audio 116, 5 Mar 20 18:15 /dev/snd/hwC0D0
             crw-rw----. 1 root audio 116, 11 Mar 20 18:15 /dev/snd/hwC1D0
            
        crw-rw----. 1 root audio 116, 12 Mar 20 18:15 /dev/snd/hwC1D1
             crw-rw----. 1 root audio 116, 13 Mar 20 18:15 /dev/snd/hwC1D2
             crw-rw----. 1 root audio 116, 14 Mar 20 18:15 /dev/snd/hwC1D3
             crw-rw----. 1 root audio 116, 17 Mar 20 21:25 /dev/snd/midiC2D0
             crw-rw----. 1 root audio 116, 3 Mar 20 19:58 /dev/snd/pcmC0D0c
             crw-rw----. 1 root audio 116, 2 Mar 20 20:40 /dev/snd/pcmC0D0p
             crw-rw----. 1 root audio 116, 4 Mar 20 19:58 /dev/snd/pcmC0D1p
             crw-rw----. 1 root audio 116, 7 Mar 20 19:58 /dev/snd/pcmC1D3p
             crw-rw----. 1 root audio 116, 8 Mar 20 19:58 /dev/snd/pcmC1D7p
             crw-rw----. 1 root audio 116, 9 Mar 20 19:58 /dev/snd/pcmC1D8p
             crw-rw----. 1 root audio 116, 10 Mar 20 19:58 /dev/snd/pcmC1D9p
             crw-rw----. 1 root audio 116, 16 Mar 20 21:32 /dev/snd/pcmC2D0p
             crw-rw----. 1 root audio 116, 1 Mar 20 17:19 /dev/snd/seq
             crw-rw----. 1 root audio 116, 33 Mar 20 18:15
        /dev/snd/timer
            
             /dev/snd/by-id:
             total 0
             drwxr-xr-x. 2 root root 60 Mar 20 21:25 .
             drwxr-xr-x. 4 root root 460 Mar 20 21:25 ..
             lrwxrwxrwx. 1 root root 12 Mar 20 21:25 usb-
             Guillemot_Corporation_Hercules_P32_DJ-00 -> ../controlC2
            
             /dev/snd/by-path:
             total 0
             drwxr-xr-x. 2 root root 100 Mar 20 21:25 .
             drwxr-xr-x. 4 root root 460 Mar 20 21:25 ..
             lrwxrwxrwx. 1 root root 12 Mar 20 18:15 pci-0000:00:1b.0 ->
             ../controlC0
             lrwxrwxrwx. 1 root root 12 Mar 20 21:25 pci-0000:00:1d.0-usb-0:1.4:1.0
             -> ../controlC2
             lrwxrwxrwx. 1 root root 12 Mar 20 18:15 pci-0000:01:00.1 ->
             ../controlC1
            
             !!Aplay/Arecord output
             !!--------------------
            
             APLAY
            
             **** List of PLAYBACK Hardware Devices ****
             card 0: MID [HDA Intel MID], device 0: ALC269VB Analog
        [ALC269VB
             Analog]
             Subdevices: 1/1
             Subdevice #0: subdevice #0
             card 0: MID [HDA Intel MID], device 1: ALC269VB Digital [ALC269VB
             Digital]
             Subdevices: 1/1
             Subdevice #0: subdevice #0
             card 1: NVidia [HDA NVidia], device 3: Generic Digital [Generic
             Digital]
             Subdevices: 1/1
             Subdevice #0: subdevice #0
             card 1: NVidia [HDA NVidia], device 7: Generic Digital [Generic
             Digital]
             Subdevices: 1/1
             Subdevice #0: subdevice #0
             card 1: NVidia [HDA NVidia], device 8: Generic Digital [Generic
             Digital]
             Subdevices: 1/1
             Subdevice #0: subdevice #0
             card 1: NVidia [HDA NVidia], device 9: Generic Digital [Generic
             Digital]
             Subdevices: 1/1
             Subdevice #0: subdevice #0
             card 2: DJ [Hercules P32 DJ], device 0: USB Audio [USB Audio]
             Subdevices: 1/1
             Subdevice #0:
        subdevice #0
            
             ARECORD
            
             **** List of CAPTURE Hardware Devices ****
             card 0: MID [HDA Intel MID], device 0: ALC269VB Analog [ALC269VB
             Analog]
             Subdevices: 1/1
             Subdevice #0: subdevice #0
            
             !!Amixer output
             !!-------------
            
             !!-------Mixer controls for card 0 [MID]
            
             Card hw:0 'MID'/'HDA Intel MID at 0xb7100000 irq 27'
             Mixer name : 'Realtek ALC269VB'
             Components : 'HDA:10ec0269,1025035b,00100100'
             Controls : 31
             Simple ctrls : 14
             Simple mixer control 'Master',0
             Capabilities: pvolume pvolume-joined pswitch pswitch-joined
             Playback channels: Mono
             Limits: Playback 0 - 87
             Mono: Playback 81 [93%] [-4.50dB] [on]
             Simple mixer control 'Headphone',0
             Capabilities: pvolume pswitch
             Playback channels: Front Left - Front Right
             Limits:
        Playback 0 - 87
             Mono:
             Front Left: Playback 0 [0%] [-65.25dB] [off]
             Front Right: Playback 0 [0%] [-65.25dB] [off]
             Simple mixer control 'Speaker',0
             Capabilities: pvolume pswitch
             Playback channels: Front Left - Front Right
             Limits: Playback 0 - 87
             Mono:
             Front Left: Playback 87 [100%] [0.00dB] [on]
             Front Right: Playback 87 [100%] [0.00dB] [on]
             Simple mixer control 'PCM',0
             Capabilities: pvolume
             Playback channels: Front Left - Front Right
             Limits: Playback 0 - 255
             Mono:
             Front Left: Playback 128 [50%] [-25.40dB]
             Front Right: Playback 128 [50%] [-25.40dB]
             Simple mixer control 'Mic',0
             Capabilities: pvolume pswitch
             Playback channels: Front Left - Front Right
             Limits: Playback 0 - 31
             Mono:
             Front Left: Playback 0 [0%] [-34.50dB] [off]
             Front Right: Playback 0
        [0%] [-34.50dB] [off]
             Sim
#5 lore raw

Hello Takashi,

I am using the latest version of everything, including kernel and ALSA userspace library / tools.

The other user has exactly the same hardware and has tested same firmware (both 1.36 and latest 1.46), but with Fedora 29 and it is working.

Perhaps Fedora 29 has a different version of the ALSA library, I will find out, try to downgrade, test again and report back.

Guido

Il 22 marzo 2019 10:53:11 CET, Takashi Iwai <[email protected]> ha scritto:

Quoted 839 lines
Quoted 4 lines · Guido Trentalancia

It cannot be a firmware bug, as you say, because:

- it does NOT happen on Windows!

It doesn't mean that the device behaves correctly as advertised.

Quoted 1 line

- it does NOT even always happen on Linux: other users (with

different kernel

Quoted 2 lines

/ ALSA library) are not experiencing the same problem;
- it happens with several firmware versions, including the latest one

(1.36

Quoted 3 lines

and 1.46).

So it is either a bug in ALSA kernel driver, USB sound driver (more

likely) or

Quoted 3 lines

ALSA library.

Now, you are in charge of the USB sound driver, can you please double

check??

If it doesn't happen for other users with the very same device, you'd need to identify what's the difference between your case and others. For example, if the difference of alsa-lib matters, you can try the very same condition.

This kind of bug can't be easily debugged without the actual hardware, unfortunately.

Takashi

Quoted 6 lines

Regards,

Guido

Il 22 marzo 2019 09:55:52 CET, Takashi Iwai <[email protected]> ha

scritto:

Quoted 5 lines

On Thu, 21 Mar 2019 23:27:46 +0100,
Guido Trentalancia wrote:

I wonder if this might be due to a bug in the "USB Audio

Driver for Alsa"?

Quoted 2 lines

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/usb

Quoted 2 lines

https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/tree/sound/usb

Quoted 4 lines

More likely a buggy firmware of your USB audio device :)

From the driver implementation POV, both audio and MIDI devices

are

Quoted 11 lines

handled by individual endpoints, hence they shouldn't conflict.

Or another possibility would be some USB host side issue like the bandwidth. But
it's a MIDI stream that is very low data rate, so this sounds also unlikely...

thanks,

Takashi

Quoted 8 lines

Guido

On the 20th of March 2019 at 21.47 Guido Trentalancia <[email protected] wrote:

Hello.

I am hitting a very serious bug (ALSA kernel driver or

ALSA library)

Quoted 6 lines

when using the Hercules P32 DJ audio interface.

The sound is severely distorted during MIDI transfers.

To reproduce:

Quoted 7 lines

+ start playing something in a first console:

console1# AUDIODEV=hw:2,0 play audio.wav

+ the audio plays fine

+ now start "amidi" in a second console while the

above track is still

Quoted 6 lines

playing

console2#
amidi -p hw:2,0,0 -d

+ the sound is now severely distorted (basically

noise, with some hard-

Quoted 1 line

to-distinguish features resembling the original

track) until "amidi"

Quoted 6 lines

is
interrupted !

Kernel versions tested: from 4.12 up to 5.0.2 (latest).

NOTES: Always reproducible. Same device is working fine

on Windows.

Quoted 79 lines
            
             The output from alsa-info.sh and lsusb -v follows.
            
             upload=true&script=true&cardinfo=
             !!################################
             !!ALSA Information Script v 0.4.64
             !!################################
            
             !!Script ran on: Wed Mar 20 20:44:36 UTC 2019
            
             !!Linux Distribution
             !!------------------
            
             !!DMI Information
             !!---------------
            
             Manufacturer: Acer
             Product Name: Aspire 5745G
           
         Product Version: V1.19
             Firmware Version: V1.19
             Board Vendor: Acer
             Board Name: JV51_CP
            
             !!ACPI Device Status Information
             !!---------------
            
             /sys/bus/acpi/devices/PNP0103:00/status 15
             /sys/bus/acpi/devices/PNP0C0A:00/status 31
             /sys/bus/acpi/devices/PNP0C0F:00/status 9
             /sys/bus/acpi/devices/PNP0C0F:01/status 9
             /sys/bus/acpi/devices/PNP0C0F:02/status 9
             /sys/bus/acpi/devices/PNP0C0F:03/status 9
             /sys/bus/acpi/devices/PNP0C0F:04/status 9
             /sys/bus/acpi/devices/PNP0C0F:05/status 9
             /sys/bus/acpi/devices/PNP0C0F:06/status 9
             /sys/bus/acpi/devices/PNP0C0F:07/status 9
            
             !!Kernel Information
             !!------------------
            
             Kernel release: 5.0.2
             Operating System: GNU/Linux
             Architecture: x86_64
             Processor: unknown
             SMP Enabled: Yes
            
             !!ALSA
        Version
             !!------------
            
             Driver version: k5.0.2
             Library version: 1.1.8
             Utilities version: 1.1.8
            
             !!Loaded ALSA modules
             !!-------------------
            
             snd_hda_intel
             snd_hda_intel
             snd_usb_audio
            
             !!Sound Servers on this system
             !!----------------------------
            
             Pulseaudio:
             Installed - Yes (/usr/bin/pulseaudio)
             Running - No
            
             Jack:
             Installed - Yes (/usr/bin/jackd)
             Running - No
            
             !!Soundcards recognised by ALSA
             !!-----------------------------
            
             0 [MID ]: HDA-Intel - HDA Intel MID
             HDA Intel MID at 0xb7100000 irq 27
             1 [NVidia ]: HDA-Intel - HDA NVidia
Quoted 9 lines
             HDA NVidia at 0xb3000000 irq 16
             2 [DJ ]: USB-Audio - Hercules P32 DJ
             Guillemot Corporation Hercules P32 DJ at usb-
            
        0000:00:1d.0-1.4, full speed
            
             !!PCI Soundcards installed in the system
             !!

----------------------------------------------------------------------

Quoted 2 lines

00:1b.0 Audio device: Intel Corporation 5 Series/3400

Series Chipset

Quoted 2 lines

High Definition Audio (rev 05)
01:00.1 Audio device: NVIDIA Corporation GT216 HDMI

Audio Controller

Quoted 3 lines

(rev a1)

!!Advanced information - PCI Vendor/Device/Subsystem

ID's

Quoted 2 lines
             !!

----------------------------------------------------------------------

Quoted 14 lines
             00:1b.0 0403: 8086:3b56 (rev 05)
            
             Subsystem: 1025:035b
             --
             01:00.1 0403: 10de:0be2 (rev a1)
             Subsystem: 1025:035a
            
             !!Loaded sound module options
             !!---------------------------
            
             !!Module: snd_hda_intel
             align_buffer_size : -1
             bdl_pos_adj :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 4 lines
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             beep_mode :

N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N

Quoted 2 lines

enable :

Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y

Quoted 3 lines
             enable_msi : -1
             id :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 2 lines
             ll),(null)
             index :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 3 lines
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             jackpoll_ms :

0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

Quoted 2 lines

model :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 4 lines
             ll),(null)
             patch :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 3 lines

ll),(null)
pm_blacklist : Y
position_fix :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 4 lines

1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 power_save : 0
power_save_controller : Y
probe_mask :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 3 lines
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             probe_only :

0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

Quoted 6 lines
             single_cmd : -1
             snoop : -1
            
             !!Module: snd_hda_intel
             align_buffer_size : -1
             bdl_pos_adj :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 4 lines
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             beep_mode :

N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N

Quoted 2 lines

enable :

Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y

Quoted 3 lines
             enable_msi : -1
             id :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 2 lines
             ll),(null)
             index :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 3 lines
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             jackpoll_ms :

0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

Quoted 2 lines

model :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 4 lines
             ll),(null)
             patch :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 3 lines

ll),(null)
pm_blacklist : Y
position_fix :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 4 lines

1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1 power_save : 0
power_save_controller : Y
probe_mask :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 3 lines
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             probe_only :

0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

Quoted 7 lines
             single_cmd : -1
             snoop : -1
            
             !!Module: snd_usb_audio
             autoclock : Y
             device_setup :

0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

Quoted 3 lines

enable :

Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y

Quoted 2 lines

id :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 3 lines

ll),(null)
ignore_ctl_error : N
index :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 2 lines
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             pid :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 3 lines
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
             quirk_alias :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 20 lines
             ll),(null)
             use_vmalloc : Y
             vid :
        -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
             1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
            
             !!HDA-Intel Codec information
             !!---------------------------
             --startcollapse--
            
             Codec: Realtek ALC269VB
             Address: 0
             AFG Function Id: 0x1 (unsol 1)
             Vendor Id: 0x10ec0269
             Subsystem Id: 0x1025035b
             Revision Id: 0x100100
             No Modem Function Group found
             Default PCM:
             rates [0x560]: 44100 48000 96000 192000
             bits [0xe]: 16 20 24
Quoted 8 lines
             formats [0x1]: PCM
             Default Amp-In caps: N/A
             Default Amp-Out caps: N/A
             State of AFG node 0x01:
             Power states: D0 D1 D2 D3 CLKSTOP EPSS
             Power: setting=D0, actual=D0
             GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
             IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0,

unsol=0

Quoted 1 line
             IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0,

unsol=0

Quoted 3 lines

Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Headphone Playback Volume", index=0,

device=0

Quoted 3 lines
             ControlAmp: chs=3, dir=Out, idx=0, ofs=0
             Device: name="ALC269VB Analog", type="Audio", device=0
             Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02,

mute=0

Quoted 8 lines
             Amp-Out vals: [0x00 0x00]
             Converter: stream=5, channel=0
             PCM:
             rates [0x560]: 44100 48000 96000 192000
             bits [0xe]: 16 20 24
             formats [0x1]: PCM
             Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
             Control: name="Speaker Playback Volume", index=0,

device=0

Quoted 2 lines
             ControlAmp: chs=3, dir=Out, idx=0, ofs=0
             Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02,

mute=0

Quoted 11 lines
             Amp-Out vals: [0x51 0x51]
             Converter: stream=5, channel=0
             PCM:
             rates [0x560]: 44100 48000 96000 192000
             bits [0xe]: 16 20 24
             formats [0x1]: PCM
             Node 0x04 [Vendor
        Defined Widget] wcaps 0xf00000: Mono
             Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
             Control: name="IEC958 Playback Con Mask", index=0,

device=0

Quoted 1 line

Control: name="IEC958 Playback Pro Mask", index=0,

device=0

Quoted 1 line

Control: name="IEC958 Playback Default", index=0,

device=0

Quoted 1 line

Control: name="IEC958 Playback Switch", index=0,

device=0

Quoted 1 line

Control: name="IEC958 Default PCM Playback Switch",

index=0, device=0

Quoted 21 lines
             Device: name="ALC269VB Digital", type="SPDIF", device=1
             Converter: stream=5, channel=0
             Digital:
             Digital category: 0x0
             IEC Coding Type: 0x0
             PCM:
             rates [0x5e0]: 44100 48000 88200 96000 192000
             bits [0xe]: 16 20 24
             formats [0x1]: PCM
             Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
             Amp-In caps:
        ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
             Amp-In vals: [0x8b 0x8b]
             Converter: stream=0, channel=0
             SDI-Select: 0
             PCM:
             rates [0x560]: 44100 48000 96000 192000
             bits [0xe]: 16 20 24
             formats [0x1]: PCM
             Connection: 1
Quoted 8 lines
             0x23
             Node 0x09 [Audio Input] wcaps 0x10011b: Stereo Amp-In
             Control: name="Capture Volume", index=0, device=0
             ControlAmp: chs=3, dir=In, idx=0, ofs=0
             Control: name="Capture Switch", index=0, device=0
             ControlAmp: chs=3, dir=In, idx=0, ofs=0
             Device: name="ALC269VB Analog", type="Audio", device=0
             Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05,

mute=1

Quoted 13 lines
             Amp-In vals: [0x00 0x00]
             Converter: stream=1, channel=0
             SDI-Select: 0
             PCM:
             rates [0x560]: 44100 48000 96000 192000
             bits [0xe]: 16 20 24
             formats [0x1]: PCM
             Connection: 1
             0x22
          
          Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
             Control: name="Mic Playback Volume", index=0, device=0
Quoted 8 lines
             ControlAmp: chs=3, dir=In, idx=0, ofs=0
             Control: name="Mic Playback Switch", index=0, device=0
             ControlAmp: chs=3, dir=In, idx=0, ofs=0
             Control: name="Beep Playback Volume", index=0, device=0
             ControlAmp: chs=3, dir=In, idx=4, ofs=0
             Control: name="Beep Playback Switch", index=0, device=0
             ControlAmp: chs=3, dir=In, idx=4, ofs=0
             Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05,

mute=1

Quoted 1 line
             Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80

0x80] [0x80

Quoted 5 lines
             0x80]
             Connection: 5
             0x18 0x19 0x1a 0x1b 0x1d
             Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
             Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00,

mute=1

Quoted 6 lines
             Amp-In vals: [0x00 0x00] [0x80 0x80]
            
        Connection: 2
             0x02 0x0b
             Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
             Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00,

mute=1

Quoted 6 lines
             Amp-In vals: [0x00 0x00] [0x80 0x80]
             Connection: 2
             0x03 0x0b
             Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono Amp-In
             Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00,

mute=1

Quoted 7 lines
             Amp-In vals: [0x00] [0x80]
             Connection: 2
             0x02 0x0b
             Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x12 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
             Control: name="Internal Mic Boost Volume", index=0,

device=0

Quoted 2 lines
             ControlAmp: chs=3, dir=In, idx=0, ofs=0
             Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f,

mute=0

Quoted 11 lines
             Amp-In vals: [0x00 0x00]
             Pincap 0x00000020: IN
             Pin
        Default 0x99a30930: [Fixed] Mic at Int ATAPI
             Conn = ATAPI, Color = Unknown
             DefAssociation = 0x3, Sequence = 0x0
             Misc = NO_PRESENCE
             Pin-ctls: 0x20: IN
             Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
             Control: name="Speaker Playback Switch", index=0,

device=0

Quoted 2 lines
             ControlAmp: chs=3, dir=Out, idx=0, ofs=0
             Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00,

mute=1

Quoted 8 lines
             Amp-Out vals: [0x00 0x00]
             Pincap 0x00010014: OUT EAPD Detect
             EAPD 0x2: EAPD
             Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
             Conn = ATAPI, Color = Unknown
             DefAssociation = 0x1, Sequence = 0x0
             Misc = NO_PRESENCE
             Pin-ctls: 0x40: OUT
Quoted 8 lines
             Unsolicited: tag=00, enabled=0
             Connection: 2
             0x0c 0x0d*
             Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x16
        [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x17 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
             Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00,

mute=1

Quoted 10 lines
             Amp-Out vals: [0x80]
             Pincap 0x00000010: OUT
             Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
             Conn = 1/8, Color = Black
             DefAssociation = 0xf, Sequence = 0x0
             Misc = NO_PRESENCE
             Pin-ctls: 0x00:
             Connection: 1
             0x0f
             Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In

Amp-Out

Quoted 3 lines
             Control: name="Mic Boost Volume", index=0, device=0
             ControlAmp: chs=3, dir=In, idx=0, ofs=0
             Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f,

mute=0

Quoted 2 lines
             Amp-In vals: [0x00 0x00]
             Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00,

mute=1

Quoted 5 lines
             Amp-Out vals: [0x80 0x80]
             Pincap 0x00001734: IN OUT Detect
             Vref caps: HIZ 50 GRD 80
             Pin Default 0x03a19840: [Jack] Mic at
        Ext Left
Quoted 8 lines
             Conn = 1/8, Color = Pink
             DefAssociation = 0x4, Sequence = 0x0
             Pin-ctls: 0x24: IN VREF_80
             Unsolicited: tag=02, enabled=1
             Connection: 1
             0x0d
             Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
             Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f,

mute=0

Quoted 10 lines
             Amp-In vals: [0x00 0x00]
             Pincap 0x00001724: IN Detect
             Vref caps: HIZ 50 GRD 80
             Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
             Conn = 1/8, Color = Black
             DefAssociation = 0xf, Sequence = 0x0
             Misc = NO_PRESENCE
             Pin-ctls: 0x20: IN VREF_HIZ
             Unsolicited: tag=00, enabled=0
             Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In

Amp-Out

Quoted 1 line
             Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f,

mute=0

Quoted 2 lines
             Amp-In vals: [0x00 0x00]
             Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00,

mute=1

Quoted 4 lines
             Amp-Out vals: [0x80 0x80]
             Pincap
        0x0000003c: IN OUT HP Detect
             Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
Quoted 8 lines
             Conn = 1/8, Color = Black
             DefAssociation = 0xf, Sequence = 0x0
             Misc = NO_PRESENCE
             Pin-ctls: 0x20: IN
             Unsolicited: tag=00, enabled=0
             Connection: 2
             0x0c* 0x0d
             Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In

Amp-Out

Quoted 1 line
             Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f,

mute=0

Quoted 2 lines
             Amp-In vals: [0x00 0x00]
             Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00,

mute=1

Quoted 26 lines
             Amp-Out vals: [0x80 0x80]
             Pincap 0x00000034: IN OUT Detect
             Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
             Conn = 1/8, Color = Black
             DefAssociation = 0xf, Sequence = 0x0
             Misc = NO_PRESENCE
             Pin-ctls: 0x20: IN
             Unsolicited: tag=00, enabled=0
             Connection: 2
             0x0c* 0x0d
             Node 0x1c [Vendor Defined Widget] wcaps 0xf00000: Mono
         
           Node 0x1d [Pin Complex] wcaps 0x400000: Mono
             Pincap 0x00000020: IN
             Pin Default 0x4017992d: [N/A] Speaker at Ext N/A
             Conn = Analog, Color = Pink
             DefAssociation = 0x2, Sequence = 0xd
             Misc = NO_PRESENCE
             Pin-ctls: 0x20: IN
             Node 0x1e [Pin Complex] wcaps 0x400381: Stereo Digital
             Pincap 0x00000014: OUT Detect
             Pin Default 0x03451120: [Jack] SPDIF Out at Ext Left
             Conn = Optical, Color = Black
             DefAssociation = 0x2, Sequence = 0x0
             Misc = NO_PRESENCE
             Pin-ctls: 0x40: OUT
Quoted 8 lines
             Unsolicited: tag=00, enabled=0
             Connection: 1
             0x06
             Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
             Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
             Processing caps: benign=0, ncoeff=25
             Node 0x21 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
             Control: name="Headphone Playback Switch", index=0,

device=0

Quoted 3 lines
           
         ControlAmp: chs=3, dir=Out, idx=0, ofs=0
             Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00,

mute=1

Quoted 4 lines
             Amp-Out vals: [0x80 0x80]
             Pincap 0x0000001c: OUT HP Detect
             Pin Default 0x0321101f: [Jack] HP Out at Ext Left
             Conn = 1/8, Color = Black
Quoted 8 lines
             DefAssociation = 0x1, Sequence = 0xf
             Pin-ctls: 0xc0: OUT HP
             Unsolicited: tag=01, enabled=1
             Connection: 2
             0x0c* 0x0d
             Node 0x22 [Audio Selector] wcaps 0x30010b: Stereo Amp-In
             Amp-In caps: N/A
             Amp-In vals: [0x00 0x00] [0x00 0x00] [0x00 0x00] [0x00

0x00] [0x00

Quoted 5 lines
             0x00] [0x00 0x00] [0x00 0x00]
             Connection: 7
             0x18 0x19 0x1a 0x1b 0x1d 0x0b 0x12*
             Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
             Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00,

mute=1

Quoted 1 line
             Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80

0x80] [0x80

Quoted 13 lines
             0x80] [0x80 0x80]
             Connection: 6
             0x18 0x19 0x1a 0x1b 0x1d 0x0b
             Codec: Nvidia Generic
             Address: 0
             AFG Function Id: 0x1 (unsol 0)
             Vendor Id: 0x10de000a
             Subsystem Id: 0x10de0101
             Revision Id: 0x100100
             No Modem Function Group found
             Default PCM:
             rates [0x0]:
             bits [0x0]:
Quoted 8 lines
             formats [0x0]:
             Default Amp-In caps: N/A
             Default Amp-Out caps: N/A
             State of AFG node 0x01:
             Power states: D0 D1 D2 D3
             Power: setting=D0, actual=D0
             GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
             Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels

Digital Stripe CP

Quoted 1 line

Control: name="IEC958 Playback Con Mask", index=0,

device=0

Quoted 1 line

Control: name="IEC958 Playback Pro Mask", index=0,

device=0

Quoted 1 line

Control: name="IEC958 Playback Default", index=0,

device=0

Quoted 1 line

Control: name="IEC958 Playback Switch", index=0,

device=0

Quoted 8 lines
             Device: name="Generic Digital",
        type="HDMI", device=3
             Converter: stream=0, channel=0
             Digital: Enabled
             Digital category: 0x0
             IEC Coding Type: 0x0
             PCM:
             rates [0x7f0]: 32000 44100 48000 88200 96000 176400

192000

Quoted 4 lines
             bits [0xe]: 16 20 24
             formats [0x5]: PCM AC3
             Unsolicited: tag=00, enabled=0
             Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels

Digital CP

Quoted 19 lines
             Pincap 0x09000094: OUT Detect HBR HDMI DP
             Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
             Conn = Digital, Color = Unknown
             DefAssociation = 0x1, Sequence = 0x0
             Pin-ctls: 0x40: OUT
             Unsolicited: tag=01, enabled=1
             Connection: 1
             0x04
             Codec: Nvidia Generic
             Address: 1
             AFG Function Id: 0x1 (unsol 0)
             Vendor Id: 0x10de000a
             Subsystem Id: 0x10de0101
             Revision Id: 0x100100
             No Modem Function Group found
             Default PCM:
            
        rates [0x0]:
             bits [0x0]:
Quoted 8 lines
             formats [0x0]:
             Default Amp-In caps: N/A
             Default Amp-Out caps: N/A
             State of AFG node 0x01:
             Power states: D0 D1 D2 D3
             Power: setting=D0, actual=D0
             GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
             Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels

Digital Stripe CP

Quoted 1 line

Control: name="IEC958 Playback Con Mask", index=1,

device=0

Quoted 1 line

Control: name="IEC958 Playback Pro Mask", index=1,

device=0

Quoted 1 line

Control: name="IEC958 Playback Default", index=1,

device=0

Quoted 1 line

Control: name="IEC958 Playback Switch", index=1,

device=0

Quoted 7 lines
             Device: name="Generic Digital", type="HDMI", device=7
             Converter: stream=0, channel=0
             Digital: Enabled
             Digital category: 0x0
             IEC Coding Type: 0x0
             PCM:
             rates [0x7f0]: 32000 44100 48000 88200 96000 176400

192000

Quoted 5 lines
             bits [0xe]: 16 20 24
             formats [0x5]: PCM AC3
        
            Unsolicited: tag=00, enabled=0
             Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels

Digital CP

Quoted 19 lines
             Pincap 0x09000094: OUT Detect HBR HDMI DP
             Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
             Conn = Digital, Color = Unknown
             DefAssociation = 0x1, Sequence = 0x0
             Pin-ctls: 0x40: OUT
             Unsolicited: tag=01, enabled=1
             Connection: 1
             0x04
             Codec: Nvidia Generic
             Address: 2
             AFG Function Id: 0x1 (unsol 0)
             Vendor Id: 0x10de000a
             Subsystem Id: 0x10de0101
             Revision Id: 0x100100
             No Modem Function Group found
             Default PCM:
             rates [0x0]:
             bits [0x0]:
             formats [0x0]:
Quoted 8 lines
             Default Amp-In caps: N/A
             Default Amp-Out caps: N/A
             State of AFG node 0x01:
             Power states: D0 D1 D2 D3
             Power: setting=D0, actual=D0
             GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
             Node
        0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe

CP

Quoted 1 line

Control: name="IEC958 Playback Con Mask", index=2,

device=0

Quoted 1 line

Control: name="IEC958 Playback Pro Mask", index=2,

device=0

Quoted 1 line

Control: name="IEC958 Playback Default", index=2,

device=0

Quoted 1 line

Control: name="IEC958 Playback Switch", index=2,

device=0

Quoted 7 lines
             Device: name="Generic Digital", type="HDMI", device=8
             Converter: stream=0, channel=0
             Digital: Enabled
             Digital category: 0x0
             IEC Coding Type: 0x0
             PCM:
             rates [0x7f0]: 32000 44100 48000 88200 96000 176400

192000

Quoted 4 lines
             bits [0xe]: 16 20 24
             formats [0x5]: PCM AC3
             Unsolicited: tag=00, enabled=0
             Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels

Digital CP

Quoted 12 lines
             Pincap 0x09000094: OUT Detect HBR HDMI DP
             Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
             Conn = Digital, Color = Unknown
             DefAssociation = 0x1, Sequence =
        0x0
             Pin-ctls: 0x40: OUT
             Unsolicited: tag=01, enabled=1
             Connection: 1
             0x04
             Codec: Nvidia Generic
             Address: 3
#6 lore raw
Quoted 11 lines · Guido Trentalancia

Hello Takashi,

I am using the latest version of everything, including kernel and ALSA userspace library / tools.

The other user has exactly the same hardware and has tested same firmware (both 1.36 and latest 1.46), but with Fedora 29 and it is working.

Perhaps Fedora 29 has a different version of the ALSA library, I will find out, try to downgrade, test again and report back.

Yes, that'd be really helpful. If aligning the software doesn't fix the issue, it's either because of the hardware or the difference of usage patterns.

thanks,

Takashi

Quoted 751 lines

Guido

Il 22 marzo 2019 10:53:11 CET, Takashi Iwai <[email protected]> ha scritto:

    On Fri, 22 Mar 2019 10:17:17 +0100,
    Guido Trentalancia wrote:
         
         It cannot be a firmware bug, as you say, because:
         
         - it does NOT happen on Windows!
    
    It doesn't mean that the device behaves correctly as advertised.
    
         - it does NOT even always happen on Linux: other users (with different kernel
         / ALSA library) are not experiencing the same problem;
         - it happens with several firmware versions, including the latest one (1.36
         and 1.46).
         
         So it is either a bug in ALSA kernel driver, USB sound driver (more likely) or
         ALSA library.
         
         Now, you are in charge of the USB sound driver, can you please double check??
    
    If it doesn't happen for other users with the very same device, you'd
    need to identify what's the difference between your case and others.
    For example, if the difference of alsa-lib matters, you can try the
    very same condition.
    
    This kind of bug can't be easily debugged without the actual
    hardware, unfortunately.

    Takashi

         Regards,
         
         Guido
         
         Il 22 marzo 2019 09:55:52 CET, Takashi Iwai <[email protected]> ha scritto:
         
             On Thu, 21 Mar 2019 23:27:46 +0100,
             Guido Trentalancia wrote:
                  
                  I wonder if this might be due to a bug in the "USB Audio Driver for Alsa"?
                  
                  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/usb
                  
                  https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/tree/sound/usb
             
             More likely a buggy firmware of your USB audio device :)
             
              From the driver implementation POV, both audio and MIDI devices are
             handled by individual endpoints, hence they shouldn't conflict.
             
             Or another possibility would be some USB host side issue like the
             bandwidth.  But
             it's a MIDI stream that is very low data rate, so this
             sounds also unlikely...
         
             thanks,
             
             Takashi
         
                  Guido
                  
                      On the 20th of March 2019 at 21.47 Guido
        Trentalancia
                      <[email protected] wrote:
                     
                      Hello.
                     
                      I am hitting a very serious bug (ALSA kernel driver or ALSA library)
                      when using the Hercules P32 DJ audio interface.
                     
                      The sound is severely distorted during MIDI transfers.
                     
                      To reproduce:
                     
                        + start playing something in a first console:
                     
                      console1# AUDIODEV=hw:2,0 play audio.wav
                     
                        + the audio plays fine
                         
                        + now start "amidi" in a second console while the above track is still
                          playing
                         
                      console2#
                 amidi -p hw:2,0,0 -d
                     
                        + the sound is now severely distorted (basically noise, with some
        hard-
                          to-distinguish features resembling the original track) until "amidi"
                          is
                          interrupted !
                     
                      Kernel versions tested: from 4.12 up to 5.0.2 (latest).
                     
                      NOTES: Always reproducible. Same device is working fine on Windows.
                     
                      The output from alsa-info.sh and lsusb -v follows.
                     
                      upload=true&script=true&cardinfo=
                      !!################################
                      !!ALSA Information Script v 0.4.64
                      !!################################
                     
                      !!Script ran on: Wed Mar 20 20:44:36 UTC 2019
                     
                      !!Linux Distribution
                      !!------------------
                     
                      !!DMI Information
                     
        !!---------------
                     
                      Manufacturer: Acer
                      Product Name: Aspire 5745G
                    
                  Product Version: V1.19
                      Firmware Version: V1.19
                      Board Vendor: Acer
                      Board Name: JV51_CP
                     
                      !!ACPI Device Status Information
                      !!---------------
                     
                      /sys/bus/acpi/devices/PNP0103:00/status 15
                      /sys/bus/acpi/devices/PNP0C0A:00/status 31
                      /sys/bus/acpi/devices/PNP0C0F:00/status 9
                      /sys/bus/acpi/devices/PNP0C0F:01/status 9
                      /sys/bus/acpi/devices/PNP0C0F:02/status 9
                      /sys/bus/acpi/devices/PNP0C0F:03/status 9
                      /sys/bus/acpi/devices/PNP0C0F:04/status 9
                      /sys/bus/acpi/devices/PNP0C0F:05/status 9
                      /sys/bus/acpi/devices/PNP0C0F:06/status 9
                     
        /sys/bus/acpi/devices/PNP0C0F:07/status 9
                     
                      !!Kernel Information
                      !!------------------
                     
                      Kernel release: 5.0.2
                      Operating System: GNU/Linux
                      Architecture: x86_64
                      Processor: unknown
                      SMP Enabled: Yes
                     
                      !!ALSA
                 Version
                      !!------------
                     
                      Driver version: k5.0.2
                      Library version: 1.1.8
                      Utilities version: 1.1.8
                     
                      !!Loaded ALSA modules
                      !!-------------------
                     
                      snd_hda_intel
                      snd_hda_intel
                      snd_usb_audio
                     
                      !!Sound Servers on this system
                      !!----------------------------

        Pulseaudio:
                      Installed - Yes (/usr/bin/pulseaudio)
                      Running - No
                     
                      Jack:
                      Installed - Yes (/usr/bin/jackd)
                      Running - No
                     
                      !!Soundcards recognised by ALSA
                      !!-----------------------------
                     
                      0 [MID ]: HDA-Intel - HDA Intel MID
                      HDA Intel MID at 0xb7100000 irq 27
                      1 [NVidia ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xb3000000 irq 16
                      2 [DJ ]: USB-Audio - Hercules P32 DJ
                      Guillemot Corporation Hercules P32 DJ at usb-
                     
                 0000:00:1d.0-1.4, full speed
                     
                      !!PCI Soundcards installed in the system
                      !!
        ----------------------------------------------------------------------

                      00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset
                     
        High Definition Audio (rev 05)
                      01:00.1 Audio device: NVIDIA Corporation GT216 HDMI Audio Controller
                      (rev a1)
                     
                      !!Advanced information - PCI Vendor/Device/Subsystem ID's
                      !!
        ----------------------------------------------------------------------

                      00:1b.0 0403: 8086:3b56 (rev 05)
                     
                      Subsystem: 1025:035b
                      --
                      01:00.1 0403: 10de:0be2 (rev a1)
                      Subsystem: 1025:035a
                     
                      !!Loaded sound module options
                      !!---------------------------
                     
                      !!Module: snd_hda_intel
                      align_buffer_size : -1
                      bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      beep_mode :

        N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
                      enable :
                      Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
                      enable_msi : -1
                      id :
                      (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
                      null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
                      ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
                      ll),(null)
                      index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      jackpoll_ms :
                      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                      model :
                      (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
                     
        null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
                      ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
                      ll),(null)
                      patch :
                  
                    (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
                      null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
                      ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
                      ll),(null)
                      pm_blacklist : Y
                      position_fix : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      power_save : 0
                      power_save_controller : Y
                      probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      probe_only :
                  
           0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                      single_cmd : -1
                      snoop : -1
                     
                      !!Module: snd_hda_intel
                      align_buffer_size : -1
                      bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      beep_mode :
                     
                 N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
                      enable :
                      Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
                      enable_msi : -1
                      id :
                      (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
                      null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
                      ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
                      ll),(null)
              
               index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      jackpoll_ms :
                      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                      model :
                      (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
                      null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
                      ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
                      ll),(null)
                      patch :
                  
                    (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
                      null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
                      ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
                      ll),(null)
                      pm_blacklist : Y
                      position_fix :
        -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      power_save : 0
                      power_save_controller : Y
                      probe_mask : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      probe_only :
                      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                      single_cmd : -1
                      snoop : -1
                     
                      !!Module: snd_usb_audio
                      autoclock : Y
                      device_setup :
                      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
                      enable :
                     
                 Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
                      id :
                      (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
                     
        null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
                      ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
                      ll),(null)
                      ignore_ctl_error : N
                      index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      pid : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      quirk_alias :
                      (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(
                      null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n
                      ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu
                      ll),(null)
                      use_vmalloc : Y
                      vid :
                 -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-
                 
            1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                     
                      !!HDA-Intel Codec information
                      !!---------------------------
                      --startcollapse--
                     
                      Codec: Realtek ALC269VB
                      Address: 0
                      AFG Function Id: 0x1 (unsol 1)
                      Vendor Id: 0x10ec0269
                      Subsystem Id: 0x1025035b
                      Revision Id: 0x100100
                      No Modem Function Group found
                      Default PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Default Amp-In caps: N/A
                      Default Amp-Out caps: N/A
                      State of AFG node 0x01:
                      Power states: D0 D1 D2 D3 CLKSTOP EPSS
                      Power: setting=D0, actual=D0
                      GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
              
               IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
                      IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
                     
                 Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
                      Control: name="Headphone Playback Volume", index=0, device=0
                      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
                      Device: name="ALC269VB Analog", type="Audio", device=0
                      Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
                      Amp-Out vals: [0x00 0x00]
                      Converter: stream=5, channel=0
                      PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Node 0x03 [Audio Output] wcaps 0x1d: Stereo Amp-Out
                      Control: name="Speaker Playback Volume", index=0, device=0
                      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
                
             Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
                      Amp-Out vals: [0x51 0x51]
                      Converter: stream=5, channel=0
                      PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Node 0x04 [Vendor
                 Defined Widget] wcaps 0xf00000: Mono
                      Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
                      Node 0x06 [Audio Output] wcaps 0x211: Stereo Digital
                      Control: name="IEC958 Playback Con Mask", index=0, device=0
                      Control: name="IEC958 Playback Pro Mask", index=0, device=0
                      Control: name="IEC958 Playback Default", index=0, device=0
                      Control: name="IEC958 Playback Switch", index=0, device=0
                      Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
                      Device: name="ALC269VB
        Digital", type="SPDIF", device=1
                      Converter: stream=5, channel=0
                      Digital:
                      Digital category: 0x0
                      IEC Coding Type: 0x0
                      PCM:
                      rates [0x5e0]: 44100 48000 88200 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
                      Node 0x08 [Audio Input] wcaps 0x10011b: Stereo Amp-In
                      Amp-In caps:
                 ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
                      Amp-In vals: [0x8b 0x8b]
                      Converter: stream=0, channel=0
                      SDI-Select: 0
                      PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Connection: 1
                      0x23
                      Node 0x09 [Audio Input] wcaps
        0x10011b: Stereo Amp-In
                      Control: name="Capture Volume", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=0, ofs=0
                      Control: name="Capture Switch", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=0, ofs=0
                      Device: name="ALC269VB Analog", type="Audio", device=0
                      Amp-In caps: ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
                      Amp-In vals: [0x00 0x00]
                      Converter: stream=1, channel=0
                      SDI-Select: 0
                      PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Connection: 1
                      0x22
                   
                   Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
                      Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
                      Control: name="Mic Playback Volume",
        index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=0, ofs=0
                      Control: name="Mic Playback Switch", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=0, ofs=0
                      Control: name="Beep Playback Volume", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=4, ofs=0
                      Control: name="Beep Playback Switch", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=4, ofs=0
                      Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
                      Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80
                      0x80]
                      Connection: 5
                      0x18 0x19 0x1a 0x1b 0x1d
                      Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
                      Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-In vals: [0x00 0x00] [0x80 0x80]
                     
                 Connection:
        2
                      0x02 0x0b
                      Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
                      Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-In vals: [0x00 0x00] [0x80 0x80]
                      Connection: 2
                      0x03 0x0b
                      Node 0x0e [Vendor Defined Widget] wcaps 0xf00000: Mono
                      Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono Amp-In
                      Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-In vals: [0x00] [0x80]
                      Connection: 2
                      0x02 0x0b
                      Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
                      Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
                      Node 0x12 [Pin Complex] wcaps 0x40000b: Stereo Amp-In
                      Control: name="Internal Mic Boost Volume", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=0, ofs=0
           
                  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
                      Amp-In vals: [0x00 0x00]
                      Pincap 0x00000020: IN
                      Pin
                 Default 0x99a30930: [Fixed] Mic at Int ATAPI
                      Conn = ATAPI, Color = Unknown
                      DefAssociation = 0x3, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x20: IN
                      Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
                      Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
                      Control: name="Speaker Playback Switch", index=0, device=0
                      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x00 0x00]
                      Pincap 0x00010014: OUT EAPD Detect
                      EAPD 0x2: EAPD
                      Pin Default 0x99130110: [Fixed] Speaker at Int ATAPI
               
              Conn = ATAPI, Color = Unknown
                      DefAssociation = 0x1, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x40: OUT
                      Unsolicited: tag=00, enabled=0
                      Connection: 2
                      0x0c 0x0d*
                      Node 0x15 [Vendor Defined Widget] wcaps 0xf00000: Mono
                      Node 0x16
                 [Vendor Defined Widget] wcaps 0xf00000: Mono
                      Node 0x17 [Pin Complex] wcaps 0x40010c: Mono Amp-Out
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x80]
                      Pincap 0x00000010: OUT
                      Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
                      Conn = 1/8, Color = Black
                      DefAssociation = 0xf, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x00:
                      Connection: 1
                      0x0f
                     
        Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
                      Control: name="Mic Boost Volume", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=0, ofs=0
                      Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
                      Amp-In vals: [0x00 0x00]
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x80 0x80]
                      Pincap 0x00001734: IN OUT Detect
                      Vref caps: HIZ 50 GRD 80
                      Pin Default 0x03a19840: [Jack] Mic at
                 Ext Left
                      Conn = 1/8, Color = Pink
                      DefAssociation = 0x4, Sequence = 0x0
                      Pin-ctls: 0x24: IN VREF_80
                      Unsolicited: tag=02, enabled=1
                      Connection: 1
                      0x0d
                      Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo Amp-In
                      Amp-In caps: ofs=0x00, nsteps=0x03,
        stepsize=0x2f, mute=0
                      Amp-In vals: [0x00 0x00]
                      Pincap 0x00001724: IN Detect
                      Vref caps: HIZ 50 GRD 80
                      Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
                      Conn = 1/8, Color = Black
                      DefAssociation = 0xf, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x20: IN VREF_HIZ
                      Unsolicited: tag=00, enabled=0
                      Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
                      Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
                      Amp-In vals: [0x00 0x00]
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x80 0x80]
                      Pincap
                 0x0000003c: IN OUT HP Detect
                      Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
                      Conn = 1/8, Color = Black
                     
        DefAssociation = 0xf, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x20: IN
                      Unsolicited: tag=00, enabled=0
                      Connection: 2
                      0x0c* 0x0d
                      Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
                      Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f, mute=0
                      Amp-In vals: [0x00 0x00]
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x80 0x80]
                      Pincap 0x00000034: IN OUT Detect
                      Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
                      Conn = 1/8, Color = Black
                      DefAssociation = 0xf, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x20: IN
                      Unsolicited: tag=00, enabled=0
                      Connection: 2
                      0x0c* 0x0d
                      Node 0x1c
        [Vendor Defined Widget] wcaps 0xf00000: Mono
                  
                    Node 0x1d [Pin Complex] wcaps 0x400000: Mono
                      Pincap 0x00000020: IN
                      Pin Default 0x4017992d: [N/A] Speaker at Ext N/A
                      Conn = Analog, Color = Pink
                      DefAssociation = 0x2, Sequence = 0xd
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x20: IN
                      Node 0x1e [Pin Complex] wcaps 0x400381: Stereo Digital
                      Pincap 0x00000014: OUT Detect
                      Pin Default 0x03451120: [Jack] SPDIF Out at Ext Left
                      Conn = Optical, Color = Black
                      DefAssociation = 0x2, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x40: OUT
                      Unsolicited: tag=00, enabled=0
                      Connection: 1
                      0x06
                      Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
                      Node 0x20
        [Vendor Defined Widget] wcaps 0xf00040: Mono
                      Processing caps: benign=0, ncoeff=25
                      Node 0x21 [Pin Complex] wcaps 0x40018d: Stereo Amp-Out
                      Control: name="Headphone Playback Switch", index=0, device=0
                    
                  ControlAmp: chs=3, dir=Out, idx=0, ofs=0
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x80 0x80]
                      Pincap 0x0000001c: OUT HP Detect
                      Pin Default 0x0321101f: [Jack] HP Out at Ext Left
                      Conn = 1/8, Color = Black
                      DefAssociation = 0x1, Sequence = 0xf
                      Pin-ctls: 0xc0: OUT HP
                      Unsolicited: tag=01, enabled=1
                      Connection: 2
                      0x0c* 0x0d
                      Node 0x22 [Audio Selector] wcaps 0x30010b: Stereo Amp-In
                      Amp-In caps: N/A
                      Amp-In vals: [0x00 0x00] [0x00 0x00]
        [0x00 0x00] [0x00 0x00] [0x00
                      0x00] [0x00 0x00] [0x00 0x00]
                      Connection: 7
                      0x18 0x19 0x1a 0x1b 0x1d 0x0b 0x12*
                      Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
                      Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80
                      0x80] [0x80 0x80]
                      Connection: 6
                      0x18 0x19 0x1a 0x1b 0x1d 0x0b
                      Codec: Nvidia Generic
                      Address: 0
                      AFG Function Id: 0x1 (unsol 0)
                      Vendor Id: 0x10de000a
                      Subsystem Id: 0x10de0101
                      Revision Id: 0x100100
                      No Modem Function Group found
                      Default PCM:
                      rates [0x0]:
                      bits [0x0]:
                      formats [0x0]:
                      Default Amp-In caps: N/A
         
                    Default Amp-Out caps: N/A
                      State of AFG node 0x01:
                      Power states: D0 D1 D2 D3
                      Power: setting=D0, actual=D0
                      GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
                      Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
                      Control: name="IEC958 Playback Con Mask", index=0, device=0
                      Control: name="IEC958 Playback Pro Mask", index=0, device=0
                      Control: name="IEC958 Playback Default", index=0, device=0
                      Control: name="IEC958 Playback Switch", index=0, device=0
                      Device: name="Generic Digital",
                 type="HDMI", device=3
                      Converter: stream=0, channel=0
                      Digital: Enabled
                      Digital category: 0x0
                      IEC Coding Type: 0x0
                      PCM:
                      rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
                      bits [0xe]: 16 20 24
                      formats [0x5]: PCM AC3
                      Unsolicited: tag=00, enabled=0
                      Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
                      Pincap 0x09000094: OUT Detect HBR HDMI DP
                      Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
                      Conn = Digital, Color = Unknown
                      DefAssociation = 0x1, Sequence = 0x0
                      Pin-ctls: 0x40: OUT
                      Unsolicited: tag=01, enabled=1
                      Connection: 1
                      0x04
                      Codec: Nvidia Generic
                      Address: 1
                      AFG Function Id: 0x1 (unsol 0)
                      Vendor Id: 0x10de000a
                      Subsystem Id: 0x10de0101
                      Revision Id: 0x100100
                      No Modem Function Group found
                      Default PCM:
                     
                 rates [0x0]:
                      bits
        [0x0]:
                      formats [0x0]:
                      Default Amp-In caps: N/A
                      Default Amp-Out caps: N/A
                      State of AFG node 0x01:
                      Power states: D0 D1 D2 D3
                      Power: setting=D0, actual=D0
                      GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
                      Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
                      Control: name="IEC958 Playback Con Mask", index=1, device=0
                      Control: name="IEC958 Playback Pro Mask", index=1, device=0
                      Control: name="IEC958 Playback Default", index=1, device=0
                      Control: name="IEC958 Playback Switch", index=1, device=0
                      Device: name="Generic Digital", type="HDMI", device=7
                      Converter: stream=0, channel=0
                      Digital: Enabled
                      Digital category: 0x0
                      IEC Coding Type: 0x0
                      PCM:
                      rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
                      bits [0xe]: 16 20 24
                      formats [0x5]: PCM AC3
                 
                     Unsolicited: tag=00, enabled=0
                      Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
                      Pincap 0x09000094: OUT Detect HBR HDMI DP
                      Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
                      Conn = Digital, Color = Unknown
                      DefAssociation = 0x1, Sequence = 0x0
                      Pin-ctls: 0x40: OUT
                      Unsolicited: tag=01, enabled=1
                      Connection: 1
                      0x04
                      Codec: Nvidia Generic
                      Address: 2
                      AFG Function Id: 0x1 (unsol 0)
                      Vendor Id: 0x10de000a
                      Subsystem Id: 0x10de0101
                      Revision Id: 0x100100
                      No Modem Function Group found
              
               Default PCM:
                      rates [0x0]:
                      bits [0x0]:
                      formats [0x0]:
                      Default Amp-In caps: N/A
                      Default Amp-Out caps: N/A
                      State of AFG node 0x01:
                      Power states: D0 D1 D2 D3
                      Power: setting=D0, actual=D0
                      GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
                      Node
                 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
                      Control: name="IEC958 Playback Con Mask", index=2, device=0
                      Control: name="IEC958 Playback Pro Mask", index=2, device=0
                      Control: name="IEC958 Playback Default", index=2, device=0
                      Control: name="IEC958 Playback Switch", index=2, device=0
                      Device: name="Generic Digital", type="HDMI", device=8
                      Converter: stream=0, channel=0
                      Digital: Enabled
                     
        Digital category: 0x0
                      IEC Coding Type: 0x0
                      PCM:
                      rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
                      bits [0xe]: 16 20 24
                      formats [0x5]: PCM AC3
                      Unsolicited: tag=00, enabled=0
                      Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
                      Pincap 0x09000094: OUT Detect HBR HDMI DP
                      Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
                      Conn = Digital, Color = Unknown
                      DefAssociation = 0x1, Sequence =
                 0x0
                      Pin-ctls: 0x40: OUT
                      Unsolicited: tag=01, enabled=1
                      Connection: 1
                      0x04
                      Codec: Nvidia Generic
                      Address: 3
#7 lore raw

It's exactly the same usage pattern!

And the same hardware, as already explained, well the same audio interface, not same computer...

Guido

Il 22 marzo 2019 11:12:57 CET, Takashi Iwai <[email protected]> ha scritto:

Quoted 785 lines
Quoted 4 lines · Guido Trentalancia

Hello Takashi,

I am using the latest version of everything, including kernel and

ALSA

Quoted 3 lines

userspace library / tools.

The other user has exactly the same hardware and has tested same

firmware

Quoted 3 lines

(both 1.36 and latest 1.46), but with Fedora 29 and it is working.

Perhaps Fedora 29 has a different version of the ALSA library, I will

find

Quoted 1 line

out, try to downgrade, test again and report back.

Yes, that'd be really helpful. If aligning the software doesn't fix the issue, it's either because of the hardware or the difference of usage patterns.

thanks,

Takashi

Quoted 4 lines

Guido

Il 22 marzo 2019 10:53:11 CET, Takashi Iwai <[email protected]> ha

scritto:

Quoted 11 lines

On Fri, 22 Mar 2019 10:17:17 +0100,
Guido Trentalancia wrote:

It cannot be a firmware bug, as you say, because:

- it does NOT happen on Windows!

It doesn't mean that the device behaves correctly as advertised.

- it does NOT even always happen on Linux: other users (with

different kernel

Quoted 2 lines

/ ALSA library) are not experiencing the same problem;
- it happens with several firmware versions, including the

latest one (1.36

Quoted 3 lines

and 1.46).

So it is either a bug in ALSA kernel driver, USB sound

driver (more likely) or

Quoted 3 lines

ALSA library.

Now, you are in charge of the USB sound driver, can you

please double check??

Quoted 2 lines

If it doesn't happen for other users with the very same device,

you'd

Quoted 1 line

need to identify what's the difference between your case and

others.

Quoted 1 line

For example, if the difference of alsa-lib matters, you can try

the

Quoted 5 lines

very same condition.

This kind of bug can't be easily debugged without the actual hardware, unfortunately.

Quoted 7 lines

Takashi

Regards,

Guido

Il 22 marzo 2019 09:55:52 CET, Takashi Iwai <[email protected]>

ha scritto:

Quoted 5 lines

On Thu, 21 Mar 2019 23:27:46 +0100,
Guido Trentalancia wrote:

I wonder if this might be due to a bug in the "USB

Audio Driver for Alsa"?

Quoted 2 lines

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/sound/usb

Quoted 2 lines

https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/tree/sound/usb

Quoted 4 lines

More likely a buggy firmware of your USB audio device :)

From the driver implementation POV, both audio and MIDI

devices are

Quoted 1 line

handled by individual endpoints, hence they shouldn't

conflict.

Quoted 2 lines

Or another possibility would be some USB host side issue

like the

Quoted 10 lines

bandwidth. But
it's a MIDI stream that is very low data rate, so this sounds also unlikely...

thanks,

Takashi

Guido

Quoted 7 lines

On the 20th of March 2019 at 21.47 Guido
Trentalancia
<[email protected] wrote:

Hello.

I am hitting a very serious bug (ALSA kernel

driver or ALSA library)

Quoted 3 lines

when using the Hercules P32 DJ audio interface.

The sound is severely distorted during MIDI

transfers.

Quoted 10 lines

To reproduce:

+ start playing something in a first console:

console1# AUDIODEV=hw:2,0 play audio.wav

+ the audio plays fine

+ now start "amidi" in a second console while

the above track is still

Quoted 6 lines

playing

console2#
amidi -p hw:2,0,0 -d

+ the sound is now severely distorted

(basically noise, with some

Quoted 2 lines

hard-
to-distinguish features resembling the

original track) until "amidi"

Quoted 4 lines

is
interrupted !

Kernel versions tested: from 4.12 up to 5.0.2

(latest).

Quoted 2 lines

NOTES: Always reproducible. Same device is

working fine on Windows.

Quoted 2 lines

The output from alsa-info.sh and lsusb -v

follows.

Quoted 79 lines
                     
                      upload=true&script=true&cardinfo=
                      !!################################
                      !!ALSA Information Script v 0.4.64
                      !!################################
                     
                      !!Script ran on: Wed Mar 20 20:44:36 UTC 2019
                     
                      !!Linux Distribution
                      !!------------------
                     
                      !!DMI Information
                     
        !!---------------
                     
                      Manufacturer: Acer
                      Product Name: Aspire 5745G
                    
                  Product Version: V1.19
                      Firmware Version: V1.19
                      Board Vendor: Acer
                      Board Name: JV51_CP
                     
                      !!ACPI Device Status Information
                      !!---------------
                     
                      /sys/bus/acpi/devices/PNP0103:00/status 15
                      /sys/bus/acpi/devices/PNP0C0A:00/status 31
                      /sys/bus/acpi/devices/PNP0C0F:00/status 9
                      /sys/bus/acpi/devices/PNP0C0F:01/status 9
                      /sys/bus/acpi/devices/PNP0C0F:02/status 9
                      /sys/bus/acpi/devices/PNP0C0F:03/status 9
                      /sys/bus/acpi/devices/PNP0C0F:04/status 9
                      /sys/bus/acpi/devices/PNP0C0F:05/status 9
                      /sys/bus/acpi/devices/PNP0C0F:06/status 9
                     
        /sys/bus/acpi/devices/PNP0C0F:07/status 9
                     
                      !!Kernel Information
                      !!------------------
                     
                      Kernel release: 5.0.2
                      Operating System: GNU/Linux
                      Architecture: x86_64
                      Processor: unknown
                      SMP Enabled: Yes
                     
                      !!ALSA
                 Version
                      !!------------
                     
                      Driver version: k5.0.2
                      Library version: 1.1.8
                      Utilities version: 1.1.8
                     
                      !!Loaded ALSA modules
                      !!-------------------
                     
                      snd_hda_intel
                      snd_hda_intel
                      snd_usb_audio
                     
                      !!Sound Servers on this system
                      !!----------------------------

        Pulseaudio:
                      Installed - Yes (/usr/bin/pulseaudio)
                      Running - No
                     
                      Jack:
                      Installed - Yes (/usr/bin/jackd)
                      Running - No
                     
                      !!Soundcards recognised by ALSA
                      !!-----------------------------
                     
                      0 [MID ]: HDA-Intel - HDA Intel MID
                      HDA Intel MID at 0xb7100000 irq 27
                      1 [NVidia ]: HDA-Intel - HDA NVidia
Quoted 9 lines
                      HDA NVidia at 0xb3000000 irq 16
                      2 [DJ ]: USB-Audio - Hercules P32 DJ
                      Guillemot Corporation Hercules P32 DJ at usb-
                     
                 0000:00:1d.0-1.4, full speed
                     
                      !!PCI Soundcards installed in the system
                      !!

----------------------------------------------------------------------

Quoted 2 lines

00:1b.0 Audio device: Intel Corporation 5

Series/3400 Series Chipset

Quoted 3 lines

High Definition Audio (rev 05)
01:00.1 Audio device: NVIDIA Corporation GT216

HDMI Audio Controller

Quoted 3 lines

(rev a1)

!!Advanced information - PCI

Vendor/Device/Subsystem ID's

Quoted 2 lines
                      !!

----------------------------------------------------------------------

Quoted 14 lines
                      00:1b.0 0403: 8086:3b56 (rev 05)
                     
                      Subsystem: 1025:035b
                      --
                      01:00.1 0403: 10de:0be2 (rev a1)
                      Subsystem: 1025:035a
                     
                      !!Loaded sound module options
                      !!---------------------------
                     
                      !!Module: snd_hda_intel
                      align_buffer_size : -1
                      bdl_pos_adj :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 4 lines
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      beep_mode :

N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N

Quoted 2 lines

enable :

Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y

Quoted 3 lines
                      enable_msi : -1
                      id :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 2 lines
                      ll),(null)
                      index :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 3 lines
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      jackpoll_ms :

0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

Quoted 2 lines

model :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 2 lines

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 4 lines
                      ll),(null)
                      patch :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 3 lines

ll),(null)
pm_blacklist : Y
position_fix :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 1 line

1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1

Quoted 3 lines

power_save : 0
power_save_controller : Y
probe_mask :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 4 lines
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      probe_only :

0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

Quoted 6 lines
                      single_cmd : -1
                      snoop : -1
                     
                      !!Module: snd_hda_intel
                      align_buffer_size : -1
                      bdl_pos_adj :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 4 lines
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      beep_mode :

N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N

Quoted 2 lines

enable :

Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y

Quoted 3 lines
                      enable_msi : -1
                      id :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 3 lines
                      ll),(null)
              
               index :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 3 lines
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      jackpoll_ms :

0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

Quoted 2 lines

model :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 4 lines
                      ll),(null)
                      patch :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 5 lines
                      ll),(null)
                      pm_blacklist : Y
                      position_fix :
        -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1

Quoted 3 lines

power_save : 0
power_save_controller : Y
probe_mask :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 3 lines
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      probe_only :

0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

Quoted 7 lines
                      single_cmd : -1
                      snoop : -1
                     
                      !!Module: snd_usb_audio
                      autoclock : Y
                      device_setup :

0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

Quoted 3 lines

enable :

Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y

Quoted 2 lines

id :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 2 lines

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 3 lines

ll),(null)
ignore_ctl_error : N
index :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 2 lines
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      pid :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 3 lines
                      1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                      quirk_alias :

(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(

Quoted 1 line

null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(n

Quoted 1 line

ull),(null),(null),(null),(null),(null),(null),(null),(null),(null),(nu

Quoted 4 lines

ll),(null)
use_vmalloc : Y
vid :

-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-

Quoted 18 lines
                 
            1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
                     
                      !!HDA-Intel Codec information
                      !!---------------------------
                      --startcollapse--
                     
                      Codec: Realtek ALC269VB
                      Address: 0
                      AFG Function Id: 0x1 (unsol 1)
                      Vendor Id: 0x10ec0269
                      Subsystem Id: 0x1025035b
                      Revision Id: 0x100100
                      No Modem Function Group found
                      Default PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
Quoted 8 lines
                      Default Amp-In caps: N/A
                      Default Amp-Out caps: N/A
                      State of AFG node 0x01:
                      Power states: D0 D1 D2 D3 CLKSTOP EPSS
                      Power: setting=D0, actual=D0
                      GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
              
               IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0,

unsol=0

Quoted 1 line
                      IO[1]: enable=0, dir=0, wake=0, sticky=0,

data=0, unsol=0

Quoted 3 lines

Node 0x02 [Audio Output] wcaps 0x1d: Stereo Amp-Out
Control: name="Headphone Playback Volume",

index=0, device=0

Quoted 2 lines
                      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
                      Device: name="ALC269VB Analog", type="Audio",

device=0

Quoted 1 line
                      Amp-Out caps: ofs=0x57, nsteps=0x57,

stepsize=0x02, mute=0

Quoted 7 lines
                      Amp-Out vals: [0x00 0x00]
                      Converter: stream=5, channel=0
                      PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Node 0x03 [Audio Output] wcaps 0x1d: Stereo

Amp-Out

Quoted 1 line

Control: name="Speaker Playback Volume",

index=0, device=0

Quoted 3 lines
                      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
                
             Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02,

mute=0

Quoted 9 lines
                      Amp-Out vals: [0x51 0x51]
                      Converter: stream=5, channel=0
                      PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Node 0x04 [Vendor
                 Defined Widget] wcaps 0xf00000: Mono
                      Node 0x05 [Vendor Defined Widget] wcaps

0xf00000: Mono

Quoted 1 line
                      Node 0x06 [Audio Output] wcaps 0x211: Stereo

Digital

Quoted 1 line

Control: name="IEC958 Playback Con Mask",

index=0, device=0

Quoted 1 line

Control: name="IEC958 Playback Pro Mask",

index=0, device=0

Quoted 1 line

Control: name="IEC958 Playback Default",

index=0, device=0

Quoted 1 line

Control: name="IEC958 Playback Switch",

index=0, device=0

Quoted 1 line

Control: name="IEC958 Default PCM Playback

Switch", index=0, device=0

Quoted 11 lines
                      Device: name="ALC269VB
        Digital", type="SPDIF", device=1
                      Converter: stream=5, channel=0
                      Digital:
                      Digital category: 0x0
                      IEC Coding Type: 0x0
                      PCM:
                      rates [0x5e0]: 44100 48000 88200 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Node 0x07 [Vendor Defined Widget] wcaps

0xf00000: Mono

Quoted 1 line
                      Node 0x08 [Audio Input] wcaps 0x10011b: Stereo

Amp-In

Quoted 6 lines
                      Amp-In caps:
                 ofs=0x0b, nsteps=0x1f, stepsize=0x05, mute=1
                      Amp-In vals: [0x8b 0x8b]
                      Converter: stream=0, channel=0
                      SDI-Select: 0
                      PCM:
Quoted 8 lines
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Connection: 1
                      0x23
                      Node 0x09 [Audio Input] wcaps
        0x10011b: Stereo Amp-In
                      Control: name="Capture Volume", index=0,

device=0

Quoted 2 lines

ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Capture Switch", index=0,

device=0

Quoted 2 lines
                      ControlAmp: chs=3, dir=In, idx=0, ofs=0
                      Device: name="ALC269VB Analog", type="Audio",

device=0

Quoted 1 line
                      Amp-In caps: ofs=0x0b, nsteps=0x1f,

stepsize=0x05, mute=1

Quoted 11 lines
                      Amp-In vals: [0x00 0x00]
                      Converter: stream=1, channel=0
                      SDI-Select: 0
                      PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Connection: 1
                      0x22
                   
                   Node 0x0a [Vendor Defined Widget] wcaps 0xf00000:

Mono

Quoted 1 line
                      Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo

Amp-In

Quoted 4 lines

Control: name="Mic Playback Volume",
index=0, device=0
ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Mic Playback Switch", index=0,

device=0

Quoted 2 lines

ControlAmp: chs=3, dir=In, idx=0, ofs=0
Control: name="Beep Playback Volume", index=0,

device=0

Quoted 2 lines

ControlAmp: chs=3, dir=In, idx=4, ofs=0
Control: name="Beep Playback Switch", index=0,

device=0

Quoted 2 lines
                      ControlAmp: chs=3, dir=In, idx=4, ofs=0
                      Amp-In caps: ofs=0x17, nsteps=0x1f,

stepsize=0x05, mute=1

Quoted 1 line
                      Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80

0x80] [0x80 0x80] [0x80

Quoted 4 lines
                      0x80]
                      Connection: 5
                      0x18 0x19 0x1a 0x1b 0x1d
                      Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo

Amp-In

Quoted 1 line
                      Amp-In caps: ofs=0x00, nsteps=0x00,

stepsize=0x00, mute=1

Quoted 6 lines
                      Amp-In vals: [0x00 0x00] [0x80 0x80]
                     
                 Connection:
        2
                      0x02 0x0b
                      Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo

Amp-In

Quoted 1 line
                      Amp-In caps: ofs=0x00, nsteps=0x00,

stepsize=0x00, mute=1

Quoted 4 lines
                      Amp-In vals: [0x00 0x00] [0x80 0x80]
                      Connection: 2
                      0x03 0x0b
                      Node 0x0e [Vendor Defined Widget] wcaps

0xf00000: Mono

Quoted 1 line
                      Node 0x0f [Audio Mixer] wcaps 0x20010a: Mono

Amp-In

Quoted 1 line
                      Amp-In caps: ofs=0x00, nsteps=0x00,

stepsize=0x00, mute=1

Quoted 4 lines
                      Amp-In vals: [0x00] [0x80]
                      Connection: 2
                      0x02 0x0b
                      Node 0x10 [Vendor Defined Widget] wcaps

0xf00000: Mono

Quoted 1 line
                      Node 0x11 [Vendor Defined Widget] wcaps

0xf00000: Mono

Quoted 1 line
                      Node 0x12 [Pin Complex] wcaps 0x40000b: Stereo

Amp-In

Quoted 1 line

Control: name="Internal Mic Boost Volume",

index=0, device=0

Quoted 3 lines
                      ControlAmp: chs=3, dir=In, idx=0, ofs=0
           
                  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x2f,

mute=0

Quoted 9 lines
                      Amp-In vals: [0x00 0x00]
                      Pincap 0x00000020: IN
                      Pin
                 Default 0x99a30930: [Fixed] Mic at Int ATAPI
                      Conn = ATAPI, Color = Unknown
                      DefAssociation = 0x3, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x20: IN
                      Node 0x13 [Vendor Defined Widget] wcaps

0xf00000: Mono

Quoted 1 line
                      Node 0x14 [Pin Complex] wcaps 0x40018d: Stereo

Amp-Out

Quoted 1 line

Control: name="Speaker Playback Switch",

index=0, device=0

Quoted 2 lines
                      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
                      Amp-Out caps: ofs=0x00, nsteps=0x00,

stepsize=0x00, mute=1

Quoted 4 lines
                      Amp-Out vals: [0x00 0x00]
                      Pincap 0x00010014: OUT EAPD Detect
                      EAPD 0x2: EAPD
                      Pin Default 0x99130110: [Fixed] Speaker at Int

ATAPI

Quoted 9 lines
               
              Conn = ATAPI, Color = Unknown
                      DefAssociation = 0x1, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x40: OUT
                      Unsolicited: tag=00, enabled=0
                      Connection: 2
                      0x0c 0x0d*
                      Node 0x15 [Vendor Defined Widget] wcaps

0xf00000: Mono

Quoted 3 lines
                      Node 0x16
                 [Vendor Defined Widget] wcaps 0xf00000: Mono
                      Node 0x17 [Pin Complex] wcaps 0x40010c: Mono

Amp-Out

Quoted 1 line
                      Amp-Out caps: ofs=0x00, nsteps=0x00,

stepsize=0x00, mute=1

Quoted 3 lines
                      Amp-Out vals: [0x80]
                      Pincap 0x00000010: OUT
                      Pin Default 0x411111f0: [N/A] Speaker at Ext

Rear

Quoted 9 lines
                      Conn = 1/8, Color = Black
                      DefAssociation = 0xf, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x00:
                      Connection: 1
                      0x0f
                     
        Node 0x18 [Pin Complex] wcaps 0x40018f: Stereo Amp-In Amp-Out
                      Control: name="Mic Boost Volume", index=0,

device=0

Quoted 2 lines
                      ControlAmp: chs=3, dir=In, idx=0, ofs=0
                      Amp-In caps: ofs=0x00, nsteps=0x03,

stepsize=0x2f, mute=0

Quoted 2 lines
                      Amp-In vals: [0x00 0x00]
                      Amp-Out caps: ofs=0x00, nsteps=0x00,

stepsize=0x00, mute=1

Quoted 4 lines
                      Amp-Out vals: [0x80 0x80]
                      Pincap 0x00001734: IN OUT Detect
                      Vref caps: HIZ 50 GRD 80
                      Pin Default 0x03a19840: [Jack] Mic at
Quoted 8 lines
                 Ext Left
                      Conn = 1/8, Color = Pink
                      DefAssociation = 0x4, Sequence = 0x0
                      Pin-ctls: 0x24: IN VREF_80
                      Unsolicited: tag=02, enabled=1
                      Connection: 1
                      0x0d
                      Node 0x19 [Pin Complex] wcaps 0x40008b: Stereo

Amp-In

Quoted 6 lines
                      Amp-In caps: ofs=0x00, nsteps=0x03,
        stepsize=0x2f, mute=0
                      Amp-In vals: [0x00 0x00]
                      Pincap 0x00001724: IN Detect
                      Vref caps: HIZ 50 GRD 80
                      Pin Default 0x411111f0: [N/A] Speaker at Ext

Rear

Quoted 6 lines

Conn = 1/8, Color = Black DefAssociation = 0xf, Sequence = 0x0 Misc = NO_PRESENCE
Pin-ctls: 0x20: IN VREF_HIZ
Unsolicited: tag=00, enabled=0
Node 0x1a [Pin Complex] wcaps 0x40018f: Stereo

Amp-In Amp-Out

Quoted 1 line
                      Amp-In caps: ofs=0x00, nsteps=0x03,

stepsize=0x2f, mute=0

Quoted 2 lines
                      Amp-In vals: [0x00 0x00]
                      Amp-Out caps: ofs=0x00, nsteps=0x00,

stepsize=0x00, mute=1

Quoted 4 lines
                      Amp-Out vals: [0x80 0x80]
                      Pincap
                 0x0000003c: IN OUT HP Detect
                      Pin Default 0x411111f0: [N/A] Speaker at Ext

Rear

Quoted 9 lines
                      Conn = 1/8, Color = Black
                     
        DefAssociation = 0xf, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x20: IN
                      Unsolicited: tag=00, enabled=0
                      Connection: 2
                      0x0c* 0x0d
                      Node 0x1b [Pin Complex] wcaps 0x40018f: Stereo

Amp-In Amp-Out

Quoted 1 line
                      Amp-In caps: ofs=0x00, nsteps=0x03,

stepsize=0x2f, mute=0

Quoted 2 lines
                      Amp-In vals: [0x00 0x00]
                      Amp-Out caps: ofs=0x00, nsteps=0x00,

stepsize=0x00, mute=1

Quoted 3 lines
                      Amp-Out vals: [0x80 0x80]
                      Pincap 0x00000034: IN OUT Detect
                      Pin Default 0x411111f0: [N/A] Speaker at Ext

Rear

Quoted 5 lines
                      Conn = 1/8, Color = Black
                      DefAssociation = 0xf, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x20: IN
                      Unsolicited: tag=00, enabled=0
Quoted 8 lines
                      Connection: 2
                      0x0c* 0x0d
                      Node 0x1c
        [Vendor Defined Widget] wcaps 0xf00000: Mono
                  
                    Node 0x1d [Pin Complex] wcaps 0x400000: Mono
                      Pincap 0x00000020: IN
                      Pin Default 0x4017992d: [N/A] Speaker at Ext

N/A

Quoted 5 lines
                      Conn = Analog, Color = Pink
                      DefAssociation = 0x2, Sequence = 0xd
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x20: IN
                      Node 0x1e [Pin Complex] wcaps 0x400381: Stereo

Digital

Quoted 2 lines
                      Pincap 0x00000014: OUT Detect
                      Pin Default 0x03451120: [Jack] SPDIF Out at Ext

Left

Quoted 8 lines
                      Conn = Optical, Color = Black
                      DefAssociation = 0x2, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x40: OUT
                      Unsolicited: tag=00, enabled=0
                      Connection: 1
                      0x06
                      Node 0x1f [Vendor Defined Widget] wcaps

0xf00000: Mono

Quoted 4 lines
                      Node 0x20
        [Vendor Defined Widget] wcaps 0xf00040: Mono
                      Processing caps: benign=0, ncoeff=25
                      Node 0x21 [Pin Complex] wcaps 0x40018d: Stereo

Amp-Out

Quoted 1 line

Control: name="Headphone Playback Switch",

index=0, device=0

Quoted 3 lines
                    
                  ControlAmp: chs=3, dir=Out, idx=0, ofs=0
                      Amp-Out caps: ofs=0x00, nsteps=0x00,

stepsize=0x00, mute=1

Quoted 3 lines
                      Amp-Out vals: [0x80 0x80]
                      Pincap 0x0000001c: OUT HP Detect
                      Pin Default 0x0321101f: [Jack] HP Out at Ext

Left

Quoted 7 lines
                      Conn = 1/8, Color = Black
                      DefAssociation = 0x1, Sequence = 0xf
                      Pin-ctls: 0xc0: OUT HP
                      Unsolicited: tag=01, enabled=1
                      Connection: 2
                      0x0c* 0x0d
                      Node 0x22 [Audio Selector] wcaps 0x30010b:

Stereo Amp-In

Quoted 7 lines
                      Amp-In caps: N/A
                      Amp-In vals: [0x00 0x00] [0x00 0x00]
        [0x00 0x00] [0x00 0x00] [0x00
                      0x00] [0x00 0x00] [0x00 0x00]
                      Connection: 7
                      0x18 0x19 0x1a 0x1b 0x1d 0x0b 0x12*
                      Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo

Amp-In

Quoted 1 line
                      Amp-In caps: ofs=0x00, nsteps=0x00,

stepsize=0x00, mute=1

Quoted 1 line
#8 lore raw
In reply to Takashi Iwai

Hello Takashi.

I have carried out the test that you proposed...

My reply follows your quoted text.

Quoted 13 lines · Takashi Iwai
Quoted 11 lines · Guido Trentalancia

Hello Takashi,

I am using the latest version of everything, including kernel and ALSA
userspace library / tools.

The other user has exactly the same hardware and has tested same firmware
(both 1.36 and latest 1.46), but with Fedora 29 and it is working.

Quoted 7 lines
Quoted 3 lines

Perhaps Fedora 29 has a different version of the ALSA library, I will find
out, try to downgrade, test again and report back.

Yes, that'd be really helpful. If aligning the software doesn't fix the issue, it's either because of the hardware or the difference of usage patterns.

I have tested exactly the same ALSA userspace library and plugins distributed by Fedora 29 and it does NOT work !

As already explained, the usage pattern is exactly the same between me and the user which is not experiencing this severe problem.

Also, the hardware is the same: Hercules P32 DJ (with exactly the same firmware version 1.46 which is the latest).

So, the conclusion is that it must be a kernel bug ! I was expecting this, as already pointed out in previous messages.

Can you please help me fix this bug since you wrote the driver and/or are maintaining it ?

Thanks,

Guido

Quoted 125 lines

thanks,

Takashi

Quoted 121 lines

Guido

Il 22 marzo 2019 10:53:11 CET, Takashi Iwai <[email protected]> ha scritto:

On Fri, 22 Mar 2019 10:17:17 +0100,
Guido Trentalancia wrote:

It cannot be a firmware bug, as you say, because:

- it does NOT happen on Windows!

It doesn't mean that the device behaves correctly as
advertised.

- it does NOT even always happen on Linux: other users
(with different kernel
/ ALSA library) are not experiencing the same problem;
- it happens with several firmware versions, including the
latest one (1.36
and 1.46).

So it is either a bug in ALSA kernel driver, USB sound
driver (more likely) or
ALSA library.

Now, you are in charge of the USB sound driver, can you
please double check??

If it doesn't happen for other users with the very same device,
you'd
need to identify what's the difference between your case and
others.
For example, if the difference of alsa-lib matters, you can try
the
very same condition.

This kind of bug can't be easily debugged without the actual hardware, unfortunately.

Takashi

Regards,

Guido

Il 22 marzo 2019 09:55:52 CET, Takashi Iwai <[email protected]

Quoted 1 line

ha scritto:

On Thu, 21 Mar 2019 23:27:46 +0100,
Guido Trentalancia wrote:

I wonder if this might be due to a bug in the
"USB Audio Driver for Alsa"?

https://git.kernel.org/pub/scm/linux/kernel/git/t
orvalds/linux.git/tree/sound/usb

https://git.kernel.org/pub/scm/linux/kernel/git/t
iwai/sound.git/tree/sound/usb

More likely a buggy firmware of your USB audio device
:)

From the driver implementation POV, both audio and
MIDI devices are
handled by individual endpoints, hence they shouldn't
conflict.

Or another possibility would be some USB host side
issue like the
bandwidth. But
it's a MIDI stream that is very low data rate, so this sounds also unlikely...

thanks,

Takashi

Guido

On the 20th of March 2019 at 21.47 Guido
Trentalancia
<[email protected] wrote:

Hello.

I am hitting a very serious bug (ALSA kernel
driver or ALSA library)
when using the Hercules P32 DJ audio
interface.

The sound is severely distorted during MIDI
transfers.

To reproduce:

+ start playing something in a first
console:

console1# AUDIODEV=hw:2,0 play audio.wav

+ the audio plays fine

+ now start "amidi" in a second console
while the above track is still
playing

console2#
amidi -p hw:2,0,0 -d

+ the sound is now severely distorted
(basically noise, with some
hard-
to-distinguish features resembling the
original track) until "amidi"
is
interrupted !

#9 lore raw
Quoted 2 lines · Guido Trentalancia

Also, the hardware is the same: Hercules P32 DJ (with exactly the same firmware version 1.46 which is the latest).

Are the USB controllers the same (2.0/3.x, OHCI/UHCI/EHCI/xHCI)?

You wrote that "amidi -p hw:2,0,0 -d" causes the problem. As long as no MIDI messages are actually received, the kernel or driver cannot affect what happens on the USB bus; the polling is done entirely by the host controller.

Regards,
Clemens

#10 lore raw
# cat /sys/bus/usb/devices/usb[12]/version 
 2.00
 2.00
# cat /sys/bus/usb/devices/usb[12]/product 
EHCI Host Controller
EHCI Host Controller
# cat /sys/bus/usb/devices/usb[12]/manufacturer 
Linux 5.0.2 ehci_hcd
Linux 5.0.2 ehci_hcd
# cat /sys/bus/usb/devices/usb[12]/speed 
480
480

What other information do you need ?

Do you suggest some particular USB module configuration to try ?

Regards,

Guido

Quoted 17 lines

Il 22 marzo 2019 alle 15.06 Clemens Ladisch <[email protected]> ha scritto:

Quoted 2 lines · Guido Trentalancia

Also, the hardware is the same: Hercules P32 DJ (with exactly the same firmware version 1.46 which is the latest).

Are the USB controllers the same (2.0/3.x, OHCI/UHCI/EHCI/xHCI)?

You wrote that "amidi -p hw:2,0,0 -d" causes the problem. As long as no MIDI messages are actually received, the kernel or driver cannot affect what happens on the USB bus; the polling is done entirely by the host controller.

Regards,
Clemens

#11 lore raw
In reply to Clemens Ladisch

Hello again Clemens.

Quoted 7 lines

Il 22 marzo 2019 alle 15.06 Clemens Ladisch <[email protected]> ha scritto:

Quoted 2 lines · Guido Trentalancia

Also, the hardware is the same: Hercules P32 DJ (with exactly the same firmware version 1.46 which is the latest).

Quoted 6 lines

Are the USB controllers the same (2.0/3.x, OHCI/UHCI/EHCI/xHCI)?

You wrote that "amidi -p hw:2,0,0 -d" causes the problem. As long as no MIDI messages are actually received, the kernel or driver cannot affect what happens on the USB bus; the polling is done entirely by the host controller.

I have double-checked this too and I can now confirm: "amidi -p hw:2,0,0 -d" does not increase the RX/TX (I/O) bytes count in /proc/asound/card2/midi0.

So, what kind of operation does amidi trigger in the kernel which causes the problem ? What does it actually do ?

I saw you wrote the ALSA USB MIDI driver (sound/usb/midi.c). But the MIDI seems to run fine, I can receive (RX) data from the controller fine.

It is the audio part (card.c, pcm.c, clock.c and so on) that is being disturbed by simultaneous MIDI operation !

What do you say ?

Quoted 2 lines

Regards,
Clemens

#12 lore raw
In reply to Guido Trentalancia
Quoted 32 lines · Guido Trentalancia

Hello Takashi.

I have carried out the test that you proposed...

My reply follows your quoted text.

Quoted 13 lines · Takashi Iwai
Quoted 11 lines · Guido Trentalancia

Hello Takashi,

I am using the latest version of everything, including kernel and ALSA
userspace library / tools.

The other user has exactly the same hardware and has tested same firmware
(both 1.36 and latest 1.46), but with Fedora 29 and it is working.

Quoted 7 lines
Quoted 3 lines

Perhaps Fedora 29 has a different version of the ALSA library, I will find
out, try to downgrade, test again and report back.

Yes, that'd be really helpful. If aligning the software doesn't fix the issue, it's either because of the hardware or the difference of usage patterns.

I have tested exactly the same ALSA userspace library and plugins distributed by Fedora 29 and it does NOT work !

Quoted 8 lines

As already explained, the usage pattern is exactly the same between me and the user which is not experiencing this severe problem.

Also, the hardware is the same: Hercules P32 DJ (with exactly the same firmware version 1.46 which is the latest).

So, the conclusion is that it must be a kernel bug ! I was expecting this, as already pointed out in previous messages.

Did you test the very same kernel, too? Without that confirmation, no one can conclude that at all...

If the kernel makes difference, you can try identify which kernel version starts showing the problem, and at best, do git bisection.

thanks,

Takashi

Quoted 133 lines

Can you please help me fix this bug since you wrote the driver and/or are maintaining it ?

Thanks,

Guido

Quoted 125 lines

thanks,

Takashi

Quoted 121 lines

Guido

Il 22 marzo 2019 10:53:11 CET, Takashi Iwai <[email protected]> ha scritto:

On Fri, 22 Mar 2019 10:17:17 +0100,
Guido Trentalancia wrote:

It cannot be a firmware bug, as you say, because:

- it does NOT happen on Windows!

It doesn't mean that the device behaves correctly as
advertised.

- it does NOT even always happen on Linux: other users
(with different kernel
/ ALSA library) are not experiencing the same problem;
- it happens with several firmware versions, including the
latest one (1.36
and 1.46).

So it is either a bug in ALSA kernel driver, USB sound
driver (more likely) or
ALSA library.

Now, you are in charge of the USB sound driver, can you
please double check??

If it doesn't happen for other users with the very same device,
you'd
need to identify what's the difference between your case and
others.
For example, if the difference of alsa-lib matters, you can try
the
very same condition.

This kind of bug can't be easily debugged without the actual hardware, unfortunately.

Takashi

Regards,

Guido

Il 22 marzo 2019 09:55:52 CET, Takashi Iwai <[email protected]

Quoted 1 line

ha scritto:

On Thu, 21 Mar 2019 23:27:46 +0100,
Guido Trentalancia wrote:

I wonder if this might be due to a bug in the
"USB Audio Driver for Alsa"?

https://git.kernel.org/pub/scm/linux/kernel/git/t
orvalds/linux.git/tree/sound/usb

https://git.kernel.org/pub/scm/linux/kernel/git/t
iwai/sound.git/tree/sound/usb

More likely a buggy firmware of your USB audio device
:)

From the driver implementation POV, both audio and
MIDI devices are
handled by individual endpoints, hence they shouldn't
conflict.

Or another possibility would be some USB host side
issue like the
bandwidth. But
it's a MIDI stream that is very low data rate, so this sounds also unlikely...

thanks,

Takashi

Guido

On the 20th of March 2019 at 21.47 Guido
Trentalancia
<[email protected] wrote:

Hello.

I am hitting a very serious bug (ALSA kernel
driver or ALSA library)
when using the Hercules P32 DJ audio
interface.

The sound is severely distorted during MIDI
transfers.

To reproduce:

+ start playing something in a first
console:

console1# AUDIODEV=hw:2,0 play audio.wav

+ the audio plays fine

+ now start "amidi" in a second console
while the above track is still
playing

console2#
amidi -p hw:2,0,0 -d

+ the sound is now severely distorted
(basically noise, with some
hard-
to-distinguish features resembling the
original track) until "amidi"
is
interrupted !

#13 lore raw

As already explained, I have tested the following kernels:

- kernel 5.0.2 -----> BROKEN
- kernel 4.17.10 --> BROKEN
- kernel 4.12.9 ---> BROKEN

So, it's been around for very long.

What do you suggest doing?

I have found reports on the web about similar problems (with other audio interfaces) with kernels>3.0.0.

Regards,

Guido

Il 22 marzo 2019 15:47:36 CET, Takashi Iwai <[email protected]> ha scritto:

Quoted 202 lines
Quoted 20 lines · Guido Trentalancia

Hello Takashi.

I have carried out the test that you proposed...

My reply follows your quoted text.

Quoted 12 lines · Takashi Iwai
Quoted 10 lines · Guido Trentalancia

Hello Takashi,

I am using the latest version of everything, including kernel and ALSA
userspace library / tools.

The other user has exactly the same hardware and has tested same firmware
(both 1.36 and latest 1.46), but with Fedora 29 and it is

working.

Quoted 6 lines
Quoted 6 lines
Quoted 4 lines

Perhaps Fedora 29 has a different version of the ALSA library, I will find
out, try to downgrade, test again and report back.

Yes, that'd be really helpful. If aligning the software doesn't

fix

Quoted 7 lines
Quoted 2 lines

the issue, it's either because of the hardware or the difference of usage patterns.

I have tested exactly the same ALSA userspace library and plugins distributed by Fedora 29 and it does NOT work !

As already explained, the usage pattern is exactly the same between

me

Quoted 3 lines

and the user which is not experiencing this severe problem.

Also, the hardware is the same: Hercules P32 DJ (with exactly the

same

Quoted 4 lines

firmware version 1.46 which is the latest).

So, the conclusion is that it must be a kernel bug ! I was expecting this, as already pointed out in previous messages.

Did you test the very same kernel, too? Without that confirmation, no one can conclude that at all...

If the kernel makes difference, you can try identify which kernel version starts showing the problem, and at best, do git bisection.

thanks,

Takashi

Quoted 31 lines

Can you please help me fix this bug since you wrote the driver and/or are maintaining it ?

Thanks,

Guido

Quoted 24 lines

thanks,

Takashi

Quoted 20 lines

Guido

Il 22 marzo 2019 10:53:11 CET, Takashi Iwai <[email protected]> ha scritto:

On Fri, 22 Mar 2019 10:17:17 +0100,
Guido Trentalancia wrote:

It cannot be a firmware bug, as you say, because:

- it does NOT happen on Windows!

It doesn't mean that the device behaves correctly as
advertised.

- it does NOT even always happen on Linux: other users
(with different kernel
/ ALSA library) are not experiencing the same problem;
- it happens with several firmware versions, including

the

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

latest one (1.36
and 1.46).

So it is either a bug in ALSA kernel driver, USB sound
driver (more likely) or
ALSA library.

Now, you are in charge of the USB sound driver, can you
please double check??

If it doesn't happen for other users with the very same

device,

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

you'd
need to identify what's the difference between your case and
others.
For example, if the difference of alsa-lib matters, you can

try

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

the
very same condition.

This kind of bug can't be easily debugged without the actual hardware, unfortunately.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
    Takashi

         Regards,
         
         Guido
         
         Il 22 marzo 2019 09:55:52 CET, Takashi Iwai

<[email protected]

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 1 line

ha scritto:

On Thu, 21 Mar 2019 23:27:46 +0100,
Guido Trentalancia wrote:

I wonder if this might be due to a bug in the
"USB Audio Driver for Alsa"?

https://git.kernel.org/pub/scm/linux/kernel/git/t

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

orvalds/linux.git/tree/sound/usb

https://git.kernel.org/pub/scm/linux/kernel/git/t

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

iwai/sound.git/tree/sound/usb

More likely a buggy firmware of your USB audio

device

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

:)

From the driver implementation POV, both audio and
MIDI devices are
handled by individual endpoints, hence they

shouldn't

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

conflict.

Or another possibility would be some USB host side
issue like the
bandwidth. But
it's a MIDI stream that is very low data rate, so

this

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

sounds also unlikely...

thanks,

Takashi

Guido

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

On the 20th of March 2019 at 21.47 Guido
Trentalancia
<[email protected] wrote:

Hello.

I am hitting a very serious bug (ALSA

kernel

Quoted 33 lines
Quoted 32 lines
Quoted 32 lines

driver or ALSA library)
when using the Hercules P32 DJ audio
interface.

The sound is severely distorted during MIDI
transfers.

To reproduce:

+ start playing something in a first
console:

console1# AUDIODEV=hw:2,0 play audio.wav

+ the audio plays fine

+ now start "amidi" in a second console
while the above track is still
playing

console2#
amidi -p hw:2,0,0 -d

+ the sound is now severely distorted
(basically noise, with some
hard-
to-distinguish features resembling the
original track) until "amidi"
is
interrupted !

#14 lore raw
Quoted 10 lines · Guido Trentalancia

As already explained, I have tested the following kernels:

- kernel 5.0.2 -----> BROKEN
- kernel 4.17.10 --> BROKEN
- kernel 4.12.9 ---> BROKEN

So, it's been around for very long.

What do you suggest doing?

But which kernel is used for another user who can use without the problem? I suppose they use the recent kernel with Fedora?

Quoted 2 lines

I have found reports on the web about similar problems (with other audio interfaces) with kernels>3.0.0.

Such a regression should have been reported earlier, otherwise it becomes more and more difficult to catch up...

thanks,

Takashi

Quoted 194 lines

Regards,

Guido

Il 22 marzo 2019 15:47:36 CET, Takashi Iwai <[email protected]> ha scritto:

On Fri, 22 Mar 2019 14:44:48 +0100,
Guido Trentalancia wrote:

Hello Takashi.

I have carried out the test that you proposed...

My reply follows your quoted text.

On Fri, 22/03/2019 at 11.12 +0100, Takashi Iwai wrote:
On Fri, 22 Mar 2019 11:04:01 +0100, Guido Trentalancia wrote:

Hello Takashi,

I am using the latest version of everything, including kernel and ALSA
userspace library / tools.

The other user has exactly the same hardware and has tested same firmware
(both 1.36 and latest
1.46), but with Fedora 29 and it is working.

Perhaps Fedora 29 has a different version of the ALSA library, I will find
out, try to downgrade, test again and report back.

Yes, that'd be really helpful. If aligning the software doesn't fix the issue, it's either because of the hardware or the difference of usage patterns.

I have tested exactly the same ALSA userspace library and plugins distributed by Fedora 29 and it does NOT work !

As already explained, the usage pattern is exactly the same between me and the user which is not experiencing this severe problem.

Also, the hardware is the same: Hercules P32 DJ (with exactly the same firmware version 1.46 which is the latest).

So, the conclusion is that it must be a kernel bug ! I was expecting this, as already pointed out in previous messages.

Did you test the
very same kernel, too? Without that confirmation, no one can conclude that at all...

If the kernel makes difference, you can try identify which kernel version starts showing the problem, and at best, do git bisection.

thanks,

Takashi

Can you please help me fix this bug since you wrote the driver and/or are maintaining it ?

Thanks,

Guido

thanks,

Takashi

Guido

Il 22 marzo 2019 10:53:11 CET, Takashi Iwai <[email protected]> ha scritto:

On Fri, 22 Mar 2019
10:17:17 +0100,
Guido Trentalancia wrote:

It cannot be a firmware bug, as you say, because:

- it does NOT happen on Windows!

It doesn't mean that the device behaves correctly as
advertised.

- it does NOT even always happen on Linux: other users
(with different kernel
/ ALSA library) are not experiencing the same problem;
- it happens with several firmware versions, including the
latest one (1.36
and 1.46).

So it is either a bug in ALSA kernel driver, USB sound
driver (more likely) or
ALSA library.

Now, you are in charge of the USB sound driver, can you
please double check??

If it doesn't happen for other users with the very same device,
you'd
need to identify what's the difference
between your case and
others.
For example, if the difference of alsa-lib matters, you can try
the
very same condition.

This kind of bug can't be easily debugged without the actual hardware, unfortunately.

Takashi

Regards,

Guido

Il 22 marzo 2019 09:55:52 CET, Takashi Iwai <[email protected]
ha scritto:

On Thu, 21 Mar 2019 23:27:46 +0100, Guido Trentalancia wrote:

I wonder if this might be due to a bug in the
"USB Audio Driver for Alsa"?

https://git.kernel.org/pub/scm/linux/kernel/git/t
orvalds/linux.git/tree/sound/usb

https://git.kernel.org/pub/scm/linux/kernel/git/t
iwai/sound.git/tree/sound/usb

More likely a buggy firmware of your USB audio device
:)

From the driver implementation POV, both audio and
MIDI devices are
handled by individual endpoints, hence they shouldn't
conflict.

Or another possibility would be some USB host side
issue like the
bandwidth. But
it's a MIDI stream that is very low data rate, so this sounds also unlikely...

thanks,

Takashi

Guido

On the 20th of March 2019 at 21.47 Guido
Trentalancia
<[email protected] wrote:

Hello.

I am hitting a very serious bug (ALSA kernel
driver or ALSA library)
when using the Hercules P32 DJ audio
interface.

The sound is severely distorted during MIDI
transfers.

To reproduce:

+ start playing something in a first
console:

console1# AUDIODEV=hw:2,0 play audio.wav

+ the audio plays fine

+ now start "amidi" in a second console
while the above track is still
playing

console2#
amidi -p hw:2,0,0 -d

+ the sound is now severely distorted
(basically noise, with some
hard-
to-distinguish features resembling the
original track) until "amidi"
is
interrupted !

#15 lore raw

I suppose the Fedora 29 kernels are included in the range I tested as broken, i.e. 4.12 -- 5.0.

So, there is something triggering it on my system and not the other, maybe the USB system as pointed out by Clemens.

I'll make some research on the two USB systems...

I would also like to try USB Audio driver from kernel 3.0.1.

What else do you suggest?

Guido

Il 22 marzo 2019 15:58:23 CET, Takashi Iwai <[email protected]> ha scritto:

Quoted 264 lines
Quoted 10 lines · Guido Trentalancia

As already explained, I have tested the following kernels:

- kernel 5.0.2 -----> BROKEN
- kernel 4.17.10 --> BROKEN
- kernel 4.12.9 ---> BROKEN

So, it's been around for very long.

What do you suggest doing?

But which kernel is used for another user who can use without the problem? I suppose they use the recent kernel with Fedora?

Quoted 1 line

I have found reports on the web about similar problems (with other

audio

Quoted 1 line

interfaces) with kernels>3.0.0.

Such a regression should have been reported earlier, otherwise it becomes more and more difficult to catch up...

thanks,

Takashi

Quoted 5 lines

Regards,

Guido

Il 22 marzo 2019 15:47:36 CET, Takashi Iwai <[email protected]> ha

scritto:

Quoted 10 lines

On Fri, 22 Mar 2019 14:44:48 +0100,
Guido Trentalancia wrote:

Hello Takashi.

I have carried out the test that you proposed...

My reply follows your quoted text.

Quoted 7 lines

On Fri, 22/03/2019 at 11.12 +0100, Takashi Iwai wrote:
On Fri, 22 Mar 2019 11:04:01 +0100, Guido Trentalancia wrote:

Hello Takashi,

I am using the latest version of everything,

including kernel and

Quoted 4 lines

ALSA
userspace library / tools.

The other user has exactly the same hardware and has

tested same

Quoted 5 lines

firmware
(both 1.36 and latest
1.46), but with Fedora 29 and it is working.

Perhaps Fedora 29 has a different version of the

ALSA library, I

Quoted 4 lines

will find
out, try to downgrade, test again and report back.

Yes, that'd be really helpful. If aligning the software

doesn't fix

Quoted 1 line

the issue, it's either because of the hardware or the

difference of

Quoted 3 lines

usage patterns.

I have tested exactly the same ALSA userspace library and

plugins

Quoted 3 lines

distributed by Fedora 29 and it does NOT work !

As already explained, the usage pattern is exactly the same

between me

Quoted 3 lines

and the user which is not experiencing this severe problem.

Also, the hardware is the same: Hercules P32 DJ (with

exactly the same

Quoted 3 lines

firmware version 1.46 which is the latest).

So, the conclusion is that it must be a kernel bug ! I was

expecting

Quoted 8 lines

this, as already pointed out in previous messages.

Did you test the
very same kernel, too? Without that confirmation, no one can conclude that at all...

If the kernel makes difference, you can try identify which kernel version starts showing the problem, and at best, do git

bisection.

Quoted 6 lines

thanks,

Takashi

Can you please help me fix this bug since you wrote the

driver and/or

Quoted 6 lines

are maintaining it ?

Thanks,

Guido

Quoted 7 lines

thanks,

Takashi

Guido

Il 22 marzo 2019 10:53:11 CET, Takashi Iwai

<[email protected]> ha

Quoted 7 lines

scritto:

On Fri, 22 Mar 2019
10:17:17 +0100,
Guido Trentalancia wrote:

It cannot be a firmware bug, as you say,

because:

Quoted 4 lines

- it does NOT happen on Windows!

It doesn't mean that the device behaves

correctly as

Quoted 3 lines

advertised.

- it does NOT even always happen on Linux:

other users

Quoted 2 lines

(with different kernel
/ ALSA library) are not experiencing the

same problem;

Quoted 1 line

- it happens with several firmware

versions, including the

Quoted 4 lines
                 latest one (1.36
                          and 1.46).
                          
                          So it is either a bug in ALSA kernel

driver, USB sound

Quoted 4 lines

driver (more likely) or
ALSA library.

Now, you are in charge of the USB sound

driver, can you

Quoted 3 lines

please double check??

If it doesn't happen for other users with the

very same device,

Quoted 5 lines

you'd
need to identify what's the difference
between your case and
others.
For example, if the difference of alsa-lib

matters, you can try

Quoted 4 lines

the
very same condition.

This kind of bug can't be easily debugged

without the actual

Quoted 9 lines
                     hardware, unfortunately.
                 
                     Takashi
                 
                          Regards,
                          
                          Guido
                          
                          Il 22 marzo 2019 09:55:52 CET, Takashi Iwai

<[email protected]

Quoted 6 lines

ha scritto:

On Thu, 21 Mar 2019 23:27:46 +0100, Guido Trentalancia wrote:

I wonder if this might be due to a

bug in the

Quoted 3 lines

"USB Audio Driver for Alsa"?

https://git.kernel.org/pub/scm/linux/kernel/git/t

Quoted 3 lines

orvalds/linux.git/tree/sound/usb

https://git.kernel.org/pub/scm/linux/kernel/git/t

Quoted 3 lines

iwai/sound.git/tree/sound/usb

More likely a buggy firmware of your

USB audio device

Quoted 3 lines

:)

From the driver implementation POV,

both audio and

Quoted 2 lines

MIDI devices are
handled by individual endpoints, hence

they shouldn't

Quoted 3 lines

conflict.

Or another possibility would be some

USB host side

Quoted 3 lines

issue like the
bandwidth. But
it's a MIDI stream that is very low

data rate, so this

Quoted 9 lines

sounds also unlikely...

thanks,

Takashi

Guido

On the 20th of March 2019 at

21.47 Guido

Quoted 6 lines

Trentalancia
<[email protected] wrote:

Hello.

I am hitting a very serious

bug (ALSA kernel

Quoted 2 lines

driver or ALSA library)
when using the Hercules P32 DJ

audio

Quoted 3 lines

interface.

The sound is severely

distorted during MIDI

Quoted 5 lines

transfers.

To reproduce:

+ start playing something in

a first

Quoted 3 lines

console:

console1# AUDIODEV=hw:2,0 play

audio.wav

Quoted 4 lines

+ the audio plays fine

+ now start "amidi" in a

second console

Quoted 7 lines

while the above track is still
playing

console2#
amidi -p hw:2,0,0 -d

+ the sound is now severely

distorted

Quoted 3 lines

(basically noise, with some
hard-
to-distinguish features

resembling the

Quoted 5 lines

original track) until "amidi"
is interrupted !

#16 lore raw
Quoted 6 lines · Guido Trentalancia

I suppose the Fedora 29 kernels are included in the range I tested as broken, i.e. 4.12 -- 5.0.

So, there is something triggering it on my system and not the other, maybe the USB system as pointed out by Clemens.

You can try different USB ports, too, e.g. if there are both USB 3.0 and 2.0 ports.

Quoted 5 lines

I'll make some research on the two USB systems...

I would also like to try USB Audio driver from kernel 3.0.1.

What else do you suggest?

If any, the problem is rather about the USB core side (likely the host driver), not the USB audio driver. I can imagine some bandwidth management or iosc transfer problem.

Takashi

Quoted 232 lines

Guido

Il 22 marzo 2019 15:58:23 CET, Takashi Iwai <[email protected]> ha scritto:

On Fri, 22 Mar 2019 15:54:03 +0100,
Guido Trentalancia wrote:

As already explained, I have tested the following kernels:

- kernel 5.0.2 -----> BROKEN
- kernel 4.17.10 --> BROKEN
- kernel 4.12.9 ---> BROKEN

So, it's been around for very long.

What do you suggest doing?

But which kernel is used for another user who can use without the problem? I suppose they use the recent kernel with Fedora?

I have found reports on the web about similar problems (with other audio interfaces) with kernels>3.0.0.

Such a regression should have been reported earlier, otherwise it becomes more and
more difficult to catch up...

thanks,

Takashi

Regards,

Guido

Il 22 marzo 2019 15:47:36 CET, Takashi Iwai <[email protected]> ha scritto:

On Fri, 22 Mar 2019 14:44:48 +0100,
Guido Trentalancia wrote:

Hello Takashi.

I have carried out the test that you proposed...

My reply follows your quoted text.

On Fri, 22/03/2019 at 11.12 +0100, Takashi Iwai wrote:
On Fri, 22 Mar 2019 11:04:01 +0100, Guido Trentalancia wrote:

Hello Takashi,

I am using the latest version of everything, including kernel and

ALSA
userspace library / tools.

The other user has exactly the same hardware and has tested same firmware
(both 1.36 and latest
1.46), but with Fedora 29 and it is working.

Perhaps Fedora 29 has a different version of the ALSA library, I will find
out, try to downgrade, test again and report back.

Yes, that'd be really helpful. If aligning the software doesn't fix the issue, it's either because of the hardware or the difference of usage patterns.

I have tested exactly the same ALSA userspace library and plugins distributed by Fedora 29 and it does NOT work !

As already explained, the usage pattern is
exactly the same between me
and the user which is not experiencing this severe problem.

Also, the hardware is the same: Hercules P32 DJ (with exactly the same firmware version 1.46 which is the latest).

So, the conclusion is that it must be a kernel bug ! I was expecting this, as already pointed out in previous messages.

Did you test the
very same kernel, too? Without that confirmation, no one can conclude that at all...

If the kernel makes difference, you can try identify which kernel version starts showing the problem, and at best, do git bisection.

thanks,

Takashi

Can you please help me fix this bug since you wrote the driver and/or are maintaining it ?

Thanks,

Guido

thanks,

Takashi

Guido

Il 22 marzo 2019 10:53:11 CET, Takashi Iwai <[email protected]> ha scritto:

On Fri, 22 Mar 2019
10:17:17 +0100,
Guido Trentalancia wrote:

It cannot be a firmware bug, as you say, because:

- it does NOT happen on Windows!

It doesn't mean that the device behaves correctly as
advertised.

- it does NOT even always happen on Linux: other users
(with different kernel
/ ALSA
library) are not experiencing the same problem;
- it happens with several firmware versions, including the
latest one (1.36
and 1.46).

So it is either a bug in ALSA kernel driver, USB sound
driver (more likely) or
ALSA library.

Now, you are in charge of the USB sound driver, can you
please double check??

If it doesn't happen for other users with the very same device,
you'd
need to identify what's the difference
between your case and
others.
For example, if the difference of alsa-lib matters, you can try

the
very same condition.

This kind of bug can't be easily debugged without the actual hardware, unfortunately.

Takashi

Regards,

Guido

Il 22 marzo 2019 09:55:52 CET, Takashi Iwai <[email protected]
ha scritto:

On Thu, 21 Mar 2019 23:27:46 +0100, Guido Trentalancia wrote:

I wonder if this might be due to a bug in the
"USB Audio Driver for Alsa"?

https://git.kernel.org/pub/scm/linux/kernel/git/t
orvalds/linux.git/tree/sound/usb

https://git.kernel.org/pub/scm/linux/kernel/git/t
iwai/sound.git/tree/sound/usb

More likely a buggy firmware of your USB audio device
:)

From the driver implementation POV, both audio and
MIDI devices are
handled by individual endpoints, hence they shouldn't
conflict.

Or another possibility would be some USB
host side
issue like the
bandwidth. But
it's a MIDI stream that is very low data rate, so this sounds also unlikely...

thanks,

Takashi

Guido

On the 20th of March 2019 at 21.47 Guido
Trentalancia
<[email protected] wrote:

Hello.

I am hitting a very serious bug (ALSA kernel
driver or ALSA library)

when using the Hercules P32 DJ audio
interface.

The sound is severely distorted during MIDI
transfers.

To reproduce:

+ start playing something in a first
console:

console1# AUDIODEV=hw:2,0 play audio.wav

+ the audio plays fine

+ now start "amidi" in a second console
while the above track is still
playing

console2#
amidi -p hw:2,0,0 -d

+ the sound is now severely distorted
(basically noise, with some
hard-
to-distinguish features resembling the
original track) until "amidi"
is
interrupted !

#17 lore raw

But the bandwidth taken by MIDI should be very small compared to the one taken by the 48KHz audio stream, so that sounds very strange !

Obviously it's the multiplexing of audio and MIDI which fails, but I am not much into the USB drivers, either audio or core...

The USB root hub should be 2.0, according to lsusb output:

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Sounds pointless to try other ports since they are all of the same kind...

The important point here is that, in my opinion, a USB core driver bug seems less probable that a USB audio driver bug because the affected range is very wide (4.12 - 5.0) and at the same time the USB core driver has been tested very widely everyday by virtually all Linux users.

What should I do next ?

Guido

Quoted 264 lines · On the 22nd of March 2019 at 16.14 Takashi Iwai <[email protected]> wrote:
Quoted 6 lines · Guido Trentalancia

I suppose the Fedora 29 kernels are included in the range I tested as broken, i.e. 4.12 -- 5.0.

So, there is something triggering it on my system and not the other, maybe the USB system as pointed out by Clemens.

You can try different USB ports, too, e.g. if there are both USB 3.0 and 2.0 ports.

Quoted 5 lines

I'll make some research on the two USB systems...

I would also like to try USB Audio driver from kernel 3.0.1.

What else do you suggest?

If any, the problem is rather about the USB core side (likely the host driver), not the USB audio driver. I can imagine some bandwidth management or iosc transfer problem.

Takashi

Quoted 223 lines

Guido

Il 22 marzo 2019 15:58:23 CET, Takashi Iwai <[email protected]> ha scritto:

On Fri, 22 Mar 2019 15:54:03 +0100,
Guido Trentalancia wrote:

As already explained, I have tested the following kernels:

- kernel 5.0.2 -----> BROKEN
- kernel 4.17.10 --> BROKEN
- kernel 4.12.9 ---> BROKEN

So, it's been around for very long.

What do you suggest doing?

But which kernel is used for another user who can use without the problem? I suppose they use the recent kernel with Fedora?

I have found reports on the web about similar problems (with other audio interfaces) with kernels>3.0.0.

Such a regression should have been reported earlier, otherwise it becomes more and
more difficult to catch up...

thanks,

Takashi

Regards,

Guido

Il 22 marzo 2019 15:47:36 CET, Takashi Iwai <[email protected]> ha scritto:

On Fri, 22 Mar 2019 14:44:48 +0100,
Guido Trentalancia wrote:

Hello Takashi.

I have carried out the test that you proposed...

My reply follows your quoted text.

On Fri, 22/03/2019 at 11.12 +0100, Takashi Iwai wrote:
On Fri, 22 Mar 2019 11:04:01 +0100, Guido Trentalancia wrote:

Hello Takashi,

I am using the latest version of everything, including kernel and

ALSA
userspace library / tools.

The other user has exactly the same hardware and has tested same firmware
(both 1.36 and latest
1.46), but with Fedora 29 and it is working.

Perhaps Fedora 29 has a different version of the ALSA library, I will find
out, try to downgrade, test again and report back.

Yes, that'd be really helpful. If aligning the software doesn't fix the issue, it's either because of the hardware or the difference of usage patterns.

I have tested exactly the same ALSA userspace library and plugins distributed by Fedora 29 and it does NOT work !

As already explained, the usage pattern is
exactly the same between me
and the user which is not experiencing this severe problem.

Also, the hardware is the same: Hercules P32 DJ (with exactly the same firmware version 1.46 which is the latest).

So, the conclusion is that it must be a kernel bug ! I was expecting this, as already pointed out in previous messages.

Did you test the
very same kernel, too? Without that confirmation, no one can conclude that at all...

If the kernel makes difference, you can try identify which kernel version starts showing the problem, and at best, do git bisection.

thanks,

Takashi

Can you please help me fix this bug since you wrote the driver and/or are maintaining it ?

Thanks,

Guido

thanks,

Takashi

Guido

Il 22 marzo 2019 10:53:11 CET, Takashi Iwai <[email protected]> ha scritto:

On Fri, 22 Mar 2019
10:17:17 +0100,
Guido Trentalancia wrote:

It cannot be a firmware bug, as you say, because:

- it does NOT happen on Windows!

It doesn't mean that the device behaves correctly as
advertised.

- it does NOT even always happen on Linux: other users
(with different kernel
/ ALSA
library) are not experiencing the same problem;
- it happens with several firmware versions, including the
latest one (1.36
and 1.46).

So it is either a bug in ALSA kernel driver, USB sound
driver (more likely) or
ALSA library.

Now, you are in charge of the USB sound driver, can you
please double check??

If it doesn't happen for other users with the very same device,
you'd
need to identify what's the difference
between your case and
others.
For example, if the difference of alsa-lib matters, you can try

the
very same condition.

This kind of bug can't be easily debugged without the actual hardware, unfortunately.

Takashi

Regards,

Guido

Il 22 marzo 2019 09:55:52 CET, Takashi Iwai <[email protected]
ha scritto:

On Thu, 21 Mar 2019 23:27:46 +0100, Guido Trentalancia wrote:

I wonder if this might be due to a bug in the
"USB Audio Driver for Alsa"?

https://git.kernel.org/pub/scm/linux/kernel/git/t
orvalds/linux.git/tree/sound/usb

https://git.kernel.org/pub/scm/linux/kernel/git/t
iwai/sound.git/tree/sound/usb

More likely a buggy firmware of your USB audio device
:)

From the driver implementation POV, both audio and
MIDI devices are
handled by individual endpoints, hence they shouldn't
conflict.

Or another possibility would be some USB
host side
issue like the
bandwidth. But
it's a MIDI stream that is very low data rate, so this sounds also unlikely...

thanks,

Takashi

Guido

On the 20th of March 2019 at 21.47 Guido
Trentalancia
<[email protected] wrote:

Hello.

I am hitting a very serious bug (ALSA kernel
driver or ALSA library)

when using the Hercules P32 DJ audio
interface.

The sound is severely distorted during MIDI
transfers.

To reproduce:

+ start playing something in a first
console:

console1# AUDIODEV=hw:2,0 play audio.wav

+ the audio plays fine

+ now start "amidi" in a second console
while the above track is still
playing

console2#
amidi -p hw:2,0,0 -d

Quoted 9 lines

+ the sound is now severely distorted
(basically noise, with some
hard-
to-distinguish features resembling the
original track) until "amidi"
is
interrupted !

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#18 lore raw
In reply to Guido Trentalancia
Quoted 4 lines · On the 22nd of March 2019 at 16.05 Guido Trentalancia <[email protected]>…

I suppose the Fedora 29 kernels are included in the range I tested as broken, i.e. 4.12 -- 5.0.

I have checked and can now confirm the above, as Fedora 29 kernel is version 4.18.16, therefore included in the same range I tested as broken.

Quoted 279 lines

So, there is something triggering it on my system and not the other, maybe the USB system as pointed out by Clemens.

I'll make some research on the two USB systems...

I would also like to try USB Audio driver from kernel 3.0.1.

What else do you suggest?

Guido

Il 22 marzo 2019 15:58:23 CET, Takashi Iwai <[email protected]> ha scritto:

Quoted 253 lines
Quoted 10 lines · Guido Trentalancia

As already explained, I have tested the following kernels:

- kernel 5.0.2 -----> BROKEN
- kernel 4.17.10 --> BROKEN
- kernel 4.12.9 ---> BROKEN

So, it's been around for very long.

What do you suggest doing?

But which kernel is used for another user who can use without the problem? I suppose they use the recent kernel with Fedora?

Quoted 1 line

I have found reports on the web about similar problems (with other

audio

Quoted 1 line

interfaces) with kernels>3.0.0.

Such a regression should have been reported earlier, otherwise it becomes more and more difficult to catch up...

thanks,

Takashi

Quoted 5 lines

Regards,

Guido

Il 22 marzo 2019 15:47:36 CET, Takashi Iwai <[email protected]> ha

scritto:

Quoted 10 lines

On Fri, 22 Mar 2019 14:44:48 +0100,
Guido Trentalancia wrote:

Hello Takashi.

I have carried out the test that you proposed...

My reply follows your quoted text.

Quoted 7 lines

On Fri, 22/03/2019 at 11.12 +0100, Takashi Iwai wrote:
On Fri, 22 Mar 2019 11:04:01 +0100, Guido Trentalancia wrote:

Hello Takashi,

I am using the latest version of everything,

including kernel and

Quoted 4 lines

ALSA
userspace library / tools.

The other user has exactly the same hardware and has

tested same

Quoted 5 lines

firmware
(both 1.36 and latest
1.46), but with Fedora 29 and it is working.

Perhaps Fedora 29 has a different version of the

ALSA library, I

Quoted 4 lines

will find
out, try to downgrade, test again and report back.

Yes, that'd be really helpful. If aligning the software

doesn't fix

Quoted 1 line

the issue, it's either because of the hardware or the

difference of

Quoted 3 lines

usage patterns.

I have tested exactly the same ALSA userspace library and

plugins

Quoted 3 lines

distributed by Fedora 29 and it does NOT work !

As already explained, the usage pattern is exactly the same

between me

Quoted 3 lines

and the user which is not experiencing this severe problem.

Also, the hardware is the same: Hercules P32 DJ (with

exactly the same

Quoted 3 lines

firmware version 1.46 which is the latest).

So, the conclusion is that it must be a kernel bug ! I was

expecting

Quoted 8 lines

this, as already pointed out in previous messages.

Did you test the
very same kernel, too? Without that confirmation, no one can conclude that at all...

If the kernel makes difference, you can try identify which kernel version starts showing the problem, and at best, do git

bisection.

Quoted 6 lines

thanks,

Takashi

Can you please help me fix this bug since you wrote the

driver and/or

Quoted 6 lines

are maintaining it ?

Thanks,

Guido

Quoted 7 lines

thanks,

Takashi

Guido

Il 22 marzo 2019 10:53:11 CET, Takashi Iwai

<[email protected]> ha

Quoted 7 lines

scritto:

On Fri, 22 Mar 2019
10:17:17 +0100,
Guido Trentalancia wrote:

It cannot be a firmware bug, as you say,

because:

Quoted 4 lines

- it does NOT happen on Windows!

It doesn't mean that the device behaves

correctly as

Quoted 3 lines

advertised.

- it does NOT even always happen on Linux:

other users

Quoted 2 lines

(with different kernel
/ ALSA library) are not experiencing the

same problem;

Quoted 1 line

- it happens with several firmware

versions, including the

Quoted 4 lines
                 latest one (1.36
                          and 1.46).
                          
                          So it is either a bug in ALSA kernel

driver, USB sound

Quoted 4 lines

driver (more likely) or
ALSA library.

Now, you are in charge of the USB sound

driver, can you

Quoted 3 lines

please double check??

If it doesn't happen for other users with the

very same device,

Quoted 5 lines

you'd
need to identify what's the difference
between your case and
others.
For example, if the difference of alsa-lib

matters, you can try

Quoted 4 lines

the
very same condition.

This kind of bug can't be easily debugged

without the actual

Quoted 9 lines
                     hardware, unfortunately.
                 
                     Takashi
                 
                          Regards,
                          
                          Guido
                          
                          Il 22 marzo 2019 09:55:52 CET, Takashi Iwai

<[email protected]

Quoted 6 lines

ha scritto:

On Thu, 21 Mar 2019 23:27:46 +0100, Guido Trentalancia wrote:

I wonder if this might be due to a

bug in the

Quoted 3 lines

"USB Audio Driver for Alsa"?

https://git.kernel.org/pub/scm/linux/kernel/git/t

Quoted 3 lines

orvalds/linux.git/tree/sound/usb

https://git.kernel.org/pub/scm/linux/kernel/git/t

Quoted 3 lines

iwai/sound.git/tree/sound/usb

More likely a buggy firmware of your

USB audio device

Quoted 3 lines

:)

From the driver implementation POV,

both audio and

Quoted 2 lines

MIDI devices are
handled by individual endpoints, hence

they shouldn't

Quoted 3 lines

conflict.

Or another possibility would be some

USB host side

Quoted 3 lines

issue like the
bandwidth. But
it's a MIDI stream that is very low

data rate, so this

Quoted 9 lines

sounds also unlikely...

thanks,

Takashi

Guido

On the 20th of March 2019 at

21.47 Guido

Quoted 6 lines

Trentalancia
<[email protected] wrote:

Hello.

I am hitting a very serious

bug (ALSA kernel

Quoted 2 lines

driver or ALSA library)
when using the Hercules P32 DJ

audio

Quoted 3 lines

interface.

The sound is severely

distorted during MIDI

Quoted 5 lines

transfers.

To reproduce:

+ start playing something in

a first

Quoted 3 lines

console:

console1# AUDIODEV=hw:2,0 play

audio.wav

Quoted 4 lines

+ the audio plays fine

+ now start "amidi" in a

second console

Quoted 6 lines

while the above track is still
playing

console2#
amidi -p hw:2,0,0 -d

Quoted 11 lines
Quoted 1 line

+ the sound is now severely

distorted

Quoted 3 lines

(basically noise, with some
hard-
to-distinguish features

resembling the

Quoted 5 lines

original track) until "amidi"
is interrupted !

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#19 lore raw
In reply to Guido Trentalancia

I have tried adapting and importing the USB audio driver from kernel 3.0.1 into kernel 5.0.2, because otherwise I cannot easily downgrade the system to 3.0.1.

The result is that the Hercules P32 DJ audio interface is not even detected, although the kernel module apparently loads fine.

I have also tested the same audio interface on another computer which runs kernel 4.8.8 and the latest ALSA library: it works fine.

Quoted 1 line

From the latter, I take that:

- the bug is not due to the ALSA library;
- the bug is not due to a faulty hardware / firmware.

Next, I would like to upgrade to kernel 5.0.2 on the second machine mentioned above.

I have no other ideas...

I can still try to file a bug against the core USB kernel driver, although it is very generic, I don't really know how to file it and what information to provide apart from the audio interface and USB hub make and model.

Guido

Quoted 284 lines

Il 22 marzo 2019 alle 16.05 Guido Trentalancia <[email protected]> ha scritto:

I suppose the Fedora 29 kernels are included in the range I tested as broken, i.e. 4.12 -- 5.0.

So, there is something triggering it on my system and not the other, maybe the USB system as pointed out by Clemens.

I'll make some research on the two USB systems...

I would also like to try USB Audio driver from kernel 3.0.1.

What else do you suggest?

Guido

Il 22 marzo 2019 15:58:23 CET, Takashi Iwai <[email protected]> ha scritto:

Quoted 253 lines
Quoted 10 lines · Guido Trentalancia

As already explained, I have tested the following kernels:

- kernel 5.0.2 -----> BROKEN
- kernel 4.17.10 --> BROKEN
- kernel 4.12.9 ---> BROKEN

So, it's been around for very long.

What do you suggest doing?

But which kernel is used for another user who can use without the problem? I suppose they use the recent kernel with Fedora?

Quoted 1 line

I have found reports on the web about similar problems (with other

audio

Quoted 1 line

interfaces) with kernels>3.0.0.

Such a regression should have been reported earlier, otherwise it becomes more and more difficult to catch up...

thanks,

Takashi

Quoted 5 lines

Regards,

Guido

Il 22 marzo 2019 15:47:36 CET, Takashi Iwai <[email protected]> ha

scritto:

Quoted 10 lines

On Fri, 22 Mar 2019 14:44:48 +0100,
Guido Trentalancia wrote:

Hello Takashi.

I have carried out the test that you proposed...

My reply follows your quoted text.

Quoted 7 lines

On Fri, 22/03/2019 at 11.12 +0100, Takashi Iwai wrote:
On Fri, 22 Mar 2019 11:04:01 +0100, Guido Trentalancia wrote:

Hello Takashi,

I am using the latest version of everything,

including kernel and

Quoted 4 lines

ALSA
userspace library / tools.

The other user has exactly the same hardware and has

tested same

Quoted 5 lines

firmware
(both 1.36 and latest
1.46), but with Fedora 29 and it is working.

Perhaps Fedora 29 has a different version of the

ALSA library, I

Quoted 4 lines

will find
out, try to downgrade, test again and report back.

Yes, that'd be really helpful. If aligning the software

doesn't fix

Quoted 1 line

the issue, it's either because of the hardware or the

difference of

Quoted 3 lines

usage patterns.

I have tested exactly the same ALSA userspace library and

plugins

Quoted 3 lines

distributed by Fedora 29 and it does NOT work !

As already explained, the usage pattern is exactly the same

between me

Quoted 3 lines

and the user which is not experiencing this severe problem.

Also, the hardware is the same: Hercules P32 DJ (with

exactly the same

Quoted 3 lines

firmware version 1.46 which is the latest).

So, the conclusion is that it must be a kernel bug ! I was

expecting

Quoted 8 lines

this, as already pointed out in previous messages.

Did you test the
very same kernel, too? Without that confirmation, no one can conclude that at all...

If the kernel makes difference, you can try identify which kernel version starts showing the problem, and at best, do git

bisection.

Quoted 6 lines

thanks,

Takashi

Can you please help me fix this bug since you wrote the

driver and/or

Quoted 6 lines

are maintaining it ?

Thanks,

Guido

Quoted 7 lines

thanks,

Takashi

Guido

Il 22 marzo 2019 10:53:11 CET, Takashi Iwai

<[email protected]> ha

Quoted 7 lines

scritto:

On Fri, 22 Mar 2019
10:17:17 +0100,
Guido Trentalancia wrote:

It cannot be a firmware bug, as you say,

because:

Quoted 4 lines

- it does NOT happen on Windows!

It doesn't mean that the device behaves

correctly as

Quoted 3 lines

advertised.

- it does NOT even always happen on Linux:

other users

Quoted 2 lines

(with different kernel
/ ALSA library) are not experiencing the

same problem;

Quoted 1 line

- it happens with several firmware

versions, including the

Quoted 4 lines
                 latest one (1.36
                          and 1.46).
                          
                          So it is either a bug in ALSA kernel

driver, USB sound

Quoted 4 lines

driver (more likely) or
ALSA library.

Now, you are in charge of the USB sound

driver, can you

Quoted 3 lines

please double check??

If it doesn't happen for other users with the

very same device,

Quoted 5 lines

you'd
need to identify what's the difference
between your case and
others.
For example, if the difference of alsa-lib

matters, you can try

Quoted 4 lines

the
very same condition.

This kind of bug can't be easily debugged

without the actual

Quoted 9 lines
                     hardware, unfortunately.
                 
                     Takashi
                 
                          Regards,
                          
                          Guido
                          
                          Il 22 marzo 2019 09:55:52 CET, Takashi Iwai

<[email protected]

Quoted 6 lines

ha scritto:

On Thu, 21 Mar 2019 23:27:46 +0100, Guido Trentalancia wrote:

I wonder if this might be due to a

bug in the

Quoted 3 lines

"USB Audio Driver for Alsa"?

https://git.kernel.org/pub/scm/linux/kernel/git/t

Quoted 3 lines

orvalds/linux.git/tree/sound/usb

https://git.kernel.org/pub/scm/linux/kernel/git/t

Quoted 3 lines

iwai/sound.git/tree/sound/usb

More likely a buggy firmware of your

USB audio device

Quoted 3 lines

:)

From the driver implementation POV,

both audio and

Quoted 2 lines

MIDI devices are
handled by individual endpoints, hence

they shouldn't

Quoted 3 lines

conflict.

Or another possibility would be some

USB host side

Quoted 3 lines

issue like the
bandwidth. But
it's a MIDI stream that is very low

data rate, so this

Quoted 9 lines

sounds also unlikely...

thanks,

Takashi

Guido

On the 20th of March 2019 at

21.47 Guido

Quoted 6 lines

Trentalancia
<[email protected] wrote:

Hello.

I am hitting a very serious

bug (ALSA kernel

Quoted 2 lines

driver or ALSA library)
when using the Hercules P32 DJ

audio

Quoted 3 lines

interface.

The sound is severely

distorted during MIDI

Quoted 5 lines

transfers.

To reproduce:

+ start playing something in

a first

Quoted 3 lines

console:

console1# AUDIODEV=hw:2,0 play

audio.wav

Quoted 4 lines

+ the audio plays fine

+ now start "amidi" in a

second console

Quoted 6 lines

while the above track is still
playing

console2#
amidi -p hw:2,0,0 -d

Quoted 11 lines
Quoted 1 line

+ the sound is now severely

distorted

Quoted 3 lines

(basically noise, with some
hard-
to-distinguish features

resembling the

Quoted 5 lines

original track) until "amidi"
is interrupted !

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#20 lore raw
In reply to Guido Trentalancia

Update on affected kernels...

Quoted 8 lines

Il 22 marzo 2019 alle 15.54 Guido Trentalancia <[email protected]> ha scritto:

As already explained, I have tested the following kernels:

- kernel 5.0.2 -----> BROKEN
- kernel 4.17.10 --> BROKEN
- kernel 4.12.9 ---> BROKEN

kernel 3.8.13 is also BROKEN (on the system where it fails, not the other one obviously).

On kernel 3.0.0 it is broken even when MIDI is not running.

So, it affects virtually all kernels...

Quoted 5 lines

So, it's been around for very long.

What do you suggest doing?

I have found reports on the web about similar problems (with other audio interfaces) with kernels>3.0.0.

Regards,

Guido