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

Bug#742139: emu0204: please apply backported patch to stable allowing 4-channel usage



Package: src:linux
Version: 3.2.54-2
Severity: important
Tags: patch

Hi,

Severity set to important after discussion with bwh.

A patch was merged upstream to allow support for the third and fourth
output channels on EMU0204 sound cards:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/sound/usb/mixer_quirks.c?id=44832a71f377d9eae1d97afedad4d0d6d51fc485

This is a trivial backport to stable which I've done, built and tested
on a EMU0204 card here - it works fine.

I've attached the patch.  Please consider adding it to the next stable
kernel update.

Thanks,

Mark

-- Package-specific info:
** Version:
Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.51-1

** Command line:
BOOT_IMAGE=/vmlinuz-3.2.0-4-amd64 root=UUID=17f1fada-bba5-4c85-a90c-3037e1fc393c ro quiet

** Not tainted

** Kernel log:
[5428171.246161] usb 3-1.5.2: new high-speed USB device number 6 using ehci_hcd
[5428171.339890] usb 3-1.5.2: New USB device found, idVendor=041e, idProduct=3f19
[5428171.339895] usb 3-1.5.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[5428171.339898] usb 3-1.5.2: Product: E-MU 0204 | USB
[5428171.339901] usb 3-1.5.2: Manufacturer: E-MU Systems, Inc.
[5428171.339903] usb 3-1.5.2: SerialNumber: E-MU-11-3F19-07DC081B-0BE2C-8740AT2A
[5428171.365717] usbcore: registered new interface driver snd-usb-audio
[5428463.129954] show_signal_msg: 23 callbacks suppressed
[5428463.129960] ipython[11137]: segfault at 1e05000 ip 00007fbd86d0d408 sp 00007fffa76e84b0 error 4 in libportaudio.so.2.0.0[7fbd86d06000+2d000]
[5428529.729066] ipython[11208]: segfault at 1e7b004 ip 00007f3ea206c408 sp 00007fff1a9594d0 error 4 in libportaudio.so.2.0.0[7f3ea2065000+2d000]
[5429056.838693] usb 3-1.5.2: USB disconnect, device number 6
[5438895.784053] ISO 9660 Extensions: Microsoft Joliet Level 3
[5438895.787110] ISOFS: changing to secondary root
[5438960.928614] usb 3-1.5.2: new high-speed USB device number 7 using ehci_hcd
[5438961.022454] usb 3-1.5.2: New USB device found, idVendor=041e, idProduct=3f19
[5438961.022459] usb 3-1.5.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[5438961.022462] usb 3-1.5.2: Product: E-MU 0204 | USB
[5438961.022464] usb 3-1.5.2: Manufacturer: E-MU Systems, Inc.
[5438961.022467] usb 3-1.5.2: SerialNumber: E-MU-11-3F19-07DC081B-0BE2C-8740AT2A
[5445803.717736] usb 3-1.5.2: USB disconnect, device number 7
[5861135.741909] fluidsynth[1747]: segfault at 10 ip 00007fdbc0f39e50 sp 00007fdbb3163d68 error 4 in libdbus-1.so.3.7.2[7fdbc0f10000+44000]
[6285418.224657] usb 3-1.1: new high-speed USB device number 8 using ehci_hcd
[6285418.318824] usb 3-1.1: New USB device found, idVendor=041e, idProduct=3f19
[6285418.318829] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[6285418.318832] usb 3-1.1: Product: E-MU 0204 | USB
[6285418.318834] usb 3-1.1: Manufacturer: E-MU Systems, Inc.
[6285418.318837] usb 3-1.1: SerialNumber: E-MU-11-3F19-07DC081B-0BE2C-8740AT2A
[6285444.062736] usb 3-1.1: USB disconnect, device number 8
[6290718.614108] usb 3-1.1: new high-speed USB device number 9 using ehci_hcd
[6290718.707988] usb 3-1.1: New USB device found, idVendor=041e, idProduct=3f19
[6290718.707993] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[6290718.707996] usb 3-1.1: Product: E-MU 0204 | USB
[6290718.707999] usb 3-1.1: Manufacturer: E-MU Systems, Inc.
[6290718.708001] usb 3-1.1: SerialNumber: E-MU-11-3F19-07DC081B-0BE2C-8740AT2A
[6290720.204060] usb 3-1.1: USB disconnect, device number 9
[6291233.948032] hub 3-1:1.0: unable to enumerate USB device on port 1
[6471195.368958] usb 3-1.1: new high-speed USB device number 11 using ehci_hcd
[6471195.462933] usb 3-1.1: New USB device found, idVendor=041e, idProduct=3f19
[6471195.462937] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[6471195.462940] usb 3-1.1: Product: E-MU 0204 | USB
[6471195.462943] usb 3-1.1: Manufacturer: E-MU Systems, Inc.
[6471195.462945] usb 3-1.1: SerialNumber: E-MU-11-3F19-07DC081B-0BE2C-8740AT2A
[6474356.499213] ISO 9660 Extensions: Microsoft Joliet Level 3
[6474356.500486] ISOFS: changing to secondary root
[6476790.397986] usb 3-1.1: USB disconnect, device number 11
[6482003.091618] usbcore: deregistering interface driver snd-usb-audio
[6482050.838127] usbcore: registered new interface driver snd-usb-audio
[6482058.824001] usb 3-1.1: new high-speed USB device number 12 using ehci_hcd
[6482058.917853] usb 3-1.1: New USB device found, idVendor=041e, idProduct=3f19
[6482058.917857] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[6482058.917859] usb 3-1.1: Product: E-MU 0204 | USB
[6482058.917861] usb 3-1.1: Manufacturer: E-MU Systems, Inc.
[6482058.917862] usb 3-1.1: SerialNumber: E-MU-11-3F19-07DC081B-0BE2C-8740AT2A

** Model information
sys_vendor: Hewlett-Packard
product_name: HP Compaq Elite 8300 CMT
product_version: 
chassis_vendor: Hewlett-Packard
chassis_version: 
bios_vendor: Hewlett-Packard
bios_version: K01 v02.90
board_vendor: Hewlett-Packard
board_name: 3396
board_version: 

** Loaded modules:
snd_usb_audio
snd_usbmidi_lib
nls_utf8
isofs
fuse
btrfs
libcrc32c
zlib_deflate
ufs
qnx4
hfsplus
hfs
minix
ntfs
vfat
msdos
fat
jfs
xfs
reiserfs
ext3
jbd
ext2
efivars
ip6table_filter
ip6_tables
iptable_filter
ip_tables
x_tables
rfcomm
bnep
bluetooth
autofs4
8021q
garp
bridge
stp
binfmt_misc
nfsd
nfs
nfs_acl
auth_rpcgss
fscache
lockd
sunrpc
ppdev
loop
dm_crypt
tpm_infineon
snd_emu10k1_synth
snd_emux_synth
snd_seq_midi_emul
snd_seq_virmidi
hp_wmi
sparse_keymap
snd_emu10k1
snd_util_mem
snd_ac97_codec
snd_hwdep
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_page_alloc
snd_seq_midi
snd_seq_midi_event
snd_rawmidi
rfkill
snd_seq
coretemp
crc32c_intel
snd_seq_device
snd_timer
ghash_clmulni_intel
snd
aesni_intel
aes_x86_64
aes_generic
cryptd
evdev
psmouse
soundcore
serio_raw
ac97_bus
iTCO_wdt
i2c_i801
radeon
pcspkr
emu10k1_gp
gameport
iTCO_vendor_support
tpm_tis
tpm
tpm_bios
parport_pc
parport
ttm
drm_kms_helper
drm
power_supply
wmi
i2c_algo_bit
video
i2c_core
acpi_cpufreq
mperf
button
processor
ext4
crc16
jbd2
mbcache
dm_mod
usbhid
hid
sg
sr_mod
cdrom
sd_mod
crc_t10dif
ehci_hcd
thermal
ahci
libahci
libata
xhci_hcd
scsi_mod
fan
thermal_sys
usbcore
e1000e
usb_common

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller [8086:0150] (rev 09)
	Subsystem: Hewlett-Packard Company Device [103c:3396]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
	Latency: 0
	Capabilities: <access denied>

00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: f7e00000-f7efffff
	Prefetchable memory behind bridge: 00000000e0000000-00000000efffffff
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04) (prog-if 30 [XHCI])
	Subsystem: Hewlett-Packard Company Device [103c:3396]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 44
	Region 0: Memory at f7f20000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd

00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
	Subsystem: Hewlett-Packard Company Device [103c:3396]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at f7f38000 (64-bit, non-prefetchable) [size=16]
	Capabilities: <access denied>

00:16.3 Serial controller [0700]: Intel Corporation 7 Series/C210 Series Chipset Family KT Controller [8086:1e3d] (rev 04) (prog-if 02 [16550])
	Subsystem: Hewlett-Packard Company Device [103c:3396]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 19
	Region 0: I/O ports at f0a0 [size=8]
	Region 1: Memory at f7f36000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: serial

00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04)
	Subsystem: Hewlett-Packard Company Device [103c:3396]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 42
	Region 0: Memory at f7f00000 (32-bit, non-prefetchable) [size=128K]
	Region 1: Memory at f7f35000 (32-bit, non-prefetchable) [size=4K]
	Region 2: I/O ports at f040 [size=32]
	Capabilities: <access denied>
	Kernel driver in use: e1000e

00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04) (prog-if 20 [EHCI])
	Subsystem: Hewlett-Packard Company Device [103c:3396]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at f7f34000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04) (prog-if 20 [EHCI])
	Subsystem: Hewlett-Packard Company Device [103c:3396]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 23
	Region 0: Memory at f7f33000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev a4) (prog-if 01 [Subtractive decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
	I/O behind bridge: 0000d000-0000dfff
	Secondary status: 66MHz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>

00:1f.0 ISA bridge [0601]: Intel Corporation Q77 Express Chipset LPC Controller [8086:1e47] (rev 04)
	Subsystem: Hewlett-Packard Company Device [103c:3396]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Capabilities: <access denied>

00:1f.2 SATA controller [0106]: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e02] (rev 04) (prog-if 01 [AHCI 1.0])
	Subsystem: Hewlett-Packard Company Device [103c:3396]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 43
	Region 0: I/O ports at f090 [size=8]
	Region 1: I/O ports at f080 [size=4]
	Region 2: I/O ports at f070 [size=8]
	Region 3: I/O ports at f060 [size=4]
	Region 4: I/O ports at f020 [size=32]
	Region 5: Memory at f7f32000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
	Subsystem: Hewlett-Packard Company Device [103c:3396]
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin C routed to IRQ 18
	Region 0: Memory at f7f31000 (64-bit, non-prefetchable) [size=256]
	Region 4: I/O ports at f000 [size=32]

01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Cedar PRO [Radeon HD 5450/6350] [1002:68f9] (prog-if 00 [VGA controller])
	Subsystem: Hewlett-Packard Company Device [103c:2126]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 45
	Region 0: Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Region 2: Memory at f7e20000 (64-bit, non-prefetchable) [size=128K]
	Region 4: I/O ports at e000 [size=256]
	Expansion ROM at f7e00000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon

02:01.0 Communication controller [0780]: NetMos Technology PCI 9815 Multi-I/O Controller [9710:9815] (rev 01)
	Subsystem: LSI Logic / Symbios Logic 2P0S (2 port parallel adaptor) [1000:0020]
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin A routed to IRQ 21
	Region 0: I/O ports at d080 [size=8]
	Region 1: I/O ports at d070 [size=8]
	Region 2: I/O ports at d060 [size=8]
	Region 3: I/O ports at d050 [size=8]
	Region 4: I/O ports at d040 [size=8]
	Region 5: I/O ports at d030 [size=16]
	Kernel driver in use: parport_pc

02:02.0 Multimedia audio controller [0401]: Creative Labs SB Live! EMU10k1 [1102:0002] (rev 0a)
	Subsystem: Creative Labs CT4780 SBLive! Value [1102:8022]
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 32 (500ns min, 5000ns max)
	Interrupt: pin A routed to IRQ 22
	Region 0: I/O ports at d000 [size=32]
	Capabilities: <access denied>
	Kernel driver in use: snd_emu10k1

02:02.1 Input device controller [0980]: Creative Labs SB Live! Game Port [1102:7002] (rev 0a)
	Subsystem: Creative Labs Gameport Joystick [1102:0020]
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 32
	Region 0: I/O ports at d020 [size=8]
	Capabilities: <access denied>
	Kernel driver in use: Emu10k1_gameport


** USB devices:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 003: ID 0424:2512 Standard Microsystems Corp. USB 2.0 Hub
Bus 003 Device 004: ID 0424:2512 Standard Microsystems Corp. USB 2.0 Hub
Bus 003 Device 005: ID 0461:4dfb Primax Electronics, Ltd 
Bus 003 Device 012: ID 041e:3f19 Creative Technology, Ltd 


-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-3.2.0-4-amd64 depends on:
ii  debconf [debconf-2.0]                   1.5.49
ii  initramfs-tools [linux-initramfs-tool]  0.109.1
ii  kmod                                    9-3
ii  linux-base                              3.5
ii  module-init-tools                       9-3

Versions of packages linux-image-3.2.0-4-amd64 recommends:
pn  firmware-linux-free  <none>

Versions of packages linux-image-3.2.0-4-amd64 suggests:
pn  debian-kernel-handbook  <none>
ii  grub-pc                 1.99-27+deb7u2
pn  linux-doc-3.2           <none>

Versions of packages linux-image-3.2.0-4-amd64 is related to:
pn  firmware-atheros        <none>
pn  firmware-bnx2           <none>
pn  firmware-bnx2x          <none>
pn  firmware-brcm80211      <none>
pn  firmware-intelwimax     <none>
pn  firmware-ipw2x00        <none>
pn  firmware-ivtv           <none>
pn  firmware-iwlwifi        <none>
pn  firmware-libertas       <none>
pn  firmware-linux          <none>
ii  firmware-linux-nonfree  0.36+wheezy.1
pn  firmware-myricom        <none>
pn  firmware-netxen         <none>
pn  firmware-qlogic         <none>
pn  firmware-ralink         <none>
pn  firmware-realtek        <none>
pn  xen-hypervisor          <none>

-- debconf information:
  linux-image-3.2.0-4-amd64/postinst/depmod-error-initrd-3.2.0-4-amd64: false
  linux-image-3.2.0-4-amd64/prerm/removing-running-kernel-3.2.0-4-amd64: true
  linux-image-3.2.0-4-amd64/postinst/ignoring-ramdisk:
  linux-image-3.2.0-4-amd64/postinst/missing-firmware-3.2.0-4-amd64:
--- a/sound/usb/mixer_quirks.c
+++ b/sound/usb/mixer_quirks.c
@@ -319,6 +319,90 @@
 	}
 }
 
+/* EMU0204 */
+static int snd_emu0204_ch_switch_info(struct snd_kcontrol *kcontrol,
+				      struct snd_ctl_elem_info *uinfo)
+{
+	static const char *texts[2] = {"1/2",
+				       "3/4"
+	};
+
+	uinfo->type = SNDRV_CTL_ELEM_TYPE_ENUMERATED;
+	uinfo->count = 1;
+	uinfo->value.enumerated.items = 2;
+	if (uinfo->value.enumerated.item > 1)
+		uinfo->value.enumerated.item = 1;
+	strcpy(uinfo->value.enumerated.name,
+		texts[uinfo->value.enumerated.item]);
+
+	return 0;
+}
+
+static int snd_emu0204_ch_switch_get(struct snd_kcontrol *kcontrol,
+				     struct snd_ctl_elem_value *ucontrol)
+{
+	ucontrol->value.enumerated.item[0] = kcontrol->private_value;
+	return 0;
+}
+
+static int snd_emu0204_ch_switch_put(struct snd_kcontrol *kcontrol,
+				     struct snd_ctl_elem_value *ucontrol)
+{
+	struct usb_mixer_interface *mixer = snd_kcontrol_chip(kcontrol);
+	unsigned int value = ucontrol->value.enumerated.item[0];
+	int err, changed;
+	unsigned char buf[2];
+
+	if (value > 1)
+		return -EINVAL;
+
+	buf[0] = 0x01;
+	buf[1] = value ? 0x02 : 0x01;
+
+	changed = value != kcontrol->private_value;
+	down_read(&mixer->chip->shutdown_rwsem);
+	if (mixer->chip->shutdown) {
+		err = -ENODEV;
+		goto out;
+	}
+	err = snd_usb_ctl_msg(mixer->chip->dev,
+		      usb_sndctrlpipe(mixer->chip->dev, 0), UAC_SET_CUR,
+		      USB_RECIP_INTERFACE | USB_TYPE_CLASS | USB_DIR_OUT,
+		      0x0400, 0x0e00, buf, 2);
+ out:
+	up_read(&mixer->chip->shutdown_rwsem);
+	if (err < 0)
+		return err;
+	kcontrol->private_value = value;
+	return changed;
+}
+
+
+static struct snd_kcontrol_new snd_emu0204_controls[] = {
+	{
+		.iface = SNDRV_CTL_ELEM_IFACE_MIXER,
+		.name = "Front Jack Channels",
+		.info = snd_emu0204_ch_switch_info,
+		.get = snd_emu0204_ch_switch_get,
+		.put = snd_emu0204_ch_switch_put,
+		.private_value = 0,
+	},
+};
+
+static int snd_emu0204_controls_create(struct usb_mixer_interface *mixer)
+{
+	int i, err;
+
+	for (i = 0; i < ARRAY_SIZE(snd_emu0204_controls); ++i) {
+		err = snd_ctl_add(mixer->chip->card,
+			snd_ctl_new1(&snd_emu0204_controls[i], mixer));
+		if (err < 0)
+			return err;
+	}
+
+	return 0;
+}
+
 static int snd_xonar_u1_switch_get(struct snd_kcontrol *kcontrol,
 				   struct snd_ctl_elem_value *ucontrol)
 {
@@ -627,6 +711,13 @@
 					      snd_audigy2nx_proc_read);
 		break;
 
+	/* EMU0204 */
+	case USB_ID(0x041e, 0x3f19):
+		err = snd_emu0204_controls_create(mixer);
+		if (err < 0)
+			break;
+		break;
+
 	case USB_ID(0x0763, 0x2080): /* M-Audio Fast Track Ultra */
 	case USB_ID(0x0763, 0x2081): /* M-Audio Fast Track Ultra 8R */
 		err = snd_maudio_ftu_create_mixer(mixer);

Reply to: