lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 6 Jun 2009 16:51:34 -0500
From:	"Luke-Jr" <luke@...hjr.org>
To:	linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Solution: N810 keyboard regression

Found the problem with the 2.6.29 N810 keyboard regression in this commit:
	commit c83702a764c3099df50f215b8e79e07344e34a1a
	Author: Felipe Balbi <felipe.balbi@...ia.com>
	Date:   Thu Feb 19 12:29:40 2009 +0000
	    input: lm8323: get rid of useless debug macro
	    we can use dev_vdbg() which is only true when VERBOSE is enabled.

Part of this commit removed the "default" values for platform parameters, but 
set the N810's size_y to 8 instead of the earlier default of 12. Changing this 
to 12 (patch to follow) fixes the keyboard regression. Note, the total keys on 
the N810 is in fact under 64, so 8x8 seems correct. Not sure why it doesn't 
work like that in practise. I did notice a curious line in the driver that 
might (or might not) be related/wrong...

drivers/input/keyboard/lm8323.c line 353:
	int keysize = (lm->size_x << 4) | lm->size_y;

Shouldn't this be lm->size_x * lm->size_y?

Luke
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ