Asus Transformer 3 Pro T303UA, Thunderbolt issues

266 views
Skip to first unread message

Benjamin Richter

unread,
Dec 3, 2016, 9:53:30 AM12/3/16
to qubes-users
Hi,

my earlier post seems to have gotten lost somewhere, so here again, in more detail.
I've got an Asus Transformer 3 Pro and installed Qubes 3.2 on it.

It works surprisingly well. Network, USB, display, touchscreen, keyboard and touchpad are working right away.

It's troublesome the tablet has no Ethernet and only one USB controller, which means I cannot simply use a USB-Ethernet device.

I haven't tried bluetooth yet.

I've also got the Thunderbolt docking station, which contains a HDMI and VGA port, Ethernet, two USB 3 and one USB-C Ports, a SD card reader and audio ports It also charges the tablet while leaving a USB-C port available.

Unfortunately, I have not been able to use the docks USB controller inside a VM. I can attach the controller, but the devices (like the integrated ethernet or external USB devices) never show up in the VM. I'll post some logs showing this later.

So far the short report on the Transformer 3.

Kind regards,
Benjamin

Qubes-HCL-ASUSTeK_COMPUTER_INC_-T303UA-20161203-131517.yml
Qubes-HCL-ASUSTeK_COMPUTER_INC_-T303UA-20161203-131517.cpio.gz

Benjamin Richter

unread,
Dec 3, 2016, 10:05:14 AM12/3/16
to qubes-users
Here a log of the docking station attached to dom0. This only works, if the station is attached on boot, hotplugging does not seem to work. If I attach the station to the running system, the PCI devices show up, but the USB devices don't.

sudo lspci
00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 08)
00:05.0 Multimedia controller: Intel Corporation Skylake Imaging Unit (rev 01)
00:13.0 Non-VGA unclassified device: Intel Corporation Device 9d35 (rev 21)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:14.3 Multimedia controller: Intel Corporation Device 9d32 (rev 01)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:15.2 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #2 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Device 9d1a (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
02:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
02:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
02:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
05:00.0 USB controller: Intel Corporation DSL6340 USB 3.1 Controller [Alpine Ridge]
3a:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
sudo lsusb
Bus 004 Device 005: ID 0bda:8153 Realtek Semiconductor Corp.
Bus 004 Device 003: ID 05e3:0620 Genesys Logic, Inc.
Bus 004 Device 002: ID 05e3:0620 Genesys Logic, Inc.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 046d:c51e Logitech, Inc.
Bus 003 Device 007: ID 1e4e:0898 Cubeternet
Bus 003 Device 006: ID 0572:1703 Conexant Systems (Rockwell), Inc.
Bus 003 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0b05:1838 ASUSTek Computer, Inc.
Bus 001 Device 003: ID 8087:0a2a Intel Corp.
Bus 001 Device 002: ID 04f2:b5b1 Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Benjamin Richter

unread,
Dec 3, 2016, 10:13:41 AM12/3/16
to qubes-users
Here I attached the PCI devices of the docking station to sys-net an rebooted for good measure.
As you can see, the bridges show up, but the usb controller and the usb devices do not, I have not Idea why.

[user@sys-net ~]$ sudo lspci
00:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
00:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
00:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
00:03.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015]
00:05.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
[user@sys-net ~]$ sudo lsusb

Grzesiek Chodzicki

unread,
Dec 3, 2016, 10:32:37 AM12/3/16
to qubes-users
Qubes disables hotplugging Thunderbolt/Firewire/Express Card devices for security reasons ergo this is not a bug it's a feature. Dunno how to disable that.

Benjamin Richter

unread,
Dec 3, 2016, 2:21:10 PM12/3/16
to qubes-users
OK. But this should not prevent the device from being attached to a VM, I think.

Marek Marczykowski-Górecki

unread,
Dec 3, 2016, 6:46:12 PM12/3/16
to Benjamin Richter, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Indeed above there is a place for USB controller - 00:04.0. Check kernel
messages (dmesg) in sys-net - maybe there you'll find something
interesting about it.


- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJYQ1k/AAoJENuP0xzK19cskr8IAIMkU+SpqnlJWP3eO0nMuZvM
XudqaQp16jGCgqblKu3Vc+666+cxHMSHVKmIp6dmJHyZyP4h6JL28FsZCYsKHst/
0MMsBHoxFnJMOsxD+T1561pRlg0VzEAP/n47PXRUMgMZ0wBxIHpA6hgffPVfeytB
rLBK5XNLdn3hunN8mS4lxL/JW8TQZePVszHjTBF1SRwshFCs7VTdwaYVjvLIAucb
0owoP9EXnLx1XWFsk04B58zWYc3KS3pmPgFqGBUaueZ9kbZvxGlIBx/bbwfXGaE3
MNeQiXC4KCJnx8C5QP8HFXWjSSpBi1u8+gyglncOIzj7Gz3sV3Zv+ReVjIRTK38=
=Qg5E
-----END PGP SIGNATURE-----

Benjamin Richter

unread,
Dec 3, 2016, 7:14:48 PM12/3/16
to qubes-users, goo...@info.telepath.de
I have revisited an earlier approach with some more success.
I attached only the usb controller, not the bridges. This seems to work:

sudo lspci
00:00.0 USB controller: Intel Corporation DSL6340 USB 3.1 Controller [Alpine Ridge]
00:01.0 Network controller: Intel Corporation Wireless 7265 (rev 59)

sudo lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 007: ID 046d:c51e Logitech, Inc.
Bus 002 Device 006: ID 1e4e:0898 Cubeternet
Bus 002 Device 005: ID 0572:1703 Conexant Systems (Rockwell), Inc.
Bus 002 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 002 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

So some devices are there, like the SD card reader, audio device and the usb hubs. The usb hubs even work, the Logitec device is an external keyboard I connected.

But the ethernet device is not there, nor the usb ethernet dongle that's also connected to the usb hub. Both show up on dom0 if I connect them, but since dom0 has no networking, I cannot say if they would work.

I cannot see an error in dmesg either. Am I missing something? Do I need to configure something else to enable the network devices in sys-net?

sudo dmesg | grep usb
[ 0.087164] usbcore: registered new interface driver usbfs
[ 0.087164] usbcore: registered new interface driver hub
[ 0.087164] usbcore: registered new device driver usb
[ 0.199812] usbcore: registered new interface driver usbserial
[ 0.199819] usbcore: registered new interface driver usbserial_generic
[ 0.199826] usbserial: USB Serial support registered for generic
[ 1.218031] usbcore: registered new interface driver usbhid
[ 1.218036] usbhid: USB HID core driver
[ 1.899801] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.899805] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.899809] usb usb1: Product: Dummy host controller
[ 1.899813] usb usb1: Manufacturer: Linux 4.4.14-11.pvops.qubes.x86_64 dummy_hcd
[ 1.899817] usb usb1: SerialNumber: dummy_hcd.0
[ 2.517386] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.517394] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.517401] usb usb2: Product: xHCI Host Controller
[ 2.517406] usb usb2: Manufacturer: Linux 4.4.14-11.pvops.qubes.x86_64 xhci-hcd
[ 2.517412] usb usb2: SerialNumber: 0000:00:00.0
[ 2.517988] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[ 2.517994] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.518018] usb usb3: Product: xHCI Host Controller
[ 2.518024] usb usb3: Manufacturer: Linux 4.4.14-11.pvops.qubes.x86_64 xhci-hcd
[ 2.518030] usb usb3: SerialNumber: 0000:00:00.0
[ 2.870258] usb 2-1: new high-speed USB device number 2 using xhci_hcd
[ 3.039597] usb 2-1: New USB device found, idVendor=05e3, idProduct=0610
[ 3.039641] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.039676] usb 2-1: Product: USB2.1 Hub
[ 3.039699] usb 2-1: Manufacturer: GenesysLogic
[ 3.333235] usb 2-1.1: new high-speed USB device number 3 using xhci_hcd
[ 3.458450] usb 2-1.1: New USB device found, idVendor=05e3, idProduct=0610
[ 3.458501] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.458545] usb 2-1.1: Product: USB2.0 Hub
[ 3.458572] usb 2-1.1: Manufacturer: GenesysLogic
[ 3.582241] usb 2-1.3: new low-speed USB device number 4 using xhci_hcd
[ 3.697415] usb 2-1.3: New USB device found, idVendor=046d, idProduct=c51e
[ 3.697467] usb 2-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.698170] usb 2-1.3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 3.698255] usb 2-1.3: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 3.702613] input: HID 046d:c51e as /devices/pci-0/pci0000:00/0000:00:00.0/usb2/2-1/2-1.3/2-1.3:1.0/0003:046D:C51E.0001/input/input1
[ 3.753888] hid-generic 0003:046D:C51E.0001: input,hidraw0: USB HID v1.11 Keyboard [HID 046d:c51e] on usb-0000:00:00.0-1.3/input0
[ 3.762024] input: HID 046d:c51e as /devices/pci-0/pci0000:00/0000:00:00.0/usb2/2-1/2-1.3/2-1.3:1.1/0003:046D:C51E.0002/input/input2
[ 3.814541] hid-generic 0003:046D:C51E.0002: input,hiddev0,hidraw1: USB HID v1.11 Mouse [HID 046d:c51e] on usb-0000:00:00.0-1.3/input1
[ 3.823050] usb 2-1.1.2: new full-speed USB device number 5 using xhci_hcd
[ 4.128399] usb 2-1.1.2: New USB device found, idVendor=0572, idProduct=1703
[ 4.128445] usb 2-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.128476] usb 2-1.1.2: Product: ASUS USB Audio
[ 4.128496] usb 2-1.1.2: Manufacturer: ASUS
[ 4.128514] usb 2-1.1.2: SerialNumber: 00000000
sudo dmesg | grep usb
[ 0.087164] usbcore: registered new interface driver usbfs
[ 0.087164] usbcore: registered new interface driver hub
[ 0.087164] usbcore: registered new device driver usb
[ 0.199812] usbcore: registered new interface driver usbserial
[ 0.199819] usbcore: registered new interface driver usbserial_generic
[ 0.199826] usbserial: USB Serial support registered for generic
[ 1.218031] usbcore: registered new interface driver usbhid
[ 1.218036] usbhid: USB HID core driver
[ 1.899801] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.899805] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.899809] usb usb1: Product: Dummy host controller
[ 1.899813] usb usb1: Manufacturer: Linux 4.4.14-11.pvops.qubes.x86_64 dummy_hcd
[ 1.899817] usb usb1: SerialNumber: dummy_hcd.0
[ 2.517386] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.517394] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.517401] usb usb2: Product: xHCI Host Controller
[ 2.517406] usb usb2: Manufacturer: Linux 4.4.14-11.pvops.qubes.x86_64 xhci-hcd
[ 2.517412] usb usb2: SerialNumber: 0000:00:00.0
[ 2.517988] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[ 2.517994] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.518018] usb usb3: Product: xHCI Host Controller
[ 2.518024] usb usb3: Manufacturer: Linux 4.4.14-11.pvops.qubes.x86_64 xhci-hcd
[ 2.518030] usb usb3: SerialNumber: 0000:00:00.0
[ 2.870258] usb 2-1: new high-speed USB device number 2 using xhci_hcd
[ 3.039597] usb 2-1: New USB device found, idVendor=05e3, idProduct=0610
[ 3.039641] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.039676] usb 2-1: Product: USB2.1 Hub
[ 3.039699] usb 2-1: Manufacturer: GenesysLogic
[ 3.333235] usb 2-1.1: new high-speed USB device number 3 using xhci_hcd
[ 3.458450] usb 2-1.1: New USB device found, idVendor=05e3, idProduct=0610
[ 3.458501] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.458545] usb 2-1.1: Product: USB2.0 Hub
[ 3.458572] usb 2-1.1: Manufacturer: GenesysLogic
[ 3.582241] usb 2-1.3: new low-speed USB device number 4 using xhci_hcd
[ 3.697415] usb 2-1.3: New USB device found, idVendor=046d, idProduct=c51e
[ 3.697467] usb 2-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.698170] usb 2-1.3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 3.698255] usb 2-1.3: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 3.702613] input: HID 046d:c51e as /devices/pci-0/pci0000:00/0000:00:00.0/usb2/2-1/2-1.3/2-1.3:1.0/0003:046D:C51E.0001/input/input1
[ 3.753888] hid-generic 0003:046D:C51E.0001: input,hidraw0: USB HID v1.11 Keyboard [HID 046d:c51e] on usb-0000:00:00.0-1.3/input0
[ 3.762024] input: HID 046d:c51e as /devices/pci-0/pci0000:00/0000:00:00.0/usb2/2-1/2-1.3/2-1.3:1.1/0003:046D:C51E.0002/input/input2
[ 3.814541] hid-generic 0003:046D:C51E.0002: input,hiddev0,hidraw1: USB HID v1.11 Mouse [HID 046d:c51e] on usb-0000:00:00.0-1.3/input1
[ 3.823050] usb 2-1.1.2: new full-speed USB device number 5 using xhci_hcd
[ 4.128399] usb 2-1.1.2: New USB device found, idVendor=0572, idProduct=1703
[ 4.128445] usb 2-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.128476] usb 2-1.1.2: Product: ASUS USB Audio
[ 4.128496] usb 2-1.1.2: Manufacturer: ASUS
[ 4.128514] usb 2-1.1.2: SerialNumber: 00000000
[ 4.232947] input: ASUS ASUS USB Audio as /devices/pci-0/pci0000:00/0000:00:00.0/usb2/2-1/2-1.1/2-1.1.2/2-1.1.2:1.3/0003:0572:1703.0003/input/input3
[ 4.285481] hid-generic 0003:0572:1703.0003: input,hiddev0,hidraw2: USB HID v1.11 Device [ASUS ASUS USB Audio] on usb-0000:00:00.0-1.1.2/input3
[ 4.390263] usb 2-1.1.4: new full-speed USB device number 6 using xhci_hcd
[ 4.501782] usb 2-1.1.4: New USB device found, idVendor=1e4e, idProduct=0898
[ 4.501832] usb 2-1.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.501862] usb 2-1.1.4: Product: Billboard Device
[ 4.501881] usb 2-1.1.4: Manufacturer: Silicon Laboratories
[ 4.501901] usb 2-1.1.4: SerialNumber: 0123456781ABCDEF
[ 4.502478] usb 2-1.1.4: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 4.502546] usb 2-1.1.4: ep 0x1 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 4.508725] hid-generic 0003:1E4E:0898.0004: hiddev0,hidraw3: USB HID v1.11 Device [Silicon Laboratories Billboard Device] on usb-0000:00:00.0-1.1.4/input1
[ 4.631236] usbcore: registered new interface driver snd-usb-audio
[ 34.400883] usb 2-1.1.2: 2:1: cannot get freq at ep 0x1
[ 130.777188] usb 2-1.3: USB disconnect, device number 4
[ 133.795215] usb 2-1.3: new low-speed USB device number 7 using xhci_hcd
[ 133.908660] usb 2-1.3: New USB device found, idVendor=046d, idProduct=c51e
[ 133.908706] usb 2-1.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 133.910808] usb 2-1.3: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 133.910848] usb 2-1.3: ep 0x82 - rounding interval to 64 microframes, ep desc says 80 microframes
[ 133.917523] input: HID 046d:c51e as /devices/pci-0/pci0000:00/0000:00:00.0/usb2/2-1/2-1.3/2-1.3:1.0/0003:046D:C51E.0005/input/input4
[ 133.969648] hid-generic 0003:046D:C51E.0005: input,hidraw0: USB HID v1.11 Keyboard [HID 046d:c51e] on usb-0000:00:00.0-1.3/input0
[ 133.978255] input: HID 046d:c51e as /devices/pci-0/pci0000:00/0000:00:00.0/usb2/2-1/2-1.3/2-1.3:1.1/0003:046D:C51E.0006/input/input5
[ 134.030189] hid-generic 0003:046D:C51E.0006: input,hiddev0,hidraw1: USB HID v1.11 Mouse [HID 046d:c51e] on usb-0000:00:00.0-1.3/input1
[ 173.750153] usb 2-1.1.3: new high-speed USB device number 8 using xhci_hcd
[ 173.864759] usb 2-1.1.3: New USB device found, idVendor=058f, idProduct=6366
[ 173.864798] usb 2-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 173.864828] usb 2-1.1.3: Product: Flash Card Reader/Writer
[ 173.864848] usb 2-1.1.3: Manufacturer: Generic
[ 173.864869] usb 2-1.1.3: SerialNumber: 058F63666485
[ 173.913685] usb-storage 2-1.1.3:1.0: USB Mass Storage device detected
[ 173.913806] scsi host0: usb-storage 2-1.1.3:1.0
[ 173.913876] usbcore: registered new interface driver usb-storage
[ 173.915341] usbcore: registered new interface driver uas
[ 199.397504] usb 2-1.1.3: USB disconnect, device number 8

Marek Marczykowski-Górecki

unread,
Dec 3, 2016, 7:19:45 PM12/3/16
to Benjamin Richter, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sat, Dec 03, 2016 at 04:14:48PM -0800, Benjamin Richter wrote:
> I have revisited an earlier approach with some more success.
> I attached only the usb controller, not the bridges. This seems to work:
>
> sudo lspci
> 00:00.0 USB controller: Intel Corporation DSL6340 USB 3.1 Controller [Alpine Ridge]
> 00:01.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
>
> sudo lsusb
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 002 Device 007: ID 046d:c51e Logitech, Inc.
> Bus 002 Device 006: ID 1e4e:0898 Cubeternet
> Bus 002 Device 005: ID 0572:1703 Conexant Systems (Rockwell), Inc.
> Bus 002 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
> Bus 002 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> So some devices are there, like the SD card reader, audio device and the usb hubs. The usb hubs even work, the Logitec device is an external keyboard I connected.
>
> But the ethernet device is not there, nor the usb ethernet dongle that's also connected to the usb hub. Both show up on dom0 if I connect them, but since dom0 has no networking, I cannot say if they would work.

Maybe those are on the other USB controller - 00:14.0 ? Try attaching
that too to the sys-net.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJYQ2EbAAoJENuP0xzK19cs1wwH/3jZh8JqNh1tqPJmaCxYzBA1
nmCNJbZ7GDXk19ZJDfMeDsmaZ3OilvhjimAKf/43lvJMjQuzyneCjOwWW6Tef4zQ
CRPb3gVdiE5DdJ1Gq5Yz93VRP41Y26eN26SIKEk6TQAHJCuC9ydrIFC32oi6imsG
H+621Iv4f9zPiPta24fmoFQs2NdfAWZX6NHZpIXUULPZx5DncUsYwLRUttXUEIgg
pgMJGbdsC6X8iRJIT3CpSZcRRgpJJNIdEeiPtk2odbB2yzeL3sapCmZiJAs0iOjw
XMdKRfK9utExA8GH27Tkesiab7HR/PlHO8w2ztphLWxMmNLMEdMGSHQ4xXQM5kM=
=LgKq
-----END PGP SIGNATURE-----

Benjamin Richter

unread,
Dec 3, 2016, 7:24:05 PM12/3/16
to qubes-users, goo...@info.telepath.de
No, that's the integrated controller, which is the source of the trouble, since it also is used for keyboard and touchpad/touchscreen, so I cannot attach that to a VM.

I've attached the ethernet dongle to the same port as the logitech keyboard, but it does not show up anywhere.

Marek Marczykowski-Górecki

unread,
Dec 3, 2016, 7:33:31 PM12/3/16
to Benjamin Richter, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sat, Dec 03, 2016 at 04:24:05PM -0800, Benjamin Richter wrote:
> Am Sonntag, 4. Dezember 2016 01:19:45 UTC+1 schrieb Marek Marczykowski-Górecki:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA256
> >
> > On Sat, Dec 03, 2016 at 04:14:48PM -0800, Benjamin Richter wrote:
> > > I have revisited an earlier approach with some more success.
> > > I attached only the usb controller, not the bridges. This seems to work:
> > >
> > > sudo lspci
> > > 00:00.0 USB controller: Intel Corporation DSL6340 USB 3.1 Controller [Alpine Ridge]
> > > 00:01.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
> > >
> > > sudo lsusb
> > > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> > > Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> > > Bus 002 Device 007: ID 046d:c51e Logitech, Inc.
> > > Bus 002 Device 006: ID 1e4e:0898 Cubeternet
> > > Bus 002 Device 005: ID 0572:1703 Conexant Systems (Rockwell), Inc.
> > > Bus 002 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
> > > Bus 002 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
> > > Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> > >
> > > So some devices are there, like the SD card reader, audio device and the usb hubs. The usb hubs even work, the Logitec device is an external keyboard I connected.
> > >
> > > But the ethernet device is not there, nor the usb ethernet dongle that's also connected to the usb hub. Both show up on dom0 if I connect them, but since dom0 has no networking, I cannot say if they would work.
> >
> > Maybe those are on the other USB controller - 00:14.0 ? Try attaching
> > that too to the sys-net.
>
> No, that's the integrated controller, which is the source of the trouble, since it also is used for keyboard and touchpad/touchscreen, so I cannot attach that to a VM.
>
> I've attached the ethernet dongle to the same port as the logitech keyboard, but it does not show up anywhere.

If you see the device in dom0 in some configuration, take a look at its
sysfs path - it will have a hint on which controller is it. Like this:
lrwxrwxrwx 1 root root 0 Dec 4 01:32 /sys/bus/usb/devices/3-1 ->
../../../devices/pci-0/pci0000:00/0000:00:02.0/usb3/3-1

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJYQ2RWAAoJENuP0xzK19csKxMH/3rkY6pxlWVSjltPRc1r2jGn
njWyqDEA6Zoe56gAQ3zS1ORX54hgpEw6omZgzB3bY9KI2U3ihLncJ4jF8mVwxa+S
rTCFF1Flqp8Olk2jTXc2lobdLcOQBMQXXfNq4GbpHkl0C+ZVIa1n7lndfJI9WA21
TKA3gsW/SY8EgBjYtFO0Emnhr5WMi3jYyt/qSWU8jrYn92IoZnx6CbpQp8xA/S8L
KLvt7WUnBjuFX+k4z9hodXHq6eU00YNqOEI4fm0+y92PPSjIGKbDhClCstSMMXRE
RqlbJmWpBasYBPm2pOg+1C0Vkeg593TtxahLd2k8MuFZUjrCjY4OXwA7+YkHFRA=
=4hF8
-----END PGP SIGNATURE-----

Benjamin Richter

unread,
Dec 4, 2016, 3:18:23 AM12/4/16
to qubes-users, goo...@info.telepath.de
Am Sonntag, 4. Dezember 2016 01:33:31 UTC+1 schrieb Marek Marczykowski-Górecki:

> > I've attached the ethernet dongle to the same port as the logitech keyboard, but it does not show up anywhere.
>
> If you see the device in dom0 in some configuration, take a look at its
> sysfs path - it will have a hint on which controller is it. Like this:
> lrwxrwxrwx 1 root root 0 Dec 4 01:32 /sys/bus/usb/devices/3-1 ->
> ../../../devices/pci-0/pci0000:00/0000:00:02.0/usb3/3-1
>
> - --
> Best Regards,
> Marek Marczykowski-Górecki
> Invisible Things Lab
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQEcBAEBCAAGBQJYQ2RWAAoJENuP0xzK19csKxMH/3rkY6pxlWVSjltPRc1r2jGn
> njWyqDEA6Zoe56gAQ3zS1ORX54hgpEw6omZgzB3bY9KI2U3ihLncJ4jF8mVwxa+S
> rTCFF1Flqp8Olk2jTXc2lobdLcOQBMQXXfNq4GbpHkl0C+ZVIa1n7lndfJI9WA21
> TKA3gsW/SY8EgBjYtFO0Emnhr5WMi3jYyt/qSWU8jrYn92IoZnx6CbpQp8xA/S8L
> KLvt7WUnBjuFX+k4z9hodXHq6eU00YNqOEI4fm0+y92PPSjIGKbDhClCstSMMXRE
> RqlbJmWpBasYBPm2pOg+1C0Vkeg593TtxahLd2k8MuFZUjrCjY4OXwA7+YkHFRA=
> =4hF8
> -----END PGP SIGNATURE-----

That's really quite clear, here's a lsusb output from dom0 with both usb controllers. Here the ASIX and Realtek ethernet deivces show up on bus 004.

Bus 004 Device 004: ID 0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet
Bus 004 Device 005: ID 0bda:8153 Realtek Semiconductor Corp.
Bus 004 Device 003: ID 05e3:0620 Genesys Logic, Inc.
Bus 004 Device 002: ID 05e3:0620 Genesys Logic, Inc.
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 004: ID 046d:c51e Logitech, Inc.
Bus 003 Device 007: ID 1e4e:0898 Cubeternet
Bus 003 Device 006: ID 0572:1703 Conexant Systems (Rockwell), Inc.
Bus 003 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0b05:1838 ASUSTek Computer, Inc.
Bus 001 Device 003: ID 8087:0a2a Intel Corp.
Bus 001 Device 002: ID 04f2:b5b1 Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb of dom0 after attaching the controller to sys-net:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0b05:1838 ASUSTek Computer, Inc.
Bus 001 Device 003: ID 8087:0a2a Intel Corp.
Bus 001 Device 002: ID 04f2:b5b1 Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

and of sys-net:
sudo lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 046d:c51e Logitech, Inc.
Bus 002 Device 006: ID 1e4e:0898 Cubeternet
Bus 002 Device 005: ID 0572:1703 Conexant Systems (Rockwell), Inc.
Bus 002 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 002 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The Logitech keyboard attached to the docking station is there, but neither the asix dongle nor the docks ethernet port show up. It seems dom0s usb bus 004 got lost somewhere.
Interestingly, if I switch the ethernet dongle and the logitech keyboard, the keyboard shows up on another port, but the dongle does not show up.

I have no idea what's going on.

Marek Marczykowski-Górecki

unread,
Dec 4, 2016, 4:59:28 PM12/4/16
to Benjamin Richter, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

It looks like none of devices from that bus show up (just root hub).
Anything interesting in dmesg there? I'd recommend looking for more than
just "grep usb" - for example some messages may contain only xhci, or
just pci BDF.

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJYRJG7AAoJENuP0xzK19csxUMIAIRJL6cJEwZhTWJ6+VubNKl1
nlZ//ruZ39jmXevc3GCQQydxyxcpF96ZXXTeAHjHp977nLSqByeD1DjdJdaIrCVW
MExKtvHWX3Bz7ddgMdoIWAGF8j4VbLC4thjgxFxuvbnHYVcZcq31CXb8ipcKXyTl
YyNMSEhAtx+FLIk0NNI+mlVLpUEfg2fGH1bRCewkY+Ptu9PingXi+M/AR4BIAACt
ri8nVL3yhAIcxoeV3sdBPnSEzijb6iBBz7KpbGvSsxRgua3cYuGJnKCrZ2oTv6CF
vEbr5ekTIHOuhj12T5kvqPRtTOR4RWCN69brGksMjMSjN9zyYGHQSVytRZesA/Q=
=r5Zg
-----END PGP SIGNATURE-----

Benjamin Richter

unread,
Dec 5, 2016, 6:57:18 AM12/5/16
to qubes-users, goo...@info.telepath.de
I really can't see anything in there, but i've attached the log, maybe I missed something?
What baffles me is that the Logitech keyboard shows up, but the ehternet dongle does not, though they are both on the docking station, and those ports are definitely on the same hub.
dmesg

Benjamin Richter

unread,
Dec 6, 2016, 12:32:44 PM12/6/16
to qubes-users, goo...@info.telepath.de
The only thing I could find is this, from dom0s dmesg:

[ 29.251207] xhci_hcd 0000:05:00.0: remove, state 1
[ 29.251216] usb usb4: USB disconnect, device number 1
[ 29.251218] usb 4-1: USB disconnect, device number 2
[ 29.251219] usb 4-1.1: USB disconnect, device number 3
[ 29.251220] usb 4-1.1.1: USB disconnect, device number 4
[ 29.253988] xhci_hcd 0000:05:00.0: USB bus 4 deregistered
[ 29.254071] xhci_hcd 0000:05:00.0: remove, state 1
[ 29.254079] usb usb3: USB disconnect, device number 1
[ 29.254081] usb 3-1: USB disconnect, device number 2
[ 29.254084] usb 3-1.1: USB disconnect, device number 3
[ 29.254086] usb 3-1.1.2: USB disconnect, device number 6
[ 29.289813] usb 3-1.1.4: USB disconnect, device number 7
[ 29.290279] usb 3-1.2: USB disconnect, device number 4
[ 29.399835] xhci_hcd 0000:05:00.0: USB bus 3 deregistered
[ 29.400369] pciback 0000:05:00.0: seizing device
[ 29.400479] xen: registering gsi 18 triggering 0 polarity 1
[ 29.400484] Already setup the GSI :18
[ 29.803790] loop: module loaded
[ 30.366119] xen_pciback: vpci: 0000:05:00.0: assign to virtual slot 0
[ 30.366446] pciback 0000:05:00.0: registering for 1
[ 30.367301] xen_pciback: vpci: 0000:3a:00.0: assign to virtual slot 1
[ 30.367631] pciback 0000:3a:00.0: registering for 1
[ 31.693098] xen-blkback: event-channel 17
[ 31.693193] xen-blkback: /local/domain/1/device/vbd/51712:using single page: ring-ref 8
[ 31.693323] xen-blkback: ring-pages:1, event-channel 17, protocol 1 (x86_64-abi) persistent grants
[ 31.705391] xen-blkback: event-channel 18
[ 31.705512] xen-blkback: /local/domain/1/device/vbd/51728:using single page: ring-ref 9
[ 31.705603] xen-blkback: ring-pages:1, event-channel 18, protocol 1 (x86_64-abi) persistent grants
[ 31.713185] xen-blkback: event-channel 19
[ 31.713372] xen-blkback: /local/domain/1/device/vbd/51744:using single page: ring-ref 10
[ 31.713503] xen-blkback: ring-pages:1, event-channel 19, protocol 1 (x86_64-abi) persistent grants
[ 31.721737] xen-blkback: event-channel 20
[ 31.721815] xen-blkback: /local/domain/1/device/vbd/51760:using single page: ring-ref 11
[ 31.721890] xen-blkback: ring-pages:1, event-channel 20, protocol 1 (x86_64-abi) persistent grants
[ 32.696932] pciback 0000:05:00.0: Driver tried to write to a read-only configuration space field at offset 0x8a, size 2. This may be harmless, but if you have problems with your device:
1) see permissive attribute in sysfs
2) report problems to the xen-devel mailing list along with details of your device obtained from lspci.
[ 32.697621] pciback 0000:05:00.0: enabling device (0000 -> 0002)

Permissive mode is already enabled for the device, so I think the only remaining thing is to report this to the xen-devel list...

Reply all
Reply to author
Forward
0 new messages