Fredrik Olausson wrote: > I have found a solution to the problem. > XFree86 has 2 keyboard drivers, the default one named "keyboard" and an > alternative one named "kbd" which according to documentation on the > XFree86 website is a new keyboard driver mostly written from scratch. > With the kbd-driver the print-screen key and the |\-key got different > keycodes and thus I could make the |\-key give me the proper characters. > > So, to summarize. Simply changing the line: > Driver "keyboard" > to > Driver "kbd" > in the input-device section in the XF86Config file and fiddling a bit > with xmodmap solved the problem for me. That's good news, and I'd never heard about a new keyboard driver in XFree86... It's indeed a project full of undocumented and obscure features. Err... what did you exactly say on the xmodmap command line to get it to work? -) -- // Bernardo Innocenti - Develer S.r.l., R&D dept. \X/ http://www.develer.com/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
References:
- bad scancode for USB keyboardBernardo Innocenti
- Re: bad scancode for USB keyboardBernardo Innocenti
- Re: bad scancode for USB keyboardVojtech Pavlik
- Re: bad scancode for USB keyboardBernardo Innocenti
- Re: bad scancode for USB keyboardFredrik Olausson
- Prev by Date: [patch] 2.6.1-rc2-mm1: qla1280.c doesn't compile
- Next by Date: Re: [2.6.1-rc2-mm1][BUG] kernel BUG at mm/rmap.c:305!
- Previous by thread: Re: bad scancode for USB keyboard
- Next by thread: Re: bad scancode for USB keyboard
- Indexes:[Main][Thread]