Request for adding new HW_ID to u3gen

Started by TheSmoker, July 30, 2020, 11:53:21 AM

Previous topic - Next topic
Hello Opnsense Community,

As we are progressing into future with new slot formats for 4G cards, there are a lot of Huawei compatible devices that will work if proper vendor/device id could be added to u3g.

So could anyone add the info from here to next version of opnsense?
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231909
https://bugs.freebsd.org/bugzilla/attachment.cgi?bugid=231909&action=viewall

Tested and working on FreeBSD 12.1.

Cheers!

Hi,

Does "tested on FreeBSD 12.1" mean the patches were tested or that 12.1 fixed the problem?


Cheers,
Franco

Hi,

I've fetched the src tree, modified the files, recompiled and big surprise usb virtual ports appeared in /dev and are working.

The problem is not yet fixed in 12.1 release. I've tested with 12.1-R-P7.

Cheers!

July 30, 2020, 12:24:56 PM #3 Last Edit: July 30, 2020, 12:38:26 PM by TheSmoker
After changes...

FreeBSD

root@gw:~ # freebsd-version
12.1-RELEASE-p7


dmesg

u3g0 numa-domain 0 on uhub2
u3g0: <HP lt4132 LTE/HSPA+ 4G Module> on usbus0
u3g0: Found 5 ports.


root@gw:~ # cu -l /dev/cuaU0.0

ATI
Manufacturer: HP Inc.
Model: ME906s-158
Revision: 12.617.23.00.00
IMEI: 356758101748492
+GCAP: +CGSM,+DS,+ES
OK

AT+COPS?
+COPS: 0,0,"Vodafone RO",7

OK



Quote from: franco on July 30, 2020, 11:57:04 AM
Hi,

Does "tested on FreeBSD 12.1" mean the patches were tested or that 12.1 fixed the problem?


Cheers,
Franco

Hey Franco,

Can be done? Maybe via a patch applied as a plugin/module or something?

Thanks!