Re: USB regression for Android phone and sound card in 4.14

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

 



I've tried to bisect kernels from 4.13 to 4.14 and didn't find the reason. Then I found that with upstream 4.13 the issue is still present on Ubuntu 18.04, so there should be something more than just a kernel.

Eventually, I found that issue is somehow related to USB hub I use for my periferals (mouse, keyboard and sound card).

When sound card is connected separately, it is properly initialized as USB 2.0 device: https://pastebin.com/0rv1aUBz

However, when connected to USB hub, it initializes as USB 1.1 device, in which case it disables some of its capabilities, like 5.1 output mode: https://pastebin.com/i4qE9JTZ

Can't blame USB hub for this, since when I unplug it with mentioned 3 devices and plug back - everything works fine, the issue only happens on system boot.

USB hub I use at the moment (used another before with the same outcome): https://pastebin.com/wkA6D9TP

Sincerely, Nazar Mokrynskyi
github.com/nazar-pc

20.04.18 01:58, Nazar Mokrynskyi пише:
> Still an issue as of 4.17-rc1 for sound card.
>
> Sincerely, Nazar Mokrynskyi
> github.com/nazar-pc
>
> 17.03.18 19:04, Nazar Mokrynskyi пише:
>> With kernel 4.16-rc5 it is still happening to USB sound card, Android phone issue was probably related to something else and is already fixed.
>>
>> Very annoying to unplug sound card after each reboot, any ideas why this might happen?
>>
>> Sincerely, Nazar Mokrynskyi
>> github.com/nazar-pc
>>
>> 13.02.18 01:26, Nazar Mokrynskyi пише:
>>> Starting from 4.14 and continuing in 4.15 I observe 2 bugs that I think are related and didn't exist in 4.13.
>>>
>>> The first would be more difficult to reproduce: USB sound card Creative SB Omni Surround 5.1 after system boot only shows 2.0 stereo output option, while it also supports 5.1 and PulseAudio configured accordingly. If unplug and plug it back in, 5.1 mode appears and I can select between 2.0 and 5.1. You can boot with stock Ubuntu 17.10 and 18.04 as of right now and the first one will work properly and second one will have mentioned bug.
>>>
>>> Second bug is easier to reproduce: when connecting Nexus 6P via USB cable, it appears in file manager devices list (Nemo, Nautilus, etc.), but when it is unplugged it doesn't disappear when running kernels 4.14 and 4.15. I have 7 Nexus 6P entries already, unplugging and plugging back looks like this:
>>>
>>> [200038.821988] usb 3-1: new high-speed USB device number 4 using xhci_hcd
>>> [200039.043611] usb 3-1: New USB device found, idVendor=18d1, idProduct=4ee1
>>> [200039.043612] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>>> [200039.043614] usb 3-1: Product: Nexus 6P
>>> [200039.043614] usb 3-1: Manufacturer: Huawei
>>> [200039.043615] usb 3-1: SerialNumber: 8XV7N16128000093
>>> [202243.949672] usb 3-1: USB disconnect, device number 4
>>> [205549.671959] usb 3-1: new high-speed USB device number 5 using xhci_hcd
>>> [205549.893327] usb 3-1: New USB device found, idVendor=18d1, idProduct=4ee1
>>> [205549.893328] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>>> [205549.893329] usb 3-1: Product: Nexus 6P
>>> [205549.893329] usb 3-1: Manufacturer: Huawei
>>> [205549.893330] usb 3-1: SerialNumber: 8XV7N16128000093
>>> [205550.602646] usb 3-1: USB disconnect, device number 5
>>> [205553.456007] usb 3-1: new high-speed USB device number 6 using xhci_hcd
>>> [205553.680392] usb 3-1: New USB device found, idVendor=18d1, idProduct=4ee1
>>> [205553.680394] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>>> [205553.680394] usb 3-1: Product: Nexus 6P
>>> [205553.680395] usb 3-1: Manufacturer: Huawei
>>> [205553.680396] usb 3-1: SerialNumber: 8XV7N16128000093
>>> [206021.635511] usb 3-1: USB disconnect, device number 6
>>> [206024.169853] usb 3-1: new high-speed USB device number 7 using xhci_hcd
>>> [206024.392921] usb 3-1: New USB device found, idVendor=18d1, idProduct=4ee1
>>> [206024.392923] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>>> [206024.392924] usb 3-1: Product: Nexus 6P
>>> [206024.392925] usb 3-1: Manufacturer: Huawei
>>> [206024.392925] usb 3-1: SerialNumber: 8XV7N16128000093
>>> [206034.058208] usb 3-1: USB disconnect, device number 7
>>> [206036.914005] usb 3-1: new high-speed USB device number 8 using xhci_hcd
>>> [206037.136891] usb 3-1: New USB device found, idVendor=18d1, idProduct=4ee1
>>> [206037.136893] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>>> [206037.136894] usb 3-1: Product: Nexus 6P
>>> [206037.136895] usb 3-1: Manufacturer: Huawei
>>> [206037.136895] usb 3-1: SerialNumber: 8XV7N16128000093
>>> [206080.923547] usb 3-1: USB disconnect, device number 8
>>> [206083.526585] usb 3-1: new high-speed USB device number 9 using xhci_hcd
>>> [206083.752601] usb 3-1: New USB device found, idVendor=18d1, idProduct=4ee1
>>> [206083.752602] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
>>> [206083.752603] usb 3-1: Product: Nexus 6P
>>> [206083.752604] usb 3-1: Manufacturer: Huawei
>>> [206083.752605] usb 3-1: SerialNumber: 8XV7N16128000093
>>>
>>> These 2 issues appeared at the same time, so I think they are related.
>>> Let me know if you can't reproduce them and need any additional information and CC me on answers as I'm not subscribed to this mailing list.
>>>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux