Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265123 - x11-misc/lineakd-0.9.0-r1 doesn't work correctly with xorg 1.5
Summary: x11-misc/lineakd-0.9.0-r1 doesn't work correctly with xorg 1.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2009-04-06 15:55 UTC by Michele Caini
Modified: 2009-07-22 09:02 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed patch (lineakkb.def.patch,857 bytes, text/plain)
2009-07-22 08:20 UTC, Michele Caini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Caini 2009-04-06 15:55:15 UTC
using xorg 1.5 and hal fdi-based system, lineak doesn't work correctly with my xps m1330. that is, keyboard layout seems to be changed, or better keycode are changed.
xev confirm my theory.

Reproducible: Always

Steps to Reproduce:
1. upgrade to xorg 1.5
2. launch lineakd using xps generation 2 configuration
Actual Results:  
special keys don't work correctly


I propose a new configuration for xps, it follows:

[DELL-XPS-M1330-XOrg-1_5] # By skypjack
   brandname = "Dell"
   modelname = "Inspiron XPS M1330 XOrg 1.5"
   [KEYS]
     Mute           = 121
     VolumeDown     = 122
     VolumeUp       = 123
     Play|Pause     = 172
     Previous       = 173
     Next           = 171
     Stop           = 174
     WinKey         = 133
     FnWinKey       = 134
     Menu           = 135
   [END KEYS]
[END DELL-XPS-M1330-XOrg-1_5]

This works correctly, please update lineakkb.def .
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-07-21 10:10:36 UTC
Please attach a patch for it and i'll apply it. I won't be copy'n'pasting anything from bugs, sorry.
Comment 2 Michele Caini 2009-07-22 08:20:36 UTC
Created attachment 198770 [details]
proposed patch

proposed patch to make dell xps m1330 xorg1.5 compliant
Comment 3 Michele Caini 2009-07-22 08:22:16 UTC
in the previous patch there are also some definition that enable several keys like menu, home, and so on
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-07-22 09:02:19 UTC
(In reply to comment #3)
> in the previous patch there are also some definition that enable several keys
> like menu, home, and so on
> 

thanks, I've applied it (without revbump) in our ebuild. just a sidenote: patches should be made against the source directory, not against the files installed in system to be out-of-box usable (your patch had absolute path to /etc in it). but it's no big deal, i've just removed the /etc part from it, and it applied cleanly.

if you want this setup to be in also next release, if there will be one, you should also post it to the lineakd upstream guys. perhaps they have a ticket system, bugzilla, tracker, in their homepage.

thanks!