All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tobias <toszlanyi@yahoo.de>
To: Alexander Tsoy <alexander@tsoy.me>
Cc: Takashi Iwai <tiwai@suse.de>,
	"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: [alsa-devel] USB Audio Interface / Denon MC7000 and MC8000 controller
Date: Fri, 7 Feb 2020 21:15:45 +0100	[thread overview]
Message-ID: <0f942c46-b269-47f5-9fd7-598c61d05814@yahoo.de> (raw)
In-Reply-To: <b4712d597701376f35018d7a410179a3c88ba939.camel@tsoy.me>

Alexander - here comes the dmesg output you are looking for:

    35.175855] usb 1-2: new high-speed USB device number 6 using xhci_hcd
[   35.196647] usb 1-2: New USB device found, idVendor=15e4, 
idProduct=8004, bcdDevice=11.10
[   35.196649] usb 1-2: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[   35.196650] usb 1-2: Product: DENON DJ MC7000
[   35.196650] usb 1-2: Manufacturer: DENON DJ
[   35.196651] usb 1-2: SerialNumber: 201603
[   35.198291] usb 1-2: uac_clock_source_is_valid(): err: 1 ; data: 0
[   35.198292] usb 1-2: clock source 65 is not valid, cannot use
[   35.198370] usb 1-2: uac_clock_source_is_valid(): err: 1 ; data: 0
[   35.199052] usb 1-2: uac_clock_source_is_valid(): err: 1 ; data: 0
[   35.199053] usb 1-2: clock source 65 is not valid, cannot use
[   35.199132] usb 1-2: uac_clock_source_is_valid(): err: 1 ; data: 0
...
...
repeated several 100 times.

Hope this is useful data for you.

Cheers!
Tobias


Am 07.02.20 um 20:11 schrieb Alexander Tsoy:
> В Пт, 07/02/2020 в 19:49 +0100, Tobias пишет:
>> Dear Alexander - unfortunately the patch doesn't want to be applied.
> It seems I copied it from less with different tab width. The patch
> below should be OK.
>
>> $ patch -p1 < ../denon-4.patch
>> patching file sound/usb/clock.c
>> Hunk #1 FAILED at 187.
>> 1 out of 1 hunk FAILED -- saving rejects to file
>> sound/usb/clock.c.rej
>>
>> I guess it was not your intention only adding one line to
>> /sound/usb/clock.c. so what am I missing here?
> No, it was intentional. This patch just adds printing of some info I
> need in the following format:
>
> uac_clock_source_is_valid(): err: X ; data: X
>
>
> diff --git a/sound/usb/clock.c b/sound/usb/clock.c
> index 018b1ecb5404..65ee5c24c5d1 100644
> --- a/sound/usb/clock.c
> +++ b/sound/usb/clock.c
> @@ -187,6 +187,8 @@ static bool uac_clock_source_is_valid(struct snd_usb_audio *chip,
>   			      snd_usb_ctrl_intf(chip) | (source_id << 8),
>   			      &data, sizeof(data));
>   
> +	dev_info(&dev->dev, "%s(): err: %d ; data: %d\n", __func__, err, data);
> +
>   	if (err < 0) {
>   		dev_warn(&dev->dev,
>   			 "%s(): cannot get clock validity for id %d\n",
>

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2020-02-07 20:16 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9457db14-4084-c0dd-5c89-821b35c3db66.ref@yahoo.de>
2019-12-14  8:24 ` [alsa-devel] USB Audio Interface / Denon MC7000 and MC8000 controller Tobias
2020-01-13 13:58   ` Tobias
2020-01-14 14:16     ` Takashi Iwai
2020-01-16 11:58       ` Tobias
2020-01-16 13:47         ` Takashi Iwai
2020-01-16 17:45           ` Tobias
2020-01-16 20:28             ` Takashi Iwai
2020-01-17  8:46               ` Tobias
2020-01-20  8:22   ` Alexander Tsoy
2020-01-21  8:17     ` Tobias
2020-01-21  8:44       ` Takashi Iwai
2020-01-21 10:59       ` Alexander Tsoy
2020-01-22  8:27         ` Oszlanyi Tobias
2020-02-03 10:23           ` Tobias
2020-02-05 19:07             ` Alexander Tsoy
2020-02-06 10:06               ` Tobias
2020-02-06 22:09                 ` Alexander Tsoy
2020-02-07  8:15                   ` Takashi Iwai
2020-02-07 14:39                     ` Tobias
2020-02-07 17:45                       ` Alexander Tsoy
2020-02-07 18:49                         ` Tobias
2020-02-07 19:11                           ` Alexander Tsoy
2020-02-07 20:15                             ` Tobias [this message]
2020-02-07 16:59                     ` Alexander Tsoy

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=0f942c46-b269-47f5-9fd7-598c61d05814@yahoo.de \
    --to=toszlanyi@yahoo.de \
    --cc=alexander@tsoy.me \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.