Bug 25127 - MGA cannot enable a USB 3.1 type C => VGA adapter
Summary: MGA cannot enable a USB 3.1 type C => VGA adapter
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-15 03:04 CEST by Adelson Oliveira
Modified: 2021-07-08 22:06 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Adelson Oliveira 2019-07-15 03:04:58 CEST
I've plugged a USB 3.1 type C to VGA adapter and nothing happens, no signal at the VGA monitor.

Dmesg says,

[  209.711530] usb usb2-port4: Cannot enable. Maybe the USB cable is bad?

However, the adapter works just fine in Mac OS.

Would it be that a driver is lacking or malfunctioning at MGA 7?

I'm posting also the output of 

$ lshw | grep -A10 -i usb
          capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
     *-memory
          description: System Memory
          physical id: 3a
          slot: System board or motherboard
          size: 16GiB
        *-bank:0
             description: [empty]
             physical id: 0
             slot: ChannelA-DIMM0
        *-bank:1
--
        *-usb
             description: USB controller
             product: Cannon Lake PCH USB 3.1 xHCI Host Controller
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 10
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:135 memory:a4400000-a440ffff
           *-usbhost:0
                product: xHCI Host Controller
                vendor: Linux 5.1.14-desktop-1.mga7 xhci-hcd
                physical id: 0
                bus info: usb@1
                logical name: usb1
                version: 5.01
                capabilities: usb-2.00
                configuration: driver=hub slots=16 speed=480Mbit/s
              *-usb:0
                   description: Video
                   product: HD Webcam
                   vendor: Generic
                   physical id: 4
                   bus info: usb@1:4
                   version: 44.08
                   serial: 200901010001
                   capabilities: usb-2.00
                   configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
              *-usb:1
                   description: Mouse
                   product: USB OPTICAL MOUSE
                   physical id: 5
                   bus info: usb@1:5
                   version: 1.00
                   capabilities: usb-1.10
                   configuration: driver=usbhid maxpower=100mA speed=1Mbit/s
              *-usb:2
                   description: Keyboard
                   product: ITE Device(8291)
                   vendor: ITE Tech. Inc.
                   physical id: b
                   bus info: usb@1:b
                   version: 0.03
                   capabilities: usb-2.00
                   configuration: driver=usbhid maxpower=100mA speed=12Mbit/s
              *-usb:3
                   description: Bluetooth wireless interface
                   vendor: Intel Corp.
                   physical id: e
                   bus info: usb@1:e
                   version: 0.02
                   capabilities: bluetooth usb-2.00
                   configuration: driver=btusb maxpower=100mA speed=12Mbit/s
           *-usbhost:1
                product: xHCI Host Controller
                vendor: Linux 5.1.14-desktop-1.mga7 xhci-hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 5.01
                capabilities: usb-3.10
                configuration: driver=hub slots=8 speed=10000Mbit/s
        *-memory UNCLAIMED
             description: RAM memory
             product: Cannon Lake PCH Shared SRAM
             vendor: Intel Corporation
             physical id: 14.2
             bus info: pci@0000:00:14.2
             version: 10
             width: 64 bits
             clock: 33MHz (30.3ns)

Thanks
Comment 1 Kristoffer Grundström 2019-07-15 13:10:12 CEST
Try booting the Live iso and see if it makes a difference. Sometimes it does, at least for me. Have it connected from the time you start your computer.

CC: (none) => hamnisdude

Comment 2 Adelson Oliveira 2019-07-15 14:51:14 CEST
I've tried different scenarios already but using a live iso. 

It (dmesg) keeps issuing messages like that above in all tested situations.

I'll try with a live iso soon.
In any case, be it with a Mageia 7 live iso or another distro's iso, if it finally works I have a driver issue in Mageia 7, right?

Thanks
Comment 3 Adelson Oliveira 2019-07-15 19:02:15 CEST
Tested in Clear Linux, kernel 5.1, with the same result. The same message in dmesg.

Tested also in Ubuntu, in another laptop, kernel 4.15, and the system didn't even noticed the adapter was plugged in.

So far, I'm wondering if it is not a kernel driver issue for this type of usb (usb 3.1 type c) ...
Comment 4 Adelson Oliveira 2019-07-16 18:08:05 CEST
Tested again with clear linux, this time in another laptop, and again, the same result.

Since these tests indicate that there are no problems with connections and the adpater itself, I think it is demonstrated that kernel 5.1 in mageia 7 (and in clear linux) lacks adequate support to the 3.1 type c devices, isn't it?

Is this a kernel's development known issue or am I mistaking something?
Comment 5 Lewis Smith 2019-07-16 21:37:09 CEST
Thank you Adelson for all your tests. Certainly looks like a kernel/driver problem. Assigning the bug accordingly.

CC: (none) => lewyssmith
Assignee: bugsquad => kernel

Comment 6 Florian Hubold 2019-07-18 23:57:32 CEST
From the discussion in the related forums thread https://forums.mageia.org/en/viewtopic.php?f=7&t=12910 and also the testing with other distros, it does not seem like this adapter is supported under linux at all, I'd say.

It also does not appear in lsusb output at all.

CC: (none) => doktor5000

Comment 7 Adelson Oliveira 2019-07-19 03:25:20 CEST
Is there any known initiative/project to develop linux drivers for this device?
Lewis Smith 2019-07-19 20:54:00 CEST

CC: lewyssmith => (none)

Comment 8 Aurelien Oudelet 2021-07-06 13:14:56 CEST
Mageia 7 is EOL since July 1st 2021.
There will not have any further bugfix for this release.

You are encouraged to upgrade to Mageia 8 as soon as possible.

@reporter, if this bug still apply with Mageia 8, please let us know it.

@packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead.

This bug report will be closed OLD if there is no further notice within 1st September 2021.
Comment 9 Adelson Oliveira 2021-07-07 03:27:05 CEST
I've already moved to mageia 8 and tested the usb C device with the same output: nothing happens.
So far, it seems no support to this particular device is found on Linux kernels
Thanks
Marja Van Waes 2021-07-07 18:24:50 CEST

Version: 7 => 8
CC: (none) => marja11

Comment 10 Kristoffer Grundström 2021-07-08 19:02:22 CEST
(In reply to Adelson Oliveira from comment #9)
> I've already moved to mageia 8 and tested the usb C device with the same
> output: nothing happens.
> So far, it seems no support to this particular device is found on Linux
> kernels
> Thanks

If you were to boot any other dist that also uses rpm, do you get the same issue?
Marja Van Waes 2021-07-08 21:40:02 CEST

Summary: MGA 7 cannot enable a USB 3.1 type C => VGA adapter => MGA cannot enable a USB 3.1 type C => VGA adapter

Comment 11 Thomas Backlund 2021-07-08 21:57:14 CEST
(In reply to Kristoffer Grundström from comment #10)


> If you were to boot any other dist that also uses rpm, do you get the same
> issue?

ignore this one... it has nothing to do with package manager
Comment 12 Thomas Backlund 2021-07-08 22:06:26 CEST
(In reply to Adelson Oliveira from comment #7)
> Is there any known initiative/project to develop linux drivers for this
> device?

what adapter is it ? brand ? model ? ...

USB-C supports various adapters and linux supports several of them (I know, I use an usb-c to vga to test some old projectors), but if it's a "vendor hacked" cable or an Apple cable (as it works under mac) there might be something custom  fixes needed

Also, plese do:

1. unplug the cable/adapter and reboot to get a clean system
2. as root in terminal window, do type "journalctl -f" and press enter
3. plug the cable/adapter
4. watch the terminal output for any "reaction" to the plugging
5. add those lines to this bugreport

Note You need to log in before you can comment on or make changes to this bug.