Re: USB Audio Interface / Denon MC7000 and MC8000 controller

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

 



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@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel




[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