Date: Fri, 10 Jan 2014 19:54:13 +0900 From: "Lundberg, Johannes" <johannes@brilliantservice.co.jp> To: Hans Petter Selasky <hps@bitfrost.no> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: Move 3G modem from u3g to uhso? Message-ID: <CAASDrVnfBKgxqaQyX=Rv=JZ-rPgaUS4640ouC206fHS4GW_Tdw@mail.gmail.com> In-Reply-To: <52CF9C29.7080306@bitfrost.no> References: <CAASDrVnuve=BMMYHKc4rCmMji=b0=QzC52ce1Mw5yS0cR5wcNg@mail.gmail.com> <52CF9C29.7080306@bitfrost.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Ah I see. Of course usb.conf is generated automatically :) I guess it is generated at make buildkernel and the new one can be found in obj folder? Here is the patch: Index: sys/dev/usb/net/uhso.c =================================================================== --- sys/dev/usb/net/uhso.c (revision 260369) +++ sys/dev/usb/net/uhso.c (working copy) @@ -281,6 +281,8 @@ UHSO_DEV(OPTION, ICON505, UHSO_AUTO_IFACE), /* Option iCON 452 */ UHSO_DEV(OPTION, ICON505, UHSO_AUTO_IFACE), + /* Option GTM661W */ + UHSO_DEV(OPTION, GTM661W, UHSO_AUTO_IFACE), #undef UHSO_DEV }; Index: sys/dev/usb/serial/u3g.c =================================================================== --- sys/dev/usb/serial/u3g.c (revision 260369) +++ sys/dev/usb/serial/u3g.c (working copy) @@ -388,7 +388,6 @@ U3G_DEV(OPTION, GTMAXHSUPA, 0), U3G_DEV(OPTION, GTMAXHSUPAE, 0), U3G_DEV(OPTION, VODAFONEMC3G, 0), - U3G_DEV(OPTION, GTM661W, 0), U3G_DEV(QISDA, H20_1, 0), U3G_DEV(QISDA, H20_2, 0), U3G_DEV(QISDA, H21_1, 0), Thank you! -- Johannes Lundberg On Fri, Jan 10, 2014 at 4:07 PM, Hans Petter Selasky <hps@bitfrost.no>wrote: > 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 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- $BHkL)J];}$K$D$$$F!'$3$NEE;R%a!<%k$O!"L>08?M$KAw?.$7$?$b$N$G$"$j!"HkF?FC8"$NBP>]$H$J$k>pJs$r4^$s$G$$$^$9!#(B $B$b$7!"L>08?M0J30$NJ}$,<u?.$5$l$?>l9g!"$3$N%a!<%k$NGK4~!"$*$h$S$3$N%a!<%k$K4X$9$k0l@Z$N3+<(!"(B $BJ#<L!"G[I[!"$=$NB>$NMxMQ!"$^$?$O5-:\FbMF$K4p$E$/$$$+$J$k9TF0$b$5$l$J$$$h$&$*4j$$?=$7>e$2$^$9!#(B --- 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAASDrVnfBKgxqaQyX=Rv=JZ-rPgaUS4640ouC206fHS4GW_Tdw>