NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: kern/50142: Cannot install NetBSD on machine with USB keyboard



The following reply was made to PR kern/50142; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: =?UTF-8?B?VMO2csO2ayBFZHdpbg==?= <edwin%etorok.net@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, kern-bug-people%netbsd.org@localhost,
    gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: re: kern/50142: Cannot install NetBSD on machine with USB keyboard
Date: Thu, 13 Aug 2015 10:32:54 +1000

 T?r?k Edwin writes:
 > Thanks to  phadtai on #netbsd for pointing out that it might be related =
 to this FreeBSD bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D1=
 81425
 > Indeed my keyboard has Full N-key rollover, and it might explain why the=
 y keys are reported differently from normal (or 6-KRO) keyboards.
 > =
 
 > Can the patch (or the usbconfig command) be adapted to NetBSD?
 
 not easily.
 
 i found thsi code in uhidev.c, which is similar to what it needs,
 but it is not enabled:
 
 151 #if 0
 152
 153         qflags =3D usbd_get_quirks(sc->sc_udev)->uq_flags;
 154         if ((qflags & UQ_NO_SET_PROTO) =3D=3D 0 &&
 155             id->bInterfaceSubClass !=3D UISUBCLASS_BOOT)
 156                 (void)usbd_set_protocol(iface, 1);
 157 #endif
 
 so we're never seting this now.
 
 possible, reversing the above to set the protocol to 0 if there
 is a quirk for it would work.
 
 it would be best if someone added real support for this kind of
 keyboard...
 
 
 .mrg.
 


Home | Main Index | Thread Index | Old Index