HID: wacom: OLEDs control over sysfs for Intuos4
authorPrzemo Firszt <przemo@firszt.eu>
Tue, 31 Jul 2012 17:27:56 +0000 (18:27 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 15 Aug 2012 08:29:11 +0000 (10:29 +0200)
commite3c399ee4afebda7fd0a96a748e665a26853c246
treec0b5350e8c42b0999cd1b2a96015a3e17959a78a
parent530a76c14f40012354074a02254b41cb171e122f
HID: wacom: OLEDs control over sysfs for Intuos4

Thsi patch adds ability to control OLED micro displays on Wacom Intuos4
Wireless. The OLEDS are exposed as
/sys/class/hidraw/hidraw*/device/oled{No]_img
where No. is 0 to 7

Setting an image:

dd bs=256 if=img_file of=/sys/class/hidraw/hidraw{No}/device/oled0_img

The image has to contain 256 bytes (64x32px 1 bit). More detailed
description in Documentation/ABI/testing/sysfs-driver-wacom

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
Acked-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/ABI/testing/sysfs-driver-wacom
drivers/hid/hid-wacom.c