cvs commit: src/sys/dev/usb ukbd.c usb_quirks.c usb_quirks.h
usbdevs
Henrik Brix Andersen
henrik at brixandersen.dk
Tue Nov 28 14:27:04 PST 2006
On Wed, Nov 29, 2006 at 01:05:29AM +0300, Ruslan Ermilov wrote:
> On Tue, Nov 28, 2006 at 11:01:11PM +0100, Henrik Brix Andersen wrote:
> > On Tue, Nov 28, 2006 at 09:13:08PM +0000, Florent Thoumie wrote:
> > > flz 2006-11-28 21:13:08 UTC
> > >
> > > FreeBSD src repository
> > >
> > > Modified files:
> > > sys/dev/usb ukbd.c usb_quirks.c usb_quirks.h usbdevs
> > > Log:
> > > Add a quirk for devices recognized as usb keyboards not to be hooked by
> > > ukbd(4).
> > >
> > > PR: usb/105669
> > > Submitted by: Henrik Brix Andersen <henrik at brixandersen.dk>
> > > MFC after: 1 week
> >
> > Thank you for reviewing and committing this patch, much appreciated :)
> >
> > Could you please bump __FreeBSD_version in sys/param.h as well as
> > noted in the PR? This will allow checking for proper kernel support in
> > my upcoming net-mgmt/wispy-tools port.
> >
> Why can't you just check for the defined constant?
To clarify: it is a run-time issue, not a compile-time issue. The
application will compile fine regardless of the above patch, but
without the above patch (and with ukbd/uhid loaded) the application
will fail to attach to the device.
How should I go about checking for the defined constant from the port?
Regards,
Brix
--
Henrik Brix Andersen <henrik at brixandersen.dk>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 209 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20061128/b6245b9e/attachment.pgp
More information about the cvs-src
mailing list