Re: [PATCH] Unisys pc keyboard new keys patch, kernel 2.4.3

2001-04-17 Thread James Simmons
>> this for embedded devices. It just plain stupid to have VT support on >> something like a hand held iPAQ which doesn't usually have a keyboard >> attached. Also having fbcon built in for these devices just takes up > >It makes plenty of sence to have support for virtual terminals on the >ipaq.

Re: [PATCH] Unisys pc keyboard new keys patch, kernel 2.4.3

2001-04-17 Thread Alan Cox
> this for embedded devices. It just plain stupid to have VT support on > something like a hand held iPAQ which doesn't usually have a keyboard > attached. Also having fbcon built in for these devices just takes up It makes plenty of sence to have support for virtual terminals on the ipaq. I agre

Re: [PATCH] Unisys pc keyboard new keys patch, kernel 2.4.3

2001-04-17 Thread James Simmons
>> Yes, but they could be. Changing the Linux keycodes is a major >> break with compatibility. If the Linux keycodes are to be changed, >> then they ought to be become something that would allow XFree86 >> to become keyboard-independent. Why invent yet another encoding? > >You dont need to break

Re: [PATCH] Unisys pc keyboard new keys patch, kernel 2.4.3

2001-04-16 Thread Eric W. Biederman
Alan Cox <[EMAIL PROTECTED]> writes: > > Yes, but they could be. Changing the Linux keycodes is a major > > break with compatibility. If the Linux keycodes are to be changed, > > then they ought to be become something that would allow XFree86 > > to become keyboard-independent. Why invent yet ano

Re: [PATCH] Unisys pc keyboard new keys patch, kernel 2.4.3

2001-04-16 Thread Alan Cox
> Yes, but they could be. Changing the Linux keycodes is a major > break with compatibility. If the Linux keycodes are to be changed, > then they ought to be become something that would allow XFree86 > to become keyboard-independent. Why invent yet another encoding? You dont need to break compati

Re: [PATCH] Unisys pc keyboard new keys patch, kernel 2.4.3

2001-04-16 Thread Albert D. Cahalan
Guest section DW writes: > On Mon, Apr 16, 2001 at 12:29:11AM -0600, Eric W. Biederman wrote: >> If we can try to keycodes in 8-bits it would be nice. The difficulty >> is that X cannot handle more than 8-bits without telling it you have >> multiple keyboards. The keycode (at least in X) is exp

Re: [PATCH] Unisys pc keyboard new keys patch, kernel 2.4.3

2001-04-16 Thread Guest section DW
On Mon, Apr 16, 2001 at 12:29:11AM -0600, Eric W. Biederman wrote: > If we can try to keycodes in 8-bits it would be nice. The difficulty > is that X cannot handle more than 8-bits without telling it you have > multiple keyboards. The keycode (at least in X) is exported to > X applications. Th

Re: [PATCH] Unisys pc keyboard new keys patch, kernel 2.4.3

2001-04-15 Thread H. Peter Anvin
"Albert D. Cahalan" wrote: > > H. Peter Anvin writes: > > > This means you don't have to configure two levels (scancodes -> > > keycodes and keycodes -> keymap); since currently the keycodes are > > keyboard-specific anyway there is no benefit to the two levels. > > The medium-raw level ought t

Re: [PATCH] Unisys pc keyboard new keys patch, kernel 2.4.3

2001-04-15 Thread Albert D. Cahalan
H. Peter Anvin writes: > This means you don't have to configure two levels (scancodes -> > keycodes and keycodes -> keymap); since currently the keycodes are > keyboard-specific anyway there is no benefit to the two levels. The medium-raw level ought to be what the X11R6 protocol uses. Then the

Re: [PATCH] Unisys pc keyboard new keys patch, kernel 2.4.3

2001-04-15 Thread Eric W. Biederman
"H. Peter Anvin" <[EMAIL PROTECTED]> writes: > In article <[EMAIL PROTECTED]> of > linux.dev.kernel, you write: > > On Fri, Apr 13, 2001 at 03:02:19PM +0200, Jan Dvorak wrote: > > > > > i recently met with a new (Unisys) keyboard, which have (among 'normal' > > > windows keys) 3 more keys on top

Re: [PATCH] Unisys pc keyboard new keys patch, kernel 2.4.3

2001-04-15 Thread James Simmons
> [One of the things for 2.5 is 15- or 31-bit keycodes. > The 7-bits we have today do no longer suffice. I have a 132-key keyboard.] Or for 2.5.X you could use EVIOCGKEYCODE or EVIOCSKEYCODE using /dev/eventX. Also the input api supports up to 220 different keys and could support up to 255. If y

Re: [PATCH] Unisys pc keyboard new keys patch, kernel 2.4.3

2001-04-14 Thread H. Peter Anvin
Followup to: <[EMAIL PROTECTED]> By author:Jan Dvorak <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > On Sat, Apr 14, 2001 at 12:21:20AM +0200, Guest section DW wrote: > > No, these codes cannot be larger than 127 today. > > You can use the utility setkeycodes to assign keycodes to the

Re: [PATCH] Unisys pc keyboard new keys patch, kernel 2.4.3

2001-04-14 Thread Jan Dvorak
On Sat, Apr 14, 2001 at 12:21:20AM +0200, Guest section DW wrote: > No, these codes cannot be larger than 127 today. > You can use the utility setkeycodes to assign keycodes to these keys. I always tought it is 8bit - more-than-128-keys keyboards exists quite long time. > [One of the things for

Re: [PATCH] Unisys pc keyboard new keys patch, kernel 2.4.3

2001-04-13 Thread H. Peter Anvin
In article <[EMAIL PROTECTED]> of linux.dev.kernel, you write: > On Fri, Apr 13, 2001 at 03:02:19PM +0200, Jan Dvorak wrote: > > > i recently met with a new (Unisys) keyboard, which have (among 'normal' > > windows keys) 3 more keys on top of arrows, labeled by pictures as > > halfsun, halfmoon,

Re: [PATCH] Unisys pc keyboard new keys patch, kernel 2.4.3

2001-04-13 Thread Guest section DW
On Fri, Apr 13, 2001 at 03:02:19PM +0200, Jan Dvorak wrote: > i recently met with a new (Unisys) keyboard, which have (among 'normal' > windows keys) 3 more keys on top of arrows, labeled by pictures as > halfsun, halfmoon, and power switch. Following patch adds 'support' for them > +#define E0_

[PATCH] Unisys pc keyboard new keys patch, kernel 2.4.3

2001-04-13 Thread Jan Dvorak
Hi, i recently met with a new (Unisys) keyboard, which have (among 'normal' windows keys) 3 more keys on top of arrows, labeled by pictures as halfsun, halfmoon, and power switch. Following patch adds 'support' for them (or at least gets rid of 'unknown scancode' messages), but beacuse i am new t