On Tue, Jun 17, 2003 at 02:50:28PM +0200, Robert Woerle wrote:
>David Dawes schrieb:
>
>>On Sun, Jun 15, 2003 at 01:49:56PM +0200, Robert wrote:
>>  
>>
>>>Matthieu Herrb schrieb:
>>>
>>>    
>>>
>>>>Robert wrote (in a message from Sunday 15)
>>>>      
>>>>
>>>>>Brad Hards schrieb:
>>>>>
>>>>>        
>>>>>
>>>>>>-----BEGIN PGP SIGNED MESSAGE-----
>>>>>>Hash: SHA1
>>>>>>
>>>>>>On Thu, 12 Jun 2003 14:57 pm, Jason Kim wrote:
>>>>>> 
>>>>>>
>>>>>>          
>>>>>>
>>>>>>>Has anyone developed keyboard driver for X ?   Or does anyone know current
>>>>>>>situation?
>>>>>>>   
>>>>>>>
>>>>>>>            
>>>>>>>
>>>>>>XFree86 4.x has loadable drivers, including keyboard. 
>>>>>>
>>>>>>          
>>>>>>
>>>>>really ?
>>>>>i thought the keyboard is compiled into server???
>>>>>
>>>>>        
>>>>>
>>>>There are 2 keyboard drivers in XFree86 4.3.0. One is the legacy X
>>>>driver which is part of the base X server and the 2nd one is a new
>>>>Xinput based driver which is dynamically loadable. The name of this
>>>>loadable module is "kbd" (while the legacy driver is named
>>>>"keyboard"). 
>>>> 
>>>>
>>>>      
>>>>
>>>so what is the deal then with the keyboard ....
>>>
>>>my problem now is that i need to prevent X to generally map cetrain 
>>>Scancodes to a generic keycode ...which then makes some extra buttons on 
>>>my Tablet Pc send the samy keycode as Key-Up and i cannot put function 
>>>on this keycode so i ll loose my KEY_UP also ...
>>>i changed also the file     atKeynames .h   accordingly ...
>>>
>>>I read then that the keyboard is compiled into the server , and also 
>>>changing the "Driver" "Keyboard " into
>>>Driver " "kbd" did not start the X-server ....
>>>
>>>the scancodes i need to be free to get a free keycode are
>>>
>>>0x5a and 0x59
>>>    
>>>
>>
>>It looks like all of the other scancodes like these that are currently
>>returned for various 2-byte codes need to be remapped.  I recently did
>>this for 0x5c, which is KP_Equal on Macs.  The attached patch (relative
>>to the current CVS trunk) should handle the rest of them.  Let me know
>>if it works for you.  If it does, I'll commit it.  The patch handles both
>>the built-in keyboard driver, and the modular "kbd" driver.
>>
>>If we were starting over with this, we'd handle the mappings more cleanly.
>>We should probably do that for 5.0.
>>  
>>
>
>so i merged this changes for my specific 2 keys to the vanilla X-Free 
>4.3 sources and it works ..
>the only thing now is that  i cannot use kdm as Loginmanager anymore ....
>
>what i have i s SUSE 8.2
>what i do is recompile the XFree86 and kbd.o module then
>i copy them to their position and restart the X-server
>then when i let it start normally vi init() using kdm i get a
>
>
>II) XINPUT: Adding extended input device "PaceBook" (type: TOUCHSCREEN)
>(II) XINPUT: Adding extended input device "Mouse[1]" (type: MOUSE)
>(II) XINPUT: Adding extended input device "Keyboard[0]" (type: KEYBOARD)
>(II) Mouse[1]: ps2EnableDataReporting: succeeded
>AUDIT: Tue Jun 17 15:22:50 2003: 2519 X: client 2 rejected from local host
>  Auth name: XDM-AUTHORIZATION-1 ID: -1
>AUDIT: Tue Jun 17 15:22:51 2003: 2519 X: client 2 rejected from local host
>  Auth name: XDM-AUTHORIZATION-1 ID: -1

XFree86 does not include "XDM-AUTHORIZATION" support (for reasons related
to crypto export restrictions).  You'll either need to add that in to
your build (there should be someone here who can tell you how to do
that), or disable its use by kdm.

David
--
David Dawes
Founder/committer/developer                     The XFree86 Project
www.XFree86.org/~dawes
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to