alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Jerzy Dubin <jerzydubin@gmail.com>
To: alsa-devel@alsa-project.org
Subject: Fwd: [alsa-devel] trying to get an eleven rack to work
Date: Wed, 7 Oct 2020 09:28:15 +0200	[thread overview]
Message-ID: <79f53b54-0c3f-78e1-0f04-3ec4705f3f79@gmail.com> (raw)
In-Reply-To: <62fe062c-5355-d670-4cd0-4607bd3b6131@gmail.com>

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 |||||


           reply	other threads:[~2020-10-07 15:59 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <62fe062c-5355-d670-4cd0-4607bd3b6131@gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=79f53b54-0c3f-78e1-0f04-3ec4705f3f79@gmail.com \
    --to=jerzydubin@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).