* xserver-kdrive 1.4 and USB keyboard
@ 2008-09-16 20:27 Cliff Brake
2008-09-16 20:53 ` Koen Kooi
0 siblings, 1 reply; 6+ messages in thread
From: Cliff Brake @ 2008-09-16 20:27 UTC (permalink / raw)
To: openembedded-devel
Does anyone have this combination working yet?
On my system, ctrl-alt-f1 does not work, and caps/num lock lights do
not work when X is running. Keyboard works fine at the console.
It works fine with xserver-kdrive-fbdev 1.3
with 1.4, it seem there are some options added:
-keybd driver [,,options] Specify the keyboard driver and its options
-kb disable the X Keyboard Extension
+kb enable the X Keyboard Extension
In the source code, I found the following:
./hw/kdrive/ephyr/Xephyr :1 -fp /usr/share/fonts/X11/misc/ -mouse
ephyr -keybd ephyr,,xkblayout=br,xkbmodel=abnt2
/*
* You can call your kdriver server with something like:
* $ ./hw/kdrive/yourserver/X :1 -mouse evdev,,device=/dev/input/event4 -keybd
* evdev,,device=/dev/input/event1,xkbmodel=abnt2,xkblayout=br
*/
there are a few patch files that might be related:
./xserver-kdrive-1.4.0.90/no_xkb.patch
./xserver-kdrive/optional-xkb.patch
I'm slogging through the source code, but would appreciate any ideas
from anyone who understands this or has it working.
Thanks,
Cliff
--
=======================
Cliff Brake
http://bec-systems.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: xserver-kdrive 1.4 and USB keyboard
2008-09-16 20:27 xserver-kdrive 1.4 and USB keyboard Cliff Brake
@ 2008-09-16 20:53 ` Koen Kooi
2008-09-16 21:39 ` Cliff Brake
0 siblings, 1 reply; 6+ messages in thread
From: Koen Kooi @ 2008-09-16 20:53 UTC (permalink / raw)
To: openembedded-devel
Cliff Brake wrote:
> Does anyone have this combination working yet?
>
> On my system, ctrl-alt-f1 does not work, and caps/num lock lights do
> not work when X is running. Keyboard works fine at the console.
I suspect that's because kdrive 1.4 lacks a default keymap. Graeme
provided a really bare-bones one that makes X access keys (e.g. xkbd,
matchbox-keyboard). Making USB keyboards work properly proved to be too
much work, so I am now using full-blown Xorg on anything with a
usb-keyboard. Having said that, the A-z keys did work on beagle, the
fact that left-mouse button clicks produced a 'q' was the final straw
(clock on window running powertop - boom).
Something is very broken in kdrive, which might be due to people working
on it only care for tablets from a certain scandinavian company.
regards,
Koen
>
> It works fine with xserver-kdrive-fbdev 1.3
>
> with 1.4, it seem there are some options added:
>
> -keybd driver [,,options] Specify the keyboard driver and its options
> -kb disable the X Keyboard Extension
> +kb enable the X Keyboard Extension
>
> In the source code, I found the following:
>
> ./hw/kdrive/ephyr/Xephyr :1 -fp /usr/share/fonts/X11/misc/ -mouse
> ephyr -keybd ephyr,,xkblayout=br,xkbmodel=abnt2
>
> /*
> * You can call your kdriver server with something like:
> * $ ./hw/kdrive/yourserver/X :1 -mouse evdev,,device=/dev/input/event4 -keybd
> * evdev,,device=/dev/input/event1,xkbmodel=abnt2,xkblayout=br
> */
>
> there are a few patch files that might be related:
> ./xserver-kdrive-1.4.0.90/no_xkb.patch
> ./xserver-kdrive/optional-xkb.patch
>
> I'm slogging through the source code, but would appreciate any ideas
> from anyone who understands this or has it working.
>
> Thanks,
> Cliff
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: xserver-kdrive 1.4 and USB keyboard
2008-09-16 20:53 ` Koen Kooi
@ 2008-09-16 21:39 ` Cliff Brake
2008-09-17 10:09 ` Koen Kooi
0 siblings, 1 reply; 6+ messages in thread
From: Cliff Brake @ 2008-09-16 21:39 UTC (permalink / raw)
To: openembedded-devel; +Cc: openembedded-devel
On Tue, Sep 16, 2008 at 4:53 PM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
> Cliff Brake wrote:
>>
>> Does anyone have this combination working yet?
>>
>> On my system, ctrl-alt-f1 does not work, and caps/num lock lights do
>> not work when X is running. Keyboard works fine at the console.
>
> I suspect that's because kdrive 1.4 lacks a default keymap. Graeme provided
> a really bare-bones one that makes X access keys (e.g. xkbd,
> matchbox-keyboard). Making USB keyboards work properly proved to be too much
> work, so I am now using full-blown Xorg on anything with a usb-keyboard.
> Having said that, the A-z keys did work on beagle, the fact that left-mouse
> button clicks produced a 'q' was the final straw (clock on window running
> powertop - boom).
> Something is very broken in kdrive, which might be due to people working on
> it only care for tablets from a certain scandinavian company.
Thanks. Yes, you are correct. I can get arrow keys, and enter to
work, but not cap/num lock or Ctrl-Alt-F1.
Cliff
--
=======================
Cliff Brake
http://bec-systems.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: xserver-kdrive 1.4 and USB keyboard
2008-09-16 21:39 ` Cliff Brake
@ 2008-09-17 10:09 ` Koen Kooi
2008-09-17 16:25 ` Cliff Brake
0 siblings, 1 reply; 6+ messages in thread
From: Koen Kooi @ 2008-09-17 10:09 UTC (permalink / raw)
To: openembedded-devel
Cliff Brake wrote:
> On Tue, Sep 16, 2008 at 4:53 PM, Koen Kooi<k.kooi@student.utwente.nl> wrote:
>> Cliff Brake wrote:
>>> Does anyone have this combination working yet?
>>>
>>> On my system, ctrl-alt-f1 does not work, and caps/num lock lights do
>>> not work when X is running. Keyboard works fine at the console.
>> I suspect that's because kdrive 1.4 lacks a default keymap. Graeme provided
>> a really bare-bones one that makes X access keys (e.g. xkbd,
>> matchbox-keyboard). Making USB keyboards work properly proved to be too much
>> work, so I am now using full-blown Xorg on anything with a usb-keyboard.
>> Having said that, the A-z keys did work on beagle, the fact that left-mouse
>> button clicks produced a 'q' was the final straw (clock on window running
>> powertop - boom).
>> Something is very broken in kdrive, which might be due to people working on
>> it only care for tablets from a certain scandinavian company.
>
> Thanks. Yes, you are correct. I can get arrow keys, and enter to
> work, but not cap/num lock or Ctrl-Alt-F1.
In that case fixing the keymap would be the way to go. You'll need to
poke the resident X exports on how to do that properly, though :)
regards,
Koen
>
> Cliff
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: xserver-kdrive 1.4 and USB keyboard
2008-09-17 10:09 ` Koen Kooi
@ 2008-09-17 16:25 ` Cliff Brake
2008-09-17 16:33 ` Graeme Gregory
0 siblings, 1 reply; 6+ messages in thread
From: Cliff Brake @ 2008-09-17 16:25 UTC (permalink / raw)
To: openembedded-devel; +Cc: openembedded-devel
On Wed, Sep 17, 2008 at 6:09 AM, Koen Kooi <k.kooi@student.utwente.nl> wrote:
>> Thanks. Yes, you are correct. I can get arrow keys, and enter to
>> work, but not cap/num lock or Ctrl-Alt-F1.
>
> In that case fixing the keymap would be the way to go. You'll need to poke
> the resident X exports on how to do that properly, though :)
xmodmap lists some diff between 1.3 and 1.4:
1.3:
shift Shift_L (0x32), Shift_R (0x3e), Menu (0x78)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x69)
mod1 Alt_L (0x40)
mod2 Num_Lock (0x4d)
mod3
mod4 Mode_switch (0x6c)
mod5
1.4:
shift
lock
control
mod1
mod2
mod3
mod4
mod5
Stuffing the 1.3 xmodmap settings into Xfbdev 1.4 does not seem to
make any difference, so more digging ...
Cliff
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: xserver-kdrive 1.4 and USB keyboard
2008-09-17 16:25 ` Cliff Brake
@ 2008-09-17 16:33 ` Graeme Gregory
0 siblings, 0 replies; 6+ messages in thread
From: Graeme Gregory @ 2008-09-17 16:33 UTC (permalink / raw)
To: openembedded-devel
On Wed, 17 Sep 2008 12:25:08 -0400
"Cliff Brake" <cliff.brake@gmail.com> wrote:
> Stuffing the 1.3 xmodmap settings into Xfbdev 1.4 does not seem to
> make any difference, so more digging ...
>
Saving the xmodmap from 1.3 and loading it in 1.4 was exactly what I
did to "fix" the problem originally.
A nasty kludge, but after hours of git log checking I couldn't actually
find the keyboard change that caused the problem.
Graeme
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-09-17 16:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-16 20:27 xserver-kdrive 1.4 and USB keyboard Cliff Brake
2008-09-16 20:53 ` Koen Kooi
2008-09-16 21:39 ` Cliff Brake
2008-09-17 10:09 ` Koen Kooi
2008-09-17 16:25 ` Cliff Brake
2008-09-17 16:33 ` Graeme Gregory
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.