where I can file quirks-table.h on raspberry pi, thanks

On 5/26/13, pukul sesuatu <niejo...@gmail.com> wrote:
> Thanks Torstein for information, I am new be on linux world , how to
> add entry for quirks-table.h ?
>
> On 5/26/13, Torstein Hegge <he...@resisty.net> wrote:
>> On Sun, May 26, 2013 at 13:29:33 +0700, pukul sesuatu wrote:
>>> Hi All , how to install maudio micro on raspberry pi, I am try to
>>> install and googling for found some information about installing
>>> Maudio micro on raspberry pi but very little information about that.
>>> so I need help from you guys how to install it?
>>> this my ouput on terminal . thanks you
>>> ===================================
>>> lsusb -v -d 0763:201a
>>>
>>>
>>> Bus 001 Device 012: ID 0763:201a Midiman M-Audio Micro
>>> Couldn't open device, some information will be missing
>>
>> That is a permission error from lsusb, run lsusb with sudo to get rid of
>> it. I don't think it will affect the lsusb output in this case.
>>
>>> Device Descriptor:
>>>   bDeviceClass          255 Vendor Specific Class
>>
>> The device needs a quirk in order to be recognized by snd_usb_audio, but
>> the
>> rest of the descriptors look standard.
>>
>> You can try to add an entry like this in quirks-table.h
>>
>> {
>>      USB_DEVICE(0x0763, 0x201a),
>>      .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
>>              /* .vendor_name = "M-Audio", */
>>              /* .product_name = "Micro", */
>>              .ifnum = QUIRK_ANY_INTERFACE,
>>              .type = QUIRK_COMPOSITE,
>>              .data = & (const struct snd_usb_audio_quirk[]) {
>>                      {
>>                              /* Control device */
>>                              .ifnum = 0,
>>                              .type = QUIRK_IGNORE_INTERFACE
>>                      },
>>                      {
>>                              .ifnum = 1,
>>                              .type = QUIRK_AUDIO_STANDARD_INTERFACE
>>                      },
>>                      {
>>                              .ifnum = 2,
>>                              .type = QUIRK_AUDIO_STANDARD_INTERFACE
>>                      },
>>                      {
>>                              .ifnum = -1
>>                      }
>>              }
>>      }
>> },
>>
>

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to