Re: [Freebsd 9] [amd64] [USB] [HPLIP] what's the (new) right way to manage hplip usb-plugged printers, running Freebsd 9
On Sunday 30 October 2011 01:31:21 Daniel O'Connor wrote: > I'm not sure what would load it automatically - it may be built into the > kernel though. Anyway, as you say it should work with ulpt loaded anyway. Hi, ulpt is autoloaded by /etc/devd/usb.conf --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
Re: Quirk for a USB mass storage device
On Saturday 29 October 2011 20:38:07 Pawel Jakub Dawidek wrote: > > + err = usbd_do_request(udev, NULL, &req, &buf); > > + if (err) > > + buf = 0; > > + > > + return (buf); > > +} > > You could drop 'err' variable and just check function return directly. > There is only one extra empty line at the begining of the function. No, because there is &buf. I'll add your device to the device quirk list. --HPS ___ freebsd-usb@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"