Re: [alsa-devel] M-Audio FastTrack C400
So this looks reasonably familiar,
int0 is DFU int1 is mixer int2 is audio out int3 is audio in int4 is midi int5 is HID
Quirk should look like the fast track ultra basically. maybe the mixer is less broken in this device?
Should we start with just QUIRK_STANDARD_AUDIO_INTERFACE or copy the whole data section from the Ultra quirk?
This has isosyncronous feedback for clock control needs current sound tree usb-audio tree
Grant
On Wed, Apr 18, 2012 at 8:45 AM, Chris Cavey chris-alsa@rauros.net wrote:
Will to help with development, may need pointers to get started and willing to test things. I am mostly concerned with simple playback. Recording, DSP, and Midi can all come later if at all.
As requested the output of sudo lsusb -v -d 0763:2030"
Bus 002 Device 003: ID 0763:2030 Midiman Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol 1 Interface Association bMaxPacketSize0 64 idVendor 0x0763 Midiman idProduct 0x2030 bcdDevice 1.01 iManufacturer 1 M-Audio iProduct 2 Fast Track C400 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 455 bNumInterfaces 6 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 254 Application Specific Interface bInterfaceSubClass 1 Device Firmware Update bInterfaceProtocol 0 iInterface 6 Fast Track C400 DFU Device Firmware Upgrade Interface Descriptor: bLength 9 bDescriptorType 33 bmAttributes 1 Will Not Detach Manifestation Intolerant Upload Unsupported Download Supported wDetachTimeout 2000 milliseconds wTransferSize 1024 bytes bcdDFUVersion 1.10 Interface Association: bLength 8 bDescriptorType 11 bFirstInterface 1 bInterfaceCount 4 bFunctionClass 255 Vendor Specific Class bFunctionSubClass 0 bFunctionProtocol 32 iFunction 2 Fast Track C400 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 1 bInterfaceProtocol 32 iInterface 2 Fast Track C400 ** UNRECOGNIZED: 09 24 01 00 02 0a a3 00 00 ** UNRECOGNIZED: 09 24 0b 80 02 81 82 03 00 ** UNRECOGNIZED: 08 24 0a 81 03 03 03 00 ** UNRECOGNIZED: 08 24 0a 82 00 05 03 00 ** UNRECOGNIZED: 11 24 02 00 01 01 00 80 06 00 00 00 00 00 00 00 00 ** UNRECOGNIZED: 0c 24 03 01 01 01 00 02 80 00 00 00 ** UNRECOGNIZED: 11 24 02 02 03 06 00 80 04 00 00 00 00 00 00 00 00 ** UNRECOGNIZED: 0c 24 03 03 03 06 00 40 80 00 00 00 ** UNRECOGNIZED: 11 24 09 20 00 00 02 02 00 04 00 00 00 00 00 00 00 ** UNRECOGNIZED: 15 24 04 40 03 02 00 43 04 00 00 00 00 00 ff ff ff ff 0f 00 00 ** UNRECOGNIZED: 10 24 04 42 02 02 00 01 00 00 00 00 00 ff 00 00 ** UNRECOGNIZED: 10 24 07 43 02 00 42 fd 03 00 00 fd 03 00 00 00 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 2 bInterfaceProtocol 32 iInterface 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 1 bNumEndpoints 1 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 2 bInterfaceProtocol 32 iInterface 4 Line ** UNRECOGNIZED: 10 24 01 00 00 01 01 00 00 00 06 00 00 00 00 00 ** UNRECOGNIZED: 06 24 02 01 03 18 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 37 Transfer Type Isochronous Synch Type Asynchronous Usage Type Implicit feedback Data wMaxPacketSize 0x00ea 1x 234 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 2 bNumEndpoints 1 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 2 bInterfaceProtocol 32 iInterface 4 Line ** UNRECOGNIZED: 10 24 01 00 00 01 d0 00 00 00 02 00 00 00 00 00 ** UNRECOGNIZED: 06 24 02 03 02 10 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 37 Transfer Type Isochronous Synch Type Asynchronous Usage Type Implicit feedback Data wMaxPacketSize 0x004e 1x 78 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 3 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 2 bInterfaceProtocol 32 iInterface 4 Line Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 3 bAlternateSetting 1 bNumEndpoints 1 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 2 bInterfaceProtocol 32 iInterface 4 Line ** UNRECOGNIZED: 10 24 01 00 00 01 01 00 00 00 04 00 00 00 00 00 ** UNRECOGNIZED: 06 24 02 01 03 18 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 5 Transfer Type Isochronous Synch Type Asynchronous Usage Type Data wMaxPacketSize 0x009c 1x 156 bytes bInterval 1 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 4 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 1 Audio bInterfaceSubClass 3 MIDI Streaming bInterfaceProtocol 0 iInterface 0 MIDIStreaming Interface Descriptor: bLength 7 bDescriptorType 36 bDescriptorSubtype 1 (HEADER) bcdADC 1.00 wTotalLength 35 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 8 bDescriptorType 36 bDescriptorSubtype 3 (MIDI_OUT_JACK) Warning: Descriptor too short bJackType 1 Embedded bJackID 3 bNrInputPins 1 baSourceID( 0) 2 BaSourcePin( 0) 1 iJack 8 MIDIStreaming Interface Descriptor: bLength 8 bDescriptorType 36 bDescriptorSubtype 3 (MIDI_OUT_JACK) Warning: Descriptor too short bJackType 2 External bJackID 4 bNrInputPins 1 baSourceID( 0) 1 BaSourcePin( 0) 1 iJack 105 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x07 EP 7 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 MIDIStreaming Endpoint Descriptor: bLength 5 bDescriptorType 37 bDescriptorSubtype 1 (GENERAL) bNumEmbMIDIJack 1 baAssocJackID( 0) 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x87 EP 7 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 MIDIStreaming Endpoint Descriptor: bLength 5 bDescriptorType 37 bDescriptorSubtype 1 (GENERAL) bNumEmbMIDIJack 1 baAssocJackID( 0) 3 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 5 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 0 No Subclass bInterfaceProtocol 1 Keyboard iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.10 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 63 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x86 EP 6 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 8 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: 0x0000 (Bus Powered)
On 04/17/2012 09:15 AM, Grant Diffey wrote:
start with an lsusb -v -d (vid:pid) pasted here
On Tue, Apr 17, 2012 at 10:37 PM, Chris Cavey chris-alsa@rauros.netwrote:
I'd love to be able to help ALSA support this USB sound device. I've currently got the device working in a VM on my Ubuntu 12.04 workstation. I believe I can capture USB packets. Would this be helpful to anyone? Any pointers on where to get started? _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Grant Diffey wrote:
So this looks reasonably familiar,
int0 is DFU int1 is mixer int2 is audio out int3 is audio in int4 is midi int5 is HID
Quirk should look like the fast track ultra basically. maybe the mixer is less broken in this device?
There only one way to find out. :)
{ USB_DEVICE_VENDOR_SPEC(0x0763, 0x2030), .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { /* .vendor_name = "M-Audio", */ /* .product_name = "Fast Track C400", */ .ifnum = QUIRK_ANY_INTERFACE, .type = QUIRK_COMPOSITE, .data = & (const struct snd_usb_audio_quirk[]) { { .ifnum = 1, .type = QUIRK_AUDIO_STANDARD_MIXER, }, { .ifnum = 2, .type = QUIRK_AUDIO_STANDARD_INTERFACE, }, { .ifnum = 3, .type = QUIRK_AUDIO_STANDARD_INTERFACE, }, /* interface 4 (MIDI) is standard compliant */ { .ifnum = -1 } } } },
Chris, add this to sound/usb/quirks-table.h and recompile the kernel.
Regards, Clemens
Stood up a new Ubuntu 12.04 VM and built alsa from 1.0.25 with the patch listed. I'm using VirtualBox with USB passthrough. This works fine when using the device in Win7 so I figured it would serve as good way to test the device without mucking around on my desktop.
After "alsa force-reload":
snd-usb-audio: probe of 1-1:1.1 failed with error -5 snd-usb-audio: probe of 1-1:1.2 failed with error -5 snd-usb-audio: probe of 1-1:1.3 failed with error -5
Thoughts?
On 04/18/2012 03:26 AM, Clemens Ladisch wrote:
Grant Diffey wrote:
So this looks reasonably familiar,
int0 is DFU int1 is mixer int2 is audio out int3 is audio in int4 is midi int5 is HID
Quirk should look like the fast track ultra basically. maybe the mixer is less broken in this device?
There only one way to find out. :)
{ USB_DEVICE_VENDOR_SPEC(0x0763, 0x2030), .driver_info = (unsigned long)& (const struct snd_usb_audio_quirk) { /* .vendor_name = "M-Audio", */ /* .product_name = "Fast Track C400", */ .ifnum = QUIRK_ANY_INTERFACE, .type = QUIRK_COMPOSITE, .data =& (const struct snd_usb_audio_quirk[]) { { .ifnum = 1, .type = QUIRK_AUDIO_STANDARD_MIXER, }, { .ifnum = 2, .type = QUIRK_AUDIO_STANDARD_INTERFACE, }, { .ifnum = 3, .type = QUIRK_AUDIO_STANDARD_INTERFACE, }, /* interface 4 (MIDI) is standard compliant */ { .ifnum = -1 } } } },
Chris, add this to sound/usb/quirks-table.h and recompile the kernel.
Regards, Clemens
I had been building from stable 1.0.25. I've since tried using the latest git master. I've also tried copying to the Fast Track Ultra (with adjusted channel/interface numbers). None of these combinations work. I get the same -5 (EIO?) error every time I force reload.
Hopefully the VM passthrough isn't causing the problem.
On 04/18/2012 10:01 PM, Chris Cavey wrote:
Stood up a new Ubuntu 12.04 VM and built alsa from 1.0.25 with the patch listed. I'm using VirtualBox with USB passthrough. This works fine when using the device in Win7 so I figured it would serve as good way to test the device without mucking around on my desktop.
After "alsa force-reload":
snd-usb-audio: probe of 1-1:1.1 failed with error -5 snd-usb-audio: probe of 1-1:1.2 failed with error -5 snd-usb-audio: probe of 1-1:1.3 failed with error -5
Thoughts?
On 04/18/2012 03:26 AM, Clemens Ladisch wrote:
Grant Diffey wrote:
So this looks reasonably familiar,
int0 is DFU int1 is mixer int2 is audio out int3 is audio in int4 is midi int5 is HID
Quirk should look like the fast track ultra basically. maybe the mixer is less broken in this device?
There only one way to find out. :)
{ USB_DEVICE_VENDOR_SPEC(0x0763, 0x2030), .driver_info = (unsigned long)& (const struct snd_usb_audio_quirk) { /* .vendor_name = "M-Audio", */ /* .product_name = "Fast Track C400", */ .ifnum = QUIRK_ANY_INTERFACE, .type = QUIRK_COMPOSITE, .data =& (const struct snd_usb_audio_quirk[]) { { .ifnum = 1, .type = QUIRK_AUDIO_STANDARD_MIXER, }, { .ifnum = 2, .type = QUIRK_AUDIO_STANDARD_INTERFACE, }, { .ifnum = 3, .type = QUIRK_AUDIO_STANDARD_INTERFACE, }, /* interface 4 (MIDI) is standard compliant */ { .ifnum = -1 } } } },
Chris, add this to sound/usb/quirks-table.h and recompile the kernel.
Regards, Clemens
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Chris Cavey wrote:
snd-usb-audio: probe of 1-1:1.1 failed with error -5 snd-usb-audio: probe of 1-1:1.2 failed with error -5 snd-usb-audio: probe of 1-1:1.3 failed with error -5
Are there no other messages immediately before this?
Daniel, are there places where the code aborts without print an error message?
Regards, Clemens
Complete snippet from the log
[ 374.104138] usbcore: deregistering interface driver snd-usb-audio [ 374.875660] snd-usb-audio: probe of 1-1:1.1 failed with error -5 [ 374.881649] snd-usb-audio: probe of 1-1:1.2 failed with error -5 [ 374.887654] snd-usb-audio: probe of 1-1:1.3 failed with error -5 [ 374.895366] usbcore: registered new interface driver snd-usb-audio
Sidenote - While I don't have a midi device to test with, it would appear that the midi portion registers correctly and is accessible (at least through amidi and aplaymidi)
On 04/19/2012 04:53 AM, Clemens Ladisch wrote:
Chris Cavey wrote:
snd-usb-audio: probe of 1-1:1.1 failed with error -5 snd-usb-audio: probe of 1-1:1.2 failed with error -5 snd-usb-audio: probe of 1-1:1.3 failed with error -5
Are there no other messages immediately before this?
Daniel, are there places where the code aborts without print an error message?
Regards, Clemens _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
On Thu, Apr 19, 2012 at 8:26 PM, Chris Cavey chris-alsa@rauros.net wrote:
Complete snippet from the log
[ 374.104138] usbcore: deregistering interface driver snd-usb-audio [ 374.875660] snd-usb-audio: probe of 1-1:1.1 failed with error -5 [ 374.881649] snd-usb-audio: probe of 1-1:1.2 failed with error -5 [ 374.887654] snd-usb-audio: probe of 1-1:1.3 failed with error -5 [ 374.895366] usbcore: registered new interface driver snd-usb-audio
Sidenote - While I don't have a midi device to test with, it would appear that the midi portion registers correctly and is accessible (at least through amidi and aplaymidi)
On 04/19/2012 04:53 AM, Clemens Ladisch wrote:
Chris Cavey wrote:
snd-usb-audio: probe of 1-1:1.1 failed with error -5 snd-usb-audio: probe of 1-1:1.2 failed with error -5 snd-usb-audio: probe of 1-1:1.3 failed with error -5
Are there no other messages immediately before this?
that looks like a snippet on unload can I have another 10 lines either side?
entire log
[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.2.0-23-generic (buildd@crested) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu4) ) #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 (Ubuntu 3.2.0-23.36-generic 3.2.14) [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic root=UUID=ec96128d-feb6-40e6-a5aa-b55aa2219935 ro [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) [ 0.000000] BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) [ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) [ 0.000000] BIOS-e820: 0000000000100000 - 00000000dfff0000 (usable) [ 0.000000] BIOS-e820: 00000000dfff0000 - 00000000e0000000 (ACPI data) [ 0.000000] BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved) [ 0.000000] BIOS-e820: 0000000100000000 - 0000000120000000 (usable) [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] DMI 2.5 present. [ 0.000000] DMI: innotek GmbH VirtualBox, BIOS VirtualBox 12/01/2006 [ 0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved) [ 0.000000] e820 remove range: 00000000000a0000 - 0000000000100000 (usable) [ 0.000000] No AGP bridge found [ 0.000000] last_pfn = 0x120000 max_arch_pfn = 0x400000000 [ 0.000000] MTRR default type: uncachable [ 0.000000] MTRR variable ranges disabled: [ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106 [ 0.000000] CPU MTRRs all blank - virtualized system. [ 0.000000] last_pfn = 0xdfff0 max_arch_pfn = 0x400000000 [ 0.000000] found SMP MP-table at [ffff88000009fff0] 9fff0 [ 0.000000] initial memory mapped : 0 - 20000000 [ 0.000000] Base memory trampoline at [ffff88000009a000] 9a000 size 20480 [ 0.000000] init_memory_mapping: 0000000000000000-00000000dfff0000 [ 0.000000] 0000000000 - 00dfe00000 page 2M [ 0.000000] 00dfe00000 - 00dfff0000 page 4k [ 0.000000] kernel direct mapping tables up to dfff0000 @ 1fffa000-20000000 [ 0.000000] init_memory_mapping: 0000000100000000-0000000120000000 [ 0.000000] 0100000000 - 0120000000 page 2M [ 0.000000] kernel direct mapping tables up to 120000000 @ dffea000-dfff0000 [ 0.000000] RAMDISK: 364ec000 - 3726e000 [ 0.000000] ACPI: RSDP 00000000000e0000 00024 (v02 VBOX ) [ 0.000000] ACPI: XSDT 00000000dfff0030 0003C (v01 VBOX VBOXXSDT 00000001 ASL 00000061) [ 0.000000] ACPI: FACP 00000000dfff00f0 000F4 (v04 VBOX VBOXFACP 00000001 ASL 00000061) [ 0.000000] ACPI: DSDT 00000000dfff0480 01B96 (v01 VBOX VBOXBIOS 00000002 INTL 20100528) [ 0.000000] ACPI: FACS 00000000dfff0200 00040 [ 0.000000] ACPI: APIC 00000000dfff0240 0006C (v02 VBOX VBOXAPIC 00000001 ASL 00000061) [ 0.000000] ACPI: SSDT 00000000dfff02b0 001CC (v01 VBOX VBOXCPUT 00000002 INTL 20100528) [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at 0000000000000000-0000000120000000 [ 0.000000] Initmem setup node 0 0000000000000000-0000000120000000 [ 0.000000] NODE_DATA [000000011fffb000 - 000000011fffffff] [ 0.000000] [ffffea0000000000-ffffea00047fffff] PMD -> [ffff88011b600000-ffff88011f5fffff] on node 0 [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000010 -> 0x00001000 [ 0.000000] DMA32 0x00001000 -> 0x00100000 [ 0.000000] Normal 0x00100000 -> 0x00120000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[3] active PFN ranges [ 0.000000] 0: 0x00000010 -> 0x0000009f [ 0.000000] 0: 0x00000100 -> 0x000dfff0 [ 0.000000] 0: 0x00100000 -> 0x00120000 [ 0.000000] On node 0 totalpages: 1048447 [ 0.000000] DMA zone: 64 pages used for memmap [ 0.000000] DMA zone: 5 pages reserved [ 0.000000] DMA zone: 3914 pages, LIFO batch:0 [ 0.000000] DMA32 zone: 16320 pages used for memmap [ 0.000000] DMA32 zone: 897072 pages, LIFO batch:31 [ 0.000000] Normal zone: 2048 pages used for memmap [ 0.000000] Normal zone: 129024 pages, LIFO batch:31 [ 0.000000] ACPI: PM-Timer IO Port: 0x4008 [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled) [ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled) [ 0.000000] ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0]) [ 0.000000] IOAPIC[0]: apic_id 4, version 17, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.000000] ACPI: IRQ0 used by override. [ 0.000000] ACPI: IRQ2 used by override. [ 0.000000] ACPI: IRQ9 used by override. [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] SMP: Allowing 4 CPUs, 0 hotplug CPUs [ 0.000000] nr_irqs_gsi: 40 [ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000 [ 0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000 [ 0.000000] PM: Registered nosave memory: 00000000dfff0000 - 00000000e0000000 [ 0.000000] PM: Registered nosave memory: 00000000e0000000 - 00000000fffc0000 [ 0.000000] PM: Registered nosave memory: 00000000fffc0000 - 0000000100000000 [ 0.000000] Allocating PCI resources starting at e0000000 (gap: e0000000:1ffc0000) [ 0.000000] Booting paravirtualized kernel on bare hardware [ 0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:4 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 28 pages/cpu @ffff88011fc00000 s83072 r8192 d23424 u524288 [ 0.000000] pcpu-alloc: s83072 r8192 d23424 u524288 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 0 1 2 3 [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 1030010 [ 0.000000] Policy zone: Normal [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic root=UUID=ec96128d-feb6-40e6-a5aa-b55aa2219935 ro [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Checking aperture... [ 0.000000] No AGP bridge found [ 0.000000] Calgary: detecting Calgary via BIOS EBDA area [ 0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing! [ 0.000000] Memory: 4032084k/4718592k available (6566k kernel code, 524804k absent, 161704k reserved, 6637k data, 920k init) [ 0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU dyntick-idle grace-period acceleration is enabled. [ 0.000000] NR_IRQS:16640 nr_irqs:712 16 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] console [tty0] enabled [ 0.000000] allocated 33554432 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Fast TSC calibration using PIT [ 0.000000] Detected 3385.153 MHz processor. [ 0.004003] Calibrating delay loop (skipped), value calculated using timer frequency.. 6770.30 BogoMIPS (lpj=13540612) [ 0.004007] pid_max: default: 32768 minimum: 301 [ 0.004023] Security Framework initialized [ 0.004033] AppArmor: AppArmor initialized [ 0.004035] Yama: becoming mindful. [ 0.004588] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.005520] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.005792] Mount-cache hash table entries: 256 [ 0.005903] Initializing cgroup subsys cpuacct [ 0.005908] Initializing cgroup subsys memory [ 0.005913] Initializing cgroup subsys devices [ 0.005916] Initializing cgroup subsys freezer [ 0.005918] Initializing cgroup subsys blkio [ 0.005922] Initializing cgroup subsys perf_event [ 0.006124] CPU: Physical Processor ID: 0 [ 0.006127] CPU: Processor Core ID: 0 [ 0.006143] mce: CPU supports 0 MCE banks [ 0.024772] ACPI: Core revision 20110623 [ 0.025296] ftrace: allocating 27049 entries in 107 pages [ 0.036357] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.076499] CPU0: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz stepping 07 [ 0.080004] Performance Events: unsupported p6 CPU model 42 no PMU driver, software events only. [ 0.080004] NMI watchdog disabled (cpu0): hardware events not enabled [ 0.080004] Booting Node 0, Processors #1 [ 0.080004] smpboot cpu 1: start_ip = 9a000 [ 0.008000] mce: CPU supports 0 MCE banks [ 0.168009] TSC synchronization [CPU#0 -> CPU#1]: [ 0.168009] Measured 195227 cycles TSC warp between CPUs, turning off TSC clock. [ 0.168009] Marking TSC unstable due to check_tsc_sync_source failed [ 0.168030] NMI watchdog disabled (cpu1): hardware events not enabled [ 0.168227] #2 [ 0.168228] smpboot cpu 2: start_ip = 9a000 [ 0.008000] mce: CPU supports 0 MCE banks [ 0.256324] NMI watchdog disabled (cpu2): hardware events not enabled [ 0.256528] #3 Ok. [ 0.256529] smpboot cpu 3: start_ip = 9a000 [ 0.008000] mce: CPU supports 0 MCE banks [ 0.344331] NMI watchdog disabled (cpu3): hardware events not enabled [ 0.344371] Brought up 4 CPUs [ 0.344373] Total of 4 processors activated (27145.08 BogoMIPS). [ 0.345354] devtmpfs: initialized [ 0.345354] EVM: security.selinux [ 0.345354] EVM: security.SMACK64 [ 0.345354] EVM: security.capability [ 0.345354] print_constraints: dummy: [ 0.345354] RTC time: 10:28:42, date: 04/19/12 [ 0.345354] NET: Registered protocol family 16 [ 0.345354] ACPI: bus type pci registered [ 0.345354] PCI: Using configuration type 1 for base access [ 0.345354] Trying to unpack rootfs image as initramfs... [ 0.348353] bio: create slab <bio-0> at 0 [ 0.348353] ACPI: Added _OSI(Module Device) [ 0.348353] ACPI: Added _OSI(Processor Device) [ 0.348353] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.348353] ACPI: Added _OSI(Processor Aggregator Device) [ 0.348353] ACPI: EC: Look up EC in DSDT [ 0.348547] ACPI: Executed 1 blocks of module-level executable AML code [ 0.350447] ACPI: Interpreter enabled [ 0.350450] ACPI: (supports S0 S5) [ 0.350459] ACPI: Using IOAPIC for interrupt routing [ 0.352692] ACPI: No dock devices found. [ 0.352695] HEST: Table not found. [ 0.352697] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug [ 0.352738] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff]) [ 0.352813] pci_root PNP0A03:00: host bridge window [io 0x0000-0x0cf7] (ignored) [ 0.352815] pci_root PNP0A03:00: host bridge window [io 0x0d00-0xffff] (ignored) [ 0.352816] pci_root PNP0A03:00: host bridge window [mem 0x000a0000-0x000bffff] (ignored) [ 0.352818] pci_root PNP0A03:00: host bridge window [mem 0xe0000000-0xffdfffff] (ignored) [ 0.352852] pci 0000:00:00.0: [8086:1237] type 0 class 0x000600 [ 0.353150] pci 0000:00:01.0: [8086:7000] type 0 class 0x000601 [ 0.353567] pci 0000:00:01.1: [8086:7111] type 0 class 0x000101 [ 0.353885] pci 0000:00:01.1: reg 20: [io 0xd000-0xd00f] [ 0.354120] pci 0000:00:02.0: [80ee:beef] type 0 class 0x000300 [ 0.356449] pci 0000:00:02.0: reg 10: [mem 0xe0000000-0xe0ffffff pref] [ 0.372789] pci 0000:00:03.0: [1af4:1000] type 0 class 0x000200 [ 0.372900] pci 0000:00:03.0: reg 10: [io 0xd020-0xd03f] [ 0.373432] pci 0000:00:04.0: [80ee:cafe] type 0 class 0x000880 [ 0.376229] pci 0000:00:04.0: reg 10: [io 0xd040-0xd05f] [ 0.380229] pci 0000:00:04.0: reg 14: [mem 0xf0000000-0xf03fffff] [ 0.382891] pci 0000:00:04.0: reg 18: [mem 0xf0400000-0xf0403fff pref] [ 0.392444] pci 0000:00:06.0: [106b:003f] type 0 class 0x000c03 [ 0.396234] pci 0000:00:06.0: reg 10: [mem 0xf0404000-0xf0404fff] [ 0.411054] pci 0000:00:07.0: [8086:7113] type 0 class 0x000680 [ 0.412109] pci 0000:00:0b.0: [8086:265c] type 0 class 0x000c03 [ 0.414940] pci 0000:00:0b.0: reg 10: [mem 0xf0405000-0xf0405fff] [ 0.431155] pci 0000:00:0d.0: [8086:2829] type 0 class 0x000106 [ 0.432285] pci 0000:00:0d.0: reg 10: [io 0xd060-0xd067] [ 0.440252] pci 0000:00:0d.0: reg 18: [io 0xd070-0xd077] [ 0.444431] pci 0000:00:0d.0: reg 20: [io 0xd080-0xd08f] [ 0.448447] pci 0000:00:0d.0: reg 24: [mem 0xf0406000-0xf0407fff] [ 0.453161] ACPI: PCI Interrupt Routing Table [_SB_.PCI0._PRT] [ 0.454249] pci0000:00: Unable to request _OSC control (_OSC support mask: 0x1e) [ 0.460028] ACPI: PCI Interrupt Link [LNKA] (IRQs *5 9 10 11) [ 0.460448] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 9 10 *11) [ 0.460566] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 9 *10 11) [ 0.460681] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 *9 10 11) [ 0.461127] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none [ 0.461127] vgaarb: loaded [ 0.461127] vgaarb: bridge control possible 0000:00:02.0 [ 0.461127] i2c-core: driver [aat2870] using legacy suspend method [ 0.461127] i2c-core: driver [aat2870] using legacy resume method [ 0.461127] SCSI subsystem initialized [ 0.461127] libata version 3.00 loaded. [ 0.461127] usbcore: registered new interface driver usbfs [ 0.461127] usbcore: registered new interface driver hub [ 0.461127] usbcore: registered new device driver usb [ 0.461127] PCI: Using ACPI for IRQ routing [ 0.461127] PCI: pci_cache_line_size set to 64 bytes [ 0.461127] reserve RAM buffer: 000000000009fc00 - 000000000009ffff [ 0.461127] reserve RAM buffer: 00000000dfff0000 - 00000000dfffffff [ 0.461127] NetLabel: Initializing [ 0.461127] NetLabel: domain hash size = 128 [ 0.461127] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.461127] NetLabel: unlabeled traffic allowed by default [ 0.469329] AppArmor: AppArmor Filesystem Enabled [ 0.469352] pnp: PnP ACPI init [ 0.469365] ACPI: bus type pnp registered [ 0.469424] pnp 00:00: [bus 00-ff] [ 0.469425] pnp 00:00: [io 0x0cf8-0x0cff] [ 0.469427] pnp 00:00: [io 0x0000-0x0cf7 window] [ 0.469428] pnp 00:00: [io 0x0d00-0xffff window] [ 0.469431] pnp 00:00: [mem 0x000a0000-0x000bffff window] [ 0.469432] pnp 00:00: [mem 0xe0000000-0xffdfffff window] [ 0.469454] pnp 00:00: Plug and Play ACPI device, IDs PNP0a03 (active) [ 0.469465] pnp 00:01: [io 0x0060] [ 0.469466] pnp 00:01: [io 0x0064] [ 0.469492] pnp 00:01: [irq 1] [ 0.469507] pnp 00:01: Plug and Play ACPI device, IDs PNP0303 (active) [ 0.469513] pnp 00:02: [io 0x0000-0x000f] [ 0.469514] pnp 00:02: [io 0x0080-0x008f] [ 0.469515] pnp 00:02: [io 0x00c0-0x00df] [ 0.469516] pnp 00:02: [dma 4] [ 0.469527] pnp 00:02: Plug and Play ACPI device, IDs PNP0200 (active) [ 0.469569] pnp 00:03: [irq 12] [ 0.469584] pnp 00:03: Plug and Play ACPI device, IDs PNP0f03 (active) [ 0.469593] pnp 00:04: [io 0x0378-0x037f] [ 0.469594] pnp 00:04: [io 0x0778-0x077f] [ 0.469612] pnp 00:04: [irq 7] [ 0.469626] pnp 00:04: Plug and Play ACPI device, IDs PNP0400 (active) [ 0.469954] pnp: PnP ACPI: found 5 devices [ 0.469956] ACPI: ACPI bus type pnp unregistered [ 0.479843] Switching to clocksource acpi_pm [ 0.479942] PCI: max bus depth: 0 pci_try_num: 1 [ 0.479960] pci_bus 0000:00: resource 0 [io 0x0000-0xffff] [ 0.479964] pci_bus 0000:00: resource 1 [mem 0x00000000-0xfffffffff] [ 0.479989] NET: Registered protocol family 2 [ 0.479989] IP route cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.479989] TCP established hash table entries: 524288 (order: 11, 8388608 bytes) [ 0.479989] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) [ 0.479989] TCP: Hash tables configured (established 524288 bind 65536) [ 0.479989] TCP reno registered [ 0.479989] UDP hash table entries: 2048 (order: 4, 65536 bytes) [ 0.479989] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) [ 0.479989] NET: Registered protocol family 1 [ 0.479989] pci 0000:00:00.0: Limiting direct PCI/PCI transfers [ 0.479989] pci 0000:00:01.0: Activating ISA DMA hang workarounds [ 0.479989] pci 0000:00:02.0: Boot video device [ 0.479989] pci 0000:00:06.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 [ 0.536224] pci 0000:00:06.0: PCI INT A disabled [ 0.536281] pci 0000:00:0b.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 [ 0.536419] pci 0000:00:0b.0: PCI INT A disabled [ 0.536438] PCI: CLS 64 bytes, default 64 [ 0.536440] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 0.536442] Placing 64MB software IO TLB between ffff8800dbfea000 - ffff8800dffea000 [ 0.536445] software IO TLB at phys 0xdbfea000 - 0xdffea000 [ 0.536534] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 0.537218] audit: initializing netlink socket (disabled) [ 0.537228] type=2000 audit(1334831321.536:1): initialized [ 0.559691] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.569424] VFS: Disk quotas dquot_6.5.2 [ 0.569466] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.570011] fuse init (API version 7.17) [ 0.570131] msgmni has been set to 7875 [ 0.571849] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.571976] io scheduler noop registered [ 0.571979] io scheduler deadline registered [ 0.572009] io scheduler cfq registered (default) [ 0.572158] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 0.572176] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 0.572258] ACPI: Deprecated procfs I/F for AC is loaded, please retry with CONFIG_ACPI_PROCFS_POWER cleared [ 0.572298] ACPI: AC Adapter [AC] (on-line) [ 0.572375] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0 [ 0.572380] ACPI: Power Button [PWRF] [ 0.572433] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1 [ 0.572437] ACPI: Sleep Button [SLPF] [ 0.573452] ERST: Table is not found! [ 0.573454] GHES: HEST is not enabled! [ 0.573530] virtio-pci 0000:00:03.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 [ 0.573727] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 0.605871] Freeing initrd memory: 13832k freed [ 1.248951] Linux agpgart interface v0.103 [ 1.254544] brd: module loaded [ 1.256947] loop: module loaded [ 1.257314] ahci 0000:00:0d.0: version 3.0 [ 1.257415] ahci 0000:00:0d.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21 [ 1.257633] ahci: SSS flag set, parallel bus scan disabled [ 1.257942] ahci 0000:00:0d.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode [ 1.257951] ahci 0000:00:0d.0: flags: 64bit ncq stag only ccc [ 1.258674] scsi0 : ahci [ 1.258767] ata1: SATA max UDMA/133 abar m8192@0xf0406000 port 0xf0406100 irq 21 [ 1.258844] ata_piix 0000:00:01.1: version 2.13 [ 1.259824] scsi1 : ata_piix [ 1.260317] scsi2 : ata_piix [ 1.260374] ata2: PATA max UDMA/33 cmd 0x1f0 ctl 0x3f6 bmdma 0xd000 irq 14 [ 1.260380] ata3: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xd008 irq 15 [ 1.260804] Fixed MDIO Bus: probed [ 1.260817] tun: Universal TUN/TAP device driver, 1.6 [ 1.260818] tun: (C) 1999-2004 Max Krasnyansky maxk@qualcomm.com [ 1.261638] PPP generic driver version 2.4.2 [ 1.262079] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.262122] ehci_hcd 0000:00:0b.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 [ 1.262195] ehci_hcd 0000:00:0b.0: EHCI Host Controller [ 1.262430] ehci_hcd 0000:00:0b.0: new USB bus registered, assigned bus number 1 [ 1.262761] ehci_hcd 0000:00:0b.0: irq 19, io mem 0xf0405000 [ 1.272188] ehci_hcd 0000:00:0b.0: USB 2.0 started, EHCI 1.00 [ 1.272644] hub 1-0:1.0: USB hub found [ 1.272654] hub 1-0:1.0: 8 ports detected [ 1.272827] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.272898] ohci_hcd 0000:00:06.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22 [ 1.272984] ohci_hcd 0000:00:06.0: OHCI Host Controller [ 1.273269] ohci_hcd 0000:00:06.0: new USB bus registered, assigned bus number 2 [ 1.273417] ohci_hcd 0000:00:06.0: irq 22, io mem 0xf0404000 [ 1.329002] hub 2-0:1.0: USB hub found [ 1.329032] hub 2-0:1.0: 8 ports detected [ 1.329525] uhci_hcd: USB Universal Host Controller Interface driver [ 1.329601] usbcore: registered new interface driver libusual [ 1.329655] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f03:PS2M] at 0x60,0x64 irq 1,12 [ 1.330733] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 1.330748] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 1.331290] mousedev: PS/2 mouse device common for all mice [ 1.332223] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2 [ 1.332913] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 [ 1.333075] rtc0: alarms up to one day, 114 bytes nvram [ 1.333222] device-mapper: uevent: version 1.0.3 [ 1.333528] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com [ 1.333559] cpuidle: using governor ladder [ 1.333563] cpuidle: using governor menu [ 1.333567] EFI Variables Facility v0.08 2004-May-17 [ 1.333859] TCP cubic registered [ 1.334011] NET: Registered protocol family 10 [ 1.334802] NET: Registered protocol family 17 [ 1.334835] Registering the dns_resolver key type [ 1.335954] PM: Hibernation image not present or could not be loaded. [ 1.335973] registered taskstats version 1 [ 1.360349] Magic number: 8:400:477 [ 1.360600] rtc_cmos rtc_cmos: setting system clock to 2012-04-19 10:28:43 UTC (1334831323) [ 1.360808] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 1.360813] EDD information not available. [ 1.417071] ata3.00: ATAPI: VBOX CD-ROM, 1.0, max UDMA/133 [ 1.418236] ata3.00: configured for UDMA/33 [ 1.576294] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 1.576442] ata1.00: ATA-6: VBOX HARDDISK, 1.0, max UDMA/133 [ 1.576449] ata1.00: 16777216 sectors, multi 128: LBA48 NCQ (depth 31/32) [ 1.576637] ata1.00: configured for UDMA/133 [ 1.577145] scsi 0:0:0:0: Direct-Access ATA VBOX HARDDISK 1.0 PQ: 0 ANSI: 5 [ 1.577596] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 1.577628] sd 0:0:0:0: [sda] 16777216 512-byte logical blocks: (8.58 GB/8.00 GiB) [ 1.578323] sd 0:0:0:0: [sda] Write Protect is off [ 1.578332] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 1.578580] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 1.578765] scsi 2:0:0:0: CD-ROM VBOX CD-ROM 1.0 PQ: 0 ANSI: 5 [ 1.579836] sr0: scsi3-mmc drive: 32x/32x xa/form2 tray [ 1.579853] cdrom: Uniform CD-ROM driver Revision: 3.20 [ 1.580258] sr 2:0:0:0: Attached scsi CD-ROM sr0 [ 1.580557] sr 2:0:0:0: Attached scsi generic sg1 type 5 [ 1.581366] sda: sda1 sda2 < sda5 > [ 1.583094] sd 0:0:0:0: [sda] Attached SCSI disk [ 1.584231] usb 1-1: new high-speed USB device number 2 using ehci_hcd [ 1.585305] Freeing unused kernel memory: 920k freed [ 1.585472] Write protecting the kernel read-only data: 12288k [ 1.593051] Freeing unused kernel memory: 1608k freed [ 1.599031] Freeing unused kernel memory: 1196k freed [ 1.637534] udevd[101]: starting version 175 [ 1.771768] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) [ 1.874977] hrtimer: interrupt took 107977688 ns [ 2.224241] usb 2-1: new full-speed USB device number 2 using ohci_hcd [ 4.998829] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 5.015680] udevd[296]: starting version 175 [ 5.046608] Adding 4192252k swap on /dev/sda5. Priority:-1 extents:1 across:4192252k [ 5.084794] piix4_smbus 0000:00:07.0: SMBus base address uninitialized - upgrade BIOS or use force_addr=0xaddr [ 5.090614] lp: driver loaded but no devices found [ 5.096851] type=1400 audit(1334831327.232:2): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=359 comm="apparmor_parser" [ 5.097421] type=1400 audit(1334831327.232:3): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=359 comm="apparmor_parser" [ 5.097656] type=1400 audit(1334831327.232:4): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=359 comm="apparmor_parser" [ 5.142805] pci 0000:00:04.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20 [ 5.148416] input: M-Audio Fast Track C400 as /devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:1.5/input/input3 [ 5.150294] input: Unspecified device as /devices/virtual/input/input4 [ 5.151404] vboxguest: major 0, IRQ 20, I/O port d040, MMIO at 00000000f0000000 (size 0x400000) [ 5.151407] vboxguest: Successfully loaded version 4.1.12 (interface 0x00010004) [ 5.153200] generic-usb 0003:0763:2030.0001: input,hidraw0: USB HID v1.10 Keyboard [M-Audio Fast Track C400] on usb-0000:00:0b.0-1/input5 [ 5.154104] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input5 [ 5.173055] parport_pc 00:04: reported by Plug and Play ACPI [ 5.176070] input: VirtualBox USB Tablet as /devices/pci0000:00/0000:00:06.0/usb2/2-1/2-1:1.0/input/input6 [ 5.176363] generic-usb 0003:80EE:0021.0002: input,hidraw1: USB HID v1.10 Mouse [VirtualBox USB Tablet] on usb-0000:00:06.0-1/input0 [ 5.176376] usbcore: registered new interface driver usbhid [ 5.176377] usbhid: USB HID core driver [ 5.193484] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro [ 5.197201] ppdev: user-space parallel port driver [ 5.284929] snd-usb-audio: probe of 1-1:1.1 failed with error -5 [ 5.290898] snd-usb-audio: probe of 1-1:1.2 failed with error -5 [ 5.296928] snd-usb-audio: probe of 1-1:1.3 failed with error -5 [ 5.303749] usbcore: registered new interface driver snd-usb-audio [ 5.568497] vesafb: mode is 640x480x32, linelength=2560, pages=0 [ 5.568501] vesafb: scrolling: redraw [ 5.568505] vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0 [ 5.568573] mtrr: your processor doesn't support write-combining [ 5.568906] vesafb: framebuffer at 0xe0000000, mapped to 0xffffc90003f00000, using 1216k, total 1216k [ 5.569237] Console: switching to colour frame buffer device 80x30 [ 5.573612] fb0: VESA VGA frame buffer device [ 7.628873] init: failsafe main process (676) killed by TERM signal [ 7.686842] type=1400 audit(1334831329.820:5): apparmor="STATUS" operation="profile_load" name="/usr/sbin/tcpdump" pid=856 comm="apparmor_parser" [ 7.686955] type=1400 audit(1334831329.820:6): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=854 comm="apparmor_parser" [ 7.687523] type=1400 audit(1334831329.820:7): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=854 comm="apparmor_parser" [ 7.687836] type=1400 audit(1334831329.820:8): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=854 comm="apparmor_parser" [ 7.881629] vboxsf: Successfully loaded version 4.1.12 (interface 0x00010004) [ 15.552201] eth0: no IPv6 routers present
On 4/19/2012 7:09 AM, Grant Diffey wrote:
On Thu, Apr 19, 2012 at 8:26 PM, Chris Caveychris-alsa@rauros.net wrote:
Complete snippet from the log
[ 374.104138] usbcore: deregistering interface driver snd-usb-audio [ 374.875660] snd-usb-audio: probe of 1-1:1.1 failed with error -5 [ 374.881649] snd-usb-audio: probe of 1-1:1.2 failed with error -5 [ 374.887654] snd-usb-audio: probe of 1-1:1.3 failed with error -5 [ 374.895366] usbcore: registered new interface driver snd-usb-audio
Sidenote - While I don't have a midi device to test with, it would appear that the midi portion registers correctly and is accessible (at least through amidi and aplaymidi)
On 04/19/2012 04:53 AM, Clemens Ladisch wrote:
Chris Cavey wrote:
snd-usb-audio: probe of 1-1:1.1 failed with error -5 snd-usb-audio: probe of 1-1:1.2 failed with error -5 snd-usb-audio: probe of 1-1:1.3 failed with error -5
Are there no other messages immediately before this?
that looks like a snippet on unload can I have another 10 lines either side? _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
On 04/19/2012 10:53 AM, Clemens Ladisch wrote:
Chris Cavey wrote:
snd-usb-audio: probe of 1-1:1.1 failed with error -5 snd-usb-audio: probe of 1-1:1.2 failed with error -5 snd-usb-audio: probe of 1-1:1.3 failed with error -5
Are there no other messages immediately before this?
Daniel, are there places where the code aborts without print an error message?
Yes, there are in fact some. -5 means -EIO, and the module probe will fail with this error code in case snd_usb_audio_probe() returns NULL. Chris, can you trace this functions in sound/usb/card.c and see where it bails?
Daniel
Having never done kernel module debugging I resorted to littering printk everywhere. Crude but effective. I'll really need to look into setting up kernel debug in VirtualBox...
The C400 appears to be UAC2 device.
The root cause of the failure occurs during snd_usb_mixer_controls()
Following down the rabbit hole,
parse_audio_unit() discovers a type, UAC_MIXER_UNIT and beings to parse pins in parse_audio_mixer_unit()
A pin is found of type "7" which since this is UAC2 device, could be UAC2_EFFECT_UNIT or UAC1_PROCESSING_UNIT
We arrive at the following case in check_input_term:
case UAC1_PROCESSING_UNIT: case UAC1_EXTENSION_UNIT: { struct uac_processing_unit_descriptor *d = p1; if (d->bNrInPins) { id = d->baSourceID[0]; break; /* continue to parse */ }
The break ultimately results (after find_audio_control_unit returns NULL) in ENODEV which bubbles all the way back out to snd_usb_audio_probe(), goto returns NULL, back out to usb_audio_probe() which finally returns -EIO.
Being a little daring I replaced the break with "return 0;" - now the card is detected but fails trying to probe sample rates.
I copied the FIXED_ENDPOINT quirk descriptor from the FTU and trying to slam in workable values(channels = 2, ifnum = 2).
Viola! The card now completes probing and shows up as a device in aplay -L/-l.
Except I can't get it to play anything (figure it would all be too good to be true)
$ speaker-test -Dfront:C400 speaker-test 1.0.25
Playback device is front:C400 Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise Sample format not available for playback: Invalid argument Setting of hwparams failed: Invalid argument
$ amixer contents numid=1,iface=MIXER,name='PCM Clock Source' ; type=ENUMERATED,access=rw------,values=1,items=2 ; Item #0 'Unit 129' ; Item #1 'Unit 130' : values=0
On 04/20/2012 03:54 AM, Daniel Mack wrote:
On 04/19/2012 10:53 AM, Clemens Ladisch wrote:
Chris Cavey wrote:
snd-usb-audio: probe of 1-1:1.1 failed with error -5 snd-usb-audio: probe of 1-1:1.2 failed with error -5 snd-usb-audio: probe of 1-1:1.3 failed with error -5
Are there no other messages immediately before this?
Daniel, are there places where the code aborts without print an error message?
Yes, there are in fact some. -5 means -EIO, and the module probe will fail with this error code in case snd_usb_audio_probe() returns NULL. Chris, can you trace this functions in sound/usb/card.c and see where it bails?
Daniel _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
2012/4/21 Chris Cavey chris-alsa@rauros.net:
The C400 appears to be UAC2 device.
How do you come to this conclusion?
I copied the FIXED_ENDPOINT quirk descriptor from the FTU and trying to slam in workable values
That's a good idea given that the C400 is said to use the same chip as the FTU.
(channels = 2, ifnum = 2).
Why do you use channels=2. As fas as I can tell the device has 6 channels. Try that.
Except I can't get it to play anything (figure it would all be too good to be true)
$ speaker-test -Dfront:C400 speaker-test 1.0.25
Playback device is front:C400 Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise Sample format not available for playback: Invalid argument Setting of hwparams failed: Invalid argument
The device probably supports only S24_3LE audio. At least that's what you tell Alsa with the FTU quirk. Try to play something through the corresponding hw device or use Jack or convert some audio file to S24_3LE and play through aplay etc...
$ amixer contents numid=1,iface=MIXER,name='PCM Clock Source' ; type=ENUMERATED,access=rw------,values=1,items=2 ; Item #0 'Unit 129' ; Item #1 'Unit 130' : values=0
That's good. Probably we won't need to implement a custom clock source switch for this device.
Nevertheless, I'll try to come up with a quirk that might get the mixer working. Might take a couple of days.
Regards,
Felix
2012/4/21 Felix Homann linuxaudio@showlabor.de:
(channels = 2, ifnum = 2).
Why do you use channels=2. As fas as I can tell the device has 6 channels.
That should be: 6 playback channels and 4 capture channels.
--Felix
(channels = 2, ifnum = 2).
Why do you use channels=2. As fas as I can tell the device has 6 channels. Try that.
Except I can't get it to play anything (figure it would all be too good to be true)
$ speaker-test -Dfront:C400 speaker-test 1.0.25
Playback device is front:C400 Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise Sample format not available for playback: Invalid argument Setting of hwparams failed: Invalid argument
The device probably supports only S24_3LE audio. At least that's what you tell Alsa with the FTU quirk. Try to play something through the corresponding hw device or use Jack or convert some audio file to S24_3LE and play through aplay etc...
that's a good point
try speaker-test -D plughw:C400
speaker-test plughw:C400 got me further but complains still
Setting of hwparams failed: Invalid argument
From the manual:
2 analog mono inputs, 1 stereo SPDIF gives a total 4 inputs 4 analog mono outputs, 1 stereo SPDIF gives a total 6 outputs
Does SPDIF factor into channels?
I noticed, the endpoint attributes are slightly different that the FTU. Could this be an issue? I'm also guessing that the mixer lacking channels is probably an issue. I wonder if the some the FTU mixer "workarounds" may fit.
On 4/21/2012 5:19 AM, Grant Diffey wrote:
(channels = 2, ifnum = 2).
Why do you use channels=2. As fas as I can tell the device has 6 channels. Try that.
Except I can't get it to play anything (figure it would all be too good to be true)
$ speaker-test -Dfront:C400 speaker-test 1.0.25
Playback device is front:C400 Stream parameters are 48000Hz, S16_LE, 1 channels Using 16 octaves of pink noise Sample format not available for playback: Invalid argument Setting of hwparams failed: Invalid argument
The device probably supports only S24_3LE audio. At least that's what you tell Alsa with the FTU quirk. Try to play something through the corresponding hw device or use Jack or convert some audio file to S24_3LE and play through aplay etc...
that's a good point
try speaker-test -D plughw:C400 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
I did some more digging on the mixer setup of the C400 using usbmon+tcpdump+wireshark. I'm happy to provide binary captures if it helps.
I adjusted volume on each channel under and arrived at the following. Best to consult the C400 manual for screenshots of the interface.
The values listed correspond to the wValue in the URB block. The wIndex for all is 16385. Looks like two bytes for values.
Treat this as CSV in any editor and you'll see my table. Omitted numbers are sequential based on the other numbers in the row. Out 1-6 are the software returns, In 1-4 being the hardware inputs. The top row are the 6 outputs. For each output it would appears that the routed signal is always manipulated in (stereo) pairs - ex. Adjusting volume on software return 1 (Out 1) for Analog1/2 will adjust volume on 0x0100 AND 0x0101.
,A1-2 (1),A1-2 (2),A3-4 (3),A3-4 (4),SP (L),SP (R) Out 1,0x0100,0x0101,,,,0x0105 Out 2,0x0106,0x0107,,,,0x010b Out 3,0x010c,0x010d,,,, Out 4,0x0112,0x0113,,,,0x0117 Out 5,0x0118,0x0119,,,,0x011d Out 6,0x011e,0x011f,,,,0x0123 In 1,0x0124,0x0125,0x0126,0x0127,0x0128,0x0129 In 2,0x012a,0x12b,0x012c,0x012d,0x012e,0x012f In 3,0x0130,0x0131,,,,0x0135 In 4,0x0136,0x0137,,,,0x013b
Also captured some sample rate adjustment values
wValue = 0x0100 (always) wIndex = 33025
values in the data for the sample rates 0x00770100 => 96000 0x44ac0000 => 44100 0x80bb0000 => 48000 0x88580100 => 88200
On 4/21/2012 5:19 AM, Grant Diffey wrote:
>(channels = 2, ifnum = 2). Why do you use channels=2. As fas as I can tell the device has 6 channels. Try that. > Except I can't get it to play anything (figure it would all be too good > to be true) > > $ speaker-test -Dfront:C400 > speaker-test 1.0.25 > > Playback device is front:C400 > Stream parameters are 48000Hz, S16_LE, 1 channels > Using 16 octaves of pink noise > Sample format not available for playback: Invalid argument > Setting of hwparams failed: Invalid argument > The device probably supports only S24_3LE audio. At least that's what you tell Alsa with the FTU quirk. Try to play something through the corresponding hw device or use Jack or convert some audio file to S24_3LE and play through aplay etc...
that's a good point
try speaker-test -D plughw:C400
Hi Chris,
2012/4/29 Chris Cavey chris-alsa@rauros.net:
I did some more digging on the mixer setup of the C400 using usbmon+tcpdump+wireshark. I'm happy to provide binary captures if it helps.
thanks.
In 2,0x012a,0x12b,0x012c,0x012d,0x012e,0x012f In 3,0x0130,0x0131,,,,0x0135 In 4,0x0136,0x0137,,,,0x013b
Ok, it seems the controls are organized differently ("flat") than on the FTUs ("matrix").
Also captured some sample rate adjustment values
wValue = 0x0100 (always) wIndex = 33025
values in the data for the sample rates 0x00770100 => 96000 0x44ac0000 => 44100 0x80bb0000 => 48000 0x88580100 => 88200
This seems pretty standard.
Could you please post some usbmon output since I need to know the unit id and the value range of the controls as well. You can even shorten those logs by just sending the output of 'grep Co some.log'. It should look something like this:
ffff88007d9d70c0 3382435826 S Co:1:003:0 s 21 01 0201 0500 0002 2 = 92f3 ffff88007d9d70c0 3382436191 C Co:1:003:0 0 2 > ffff88007d9d70c0 3382441208 S Co:1:003:0 s 21 01 0101 0500 0002 2 = 92f3 ffff88007d9d70c0 3382441565 C Co:1:003:0 0 2 > ffff88007d9d70c0 3383137494 S Co:1:003:0 s 21 01 0201 0500 0002 2 = fefc ffff88007d9d70c0 3383137823 C Co:1:003:0 0 2 > ffff88007d9d70c0 3383141778 S Co:1:003:0 s 21 01 0101 0500 0002 2 = fefc ffff88007d9d70c0 3383142070 C Co:1:003:0 0 2 >
(This is changing the volume for Monitor1/2, Input 1 on the FTU).
I don't need a log for every control just the first and last of a kind would suffice.
Regards,
Felix
Performing these operations on other channels results in the same values just different wValues per channel as a I listed in the previous message
toggling mute on software return 1 (centered), analog out 1/2
ffff8804046af840 3934536050 S Co:2:003:0 s 21 01 0100 4001 0002 2 = 0080 ffff8804046af840 3934536518 C Co:2:003:0 0 2 > ffff8804046af840 3934538968 S Co:2:003:0 s 21 01 0101 4001 0002 2 = 0080 ffff8804046af840 3934539372 C Co:2:003:0 0 2 > ffff8804046af840 3935031971 S Co:2:003:0 s 21 01 0100 4001 0002 2 = fefc ffff8804046af840 3935032367 C Co:2:003:0 0 2 > ffff8804046af840 3935034996 S Co:2:003:0 s 21 01 0101 4001 0002 2 = fefc ffff8804046af840 3935035368 C Co:2:003:0 0 2 >
toggling mute on software return 1 (hard left pan), analog out 1/2
ffff88034f6af240 4014847999 S Co:2:003:0 s 21 01 0100 4001 0002 2 = 0080 ffff88034f6af240 4014848445 C Co:2:003:0 0 2 > ffff8803e08b8840 4015764061 S Co:2:003:0 s 21 01 0100 4001 0002 2 = 0000 ffff8803e08b8840 4015764455 C Co:2:003:0 0 2 >
toggling mute on software return 1 (hard right pan), analog out 1/2
ffff8803e0948300 4039205995 S Co:2:003:0 s 21 01 0101 4001 0002 2 = 0080 ffff8803e0948300 4039206407 C Co:2:003:0 0 2 > ffff8804047eb540 4039862082 S Co:2:003:0 s 21 01 0101 4001 0002 2 = 0000 ffff8804047eb540 4039862528 C Co:2:003:0 0 2 >
volume slider starting at max(0db) sliding down on software return 1 (centered), analog out 1/2 ffff880348410600 4093231001 S Co:2:003:0 s 21 01 0100 4001 0002 2 = cffc ffff880348410600 4093231440 C Co:2:003:0 0 2 > ffff880348410600 4093234037 S Co:2:003:0 s 21 01 0101 4001 0002 2 = cffc ffff880348410600 4093234440 C Co:2:003:0 0 2 > ffff880348412540 4093274051 S Co:2:003:0 s 21 01 0100 4001 0002 2 = a1fc ffff880348412540 4093274567 C Co:2:003:0 0 2 > ffff8803485e2240 4093276987 S Co:2:003:0 s 21 01 0101 4001 0002 2 = a1fc ffff8803485e2240 4093277440 C Co:2:003:0 0 2 > ffff8803485e1e40 4094062031 S Co:2:003:0 s 21 01 0100 4001 0002 2 = 71fc ffff8803485e1e40 4094062409 C Co:2:003:0 0 2 > ffff8803485e1e40 4094065065 S Co:2:003:0 s 21 01 0101 4001 0002 2 = 71fc ffff8803485e1e40 4094065533 C Co:2:003:0 0 2 > ffff8803485e2b40 4094116974 S Co:2:003:0 s 21 01 0100 4001 0002 2 = 42fc ffff8803485e2b40 4094117408 C Co:2:003:0 0 2 > ffff8803485e2b40 4094120025 S Co:2:003:0 s 21 01 0101 4001 0002 2 = 42fc ffff8803485e2b40 4094120408 C Co:2:003:0 0 2 > ffff880348412cc0 4095241073 S Co:2:003:0 s 21 01 0100 4001 0002 2 = e1fb ffff880348412cc0 4095241552 C Co:2:003:0 0 2 > ffff880348412cc0 4095243963 S Co:2:003:0 s 21 01 0101 4001 0002 2 = e1fb ffff880348412cc0 4095244427 C Co:2:003:0 0 2 >
volume slider starting at max(0db) sliding down on software return 1 (hard left pan), analog out 1/2 ffff8803484109c0 58930083 S Co:2:003:0 s 21 01 0100 4001 0002 2 = d2ff ffff8803484109c0 58930493 C Co:2:003:0 0 2 > ffff8803484109c0 59022034 S Co:2:003:0 s 21 01 0100 4001 0002 2 = a3ff ffff8803484109c0 59022492 C Co:2:003:0 0 2 > ffff8803484103c0 59660057 S Co:2:003:0 s 21 01 0100 4001 0002 2 = 74ff ffff8803484103c0 59660515 C Co:2:003:0 0 2 > ffff8803484103c0 59668011 S Co:2:003:0 s 21 01 0100 4001 0002 2 = 44ff ffff8803484103c0 59668502 C Co:2:003:0 0 2 > ffff8803484103c0 59698056 S Co:2:003:0 s 21 01 0100 4001 0002 2 = 14ff ffff8803484103c0 59698514 C Co:2:003:0 0 2 > ffff880404f83840 59762997 S Co:2:003:0 s 21 01 0100 4001 0002 2 = e4fe ffff880404f83840 59763488 C Co:2:003:0 0 2 > ffff8803e4dc3600 59859000 S Co:2:003:0 s 21 01 0100 4001 0002 2 = b3fe ffff8803e4dc3600 59859486 C Co:2:003:0 0 2 >
volume slider starting at max(0db) sliding down on software return 1 (hard right pan), analog out 1/2 ffff8803e09e1000 92304977 S Co:2:003:0 s 21 01 0101 4001 0002 2 = d2ff ffff8803e09e1000 92305391 C Co:2:003:0 0 2 > ffff8803e09e1000 92349071 S Co:2:003:0 s 21 01 0101 4001 0002 2 = a3ff ffff8803e09e1000 92349516 C Co:2:003:0 0 2 > ffff8803e45d1240 92386949 S Co:2:003:0 s 21 01 0101 4001 0002 2 = 74ff ffff8803e45d1240 92387390 C Co:2:003:0 0 2 > ffff8803e0999d80 92720056 S Co:2:003:0 s 21 01 0101 4001 0002 2 = 44ff ffff8803e0999d80 92720540 C Co:2:003:0 0 2 > ffff88040069a540 92806078 S Co:2:003:0 s 21 01 0101 4001 0002 2 = 14ff ffff88040069a540 92806512 C Co:2:003:0 0 2 > ffff8803e47e16c0 92970046 S Co:2:003:0 s 21 01 0101 4001 0002 2 = e4fe ffff8803e47e16c0 92970538 C Co:2:003:0 0 2 > ffff8803f1b47900 93019042 S Co:2:003:0 s 21 01 0101 4001 0002 2 = b3fe ffff8803f1b47900 93019528 C Co:2:003:0 0 2 > ffff8803e0999cc0 93057231 S Co:2:003:0 s 21 01 0101 4001 0002 2 = 82fe ffff8803e0999cc0 93057646 C Co:2:003:0 0 2 > ffff8803f1b47480 93149025 S Co:2:003:0 s 21 01 0101 4001 0002 2 = 50fe ffff8803f1b47480 93149509 C Co:2:003:0 0 2 >
adjusting pan starting at center and volume max(0db) going left on software return 1 (hard right pan), analog out 1/2 ffff8803f1adda80 168635963 S Co:2:003:0 s 21 01 0100 4001 0002 2 = 0bfd ffff8803f1adda80 168636396 C Co:2:003:0 0 2 > ffff8803f1adda80 168638996 S Co:2:003:0 s 21 01 0101 4001 0002 2 = f0fc ffff8803f1adda80 168639395 C Co:2:003:0 0 2 > ffff8803f1adda80 168646993 S Co:2:003:0 s 21 01 0100 4001 0002 2 = 26fd ffff8803f1adda80 168647380 C Co:2:003:0 0 2 > ffff8803485e1d80 168649992 S Co:2:003:0 s 21 01 0101 4001 0002 2 = d4fc ffff8803485e1d80 168650382 C Co:2:003:0 0 2 > ffff88034843d480 168664021 S Co:2:003:0 s 21 01 0100 4001 0002 2 = 40fd ffff88034843d480 168664494 C Co:2:003:0 0 2 > ffff88034843d480 168667043 S Co:2:003:0 s 21 01 0101 4001 0002 2 = b8fc ffff88034843d480 168667493 C Co:2:003:0 0 2 > ffff8803485e1780 168699997 S Co:2:003:0 s 21 01 0100 4001 0002 2 = 71fd ffff8803485e1780 168700367 C Co:2:003:0 0 2 > ffff8803485e1780 168703030 S Co:2:003:0 s 21 01 0101 4001 0002 2 = 7dfc ffff8803485e1780 168703490 C Co:2:003:0 0 2 >
adjusting pan starting at center and volume max(0db) going right on software return 1 (hard right pan), analog out 1/2 ffff8804004789c0 199900005 S Co:2:003:0 s 21 01 0100 4001 0002 2 = d4fc ffff8804004789c0 199900407 C Co:2:003:0 0 2 > ffff8804004789c0 199903042 S Co:2:003:0 s 21 01 0101 4001 0002 2 = 26fd ffff8804004789c0 199903406 C Co:2:003:0 0 2 > ffff8804004789c0 199947000 S Co:2:003:0 s 21 01 0100 4001 0002 2 = b8fc ffff8804004789c0 199947406 C Co:2:003:0 0 2 > ffff8804004789c0 199950033 S Co:2:003:0 s 21 01 0101 4001 0002 2 = 40fd ffff8804004789c0 199950406 C Co:2:003:0 0 2 > ffff8804004789c0 200613069 S Co:2:003:0 s 21 01 0100 4001 0002 2 = 9bfc ffff8804004789c0 200613527 C Co:2:003:0 0 2 > ffff8804004789c0 200615964 S Co:2:003:0 s 21 01 0101 4001 0002 2 = 59fd ffff8804004789c0 200616413 C Co:2:003:0 0 2 > ffff8804004789c0 200638078 S Co:2:003:0 s 21 01 0100 4001 0002 2 = 7dfc ffff8804004789c0 200638526 C Co:2:003:0 0 2 > ffff8804004789c0 200640977 S Co:2:003:0 s 21 01 0101 4001 0002 2 = 71fd ffff8804004789c0 200641400 C Co:2:003:0 0 2 > ffff8804004789c0 200700977 S Co:2:003:0 s 21 01 0100 4001 0002 2 = 5efc ffff8804004789c0 200701401 C Co:2:003:0 0 2 > ffff8804004789c0 200704023 S Co:2:003:0 s 21 01 0101 4001 0002 2 = 89fd ffff8804004789c0 200704400 C Co:2:003:0 0 2 >
On 04/29/2012 02:51 AM, Felix Homann wrote:
Hi Chris,
2012/4/29 Chris Caveychris-alsa@rauros.net:
I did some more digging on the mixer setup of the C400 using usbmon+tcpdump+wireshark. I'm happy to provide binary captures if it helps.
thanks.
In 2,0x012a,0x12b,0x012c,0x012d,0x012e,0x012f In 3,0x0130,0x0131,,,,0x0135 In 4,0x0136,0x0137,,,,0x013b
Ok, it seems the controls are organized differently ("flat") than on the FTUs ("matrix").
Also captured some sample rate adjustment values
wValue = 0x0100 (always) wIndex = 33025
values in the data for the sample rates 0x00770100 => 96000 0x44ac0000 => 44100 0x80bb0000 => 48000 0x88580100 => 88200
This seems pretty standard.
Could you please post some usbmon output since I need to know the unit id and the value range of the controls as well. You can even shorten those logs by just sending the output of 'grep Co some.log'. It should look something like this:
ffff88007d9d70c0 3382435826 S Co:1:003:0 s 21 01 0201 0500 0002 2 = 92f3 ffff88007d9d70c0 3382436191 C Co:1:003:0 0 2> ffff88007d9d70c0 3382441208 S Co:1:003:0 s 21 01 0101 0500 0002 2 = 92f3 ffff88007d9d70c0 3382441565 C Co:1:003:0 0 2> ffff88007d9d70c0 3383137494 S Co:1:003:0 s 21 01 0201 0500 0002 2 = fefc ffff88007d9d70c0 3383137823 C Co:1:003:0 0 2> ffff88007d9d70c0 3383141778 S Co:1:003:0 s 21 01 0101 0500 0002 2 = fefc ffff88007d9d70c0 3383142070 C Co:1:003:0 0 2>
(This is changing the volume for Monitor1/2, Input 1 on the FTU).
I don't need a log for every control just the first and last of a kind would suffice.
Regards,
Felix
Hi,
thanks for the usbmon logs.
Here's small patch for mixer_quirks.c that might get you *some* controls (should be 16 controls). I could not even try to compile this at the moment so it might be completely broken ;-)
If you don't hear any sound it would still be a success if you can actually control the controls. Please, also take a look at usbmon output (grep Co) and see if we really match the corresponding Windows messages.
Due to the flat layout of the mixer we can't get more controls within the current quirk without a couple of deeper changes in mixer.c. I'm hesitating to do something like this without knowing if it's actually needed *and* sufficient.
Hence, could you please send usbmon logs of the effect controls. Again, I'm only interested in the "Co" lines. (If the effect controls extend the flat layout we need to write our own get/set functions anyway and there was no need for dealing with mixer.c)
Regards,
Felix
I got it to compile just fine - missing paren in the MAX_CHANNEL if, duplicate definition of control.
alsamixer shows mixers but the values are all zero and cannot be adjusted.
usbmon captures for effect and any remaining control panel widgets I could find
usbmon for adjusting the effects send volume (doesn't matter if which output is selected)
ffff8803e1a5b3c0 2382776826 S Co:2:003:0 s 21 01 0100 4201 0002 2 = 03b4 ffff8803e1a5b3c0 2382777292 C Co:2:003:0 0 2 > ffff8803e1a5b3c0 2385038760 S Co:2:003:0 s 21 01 0101 4201 0002 2 = 0080 ffff8803e1a5b3c0 2385039277 C Co:2:003:0 0 2 > ffff8803dcb32540 2387392782 S Co:2:003:0 s 21 01 0102 4201 0002 2 = 03b4 ffff8803dcb32540 2387393233 C Co:2:003:0 0 2 > ffff8803e1bf9f00 2388700780 S Co:2:003:0 s 21 01 0103 4201 0002 2 = e5b7 ffff8803e1bf9f00 2388701259 C Co:2:003:0 0 2 > ffff8803e1bf9f00 2389689845 S Co:2:003:0 s 21 01 0104 4201 0002 2 = 03b4 ffff8803e1bf9f00 2389690228 C Co:2:003:0 0 2 > ffff8803e1bf9f00 2390616736 S Co:2:003:0 s 21 01 0105 4201 0002 2 = 03b4 ffff8803e1bf9f00 2390617223 C Co:2:003:0 0 2 > ffff8803e1bf9f00 2393137750 S Co:2:003:0 s 21 01 0106 4201 0002 2 = 03b4 ffff8803e1bf9f00 2393138194 C Co:2:003:0 0 2 > ffff8803e1bf9f00 2394557798 S Co:2:003:0 s 21 01 0107 4201 0002 2 = fbb5 ffff8803e1bf9f00 2394558184 C Co:2:003:0 0 2 > ffff8803e1bf9f00 2395823861 S Co:2:003:0 s 21 01 0108 4201 0002 2 = fbb5 ffff8803e1bf9f00 2395824329 C Co:2:003:0 0 2 > ffff8803e1bf9f00 2397001750 S Co:2:003:0 s 21 01 0109 4201 0002 2 = 92bb ffff8803e1bf9f00 2397002168 C Co:2:003:0 0 2 >
changing the effect type:
ffff8803f0c5a000 2643006814 S Co:2:003:0 s 21 01 0200 4301 0001 1 = 00 (00-08, Room 1 through Echo) ffff8803f0c5a000 2643007241 C Co:2:003:0 0 1 >
effect duration:
ffff8803e1af5cc0 2695371771 S Co:2:003:0 s 21 01 0400 4301 0002 2 = c81b ffff8803e1af5cc0 2695372257 C Co:2:003:0 0 2 >
effect feedback:
ffff8803dcb32a80 2711915828 S Co:2:003:0 s 21 01 0500 4301 0001 1 = 23 ffff8803dcb32a80 2711916269 C Co:2:003:0 0 1 >
effect volume:
ffff880400ee8e40 2731234853 S Co:2:003:0 s 21 01 0300 4301 0001 1 = 37 ffff880400ee8e40 2731235264 C Co:2:003:0 0 1 >
overall effect return volume: ffff8803e1bf9480 2765908779 S Co:2:003:0 s 21 01 013c 4001 0002 2 = d4ff ffff8803e1bf9480 2765909151 C Co:2:003:0 0 2 > ffff8803e1bf9480 2765911816 S Co:2:003:0 s 21 01 0143 4001 0002 2 = d4ff ffff8803e1bf9480 2765912275 C Co:2:003:0 0 2 >
master volume (moved one notch): ffff8803e1a47e40 2836313798 S Co:2:003:0 s 21 01 0124 4001 0002 2 = d1fc ffff8803e1a47e40 2836314199 C Co:2:003:0 0 2 > ffff8803e1a47e40 2836316831 S Co:2:003:0 s 21 01 012a 4001 0002 2 = d1fc ffff8803e1a47e40 2836317296 C Co:2:003:0 0 2 > ffff8803e1a47e40 2836319865 S Co:2:003:0 s 21 01 0130 4001 0002 2 = d1fc ffff8803e1a47e40 2836320309 C Co:2:003:0 0 2 > ffff8803e1a47e40 2836322759 S Co:2:003:0 s 21 01 0136 4001 0002 2 = d1fc ffff8803e1a47e40 2836323198 C Co:2:003:0 0 2 > ffff8803e1a47e40 2836325793 S Co:2:003:0 s 21 01 0100 4001 0002 2 = d1fc ffff8803e1a47e40 2836326172 C Co:2:003:0 0 2 > ffff8803e1a47e40 2836328826 S Co:2:003:0 s 21 01 0106 4001 0002 2 = d1fc ffff8803e1a47e40 2836329323 C Co:2:003:0 0 2 > ffff8803e1a47e40 2836331783 S Co:2:003:0 s 21 01 010c 4001 0002 2 = d1fc ffff8803e1a47e40 2836332185 C Co:2:003:0 0 2 > ffff8803e1a47e40 2836334757 S Co:2:003:0 s 21 01 0112 4001 0002 2 = d1fc ffff8803e1a47e40 2836335172 C Co:2:003:0 0 2 > ffff8803e1a47e40 2836337793 S Co:2:003:0 s 21 01 0118 4001 0002 2 = d1fc ffff8803e1a47e40 2836338171 C Co:2:003:0 0 2 > ffff8803e1a47e40 2836340827 S Co:2:003:0 s 21 01 011e 4001 0002 2 = d1fc ffff8803e1a47e40 2836341297 C Co:2:003:0 0 2 > ffff8803e1a47e40 2836343864 S Co:2:003:0 s 21 01 013c 4001 0002 2 = d4ff ffff8803e1a47e40 2836344296 C Co:2:003:0 0 2 > ffff880401863300 2836346765 S Co:2:003:0 s 21 01 0125 4001 0002 2 = d1fc ffff880401863300 2836347168 C Co:2:003:0 0 2 > ffff880401863300 2836349869 S Co:2:003:0 s 21 01 012b 4001 0002 2 = d1fc ffff880401863300 2836350293 C Co:2:003:0 0 2 > ffff880401863300 2836352833 S Co:2:003:0 s 21 01 0131 4001 0002 2 = d1fc ffff880401863300 2836353294 C Co:2:003:0 0 2 > ffff880401863300 2836355759 S Co:2:003:0 s 21 01 0137 4001 0002 2 = d1fc ffff880401863300 2836356167 C Co:2:003:0 0 2 > ffff8803e1a3ff00 2836358806 S Co:2:003:0 s 21 01 0101 4001 0002 2 = d1fc ffff8803e1a3ff00 2836359294 C Co:2:003:0 0 2 > ffff8803e1a47e40 2836361795 S Co:2:003:0 s 21 01 0107 4001 0002 2 = d1fc ffff8803e1a47e40 2836362174 C Co:2:003:0 0 2 > ffff8803e1a47e40 2836364826 S Co:2:003:0 s 21 01 010d 4001 0002 2 = d1fc ffff8803e1a47e40 2836365295 C Co:2:003:0 0 2 > ffff8803e1a47e40 2836367862 S Co:2:003:0 s 21 01 0113 4001 0002 2 = d1fc ffff8803e1a47e40 2836368293 C Co:2:003:0 0 2 > ffff8803e1a47e40 2836370756 S Co:2:003:0 s 21 01 0119 4001 0002 2 = d1fc ffff8803e1a47e40 2836371170 C Co:2:003:0 0 2 > ffff8803e1a47e40 2836373791 S Co:2:003:0 s 21 01 011f 4001 0002 2 = d1fc ffff8803e1a47e40 2836374169 C Co:2:003:0 0 2 > ffff8803e1a47e40 2836376830 S Co:2:003:0 s 21 01 0143 4001 0002 2 = d4ff ffff8803e1a47e40 2836377296 C Co:2:003:0 0 2 >
toggling clock source:
ffff88040087f3c0 2880985746 S Co:2:003:0 s 21 01 0100 8001 0001 1 = 01 (01 = internal, 02 = external) ffff88040087f3c0 2880987241 C Co:2:003:0 0 1 >
from mixer control panel "Master Volume Controls" check boxes for AnalogOut1/2 and AnalogOut3/4:
ffff8803dcb32e40 3038896784 S Co:2:003:0 s 21 03 0006 2001 0001 1 = 03 (bit 0 = 1/2, bit 1 = 3/4) ffff8803dcb32e40 3038897166 C Co:2:003:0 0 1 >
"disable host control" checkbox:
ffff8803e1bf9a80 3137226621 S Co:2:003:0 s 21 03 0000 2001 0001 1 = 02 (same value regardless of checkbox state) ffff8803e1bf9a80 3137226993 C Co:2:003:0 0 1 >
On 05/02/2012 06:05 AM, Felix Homann wrote:
Hi,
thanks for the usbmon logs.
Here's small patch for mixer_quirks.c that might get you *some* controls (should be 16 controls). I could not even try to compile this at the moment so it might be completely broken ;-)
If you don't hear any sound it would still be a success if you can actually control the controls. Please, also take a look at usbmon output (grep Co) and see if we really match the corresponding Windows messages.
Due to the flat layout of the mixer we can't get more controls within the current quirk without a couple of deeper changes in mixer.c. I'm hesitating to do something like this without knowing if it's actually needed *and* sufficient.
Hence, could you please send usbmon logs of the effect controls. Again, I'm only interested in the "Co" lines. (If the effect controls extend the flat layout we need to write our own get/set functions anyway and there was no need for dealing with mixer.c)
Regards,
Felix
Hi,
2012/5/2 Chris Cavey chris-alsa@rauros.net:
I got it to compile just fine - missing paren in the MAX_CHANNEL if, duplicate definition of control.
sorry for the errors.
alsamixer shows mixers but the values are all zero and cannot be adjusted.
Hmm, please do the following:
(0. Switch the device off.) 1. Start usbmon capturing 2. Switch the device on 3. Start alsamixer and select the C400 device
Again, search for Co lines. Is there anything even close to the control messages you saw on Windows?
usbmon captures for effect and any remaining control panel widgets I could find
Thank you. From a quick glimpse they seem almost identical to the FTU, just using a different interface/unitid. I will try to send another patch in a couple of days.
BTW, is the clock source switch still there after applying my patch?
Regards, Felix
Attached are logs from win7 vm unplug/replug and my ubuntu 12.04 dev vm with alsa mods.
I've also included a patch of my current set of modifications
Hi,
2012/5/4 Chris Cavey chris-alsa@rauros.net:
Attached are logs from win7 vm unplug/replug and my ubuntu 12.04 dev vm with alsa mods.
Great!
I've also included a patch of my current set of modifications
Thanks.
Could you please try if the attached patch changes anything?
Regards, Felix
No change. According to usbmon looks like no matter what channel I adjust, the clock ctl is always being adjusted as if the wrong wIndex gets selected. The clock wIndex is 0x8001 but the mixer volume is 0x4001. The wValue looks correct (first mixer, according to my docs, should be 0x0100). I'm going to trace down the rabbit hole to learn how wValue/wIndex is derived from the mixer controls.
I'll keep tinkering. At some point I should probably just buy you a C400, probably easier.
Hi again,
2012/5/5 Chris Cavey chris-alsa@rauros.net:
No change.
Hmm, do you still get this message:
ALSA mixer.c:352 cannot get ctl value: req = 0x83, wValue = 0x101, wIndex = 0x4001, type = 4 ALSA mixer.c:877 64:1: cannot get min/max values for control 1 (id 64)
If so, can you please look at mixer.c 352 if line 352 corresponds to get_ctl_value_v2? (My line numbers are a bit off compared to yours it seems). Can you send some Ci lines from usbmon from before the mesasage appears.
According to usbmon looks like no matter what channel I adjust, the clock ctl is always being adjusted as if the wrong wIndex gets selected. The clock wIndex is 0x8001 but the mixer volume is 0x4001. The wValue looks correct (first mixer, according to my docs, should be 0x0100).
That's strange. Can you try if your "return 0" instead of "break" in the device parsing is still needed now that we have a mixer quirk? (Just a blind guess...)
I'm going to trace down the rabbit hole to learn how wValue/wIndex is derived from the mixer controls.
Just compare with the FTUs controls.
I'll keep tinkering. At some point I should probably just buy you a C400, probably easier.
Have you thought about switching to a MOTU or RME device? Maybe we should work on these ;-)
Kind regards,
Felix
I do not get that message anymore.
Fixing the "return 0" back to "break" results in the device not even registering, back to the -5 error from the beginning of this thread.
I'll capture more and get back to you.
The following derails the thread a bit:
As far as switching devices, I'm open. Due to a bug with a PCIE-PCI bridge on my mainboard, I cannot use any PCI devices (I've got a Delta44 collecting dust). I really just want to find a single device, USB or Firewire (or PCIE), which works flawlessly in both Windows and Linux. Instrument/Mic input as well as independent balanced out and headphones.
Any thoughts on this?
On 5/5/2012 3:05 AM, Felix Homann wrote:
Hi again,
2012/5/5 Chris Caveychris-alsa@rauros.net:
No change.
Hmm, do you still get this message:
ALSA mixer.c:352 cannot get ctl value: req = 0x83, wValue = 0x101,
wIndex = 0x4001, type = 4 ALSA mixer.c:877 64:1: cannot get min/max values for control 1 (id 64)
If so, can you please look at mixer.c 352 if line 352 corresponds to get_ctl_value_v2? (My line numbers are a bit off compared to yours it seems). Can you send some Ci lines from usbmon from before the mesasage appears.
According to usbmon looks like no matter what channel I adjust, the clock ctl is always being adjusted as if the wrong wIndex gets selected. The clock wIndex is 0x8001 but the mixer volume is 0x4001. The wValue looks correct (first mixer, according to my docs, should be 0x0100).
That's strange. Can you try if your "return 0" instead of "break" in the device parsing is still needed now that we have a mixer quirk? (Just a blind guess...)
I'm going to trace down the rabbit hole to learn how wValue/wIndex is derived from the mixer controls.
Just compare with the FTUs controls.
I'll keep tinkering. At some point I should probably just buy you a C400, probably easier.
Have you thought about switching to a MOTU or RME device? Maybe we should work on these ;-)
Kind regards,
Felix
Hi again,
2012/5/9 Chris Cavey chris-alsa@rauros.net:
I do not get that message anymore.
That's good.
Could you please send me the contents of your /proc/asound/[YOUR_DEVICE]/usbmixer.
BTW, you could try to experiment a bit with volume quirks: See, mixer.c search for 2081 to see how it's done for some of the FTU controls. The volume controls for the FTU are reported in usbmixer to range from -32768 to 0.
Fixing the "return 0" back to "break" results in the device not even registering, back to the -5 error from the beginning of this thread.
OK, it was just a blind guess as I said.
I really just want to find a single device, USB or Firewire (or PCIE), which works flawlessly in both Windows and Linux. Instrument/Mic input as well as independent balanced out and headphones.
Any thoughts on this?
I was just joking when I mentioned the MOTUs and RMEs ;-) I would certainly enjoy getting a MOTU Ultralite mk3 hybrid or a RME Babyface to play around with and personally I will never buy a M-Audio device again.
But while I'm quite confident that we can get the C400 working (might take some time though) I don't know wether or not the MOTUs and RMEs do behave in any way like UAC1/2 devices at all. I haven't seen a single report on them, yet.
Regards, Felix
Hi. My name is Luke. I have the c400 and ubuntu. I know nothing about programing. Does anyone have the c400 up and running on ubuntu? Help and/or advice apreciated. Luke
participants (6)
-
Chris Cavey
-
Clemens Ladisch
-
Daniel Mack
-
Felix Homann
-
Grant Diffey
-
Mudwalker