Bug 3747 - Alt_R is not a keycode on 105 keyboards
Summary: Alt_R is not a keycode on 105 keyboards
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 6.8.2
Hardware: x86 (IA32) FreeBSD
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-11 07:15 UTC by Daniel Stone
Modified: 2006-04-01 16:55 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description FreeDesktop Bugzilla Database Corruption Fix User 2005-07-11 07:15:04 UTC
Hi everyone,   
   
If I configure my keyboard to be a Generic 104 keyboard in KDE, then this  
code(in ~.Xmodmap and then executing xmodmap .Xmodmap):   
   
clear Mod3   
keysym Alt_R = Mode_switch   
add Mod3 = Mode_switch   
   
is executed correctly.    
   
But if I configure it to be a Generic 105(Intl) keyboard, then the same code   
gives that Alt_R has no matching keycode. It seems very unlikely that a key   
present on a 104 keyboard is not present on a 105 keyboard. So... this is a bug   
in that sense. I guess adding a definition for the 105 keyboard should fix it.   
I tried to find the code responsible for this, but I don't understand the   
project structure (and would take time before I do). So, I now hand it over to   
you.    
 
P.S. I guessed the component, since I don't know where xmodmap belongs.  
  
Regards, Ron de Bruijn
Comment 1 Alan Coopersmith 2005-10-09 00:25:55 UTC
Original reporter e-mail and comments lost in bugzilla disk death.
xorg-team archives show:

           Summary: Alt_R is not a keycode on 105 keyboards
           Product: xorg
           Version: 6.8.2
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Server/general
        AssignedTo: xorg-team at lists.x.org
        ReportedBy: iampure at gmail.com


Hi everyone,   
   
If I configure my keyboard to be a Generic 104 keyboard in KDE, then this  
code(in ~.Xmodmap and then executing xmodmap .Xmodmap):   
   
clear Mod3   
keysym Alt_R = Mode_switch   
add Mod3 = Mode_switch   
   
is executed correctly.    
   
But if I configure it to be a Generic 105(Intl) keyboard, then the same code   
gives that Alt_R has no matching keycode. It seems very unlikely that a key   
present on a 104 keyboard is not present on a 105 keyboard. So... this is a bug   
in that sense. I guess adding a definition for the 105 keyboard should fix it.   
I tried to find the code responsible for this, but I don't understand the   
project structure (and would take time before I do). So, I now hand it over to   
you.    
 
P.S. I guessed the component, since I don't know where xmodmap belongs.  
  
Regards, Ron de Bruijn          
Comment 2 Daniel Stone 2006-04-02 10:55:21 UTC
pc105 has AltGr, not Alt.  try ISO_Level3_Switch instead, though this will
affect the modifier state.

though I'm not sure what you're trying to achieve, aside from something that
works out of the box if you select pc105 as the model instead of pc104 ...


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.