Date: Wed, 27 Sep 2017 08:32:52 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Ian Lepore <ian@freebsd.org>, Tomasz CEDRO <tomek@cedro.info>, "freebsd-usb@FreeBSD.org" <freebsd-usb@freebsd.org> Subject: Re: USB/U3G: Added support for Panasonic CF-F9 GOBI 3G modem to U3G module Message-ID: <165556bc-c011-bebd-feee-5bbd4cb5943e@selasky.org> In-Reply-To: <1506465459.73082.168.camel@freebsd.org> References: <CAFYkXjnF%2BwkrxNC6nf9s20AytVkszykEcPsr=roiaYugAo5YWg@mail.gmail.com> <ec4baec2-66a9-c5ce-eb89-01f553890a11@selasky.org> <1506465459.73082.168.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 09/27/17 00:37, Ian Lepore wrote: > On Wed, 2017-09-27 at 00:30 +0200, Hans Petter Selasky wrote: >> On 09/27/17 00:11, Tomasz CEDRO wrote: >>> >>> https://github.com/freebsd/freebsd/pull/115 >>> >>> :-) >>> >> The devd.conf rule should match more than just vendor and product: >> >> >> +# Load GOBI 2000/3000 U3G QDL modem firmware on attach / boot. >> +# Note: This requires additional "gobi_loader" utility to be >> installed, >> +# as well as valid QDL driver firmware files placed in >> /boot/firmware/gobi. >> +# If modem does not accept valid firmware try gobi_loader -2000 >> switch. >> +# Please adjust modem VID/PID to match your device supported by >> u3g >> module. >> +#attach 100 { >> +# match "vendor" "0x04da"; >> +# match "product" "0x250e"; >> +# action "/usr/local/sbin/gobi_loader /dev/cuaU0 >> /boot/firmware/gobi/"; >> +#}; >> >> Else patch looks good. >> >> --HPS > > Hard-coding /dev/cuaU0 cannot possibly be right. > > -- Ian > These three lines are missing: match "system" "DEVFS"; match "subsystem" "CDEV"; match "type" "CREATE"; --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?165556bc-c011-bebd-feee-5bbd4cb5943e>