Fwd: trying to get an eleven rack to work

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

 



Hello Clemens,

any news in this topics :

https://mailman.alsa-project.org/pipermail/alsa-devel/2012-April/050944.html

https://www.alsa-project.org/pipermail/alsa-devel/2012-March/050649.html


I tried to get it work and added in sound/usb/quirks-table.h

|USB_DEVICE_VENDOR_SPEC(0x0dba, 0xb011), .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { .vendor_name = "Digidesign", .product_name = "Eleven Rack", .ifnum = QUIRK_ANY_INTERFACE, .type = QUIRK_COMPOSITE, .data = & (const struct snd_usb_audio_quirk[]) { { .ifnum = 1, .type = QUIRK_AUDIO_STANDARD_MIXER }, { .ifnum = 3, .type = QUIRK_AUDIO_STANDARD_INTERFACE }, { .ifnum = 4, .type = QUIRK_AUDIO_STANDARD_INTERFACE }, { .ifnum = -1 } } } } Then there was problem with sample rates(|||unable to retrieve number of sample rates| ) so i modified |sound/usb/format.c (i have checked sample rates on device): |if (ret < 0) { switch (chip->usb_id) { case USB_ID(0x0dba, 0xb011): /* Eleven Rack */ dev_info(&dev->dev, "%s(): Eleven Rack: unable to retrieve number of sample rates. Set it to default value (clock %d).\n",__func__, clock); fp->nr_rates = 1; fp->rate_min = 44100; fp->rate_max = 44100; fp->rates = SNDRV_PCM_RATE_44100; fp->rate_table = kmalloc(sizeof(int), GFP_KERNEL); if (!fp->rate_table) { ret = -ENOMEM; goto err_free; } fp->rate_table[0] = 44100; return 0; default: dev_err(&dev->dev, "%s(): unable to retrieve number of sample rates (clock %d)\n", __func__, clock); goto err; } } Now im getting : ||[ 152.114655] usb 1-4: new high-speed USB device number 6 using xhci_hcd [ 152.268388] usb 1-4: New USB device found, idVendor=0dba, idProduct=b011, bcdDevice=20.01 [ 152.268393] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 152.268395] usb 1-4: Product: Eleven Rack [ 152.268397] usb 1-4: Manufacturer: Digidesign [ 152.311112] usb 1-4: parse_audio_format_rates_v2v3(): Eleven Rack: unable to retrieve number of sample rates. Set it to default value (clock 129). [ 152.312918] usb 1-4: 4:1: cannot set enable PITCH (v2) [ 152.316184] usbcore: registered new interface driver snd-usb-audio [ 152.364920] usb 1-4: 4:1: cannot set enable PITCH (v2) [ 152.366262] usb 1-4: 4:1: cannot set enable PITCH (v2) [ 152.366991] usb 1-4: 4:1: cannot set enable PITCH (v2) [ 152.367432] usb 1-4: 4:1: cannot set enable PITCH (v2) [ 152.368070] usb 1-4: 4:1: cannot set enable PITCH (v2) [ 152.371067] usb 1-4: 4:1: cannot set enable PITCH (v2) [ 152.372155] usb 1-4: 4:1: cannot set enable PITCH (v2) [ 152.372496] usb 1-4: 4:1: cannot set enable PITCH (v2) [ 152.373180] usb 1-4: 4:1: cannot set enable PITCH (v2) [ 152.373894] usb 1-4: 4:1: cannot set enable PITCH (v2) [ 152.376748] usb 1-4: 4:1: cannot set enable PITCH (v2) [ 152.377498] usb 1-4: 4:1: cannot set enable PITCH (v2) [ 152.378690] usb 1-4: 4:1: cannot set enable PITCH (v2) Should i still wait for backend infrastructure ? Or there is something what i can do here ? Regards, Jurek |||||




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux