Automatic Activation, Hotplug and UDEV, Configuration
Post Reply
schizo99
Posts: 1
Joined: 09 Apr 2021, 11:23

e3372 not switching

Post by schizo99 » 09 Apr 2021, 11:25

Hi,

I'm running opnsense which is indeed freebsd so this question maybe doesn't qualify?

In any case when modeswitching I get the following error.

Code: Select all

$ usb_modeswitch -v 0x12d1 -p 0x14fe -c /usr/local/share/usb_modeswitch/12d1:14fe
Look for target devices ...
 No devices in target mode or class found
Look for default devices ...
 Found devices in default mode (1)
Access device 002 on bus 000
Get the current device configuration ...
 Determining the active configuration failed (error -5). Abort
 
ANY suggestions would be much appreciated!

Josh
Site Admin
Posts: 6570
Joined: 03 Nov 2007, 00:30

Re: e3372 not switching

Post by Josh » 18 Apr 2021, 09:35

Note that you have to run usb_modeswitch as "root" or with "sudo" when using it manually.

mementomori@sbj.hu
Posts: 4
Joined: 03 Sep 2021, 14:56

Re: e3372 not switching

Post by mementomori@sbj.hu » 03 Sep 2021, 15:16

Hello,
I am new in the topic and I need to ask because I cannot understand something.
I installed pfsense on a physical machine. pfsense works well.
When I plug my E3372h-320 lsusb shows that it tells about itslef it is a 12d1:1f01 and tells that it is a Mass Storage. It does not act as an ethernet device and green led is just flashing.
That's okay I have read about usb_modswitch could help me. (Later on I want to write a bit more about it.)

But when I plug this E3372h-320 to a Fedora 33 it starts automatically working. Connects to the mobile network and internal dhcp just assigns IP to ith internal USB Ethernet interface.
Additionally Fedora lsusb shows that the device is a 12d1:14db

My problem is that I would like to use this E3372h-320 in my pfsense and I have already tried out usb_modswitch but I am not able to switch it to 14db mode.

Could you please help me why I am not able to this or what I supposed to do for that?

P.S:
This was the command that I tried few times : usb_modeswitch -v 12d1 -p 1f01 -V 12d1 -P 14db -W and id didn't work. Only command that worked was this: usb_modeswitch -v 12d1 -p 1f01 -X -W (This command swithced to the old huawei mod and lsusb showed 12d1:155e - Ethernet adapter appears but IP was not assigned to it).

LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: e3372 not switching

Post by LOM » 03 Sep 2021, 19:01

mementomori@sbj.hu wrote: 03 Sep 2021, 15:16
This was the command that I tried few times : usb_modeswitch -v 12d1 -p 1f01 -V 12d1 -P 14db -W and id didn't work. Only command that worked was this: usb_modeswitch -v 12d1 -p 1f01 -X -W (This command swithced to the old huawei mod and lsusb showed 12d1:155e - Ethernet adapter appears but IP was not assigned to it).
-W is verbose mode but you need to specify a switch method (like -X in your second try), without it there will be no switching.
Try instead with -H which is Huawei-mode or -J which is Huawei-new-mode.
-X is Huawei-altmode and that will not give you an ethernet device with a protocol that pfsense/freebsd have drivers for.

mementomori@sbj.hu
Posts: 4
Joined: 03 Sep 2021, 14:56

Re: e3372 not switching

Post by mementomori@sbj.hu » 03 Sep 2021, 19:24

Try instead with -H which is Huawei-mode or -J which is Huawei-new-mode.
-X is Huawei-altmode and that will not give you an ethernet device with a protocol that pfsense/freebsd have drivers for.
Do I make it well? It looks like I do not understand something.
Correct me if I am wrong but the usb_modeswitch should switch the mode. Could you read the given message below from FreeBSD? I don't know what I am doing wrong.
Thank you for your help.

Code: Select all

[2.5.2-RELEASE][root@pfSense.pince.som]/root: usb_modeswitch -v 12d1 -p 1f01 -J -W
Take all parameters from the command line


 * usb_modeswitch: handle USB devices with multiple modes
 * Version 2.6.0 (C) Josua Dietze 2017
 * Based on libusb1/libusbx

 ! PLEASE REPORT NEW CONFIGURATIONS !

DefaultVendor=  0x12d1
DefaultProduct= 0x1f01
HuaweiNewMode=1

Look for default devices ...
  found USB ID 0000:0000
  found USB ID 0000:0000
  found USB ID 0000:0000
  found USB ID 0000:0000
  found USB ID 0000:0000
  found USB ID 0000:0000
  found USB ID 0000:0000
  found USB ID 03f0:171d
  found USB ID 12d1:1f01
   vendor ID matched
   product ID matched
  found USB ID 08ff:2580
  found USB ID 0424:2228
  found USB ID 0bda:5411
  found USB ID 0bda:8153
 Found devices in default mode (1)
Access device 002 on bus 006
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
 with class 8
Use endpoints 0x01 (out) and 0x81 (in)

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI_MOBILE
     Product: HUAWEI_MOBILE
  Serial No.: 0123456789ABCDEF
-------------------------
Using standard Huawei switching message
Looking for active drivers ...
 OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
 OK, message successfully sent
Read the response to message 1 (CSW) ...
LIBUSB_FUNCTION: libusb_bulk_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer enter
LIBUSB_FUNCTION: libusb_submit_transfer leave 0
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed enter
LIBUSB_FUNCTION: libusb10_handle_events_sub enter
LIBUSB_TRANSFER: sync I/O done
LIBUSB_FUNCTION: libusb_handle_events_timeout_completed exit
LIBUSB_FUNCTION: libusb_bulk_transfer leave
 Response successfully read (13 bytes), status 0
Reset response endpoint 0x81
Reset message endpoint 0x01
-> Run lsusb to note any changes. Bye!

Code: Select all

[2.5.2-RELEASE][root@pfSense.pince.som]/root: dmesg
umass0: at uhub2, port 1, addr 2 (disconnected)
cd1 at umass-sim0 bus 0 scbus3 target 0 lun 0
cd1: <HUAWEI Mass Storage 2.3M>  s/n 0123456789ABCDEF detached
(cd1:umass-sim0:0:0:0): Periph destroyed
umass0: detached
ugen6.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus6 (disconnected)
ugen6.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus6
cdce0 on uhub2
cdce0: <CDC Ethernet Control Model (ECM)> on usbus6
ue1: <USB Ethernet> on cdce0
ue1: Ethernet address: 00:1e:10:1f:00:00
ugen6.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus6 (disconnected)
cdce0: at uhub2, port 1, addr 2 (disconnected)
cdce0: detached
ugen6.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus6
umass0 on uhub2
umass0: <Mass Storage> on usbus6
cd1 at umass-sim0 bus 0 scbus3 target 0 lun 0
cd1: <HUAWEI Mass Storage 2.3M> Removable CD-ROM SCSI-2 device
cd1: Serial Number 0123456789ABCDEF
cd1: 40.000MB/s transfers
cd1: 7MB (3584 2048 byte sectors)
cd1: quirks=0x10<10_BYTE_ONLY>
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d ff 00 00 01 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdff
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d fe 00 00 01 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdfe
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d ff 00 00 01 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdff
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d ff 00 00 01 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdff
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d c1 00 00 04 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdc1
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d fe 00 00 01 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdfe
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d ff 00 00 01 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdff
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d ff 00 00 01 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdff
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d ff 00 00 01 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdff
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d ff 00 00 01 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdff
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d fe 00 00 01 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdfe
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d ff 00 00 01 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdff
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d ff 00 00 01 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdff
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d c1 00 00 04 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdc1
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d fe 00 00 01 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdfe
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d ff 00 00 01 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdff
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
(cd1:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 0d ff 00 00 01 00
(cd1:umass-sim0:0:0:0): CAM status: SCSI Status Error
(cd1:umass-sim0:0:0:0): SCSI status: Check Condition
(cd1:umass-sim0:0:0:0): SCSI sense: MEDIUM ERROR asc:11,0 (Unrecovered read error)
(cd1:umass-sim0:0:0:0): Info: 0xdff
(cd1:umass-sim0:0:0:0): Error 5, Unretryable error
(cd1:umass-sim0:0:0:0): cddone: got error 0x5 back
I have found this from 2016 but it is happening presents:
I wanted to send this information to help others in their quest of 4G connectivity with FreeBSD here at Europes continent and in Finland. Huawei does not include a lot of information about their products. These 4G-network modems are usually provided by the subscriberline companies and with their own products. This one was from Sonera (Teliasonera, .se and .fi) here in Finland.
Huawei E3372 seems to be a CDCE device. /boot/loader.conf has to have a line if_cdce_load="YES". Only usb_modeswitch works with this one. Command:
/usr/local/sbin/usb_modeswitch --default-vendor 0x12d1 --default-product 0x1f01 -J
swithes to the CDCE mode. Device ue0 appears to be configured (with ifconfig -command). Using 'dhclient ue0' a network address is found and using the address and adding a default router the network interface is usable. An admin HTTP-page can be found from http://192.168.1.1. CDCE has two network interfaces at both ends of USB. Both ends can be configured with their own IP-address.
ID:s idVendor = 0x12d1 idProduct = 0x1f01 are switched to ID:s idVendor = 0x12d1 idProduct = 0x14dc . This seems to be correct since the connection to the Internet succeeded with cdce.
Using u3g.c:U3G_DEV(HUAWEI, K3372_INIT, U3GINIT_HUAWEISCSI)
Causes the modem to appear as a device id 0x1442 . Using this, only NTP port was listening. Maby this is a ntp mode. Using:U3G_DEV(HUAWEI, E3372_INIT, U3GINIT_HUAWEISCSI2)
does not give any results. These are the current possibilities if compiling a new kernel every time is possible.
It would be easier if a device had only one identification code. Reading about the different codes from usb_modeswitch list, it is maby clear that the service provider can change the device ID:s. This is not very easy to the users. If the device was only a modem, it would be usable without the flip-flop states of the modem-devices. ISO image is given with Windows and Linux drivers or software and after installing the software, the state becomes a modem state. Possibly with a HTTP-interface to connecto to the Internet.
Quick test with Linux shows that the latency time is less with Linux. Previously using PPP with these kind of wireless devices, FreeBSD has shown best latency times. This is an estimate. Using an external modem (propably Linux inside) caused more latency with PPP over the previous 3G link.

LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: e3372 not switching

Post by LOM » 04 Sep 2021, 05:16

mementomori@sbj.hu wrote: 03 Sep 2021, 19:24
Correct me if I am wrong but the usb_modeswitch should switch the mode.
It does switch your dongle
mementomori@sbj.hu wrote: 03 Sep 2021, 19:24

Code: Select all

 Response successfully read (13 bytes), status 0
Reset response endpoint 0x81
Reset message endpoint 0x01
-> Run lsusb to note any changes. Bye!
mementomori@sbj.hu wrote: 03 Sep 2021, 19:24

Code: Select all

ugen6.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus6 (disconnected)
ugen6.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus6
cdce0 on uhub2
cdce0: <CDC Ethernet Control Model (ECM)> on usbus6
ue1: <USB Ethernet> on cdce0
ue1: Ethernet address: 00:1e:10:1f:00:00
but it disconnects moment later, maybe because of not enough power for the dongle from your usb port, maybe because pfsense doesn't like the ethernet device that was created..
That it didn't disconnect when you switched it into 12d1:155e indicates that it is pfsense's driver not being happy with the created ethernet device of 12d1:14db/14dc.
12d1:155e created a kind of ethernet device that pfsense doesn't have driver for so no reject/disconnect.

yours is not the first problem report, see viewtopic.php?f=4&t=2995

mementomori@sbj.hu
Posts: 4
Joined: 03 Sep 2021, 14:56

Re: e3372 not switching

Post by mementomori@sbj.hu » 04 Sep 2021, 08:46

but it disconnects moment later, maybe because of not enough power for the dongle from your usb port, maybe because pfsense doesn't like the ethernet device that was created..
That it didn't disconnect when you switched it into 12d1:155e indicates that it is pfsense's driver not being happy with the created ethernet device of 12d1:14db/14dc.
12d1:155e created a kind of ethernet device that pfsense doesn't have driver for so no reject/disconnect.

yours is not the first problem report, see viewtopic.php?f=4&t=2995
Thank you for your kind help and effort.
I go to the linked topic and dig myself into the details.

nickieemp
Posts: 1
Joined: 04 May 2024, 17:23

Re: e3372 not switching

Post by nickieemp » 04 May 2024, 17:28

Hello,

in my case I believe it is not switching to the right code and I cannot make it switch back. Instead of 14db,14dc, it switches to 155e, but I do not see this change in the dmesg.
I know that my proxmox passes it as 12d1:1f01 to pfsense in the admin page.

Code: Select all

[2.7.2-RELEASE][admin@pfSense.home]/usr/local/share/usb_modeswitch: cat 12d1:1f01
# Huawei E353 (3.se) and others
TargetVendor=0x12d1
TargetProductList="14db,14dc"
HuaweiNewMode=1
I tried doing it manually, but I got an error that it is trying to use the starage command in the Message Content. I suppose that usb_modeswitch it trying to switch it with a wrong code, right?

Code: Select all

[2.7.2-RELEASE][admin@pfSense.home]/usr/local/share/usb_modeswitch: [b]/usr/local/sbin/usb_modeswitch -v 12d1 -p 155e -V 12d1 -P 14db,14dc -J[/b]
Look for target devices ...
 No devices in target mode or class found
Look for default devices ...
 Found devices in default mode (1)
Access device 002 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
 with class 255
[b]Error: can't use storage command in MessageContent with interface 0; interface class is 2, expected 8. Abort[/b]

Code: Select all

[2.7.2-RELEASE][admin@pfSense.home]/usr/local/share/usb_modeswitch: usbconfig -d ugen1.2 dump_device_desc
ugen1.2: <Vodafone (Huawei) Vodafone (Huawei)> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0210
  bDeviceClass = 0x0002  <Communication device>
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0040
  idVendor = 0x12d1
  idProduct = 0x155e
  bcdDevice = 0x0102
  iManufacturer = 0x0001  <Vodafone (Huawei)>
  iProduct = 0x0002  <Vodafone (Huawei)>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001
And below my dmesg

Code: Select all

[2.7.2-RELEASE][admin@pfSense.home]/usr/local/share/usb_modeswitch: dmesg
---<<BOOT>>---
Copyright (c) 1992-2023 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 14.0-CURRENT amd64 1400094 #1 RELENG_2_7_2-n255948-8d2b56da39c: Wed Dec  6 20:45:47 UTC 2023
    root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/obj/amd64/StdASW5b/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/sources/FreeBSD-src-RELENG_2_7_2/amd64.amd64/sys/pfSense amd64
FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
VT(vga): text 80x25
CPU: QEMU Virtual CPU version 2.5+ (2496.08-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x60fb1  Family=0xf  Model=0x6b  Stepping=1
  Features=0x1783fbfd<FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x82b82201<SSE3,SSSE3,CX16,SSE4.1,SSE4.2,x2APIC,POPCNT,AESNI,HV>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
Hypervisor: Origin = "KVMKVMKVM"
real memory  = 2147328000 (2047 MB)
avail memory = 2016587776 (1923 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <BOCHS  BXPC    >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
random: unblocking device.
ioapic0 <Version 1.1> irqs 0-23
Launching APs: 1
TCP_ratelimit: Is now initialized
wlan: mac acl policy registered
ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE.
ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_bss_fw, 0xffffffff807475a0, 0) error 1
ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE.
ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_ibss_fw, 0xffffffff80747650, 0) error 1
ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LICENSE.
ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (ipw_monitor_fw, 0xffffffff80747700, 0) error 1
iwi_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE.
iwi_bss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (iwi_bss_fw, 0xffffffff80765180, 0) error 1
iwi_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE.
iwi_ibss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (iwi_ibss_fw, 0xffffffff80765230, 0) error 1
iwi_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LICENSE.
iwi_monitor: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf.
module_register_init: MOD_LOAD (iwi_monitor_fw, 0xffffffff807652e0, 0) error 1
random: entropy device external interface
kbd1 at kbdmux0
WARNING: Device "spkr" is Giant locked and may be deleted before FreeBSD 14.0.
netgate0: <KVM Guest>
kvmclock0: <KVM paravirtual clock>
Timecounter "kvmclock" frequency 1000000000 Hz quality 975
kvmclock0: registered as a time-of-day clock, resolution 0.000001s
vtvga0: <VT VGA driver>
acpi0: <BOCHS BXPC>
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 100000000 Hz quality 950
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x608-0x60b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX3 WDMA2 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf120-0xf12f at device 1.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
uhci0: <Intel 82371SB (PIIX3) USB controller> port 0xf0c0-0xf0df irq 11 at device 1.2 on pci0
usbus0 on uhci0
usbus0: 12Mbps Full Speed USB v1.0
pci0: <bridge> at device 1.3 (no driver attached)
vgapci0: <VGA-compatible display> mem 0xfc000000-0xfcffffff,0xfea90000-0xfea90fff at device 2.0 on pci0
vgapci0: Boot video device
virtio_pci0: <VirtIO PCI (legacy) Balloon adapter> port 0xf080-0xf0bf mem 0xfd600000-0xfd603fff irq 11 at device 3.0 on pci0
vtballoon0: <VirtIO Balloon Adapter> on virtio_pci0
pcib1: <ACPI PCI-PCI bridge> mem 0xfea91000-0xfea910ff irq 10 at device 5.0 on pci0
pci1: <ACPI PCI bus> on pcib1
virtio_pci1: <VirtIO PCI (legacy) Block adapter> port 0xf000-0xf07f mem 0xfea92000-0xfea92fff,0xfd604000-0xfd607fff irq 10 at device 10.0 on pci0
vtblk0: <VirtIO Block Adapter> on virtio_pci1
vtblk0: 2048MB (4194304 512 byte sectors)
virtio_pci2: <VirtIO PCI (legacy) Network adapter> port 0xf0e0-0xf0ff mem 0xfea93000-0xfea93fff,0xfd608000-0xfd60bfff irq 10 at device 18.0 on pci0
vtnet0: <VirtIO Networking Adapter> on virtio_pci2
vtnet0: Ethernet address: bc:24:11:fd:90:15
vtnet0: netmap queues/slots: TX 1/256, RX 1/512
000.000765 [ 452] vtnet_netmap_attach       vtnet attached txq=1, txd=256 rxq=1, rxd=512
virtio_pci3: <VirtIO PCI (legacy) Network adapter> port 0xf100-0xf11f mem 0xfea94000-0xfea94fff,0xfd60c000-0xfd60ffff irq 11 at device 19.0 on pci0
vtnet1: <VirtIO Networking Adapter> on virtio_pci3
vtnet1: Ethernet address: bc:24:11:19:e9:64
vtnet1: netmap queues/slots: TX 1/256, RX 1/512
000.000766 [ 452] vtnet_netmap_attach       vtnet attached txq=1, txd=256 rxq=1, rxd=512
pcib2: <ACPI PCI-PCI bridge> mem 0xfea95000-0xfea950ff irq 10 at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfe600000-0xfe603fff irq 10 at device 27.0 on pci2
xhci0: 32 bytes context size, 64-bit DMA
usbus1 on xhci0
usbus1: 5.0Gbps Super Speed USB v3.0
pcib3: <ACPI PCI-PCI bridge> mem 0xfea96000-0xfea960ff irq 11 at device 31.0 on pci0
pci3: <ACPI PCI bus> on pcib3
acpi_syscontainer0: <System Container> on acpi0
vmgenc0: <VM Generation Counter> on acpi0
acpi_syscontainer1: <System Container> port 0xaf00-0xaf0b on acpi0
acpi_syscontainer2: <System Container> port 0xafe0-0xafe3 on acpi0
acpi_syscontainer3: <System Container> port 0xae00-0xae17 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
WARNING: Device "psm" is Giant locked and may be deleted before FreeBSD 14.0.
psm0: model IntelliMouse Explorer, device ID 4
fdc0: <floppy drive controller (FDE)> port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: does not respond
device_attach: fdc0 attach returned 6
orm0: <ISA Option ROM> at iomem 0xe7800-0xeffff pnpid ORM0000 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff pnpid PNP0900 on isa0
attimer0: <AT timer> at port 0x40 on isa0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
fdc0: No FDOUT register!
Timecounters tick every 10.000 msec
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
ugen1.1: <(0x1b36) XHCI root HUB> at usbus1
ugen0.1: <Intel UHCI root HUB> at usbus0
uhub0 on usbus1
uhub1 on usbus0
uhub0: <(0x1b36) XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
Trying to mount root from zfs:pfSense/ROOT/default []...
uhub1: 2 ports with 2 removable, self powered
Root mount waiting for: CAM usbus0 usbus1
ugen0.2: <QEMU QEMU USB Tablet> at usbus0
uhid0 on uhub1
uhid0: <QEMU QEMU USB Tablet, class 0/0, rev 2.00/0.00, addr 2> on usbus0
uhub0: 30 ports with 30 removable, self powered
Root mount waiting for: CAM usbus1
ugen1.2: <Vodafone (Huawei) Vodafone (Huawei)> at usbus1
Root mount waiting for: CAM
Root mount waiting for: CAM
Root mount waiting for: CAM
ugen1.2: <Vodafone (Huawei) Vodafone (Huawei)> at usbus1 (disconnected)
ugen1.2: <Vodafone (Huawei) Vodafone (Huawei)> at usbus1
u3g0 on uhub0
u3g0: <Vodafone (Huawei) Vodafone (Huawei), class 2/0, rev 2.10/1.02, addr 1> on usbus1
u3g0: Found 3 ports.
cdce0 on uhub0
cdce0: <NCM Network Control Model> on usbus1
ue0: <USB Ethernet> on cdce0
ue0: Ethernet address: 00:1e:10:1f:00:00
Root mount waiting for: CAM
Root mount waiting for: CAM
Root mount waiting for: CAM
Root mount waiting for: CAM
cd0 at ata1 bus 0 scbus1 target 0 lun 0
cd0: <QEMU QEMU DVD-ROM 2.5+> Removable CD-ROM SCSI device
cd0: Serial Number QM00003
cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: 834MB (427086 2048 byte sectors)
CPU: QEMU Virtual CPU version 2.5+ (2496.02-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x60fb1  Family=0xf  Model=0x6b  Stepping=1
  Features=0x178bfbfd<FPU,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x82b82201<SSE3,SSSE3,CX16,SSE4.1,SSE4.2,x2APIC,POPCNT,AESNI,HV>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
Hypervisor: Origin = "KVMKVMKVM"
intsmb0: <Intel PIIX4 SMBUS Interface> irq 9 at device 1.3 on pci0
intsmb0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
lo0: link state changed to UP
vtnet1: link state changed to UP
vtnet0: link state changed to UP
ng0: changing name to 'pppoe0'
pflog0: promiscuous mode enabled
ugen1.2: <Vodafone (Huawei) Vodafone (Huawei)> at usbus1 (disconnected)
u3g0: at uhub0, port 16, addr 1 (disconnected)
u3g0: detached
cdce0: at uhub0, port 16, addr 1 (disconnected)
cdce0: detached
cannot forward src fe80:2::be24:11ff:fe13:87a1, dst 2a02:578:8402:32b:be24:11ff:fe19:e964, nxt 58, rcvif vtnet1, outif pppoe0
cannot forward src fe80:2::be24:11ff:fe13:87a1, dst 2a02:578:8402:32b:be24:11ff:fe19:e964, nxt 58, rcvif vtnet1, outif pppoe0
ugen1.2: <Vodafone (Huawei) Vodafone (Huawei)> at usbus1
u3g0 on uhub0
u3g0: <Vodafone (Huawei) Vodafone (Huawei), class 2/0, rev 2.10/1.02, addr 1> on usbus1
u3g0: Found 3 ports.
cdce0 on uhub0
cdce0: <NCM Network Control Model> on usbus1
ue0: <USB Ethernet> on cdce0
ue0: Ethernet address: 00:1e:10:1f:00:00
ugen1.2: <Vodafone (Huawei) Vodafone (Huawei)> at usbus1 (disconnected)
u3g0: at uhub0, port 16, addr 1 (disconnected)
u3g0: detached
cdce0: at uhub0, port 16, addr 1 (disconnected)
cdce0: detached
ugen1.2: <Vodafone (Huawei) Vodafone (Huawei)> at usbus1
u3g0 on uhub0
u3g0: <Vodafone (Huawei) Vodafone (Huawei), class 2/0, rev 2.10/1.02, addr 1> on usbus1
u3g0: Found 3 ports.
cdce0 on uhub0
cdce0: <NCM Network Control Model> on usbus1
ue0: <USB Ethernet> on cdce0
ue0: Ethernet address: 00:1e:10:1f:00:00
ugen1.2: <Vodafone (Huawei) Vodafone (Huawei)> at usbus1 (disconnected)
u3g0: at uhub0, port 16, addr 1 (disconnected)
u3g0: detached
cdce0: at uhub0, port 16, addr 1 (disconnected)
cdce0: detached
ugen1.2: <Vodafone (Huawei) Vodafone (Huawei)> at usbus1
u3g0 on uhub0
u3g0: <Vodafone (Huawei) Vodafone (Huawei), class 2/0, rev 2.10/1.02, addr 1> on usbus1
u3g0: Found 3 ports.
cdce0 on uhub0
cdce0: <NCM Network Control Model> on usbus1
ue0: <USB Ethernet> on cdce0
ue0: Ethernet address: 00:1e:10:1f:00:00
ugen1.2: <Vodafone (Huawei) Vodafone (Huawei)> at usbus1 (disconnected)
u3g0: at uhub0, port 16, addr 1 (disconnected)
u3g0: detached
cdce0: at uhub0, port 16, addr 1 (disconnected)
cdce0: detached
ugen1.2: <Vodafone (Huawei) Vodafone (Huawei)> at usbus1
ugen1.2: <Vodafone (Huawei) Vodafone (Huawei)> at usbus1 (disconnected)
ugen1.2: <Vodafone (Huawei) Vodafone (Huawei)> at usbus1
u3g0 on uhub0
u3g0: <Vodafone (Huawei) Vodafone (Huawei), class 2/0, rev 2.10/1.02, addr 1> on usbus1
u3g0: Found 3 ports.
cdce0 on uhub0
cdce0: <NCM Network Control Model> on usbus1
ue0: <USB Ethernet> on cdce0
ue0: Ethernet address: 00:1e:10:1f:00:00


Post Reply