Re: [PATCH v5] Emulate dip switch language layout settings on SUN keyboard

2023-03-28 Thread Henrik Carlqvist
On Tue, 28 Mar 2023 18:59:26 +0100 Daniel P. Berrangé wrote: > I'm generally not in favour of creating many different ways to set > the same thing, especially not multiple string based names, but if > a single vocabulary for strings is insufficient, then having support > for numbers feels

Re: [PATCH v5] Emulate dip switch language layout settings on SUN keyboard

2023-03-28 Thread Daniel P . Berrangé
On Tue, Mar 28, 2023 at 07:19:58PM +0200, Henrik Carlqvist wrote: > Thanks for your feedback! > > On Tue, 28 Mar 2023 15:01:55 +0100 > Daniel P. Berrangé wrote: > > > This is another reason why use of the '-k' switch is a bad idea. Its > > range of permissible values / vocabulary does not

Re: [PATCH v5] Emulate dip switch language layout settings on SUN keyboard

2023-03-28 Thread Henrik Carlqvist
Thanks for your feedback! On Tue, 28 Mar 2023 15:01:55 +0100 Daniel P. Berrangé wrote: > This is another reason why use of the '-k' switch is a bad idea. Its > range of permissible values / vocabulary does not match the range of > values / vocabulary needed for this hardware device. > > In

Re: [PATCH v5] Emulate dip switch language layout settings on SUN keyboard

2023-03-28 Thread Daniel P . Berrangé
On Sat, Mar 04, 2023 at 10:07:54PM +0100, Henrik Carlqvist wrote: > On Wed, 1 Mar 2023 11:52:42 + > Mark Cave-Ayland wrote: > > Another aspect to consider is whether keyboard_layout should just use > > standard strings, in which case it may not make sense to accept numeric hex > > values. >

Re: [PATCH v5] Emulate dip switch language layout settings on SUN keyboard

2023-03-28 Thread Daniel P . Berrangé
On Sat, Jan 14, 2023 at 03:38:53PM +0100, Henrik Carlqvist wrote: > https://patchew.org/QEMU/20230114125029.7395a547.hc...@poolhem.se/ > complains that "patch is empty", so here is my fifth attempt... > > regards Henrik > > SUN Type 4, 5 and 5c keyboards have dip switches to choose the language

Re: [PATCH v5] Emulate dip switch language layout settings on SUN keyboard

2023-03-04 Thread Henrik Carlqvist
On Wed, 1 Mar 2023 11:52:42 + Mark Cave-Ayland wrote: > I've done a quick grep for similar examples for serial devices that use > keyboard_layout but it looks like this would be the first. Thanks again for your reply! It is probably not a very common solution with hardware in the keyboard

Re: Ping [PATCH v5] Emulate dip switch language layout settings on SUN keyboard

2023-03-01 Thread Mark Cave-Ayland
On 12/02/2023 11:31, Henrik Carlqvist wrote: Would you please consider this patch or let me know if you want me to somehow update it before it can be accepted? I've done a quick grep for similar examples for serial devices that use keyboard_layout but it looks like this would be the first.

Ping [PATCH v5] Emulate dip switch language layout settings on SUN keyboard

2023-02-12 Thread Henrik Carlqvist
Would you please consider this patch or let me know if you want me to somehow update it before it can be accepted? Best regards Henrik On Sat, 14 Jan 2023 15:38:53 +0100 Henrik Carlqvist wrote: > https://patchew.org/QEMU/20230114125029.7395a547.hc...@poolhem.se/ > complains that "patch is

Re: [PATCH v5] Emulate dip switch language layout settings on SUN keyboard

2023-01-28 Thread Henrik Carlqvist
On Sun, 22 Jan 2023 18:07:47 + Mark Cave-Ayland wrote: > Did you see my comments re: OpenBIOS for the earlier version of this patch? Sorry again for missing that comment, I sent a reply ( https://lists.nongnu.org/archive/html/qemu-devel/2023-01/msg05134.html ) I have now unsubscribed from

Re: [PATCH v5] Emulate dip switch language layout settings on SUN keyboard

2023-01-23 Thread Henrik Carlqvist
On Sun, 22 Jan 2023 18:07:47 + Mark Cave-Ayland wrote: > Did you see my comments re: OpenBIOS for the earlier version of this patch? Thanks for your replies! Sorry, I missed that reply... To make sure that I wouldn't miss any reply I subscribed to the mailing list, but that made many mails

Re: [PATCH v5] Emulate dip switch language layout settings on SUN keyboard

2023-01-22 Thread Mark Cave-Ayland
On 14/01/2023 14:38, Henrik Carlqvist wrote: https://patchew.org/QEMU/20230114125029.7395a547.hc...@poolhem.se/ complains that "patch is empty", so here is my fifth attempt... regards Henrik SUN Type 4, 5 and 5c keyboards have dip switches to choose the language layout of the keyboard.

[PATCH v5] Emulate dip switch language layout settings on SUN keyboard

2023-01-14 Thread Henrik Carlqvist
https://patchew.org/QEMU/20230114125029.7395a547.hc...@poolhem.se/ complains that "patch is empty", so here is my fifth attempt... regards Henrik SUN Type 4, 5 and 5c keyboards have dip switches to choose the language layout of the keyboard. Solaris makes an ioctl to query the value of the