>> On 3. Feb 2020, at 01:07, M E anneeyr...@gmail.com wrote:
>> 
>> 
>> I have written “dmesg” in the root terminal, and here is the relevant part 
>> of the result:
>> <4B89147B-20D5-40EE-A9BB-C71175811C5E.jpeg>
>> For me it seems that Qubes OS first register the USB device correctly as a 
>> USB modem, and then changes it’s status to a storage device afterwards. But 
>> I’m just a newbie...
>> 
>> What do you more experienced and knowledgeable people get out of this... ?
> 
> I have tried to use these two commands; “lsusb” and “ifconfig” in every 
> terminal in Qubes OS in a attempt to find out if the modem was connected to 
> any of the VM’s.

Which terminal did you use to produce the dmesg output you attached? THAT is 
the one you need to use to do the mode switch for your modem. Let’s call the VM 
that this terminal belongs to the ModemVM just for the sake of having a name 
for it in this message.

The modem you have is actually two different USB devices in one. One of them 
presents itself as a storage device. That is the one that is shown in your 
dmesg output. Everything you read there about “HUAWEI Modem” is only coming 
from the device description the kernel finds through the vendor ID (12d1) and 
the product ID (1f01). It never sees it as a modem in a technical sense. Only 
as a storage device.

The usb-modeswitch command some people already have been talking about is what 
you need to tell the modem part of your USB stick to present itself to the 
kernel. That needs to be executed in a terminal of “ModemVM”, since that is the 
VM that actually sees your USB stick.

The usb-switchmode command is nothing Qubes specific. Therefore you can google 
about getting the modem running under the linux distribution that ModemVM is 
using and just follow those instructions in a terminal of ModemVM. Once you 
have done the mode switch, you will probably see more messages in dmesg about 
your “HUAWEI Modem” but this time with a different product ID under which the 
kernel will then identify it as a modem.

Hope that clarified things for you a bit! Especially the part, where the only 
Qubes specific thing about all this is which VM’s terminal to use, to do it all 
in!

Regards, Frank

-- 
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/10401-1580709565-990127%40sneakemail.com.

Reply via email to