On 12/17/18 11:43 AM, [email protected] wrote:
> So I have a Precision 5530, and after some similar tweaks to those
> described here, I managed to install Qubes 4.0. Everything seem to be
> working perfectly fine (Including Wi-Fi) except for the Ethernet
> adapter that I need to connect to the USB-C (Thunderbolt) port. The
> adapter is detected and I can use other connectors (DP, USBs) but the
> ethernet adapter is not listed. I've tried assigning devices,
> connecting it to sys-net, etc but no luck...
> 
> Asking this here because in the Precision 5520 you also need a
> similar adapter if you want to use Ethernet... so hopefully you have
> figured it out already?
> 
> Thank you in advance.
> 

I have a Precision 5520 and the USB-C Ethernet adapter that came with
it. I'm running Qubes R4.0.

I've been able to use the adapter once per boot before I unplug it. If I
unplug it and plug it back in, then it doesn't show up as an Ethernet
device in the NetVM, and I have to reboot to use it again.

If I boot the laptop with the adapter plugged in, dom0 sees four PCI
bridge devices and one USB 3.1 controller associated with the adapter:

[user@dom0 ~]$ lspci
...
05:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge
[Alpine Ridge 2C 2015]
06:00.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge
[Alpine Ridge 2C 2015]
06:01.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge
[Alpine Ridge 2C 2015]
06:02.0 PCI bridge: Intel Corporation DSL6340 Thunderbolt 3 Bridge
[Alpine Ridge 2C 2015]
3d:00.0 USB controller: Intel Corporation DSL6340 USB 3.1 Controller
[Alpine Ridge]

I can create a NetVM and assign the last PCI device listed here to it.
NetworkManager recognizes the USB device as an Ethernet device in the
NetVM.  

However, if I plug the adapter in after I boot, then I have to rescan
the PCI bus to see those devices:

[root@dom0 ~]# echo 1 > /sys/bus/pci/rescan

Then, lspci will show the USB 3.1 controller. This works the first time
I plug the adapter in after boot. But the NetVM still won't see an
Ethernet adapter if I've already unplugged it.

Adding and removing a PCI device creates other issues. If I unplug the
adapter, the NetVM that I attached the device to will hang on shutdown.
And the same VM will fail to boot if the adapter isn't plugged in:

[user@dom0 ~]$ qvm-start sys-dongle
  Logical Volume "vm-sys-dongle-root-snap" already exists in volume
group "qubes_dom0"

I haven't investigated further since I use WiFi almost exclusively on
that laptop. But maybe you'll have better luck with plugging and
unplugging the adapter on the 5530.

Brian

-- 
Brian C. Duggan
he/him/his

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/0d8541a8-e1a4-2a4c-4853-b31f6144dbc1%40dugga.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to