Re: [qubes-users] Howto: Enable WWAN (LTE Sierra EM7345) in Qubes OS (Howto install ModemManager in Qubes)

2020-02-03 Thread M
Have you tried to make your USB modem work with Qubes OS 4.0.3 and do it work 
correctly ?

If so, have you done the same to make it work correctly as mentioned in this 
thread or have you done something else and if so what ?

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/9582c324-6c1e-4286-a0ec-58597aae1a9d%40googlegroups.com.


Re: [qubes-users] Howto: Enable WWAN (LTE Sierra EM7345) in Qubes OS (Howto install ModemManager in Qubes)

2018-03-12 Thread 799
Hello,

On 12 March 2018 at 20:38, akiraloopback via qubes-users <
qubes-users@googlegroups.com> wrote:

> Maybe. No. I just installed sys-usb now, delegating the LTE device to
> sys-net:
> [root@dom0 ~]# qubesctl state.sls qvm.sys-usb
> [user@dom0 ~]$ qvm-usb -a sys-net sys-usb:4-10
>
> Seems to work well.


happy to heat, that you made it work.
For some reason sometimes the exalt USB ID changes (example same device
which was sys-usb:4-10 before is then sys-usb:5-10).
I have thereof written a small helper script which will attach the
WWAN-card based on the name:

#!/bin/bash
# Attaches internal LTE-Card to sys-net
qvm-usb attach sys-net `qvm-usb | grep H5321 | gawk '{ print $1 }'`

You might need to change H5321 in your case so that the string is within
the description of your WWAN card.

[799]

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAJ3yz2s-L7hkgxeQMQ48Xq-ZypuRDOQJfR%2Bn6%2ByXTXXLj-97qg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Howto: Enable WWAN (LTE Sierra EM7345) in Qubes OS (Howto install ModemManager in Qubes)

2018-03-12 Thread akiraloopback via qubes-users
Maybe. No. I just installed sys-usb now, delegating the LTE device to sys-net:
[root@dom0 ~]# qubesctl state.sls qvm.sys-usb
[user@dom0 ~]$ qvm-usb -a sys-net sys-usb:4-10

Seems to work well.

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/bcd10672-4241-4b50-946e-e71466f4656e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Howto: Enable WWAN (LTE Sierra EM7345) in Qubes OS (Howto install ModemManager in Qubes)

2018-03-12 Thread 'awokd' via qubes-users
On Mon, March 12, 2018 5:40 pm, akiraloopback via qubes-users wrote:
>> As you might guess all other USB devices that are connected to the same
>> Bus / same USB-Controller will also be "lost" to the sys-net VM.
>> On the Lenovo W540 notebook this means that 3 out of 4 USB ports are
>> passed through to sys-net. If you enable USB3 in the BIOS you will even
>> loose all 4 USB ports to sys-net. I have disabled USB3 in the BIOS and
>> will use a USB3-PCMCIA Express Card to have USB3 available if I need it
>> (as suggested in another thread)
>>
>
> On a T540p, I loose all USB ports to sys-net, making the whole notebook
> quite unusable, since you cannot connect mice or disks any more.
>
> Everything seems to be on one bus (003):

If I understand the theory right, if you disable the strict-reset
requirement you should still be able to assign different devices on the
same bus to different VMs. Have you tried that?


-- 
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 qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/ce87a2635f06fa628d838bfa63c078ed.squirrel%40tt3j2x4k5ycaa5zt.onion.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Howto: Enable WWAN (LTE Sierra EM7345) in Qubes OS (Howto install ModemManager in Qubes)

2018-03-12 Thread akiraloopback via qubes-users
> As you might guess all other USB devices that are connected to the same Bus / 
> same USB-Controller will also be "lost" to the sys-net VM.
> On the Lenovo W540 notebook this means that 3 out of 4 USB ports are passed 
> through to sys-net.
> If you enable USB3 in the BIOS you will even loose all 4 USB ports to 
> sys-net. I have disabled USB3 in the BIOS and will use a USB3-PCMCIA Express 
> Card to have USB3 available if I need it (as suggested in another thread)

On a T540p, I loose all USB ports to sys-net, making the whole notebook quite 
unusable, since you cannot connect mice or disks any more.

Everything seems to be on one bus (003):

[user@dom0 ~]$ lsusb
Bus 002 Device 002: ID 8087:8000 Intel Corp. 
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:8008 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 17ef:1010 Lenovo 
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 008: ID 046d:c526 Logitech, Inc. Nano Receiver
Bus 003 Device 006: ID 17ef:100f Lenovo 
Bus 003 Device 004: ID 17ef:1010 Lenovo 
Bus 003 Device 003: ID 138a:0017 Validity Sensors, Inc. Fingerprint Reader
Bus 003 Device 002: ID 058f:9540 Alcor Micro Corp. AU9540 Smartcard Reader
Bus 003 Device 009: ID 5986:026a Acer, Inc 
Bus 003 Device 007: ID 8087:07da Intel Corp. 
Bus 003 Device 005: ID 1199:a001 Sierra Wireless, Inc. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[user@dom0 ~]$ readlink /sys/bus/usb/devices/usb?
../../../devices/pci:00/:00:1a.0/usb1
../../../devices/pci:00/:00:1d.0/usb2
../../../devices/pci:00/:00:14.0/usb3
../../../devices/pci:00/:00:14.0/usb4

[user@dom0 ~]$ lspci | grep USB
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family 
USB xHCI (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family 
USB EHCI #2 (rev 04)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family 
USB EHCI #1 (rev 04)

Why do you have to disable USB3 in BIOS?
And what about bus 001 and 002, where may they be connected to?

If I delegate device 00:14.0 to sys-net, I cannot use any physical USB port in 
dom0 any more.

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/2582ea99-5891-4626-a935-3e6e1d117a36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Re: [qubes-users] Howto: Enable WWAN (LTE Sierra EM7345) in Qubes OS (Howto install ModemManager in Qubes)

2018-03-02 Thread akiraloopback via qubes-users
Hi 799,

> have you tried this:
> qvm-prefs usbVM -s pci_strictreset false
> See also:
> https://www.qubes-os.org/doc/assigning-devices/ 

no, I didn't, and yes, that did the trick. Thanks!

Best,
Akira

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/e08c95cc-9149-4a87-b8a3-d871d26f25e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AW: Re: [qubes-users] Howto: Enable WWAN (LTE Sierra EM7345) in Qubes OS (Howto install ModemManager in Qubes)

2018-03-01 Thread '[799]' via qubes-users
Hello,

have you tried this:

qvm-prefs usbVM -s pci_strictreset false

See also:
https://www.qubes-os.org/doc/assigning-devices/

[799]

 Original-Nachricht 
An 1. März 2018, 17:22, akiraloopback via qubes-users schrieb:

Thanks for this howto, Piit.

I am trying to get the build-in LTE card running on my ThinkPad T540p. Its a 
Sierra Wireless USB connected card. I can identify the USB bus, it's the first 
USB bus (Intel family xHCI rev 04), where the fingerprint reader and some other 
internal stuff also is located.

When I attach this USB device to sys-net VM, this VM does not start any more, 
however, but throws the error: "qubes sys-net modem VM: internal error: unable 
to reset PCI device : no FLR, PM reset or bus reset available"

Rebooting the whole Qubes (3.2) doesn't help either.

Any ideas?

--
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 qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/c6dcb667-815e-4efe-9a99-9e55f33ea833%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/XdnbaEMo-OmqYRMXAff5I9EH6F7hip4D4ALWKrTIr7J4gfbTSKZ3b3AkxFXaNxkcP6tIUrR375uYWWRgwrMshXdsBnfzqhl6GdFCf5Znc7Y%3D%40protonmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Howto: Enable WWAN (LTE Sierra EM7345) in Qubes OS (Howto install ModemManager in Qubes)

2018-03-01 Thread akiraloopback via qubes-users
Thanks for this howto, Piit.

I am trying to get the build-in LTE card running on my ThinkPad T540p. Its a 
Sierra Wireless USB connected card. I can identify the USB bus, it's the first 
USB bus (Intel family xHCI rev 04), where the fingerprint reader and some other 
internal stuff also is located.

When I attach this USB device to sys-net VM, this VM does not start any more, 
however, but throws the error: "qubes sys-net modem VM: internal error: unable 
to reset PCI device : no FLR, PM reset or bus reset available"

Rebooting the whole Qubes (3.2) doesn't help either.

Any ideas?

-- 
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 qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/c6dcb667-815e-4efe-9a99-9e55f33ea833%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.