usb modem via PCIe installation issue

24 views
Skip to first unread message

alain....@gmail.com

unread,
Jul 25, 2019, 6:17:17 AM7/25/19
to qubes-users
Hi,
I need to use a telit lte modem plugged on PCIe.
I found informations
  dmesg: usb 1-2: product Telit...
  lsusb: bus 001 Device 002: ID........ Telit ......
  readlink: /sys/bus/usb/devices/usb1
       ......device/pci.....00:14.0/usb1
it's ok, but...
when i attach the usb device from dom0
qvm-device pci attach myVm dom0:00_14.0

Qubes-Os stops.
I don't have no more acces at nothing.
keyboard, mouse which are usb devices are lost.
I have to unplugge the supply to reboot.
has somebody a solution?
Thanks
alain

awokd

unread,
Jul 25, 2019, 9:43:21 AM7/25/19
to qubes...@googlegroups.com
alain....@gmail.com:
Since it shows up as a USB device, try attaching it with the appropriate
qvm-usb commands instead. Also, you should almost never attach devices
to dom0. Attach to a qube instead, such as sys-net.

alain....@gmail.com

unread,
Jul 26, 2019, 2:42:20 AM7/26/19
to qubes-users
Hi awork,

thanks for your answer.
I do not attach the device to dom0 but since Dom0 (backend) to my VM.
but when I list the usb devices from Dom0 with qvm-usb, I see nothing.
however my device appears correctly in / sys / bus / usb / devices / usb1
it seems me that qvm-usb is derivated of qvm-device, as qvm-pci. Is that true?


Le jeudi 25 juillet 2019 15:43:21 UTC+2, awokd a écrit :
alain...@gmail.com:

awokd

unread,
Jul 26, 2019, 8:30:00 AM7/26/19
to qubes...@googlegroups.com
alain....@gmail.com:
> Hi awork,
>
> thanks for your answer.
> I do not attach the device to dom0 but since Dom0 (backend) to my VM.
> but when I list the usb devices from Dom0 with qvm-usb, I see nothing.
> however my device appears correctly in / sys / bus / usb / devices / usb1
> it seems me that qvm-usb is derivated of qvm-device, as qvm-pci. Is that
> true?
>
>
> Le jeudi 25 juillet 2019 15:43:21 UTC+2, awokd a écrit :
>>
>> alain...@gmail.com <javascript:>:
>>> Hi,
>>> I need to use a telit lte modem plugged on PCIe.
>>> I found informations
>>> dmesg: usb 1-2: product Telit...
>>> lsusb: bus 001 Device 002: ID........ Telit ......
>>> readlink: /sys/bus/usb/devices/usb1
>>> ......device/pci.....00:14.0/usb1
>>> it's ok, but...
>>> when i attach the usb device from dom0
>>> qvm-device pci attach myVm dom0:00_14.0
>>>
>>> Qubes-Os stops.
>>> I don't have no more acces at nothing.
>>> keyboard, mouse which are usb devices are lost.
>>> I have to unplugge the supply to reboot.
>>> has somebody a solution?
>>> Thanks
>>> alain
>>>
>> Since it shows up as a USB device, try attaching it with the appropriate
>> qvm-usb commands instead. Also, you should almost never attach devices
>> to dom0. Attach to a qube instead, such as sys-net.
>>
>
Yes, "qvm-block, qvm-usb and qvm-pci are just aliases for qvm-device
block, qvm-device usb and qvm-device pci respectively." However, the
symptoms you describe are what happens if you mistakenly try to reassign
the USB controller your keyboard & mouse are using.
https://www.qubes-os.org/doc/usb-qubes/. Do you have a sys-usb? What is
listed in lspci? PCIe cards normally have their own major number like
08_00.0 whereas PCIe root ports are in the 00_14.0 range so you might be
trying to reassign the wrong thing.



Reply all
Reply to author
Forward
0 new messages