Re: Move 3G modem from u3g to uhso?

From: Hans Petter Selasky <hps_at_bitfrost.no>
Date: Fri, 10 Jan 2014 08:07:21 +0100
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
Received on Fri Jan 10 2014 - 06:06:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:46 UTC