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) _at__at_ -281,6 +281,8 _at__at_ 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) _at__at_ -388,7 +388,6 _at__at_ 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_at_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_at_freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_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_at_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.Received on Fri Jan 10 2014 - 10:01:56 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:46 UTC