Re: [PATCH 2.6.35] sony-laptop.c: Adding buttons for Sony Vaio P

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 05, 2011 at 02:18:00PM +0100, Stephan Mueller wrote:
> Am Mittwoch, 5. Januar 2011, um 07:13:35 schrieb Mattia Dongili:
> > On Tue, Jan 04, 2011 at 04:40:02PM +0100, Stephan Mueller wrote:
...
> > > - none of the keys mapped to zoom seem to have any effect on my system -
> > > xev does not report the keys when they are pressed - but dmesg does not
> > > list omitted keys either - how are the zoom keys supposed to work?
> > 
> > use /lib/udev/keymap to find out what is being emitted by the kernel
> > (you should know it actually by looking at the number associated to
> > SONYPI_EVENT_ZOOM_PRESSED). If the number is >255 you need remapping
> > that to a lower number, see here for a longer explanation:
> > http://www.linux.it/~malattia/wiki/index.php/Sony-laptop#Fn_keys_in_X
> > If the number is <255 it's just your system is not configured to handle
> > the key.
> 
> Again, before considering that, I think I should see events in xev. As I do 

not really, sony-laptop emits input events via the input layer, Xorg
reads them with the evdev driver and pushes them over to graphical apps.

> not see them, I am scratching my head where the events are lost.

try /lib/udev/keymap, if that sees the events (with your patch applied)
then Xorg is eating your key presses.

> Note, that issue with the zoom keys apply also to the zoom-in and zoom-out 
> keys that are already present in the driver. None of them end up visible in 
> xev. 

Wait, I'm confused. What zoom keys have you got and what should they do?
do you really have zoom-in, zoom-out and a generic zoom?

Thanks
-- 
mattia
:wq!
--
To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux