Bug 171130

Summary: @ key does not work Cherry CyMotion Master Linux
Product: [openSUSE] SUSE Linux 10.1 Reporter: Stefan Brandner <stefan.brandner>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED FIXED QA Contact: Stefan Dirsch <sndirsch>
Severity: Minor    
Priority: P2 - High CC: ke, sndirsch, suse-beta
Version: RC 1   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 201703    
Attachments: xorg.conf
boot.local with code to activate special buttons of Cymotion Linux Keyboard

Description Stefan Brandner 2006-05-01 07:30:54 UTC
When ever I switch to a new version of SuSE Linux the @ key 
does not work with my CyMotion Master Linux.
Since more than one user have access to the machine the best
solution is to add the key in /etc/X11/xkb/symbols/inet

partial alphanumeric_keys
xkb_symbols "cymotionlinux" {
    key <RWIN>  {   [   at              ]   };
    key <I28>   {   [   XF86MenuKB      ]   };
    key <K65>   {   [   XF86Paste       ]   };
    key <K68>   {   [   XF86PowerOff    ]   };
    key <K6C>   {   [   XF86Eject       ]   };
    key <K75>   {   [   XF86ScrollUp    ]   };
    key <AE13>  {   [   Redo            ]   };
    key <FK17>  {   [   XF86Search      ]   };
    key <I02>   {   [   XF86WWW         ]   };
    key <I07>   {   [   Undo            ]   };
    key <I0F>   {   [   XF86ScrollDown  ]   };
    key <I10>   {   [   XF86AudioPrev   ]   };
    key <I17>   {   [   XF86Launch2     ]   };
    key <I19>   {   [   XF86AudioNext   ]   };
    key <I1F>   {   [   XF86Launch1     ]   };
    key <I20>   {   [   XF86AudioMute   ]   };
    key <I21>   {   [   XF86Calculator  ]   };
    key <I22>   {   [   XF86AudioPlay   ]   };
    key <I24>   {   [   XF86AudioStop   ]   };
    key <I2B>   {   [   XF86Launch3     ]   };
    key <I2E>   {   [   XF86AudioLowerVolume    ]   };
    key <I30>   {   [   XF86AudioRaiseVolume    ]   };
    key <I3C>   {   [   XF86Cut         ]   };
    key <I63>   {   [   XF86Standby     ]   };
    key <I67>   {   [   XF86Reload      ]   };
    key <I69>   {   [   XF86Forward     ]   };
    key <I6A>   {   [   XF86Back        ]   };
    key <I6C>   {   [   XF86Mail        ]   };
    key <I78>   {   [   XF86Copy        ]   };
    key <XFER>  {   [   XF86AudioMedia  ]   };
};
Comment 1 Stefan Dirsch 2006-05-01 09:11:44 UTC
This looks strange. Marcus, could you investigate this one?
Comment 2 Stefan Dirsch 2006-05-01 09:12:47 UTC
Could you attach your /etc/X11/xorg.conf? Thanks.
Comment 3 Stefan Brandner 2006-05-01 18:24:05 UTC
Created attachment 81074 [details]
xorg.conf
Comment 4 Stefan Brandner 2006-05-01 18:26:00 UTC
FYI
On the CyMotion Master Linux the @ key is the right window key.
It can be enabled with the line key <RWIN>  {   [   at              ]   }; 
in /etc/X11/xkb/symbols/inet
Comment 5 Marcus Schaefer 2006-05-02 07:22:24 UTC
xkb fix
Comment 6 Stefan Dirsch 2006-05-03 14:13:48 UTC
Would it be an option for you to report this upstream to bugs.freedesktop.org?
Product: "xkeyboard-config", Component: "general". Feel free to add me (sndirsch@suse.de) to Cc.
Comment 7 Stefan Brandner 2006-05-03 19:05:17 UTC
I will report it at bugs.freedesktop.org.
Comment 8 Stefan Dirsch 2006-05-03 19:43:36 UTC
Thanks!

  https://bugs.freedesktop.org/show_bug.cgi?id=6828

I'm confident this will get fixed for 10.2. Unfortunately it's to late for 10.1. Closing as FIXED.


Comment 9 Karl Eichwalder 2006-08-24 09:33:39 UTC
Do the other keys work for you out of the box (esp. the eject button in the upper row, right side)?
Comment 10 Stefan Brandner 2006-08-24 17:33:16 UTC
Created attachment 97074 [details]
boot.local with code to activate special buttons of Cymotion Linux Keyboard

No, they have to be defined during startup. I am doing that in /etc/init.d/boot.local

Usually the kernel creates the keycode for all keys. Since the kernel is not aware about the special
keys of the Cymotion this has to be done with the setkeycodes command.
The code in boot.local creates this missing keycodes from the scancode.
The keycodes for all keys can then be checked with xev. 

See attachment
Comment 11 Karl Eichwalder 2006-08-25 06:49:54 UTC
thanks for the additional info.  Looks like a nice enhancement to 10.2--I'll such a enhancement request later the day.