Date: Thu, 10 Nov 2011 11:25:45 +0100 From: Michael Cardell Widerkrantz <mc@hack.org> To: freebsd-questions@freebsd.org Subject: Re: X server and xinit works excellent....almost. Message-ID: <86ipmsl1ee.fsf@kropotkin.hack.org> References: <4EB88225.9020702@bredband.net> <alpine.BSF.2.00.1111080806260.70888@wonkity.com> <20111108205600.7a8e0205.freebsd@edvax.de> <alpine.BSF.2.00.1111081321010.72738@wonkity.com> <alpine.BSF.2.00.1111081331150.72921@wonkity.com> <20111108215114.24d336e6.freebsd@edvax.de> <4EBA5EBD.7020501@bredband.net> <86pqh1njww.fsf@kropotkin.hack.org> <30329CB5-03FA-4717-81E6-43CC9CE43713@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Swiger <cswiger@mac.com>, 2011-11-09 22:10 (+0100): >> How would HAL know that the keyboard had a Swedish layout? No such >> information is sent through USB or PS/2 when you attach a keyboard. > > True for PS/2, but not true for USB-- the USB Vendor & Product ID can > identify different keyboard types and let you infer the country. I'm sorry I was unclear. I meant the USB device doesn't say what physical keyboard layout it has in any standardized way. There is nothing in the USB protocol about it. The product ID code might tell you something if you have a large database and the USB product ID is indeed different between two physical layouts. It might not be. For instance, while ANSI keyboards and ISO keyboards are bound to have different USB product IDs because of actually physical differences in the number of keys, the only thing that differs between, say, a German keyboard and a Swedish keyboard of the same model is what is printed on the keycaps. A vendor might see these as the same USB product ID. -- http://hack.org/mc/ Plain text e-mails, please. HTML messages sent to me are silently deleted. OpenPGP welcome, 0xE4C92FA5.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ipmsl1ee.fsf>