Re: USB audio device problem in ALSA 1.0.23

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

 



On Thu, Sep 22, 2011 at 4:05 PM, Sean M. Pappalardo - D.J. Pegasus
<spappalardo@xxxxxxxxx> wrote:
> Hello again.
>
> On 09/22/2011 03:59 PM, Daniel Mack wrote:
>>
>> Can you send the output of "lsusb -v"?
>
> Sure, here you go. The last line is a lie...the device draws power only from
> the USB bus.

And there are more lies in the descriptor set, as it references a
baSourceID "2" which is not defined. So the driver is perfectly right
which its complaint.

You can probably hack your way around this with something like the
following patch.

diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c
index cdd19d7..ca17a35 100644
--- a/sound/usb/mixer.c
+++ b/sound/usb/mixer.c
@@ -1876,6 +1876,9 @@ static int parse_audio_unit(struct mixer_build
*state, int unitid)
        if (test_and_set_bit(unitid, state->unitbitmap))
                return 0; /* the unit already visited */

+       if (state->chip->usb_id == USB_ID(0x200c, 0x1018) && unitid == 2)
+               return 0;
+
        p1 = find_audio_control_unit(state, unitid);
        if (!p1) {
                snd_printk(KERN_ERR "usbaudio: unit %d not found!\n", unitid);

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


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

  Powered by Linux