Move 3G modem from u3g to uhso?

Lundberg, Johannes johannes at brilliantservice.co.jp
Fri Jan 10 05:06:41 UTC 2014


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),

Best regards
--
Johannes Lundberg

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.


More information about the freebsd-current mailing list