Date: Tue, 25 Feb 2020 21:15:51 +0900 From: Minoru TANABE <kotanabe3@gmail.com> To: Hans Petter Selasky <hps@selasky.org> Cc: Eugene Grosbein <eugen@grosbein.net>, freebsd-stable@freebsd.org Subject: Re: Can't input '\', '|', '_' symbol in Japanese keyboard Message-ID: <CA%2BGDr7iJh_HL1Nqwa9gKctSzwwjEuqGQi%2BwYn_aFhvySyW%2B3hg@mail.gmail.com> In-Reply-To: <bdb450b6-653d-9360-9d08-2d9ae7f3f184@selasky.org> References: <CA%2BGDr7iE0UMYf8ccXzE1HAobh2PrRSFiOQgGRXtEXfw8UeG9yg@mail.gmail.com> <c25fefcd-f775-644a-e688-04725769d77c@grosbein.net> <ee4e7cb5-0bec-2625-b1b3-676edea6d660@selasky.org> <CA%2BGDr7jtHA=GNVkwr9WFotSrAvU-qRhOVyVfG_9Oe-E7hxDUBA@mail.gmail.com> <67169458-92fa-3f13-2fcb-889fa168a4af@selasky.org> <CA%2BGDr7gCyekEZftn_qKKvwDwsdNbqWhiaaFwXX-z-0JwXCGEeg@mail.gmail.com> <bdb450b6-653d-9360-9d08-2d9ae7f3f184@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Ok, I will try tomorrow. # It's over 21:00 at JST-9, Sorry. 2020=E5=B9=B42=E6=9C=8825=E6=97=A5(=E7=81=AB) 21:06 Hans Petter Selasky <hp= s@selasky.org>: > On 2020-02-25 12:37, Minoru TANABE wrote: > > Hi, all. > > > > I rebuild my system, using current ukbd.c. > > The results are same as Subject. No '\', no '|', no '_'. > > > > See attachment for detail. > > Line240 shows "ugen0.3: <Cypress USB Keyboard> at usbus0 (disconnected)= " > > > > I press keys '\', '|',(right of '^' '~') > > '\', '_' (right of '/' ''?') order. > > > > I can't input underscore on console keyboard. > > So, "usbconfig -d X.Y dump_device_desc" command was executed via ssh. > > > > Thank you. > > > > Hi, > > It looks like the scancodes are bigger than 128, so this might be > treated like a negative value. Solution: Use hid_get_data_unsigned(). > > Can you try the attached patch? > > --HPS > --=20 mtan (Minoru TANABE) EMail kotanabe3@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BGDr7iJh_HL1Nqwa9gKctSzwwjEuqGQi%2BwYn_aFhvySyW%2B3hg>