Move 3G modem from u3g to uhso?
Hans Petter Selasky
hps at bitfrost.no
Fri Jan 10 07:06:15 UTC 2014
On 01/10/14 06:06, Lundberg, Johannes wrote:
> Hi
>
> I have been using "Globetrotter HSUPA Modem Option N.V." usb modem for a
> while with the uhso driver and now I installed 11-CURRENT and see that it
> has been added to devd and u3g is loaded automatically. Since this device
> has support for it wouldn't it be better to use uhso driver so we get the
> uhso0 network interface?
>
> The device in question is
>
> nomatch 32 {
> match "bus" "uhub[0-9]+";
> match "mode" "host";
> match "vendor" "0x0af0";
> match "product" "0x9000";
> action "kldload -n u3g";
> };
>
> which I changed to
>
> nomatch 32 {
> match "bus" "uhub[0-9]+";
> match "mode" "host";
> match "vendor" "0x0af0";
> match "product" "0x9000";
> action "kldload -n uhso";
> };
>
> But this also requires adding the device in sys/dev/usb/net/uhso.c
>
> /* Option GTM661W */
> UHSO_DEV(OPTION, GTM661W, UHSO_AUTO_IFACE),
Hi,
When you remove the device entry from the u3g.c driver, the usb.conf
file will be updated later. Can you submit a complete patch for this?
--HPS
More information about the freebsd-current
mailing list