Re: [Qemu-devel] [PATCH] adb: change handler only when recognized

2016-10-25 Thread David Gibson
On Tue, Oct 25, 2016 at 09:01:01AM +0200, Hervé Poussineau wrote: > ADB devices must take new handler into account only when they recognize it. > This lets operating systems probe for valid/invalid handles, to know device > capabilities. > > Add a FIXME in keyboard handler, which should use a dif

[Qemu-devel] [PATCH] adb: change handler only when recognized

2016-10-25 Thread Hervé Poussineau
ADB devices must take new handler into account only when they recognize it. This lets operating systems probe for valid/invalid handles, to know device capabilities. Add a FIXME in keyboard handler, which should use a different translation table depending of the selected handler. Signed-off-by:

Re: [Qemu-devel] [PATCH] adb: change handler only when recognized

2016-03-13 Thread Peter Maydell
On 12 March 2016 at 20:31, Hervé Poussineau wrote: > Of course, I've no real documentation for Standard Keyboard vs Extended > Keyboard... Try http://www.archive.org/stream/apple-guide-macintosh-family-hardware/Apple_Guide_to_the_Macintosh_Family_Hardware_2e#page/n345/mode/2up pages 306 and 308

Re: [Qemu-devel] [PATCH] adb: change handler only when recognized

2016-03-12 Thread Hervé Poussineau
Le 12/03/2016 19:13, Programmingkid a écrit : On Mar 12, 2016, at 12:44 PM, Hervé Poussineau wrote: Le 12/03/2016 16:24, Mark Cave-Ayland a écrit : On 12/03/16 13:38, Hervé Poussineau wrote: ADB devices must take new handler into account only when they recognize it. This lets operating syst

Re: [Qemu-devel] [PATCH] adb: change handler only when recognized

2016-03-12 Thread Programmingkid
On Mar 12, 2016, at 12:44 PM, Hervé Poussineau wrote: > Le 12/03/2016 16:24, Mark Cave-Ayland a écrit : >> On 12/03/16 13:38, Hervé Poussineau wrote: >> >>> ADB devices must take new handler into account only when they recognize it. >>> This lets operating systems probe for valid/invalid handles

Re: [Qemu-devel] [PATCH] adb: change handler only when recognized

2016-03-12 Thread Hervé Poussineau
Le 12/03/2016 16:24, Mark Cave-Ayland a écrit : On 12/03/16 13:38, Hervé Poussineau wrote: ADB devices must take new handler into account only when they recognize it. This lets operating systems probe for valid/invalid handles, to know device capabilities. Add a FIXME in keyboard handler, whi

Re: [Qemu-devel] [PATCH] adb: change handler only when recognized

2016-03-12 Thread Mark Cave-Ayland
On 12/03/16 13:38, Hervé Poussineau wrote: > ADB devices must take new handler into account only when they recognize it. > This lets operating systems probe for valid/invalid handles, to know device > capabilities. > > Add a FIXME in keyboard handler, which should use a different translation > t

Re: [Qemu-devel] [PATCH] adb: change handler only when recognized

2016-03-12 Thread Programmingkid
On Mar 12, 2016, at 8:38 AM, Hervé Poussineau wrote: > ADB devices must take new handler into account only when they recognize it. > This lets operating systems probe for valid/invalid handles, to know device > capabilities. > > Add a FIXME in keyboard handler, which should use a different tran

[Qemu-devel] [PATCH] adb: change handler only when recognized

2016-03-12 Thread Hervé Poussineau
ADB devices must take new handler into account only when they recognize it. This lets operating systems probe for valid/invalid handles, to know device capabilities. Add a FIXME in keyboard handler, which should use a different translation table depending of the selected handler. Signed-off-by: