View previous topic :: View next topic |
Author |
Message |
blue_american Tux's lil' helper
Joined: 16 Sep 2005 Posts: 92 Location: Coimbra, Portugal
|
Posted: Mon Jun 16, 2008 11:00 am Post subject: hal and keyboard problems |
|
|
Hi everyone,
I'm having problems with hal and my keyboard (Layout Macbook PT in KDE). If I start my KDE session with hal running, I don't have cursor keys (up, down, etc), but if I start it without hal, everything is fine.
Is anyone having the same problem?
Note that this is only happening when using layout in PT, in US everything works fine.
Best regards,
Rui Vilão |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Mon Jun 16, 2008 5:11 pm Post subject: |
|
|
So why don't you simply configure hal to use pt layout ?
If you didn't notice, it's probably hal/evdev issue. |
|
Back to top |
|
|
blue_american Tux's lil' helper
Joined: 16 Sep 2005 Posts: 92 Location: Coimbra, Portugal
|
Posted: Mon Jun 16, 2008 5:19 pm Post subject: |
|
|
I'm using kbd as keyboard driver.
I will look at your suggestion and report back.
Thanks for answering. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Mon Jun 16, 2008 6:25 pm Post subject: |
|
|
I think that you just think that you're using kbd driver.
Read your Xorg log. |
|
Back to top |
|
|
blue_american Tux's lil' helper
Joined: 16 Sep 2005 Posts: 92 Location: Coimbra, Portugal
|
Posted: Mon Jun 16, 2008 6:38 pm Post subject: |
|
|
In fact it's loading both:
(II) Module kbd: vendor="X.Org Foundation"
compiled for 1.4.0.90, module version = 1.3.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 0.0.0, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0
How can I be sure which module is in use?
and
How can I configure hal to use PT layout? |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Mon Jun 16, 2008 8:27 pm Post subject: |
|
|
Well, for xorg-server 1.4.2, I've got /etc/hal/fdi/policy/10-x11-input.fdi that looks like this:
Code: |
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<!--
<match key="info.capabilities" contains="input.keys">
<append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
</match>
-->
<match key="info.capabilities" contains="input.keys">
<!-- <merge key="input.xkb.model" type="string">pc104</merge> -->
<merge key="input.xkb.rules" type="string">evdev</merge>
<merge key="input.xkb.layout" type="string">pl</merge>
<append key="input.xkb.options" type="strlist">altwin:menu</append>
</match>
</device>
</deviceinfo>
|
I think it's rather obvious how your should look like.
Of course, hal has to reread its configuration after you put a similar file there.
The info.callouts.add section is commented, as it was only needed before 1.4.0.90-r4,
with 1.4.2 it's not.
There are many threads about it.
And be aware, that your desktop env may mess up things, for evdev, keyboard must be set there too (to 'evdev managed').
Last edited by VoidMage on Mon Jun 16, 2008 8:32 pm; edited 1 time in total |
|
Back to top |
|
|
blue_american Tux's lil' helper
Joined: 16 Sep 2005 Posts: 92 Location: Coimbra, Portugal
|
Posted: Mon Jun 16, 2008 8:30 pm Post subject: |
|
|
Thanks. |
|
Back to top |
|
|
|