Re: [Linuxwacom-devel] [PATCH 00/15] Input - Wacom: switch from an USB to a HID driver

2014-07-10 Thread Przemo Firszt
Hi Benjamin, I'm having some problems to cleanly apply your patches - can you double check that they are OK? -- Regards, Przemo -- Open source business process management suite built on Java and Eclipse Turn processes int

Re: [Linuxwacom-devel] [PATCH 06/15] Input - wacom: install LED/OLED sysfs files in the HID device instead of USB

2014-07-03 Thread Przemo Firszt
ps://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/wacom/gsd-wacom-oled-helper.c Regards, Przemo Firszt -- Open source business process management suite built on Java and Eclipse Turn processes into business

Re: [Linuxwacom-devel] [linuxwacom:bugs] #236 xsetwacom still accepts long-obsolete "displaytoggle" action

2014-05-08 Thread Przemo Firszt
d (I haven't even tried compiling it). - Jason, Do you know if it is the same thing as "Switch monitor" in gnome? It never worked for me and I was wondering what's that. Regards, Przemo Firszt Links: -- [1] http://sourceforge.net/p/linuxwac

Re: [Linuxwacom-devel] Kernel panic (null ptr) with 3.14.1 + CTH-480

2014-04-22 Thread Przemo Firszt
bug report for the same tablet and looks fairly similar: https://sourceforge.net/p/linuxwacom/bugs/238/ Przemo Firszt -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Pla

Re: [Linuxwacom-devel] Kernel panic (null ptr) with 3.14.1 + CTH-480

2014-04-22 Thread Przemo Firszt
tep-by-step guide if you need. It's fairly simple, but requires recompiling kernel a few times. -- Kind regards, Przemo Firszt -- Start Your Social Network Today - Download eXo Platform Build your Enterprise I

[Linuxwacom-devel] i4oled-gui - OLED icons on Intuos4

2014-04-19 Thread Przemo Firszt
#x27;t require root access rights. I hope that some of the ideas tested in i4oled-gui will be used in gnome. Please test, send feedback, report bugs, ideas and new icons. -- Kind regards, Przemo Firszt -- Learn G

Re: [Linuxwacom-devel] Kernel panic (null ptr) with 3.14.1 + CTH-480

2014-04-17 Thread Przemo Firszt
Quoting Ping Cheng : > Please follow the steps > > here:  > http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Input-Wacom > to up date your kernel driver to see what > happens. http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=Input-wacom W -> w Regards, Przemo

Re: [Linuxwacom-devel] Changing LED/OLED on Intuos4

2013-07-15 Thread Przemo Firszt
itself. i4oled is for OLEDs only. If you want to access the leds/oleds directly you have to use kernel sysfs. More info here: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/ABI/testing/sysfs-driver-wacom -- Regards, Przemo Firszt --

[Linuxwacom-devel] [PATCH] hid: wacom: Intuos4 battery charging changes

2013-06-29 Thread Przemo Firszt
, but it's not in use - the battery/ac status will be incorrect. Currently there is no mechanism to ask the device to send a report containing battery/ac status. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-)

[Linuxwacom-devel] Gnome 3.10 will support intuos4 OLEDs

2013-05-20 Thread Przemo Firszt
from corresponding mapped key. There is also more code waiting for review to implement icons: https://bugzilla.gnome.org/show_bug.cgi?id=700499 -- Regards, Przemo Firszt -- AlienVault Unified Security Management (USM

Re: [Linuxwacom-devel] i4oled ebuild [gentoo]

2013-04-26 Thread Przemo Firszt
Dnia 2013-03-11, pon o godzinie 22:24 +, Przemo Firszt pisze: > Frank, > I'm pushing your request to wacom-devel list. > > Dear wacom devel list, > I received a request to create ebuild (for gentoo) for i4oled. > I tried to install gentoo, but I failed badly

Re: [Linuxwacom-devel] [PATCH] Input: wacom: Correct reported resolution for Intuos4 Wireless

2013-04-12 Thread Przemo Firszt
Dnia 2013-04-12, pią o godzinie 09:43 -0700, Jason Gerecke pisze: > Reported-by: Przemo Firszt > Signed-off-by: Jason Gerecke > --- > drivers/input/tablet/wacom_wac.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/input/tablet/wacom_wac

[Linuxwacom-devel] [BUG?] Intuos4 USB - Right edge of screen - problem

2013-04-12 Thread Przemo Firszt
a | grep wacom xorg-x11-drv-wacom-devel-0.19.0-2.fc18.x86_64 libwacom-data-0.7-3.fc18.noarch libwacom-0.7-3.fc18.x86_64 libwacom-devel-0.7-3.fc18.x86_64 xorg-x11-drv-wacom-0.19.0-2.fc18.x86_64 It needs confirmation as it might be my local problem. -- Kind regards, Przem

[Linuxwacom-devel] Intuos4 - Light up the OLEDs

2013-04-09 Thread Przemo Firszt
There is some discussion on gnome bugzilla about OLEDs on Intuos4. I think it might be interesting for a few people here as well. https://bugzilla.gnome.org/show_bug.cgi?id=671072 -- Regards, Przemo Firszt -- Precog

[Linuxwacom-devel] i4oled ebuild [gentoo]

2013-03-11 Thread Przemo Firszt
le to make ebuild for i4oled without spending significant amount of time on learning how to install gentoo first. i4oled repo: http://github.com/PrzemoF/i4oled i4oled README: http://github.com/PrzemoF/i4oled/blob/master/README -- Kind regards, Prz

Re: [Linuxwacom-devel] Intuos4 - button mapping & OLEDS

2012-10-01 Thread Przemo Firszt
Hi Olivier, Dnia 1 Października 2012, 8:32 am, Pn, Olivier Fourdan napisał(a): > > Hi Przemo > > Przemo Firszt said the following on 09/30/2012 11:42 PM: >> Hi, >> I integrated some logic& rendering precedures from i4oled into >> gnome-control-center->

[Linuxwacom-devel] Intuos4 - button mapping & OLEDS

2012-09-30 Thread Przemo Firszt
Hi, I integrated some logic & rendering precedures from i4oled into gnome-control-center->wacom-panel->map-buttons: http://firszt.eu/wacom-icons/Screencast_from_09-30-2012_10:27:40PM.webm The code is not yet ready for release (it's dirty & requires changing permissions to access sysfs). Kind rega

Re: [Linuxwacom-devel] RFC: Back to the tablet buttons representation (aimed at making an OSD window for the Expresskeys)

2012-09-27 Thread Przemo Firszt
On Thu, 2012-09-27 at 11:32 +0200, Olivier Fourdan wrote: > Hi all, > > We have been discussing the need for an OSD window for some time. > [..] I have no idea what would be better, but I'd go with SVG [1]. I'm working on setting OLED icons for Intuos4 as part of Button Mapping - I hope it could

[Linuxwacom-devel] i4oled v1.0-rc1 is out - please test & report any problems.

2012-09-18 Thread Przemo Firszt
th button#_rawimg. There will be no need to use it if this patch [1] gets accepted into kernel mainline. [1] http://permalink.gmane.org/gmane.linux.documentation/6587 Enjoy! git users: git://github.com/PrzemoF/i4oled.git www: https://github.com/

Re: [Linuxwacom-devel] Intuos4 family OLED helper

2012-09-13 Thread Przemo Firszt
Dnia 12 Września 2012, 7:12 pm, Śr, Jim Henderson napisał(a): > On Sun, 09 Sep 2012 14:06:47 -0400, Przemo Firszt wrote: > >> The helper accepts PNG images (64 x 32, 8-bit/color RGBA, >> non-interlaced) and it uses only red channel from the PNG file. >> There are som

Re: [Linuxwacom-devel] Intuos4 family OLED helper v0.2

2012-09-12 Thread Przemo Firszt
On Wed, 2012-09-12 at 10:56 -0700, Jason Gerecke wrote: [..] Hi Jason, > Still looks good over here. Wrapped your example in a shell script > that would continually assign random text to a given button, and then > launched one instance per button. Nothing's crashed yet, so it can't > be that bad :D

Re: [Linuxwacom-devel] Intuos4 family OLED helper v0.2

2012-09-11 Thread Przemo Firszt
- make render directly to device, - make 2 line render with automatic line breaking. Regards, Przemo Firszt -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and thr

Re: [Linuxwacom-devel] Intuos4 family OLED helper

2012-09-10 Thread Przemo Firszt
-wacom. > I should clarify that... sorry, my fault. Thanks for testing! -- Regards, Przemo Firszt -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landsc

[Linuxwacom-devel] Intuos4 family OLED helper

2012-09-09 Thread Przemo Firszt
I made a simple helper for setting OLED icons on Intuos4 tablets. It can be cloned from here: git clone git://github.com/PrzemoF/i4oled.git The helper accepts PNG images (64 x 32, 8-bit/color RGBA, non-interlaced) and it uses only red channel from the PNG file. There are some example icons in ico

[Linuxwacom-devel] OLEDs again... Intuos4 family & Wireless

2012-08-29 Thread Przemo Firszt
I found out that OLEDs on my Intuos4 Wireless are actually 4-bit colour instead of 1-bit. I don't know (yet) a method of setting 4-bit icons over bluetooth, but I have a proof that it can be done over USB. The proof: http://firszt.eu/wacom-icons/i4wl.jpg It's close up of one of the OLED displays on

Re: [Linuxwacom-devel] [PATCH 2/2] HID: wacom: OLEDs control over sysfs for Intuos4

2012-08-09 Thread Przemo Firszt
s-PTK-540WL-part-2 Testers & feedback are always welcome! -- Regards, Przemo Firszt -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has c

[Linuxwacom-devel] [PATCH 2/2] HID: wacom: OLEDs control over sysfs for Intuos4

2012-08-09 Thread Przemo Firszt
bytes (64x32px 1 bit). More detailed description in Documentation/ABI/testing/sysfs-driver-wacom Signed-off-by: Przemo Firszt --- Documentation/ABI/testing/sysfs-driver-wacom | 13 +++ drivers/hid/hid-wacom.c | 143 ++ 2 files changed, 156 insertions

[Linuxwacom-devel] [PATCH 1/2] HID: wacom: Use half of brightness for low state

2012-08-09 Thread Przemo Firszt
of that value as low. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/hid/hid-wacom.c b/drivers/hid/hid-wacom.c index fe23a1e..848842e 100644 --- a/drivers/hid/hid-wacom.c +++ b/drivers/hid/hid-wacom.c

[Linuxwacom-devel] [kernel - OT] scrips/get_maintaner.pl

2012-07-29 Thread Przemo Firszt
/13=38%) Przemo Firszt (commit_signer:5/13=38%) Eduard Hasenleithner (commit_signer:4/13=31%) Jason Gerecke (commit_signer:2/13=15%) linux-...@vger.kernel.org (open list:DOCUMENTATION) linux-ker...@vger.kernel.org (open list) linux-in...@vger.kernel.org (open list:HID CORE LAYER) What the policy

Re: [Linuxwacom-devel] [RFC] LEDs & OLEDs on Intuos4 tablets

2012-05-23 Thread Przemo Firszt
Dnia 23 Maja 2012, 7:30 am, Śr, Peter Hutterer napisał(a): > On Sun, May 20, 2012 at 11:04:01PM +0100, Przemo Firszt wrote: >> Dnia 2012-05-17, czw o godzinie 13:57 -0400, Mike Erwin pisze: >> [..] >> > I've only sent images to the OLEDs on MacOS, but 4-bit 64x30

Re: [Linuxwacom-devel] [PATCH] HID: wacom: Add LED selector control for Wacom Intuos4 WL

2012-05-22 Thread Przemo Firszt
d CONFIG_HID_WACOM without > CONFIG_NEW_LEDS, which is required for CONFIG_LEDS_CLASS. > [..] Thanks for catching that! -- Regards, Przemo Firszt -- Live Security Virtual Conference Exclusive live event will cover all t

Re: [Linuxwacom-devel] [RFC] LEDs & OLEDs on Intuos4 tablets

2012-05-20 Thread Przemo Firszt
fixed size 64x32, so making an icon using gimp will be very easy. The images used to create the Tux from the photo are here: [3] [1] http://firszt.eu/albums/wacom/tux_on_wacom_intuos4_wl.jpg [2] https://en.wikipedia.org/wiki/Netpbm_format [3] http://firszt.eu/wac

Re: [Linuxwacom-devel] [RFC] LEDs & OLEDs on Intuos4 tablets

2012-05-18 Thread Przemo Firszt
on the display, with various > shades of gray: > http://ubuntuforums.org/showthread.php?p=10260362 > OK, thanks! Looks like I4 WL is different that the rest of the family - it has 64x32x1. -- Regards, Przemo Firszt

Re: [Linuxwacom-devel] [RFC] LEDs & OLEDs on Intuos4 tablets

2012-05-17 Thread Przemo Firszt
ted to hear if the same squishing & banding occur on Linux. Hmm it's getting more complicated. What model do you have? I have Intuos4 WL and looks like OLEDS are 64x32, 1 bit color depths... -- Przemo Firszt -

Re: [Linuxwacom-devel] [RFC] LEDs & OLEDs on Intuos4 tablets

2012-05-17 Thread Przemo Firszt
ion: where we should do the rendering? I think about doing it in libwacom ("descrambling" could also be part of libwacom if it turns out to be too awkward to do it in kernel). What are your thoughts? It there a better place for it? I'm ccing Peter and Ping -- Regards, Przemo Firsz

Re: [Linuxwacom-devel] [PATCH 1/3] HID: wacom: Move Graphire raport header check.

2012-05-17 Thread Przemo Firszt
Dnia 16 Maja 2012, 8:43 pm, Śr, Jiri Kosina napisał(a): > On Wed, 16 May 2012, Ping Cheng wrote: > [..] >> Acked-by: Ping Cheng for the series. > > I have applied the series. Thanks to both of you, Thanks! -- Rega

Re: [Linuxwacom-devel] [RFC] LEDs & OLEDs on Intuos4 tablets

2012-05-16 Thread Przemo Firszt
Dnia 2012-05-16, śro o godzinie 18:45 +0100, Bastien Nocera pisze: > On Wed, 2012-05-16 at 18:40 +0100, Przemo Firszt wrote: [..] > > Good, you're reading my mind :-) > > I'd start with something simple (see my other email). What do you mean > > by "a good a

Re: [Linuxwacom-devel] [RFC] LEDs & OLEDs on Intuos4 tablets

2012-05-16 Thread Przemo Firszt
. > > Christoph should have give the applet a name, don't you think? > > Favux Thanks Favux! What about libwacom? Could we use it to simplify LED/OLED handling? And then g-s-d could use libwacom? -- Przemo Firszt --

Re: [Linuxwacom-devel] [RFC] LEDs & OLEDs on Intuos4 tablets

2012-05-16 Thread Przemo Firszt
vert the text to image? Windows driver is using that method. (I might be missing something simple here as I haven't started to work on OLEDs yet) -- regards, Przemo Firszt -- Live Security Virtual Conference Exclusi

Re: [Linuxwacom-devel] [RFC] LEDs & OLEDs on Intuos4 tablets

2012-05-16 Thread Przemo Firszt
Dnia 2012-05-16, śro o godzinie 17:27 +0100, Bastien Nocera pisze: > On Wed, 2012-05-16 at 17:13 +0100, Przemo Firszt wrote: > > What is the long term plan for handling LEDs and OLEDs on Intuos4 tablets? > > > > In kernel > > - USB - full support for LED/OLED (we have

[Linuxwacom-devel] [RFC] LEDs & OLEDs on Intuos4 tablets

2012-05-16 Thread Przemo Firszt
e about it): - USB - LED - yes, OLED - no - bluetooth - LED - no, OLED - no (obvios, as it's not yet in the kernel) In gnome panel -- Regards, Przemo Firszt -- Live Security Virtual Conference Exclusive live e

Re: [Linuxwacom-devel] [PATCH 3/3] HID: wacom: unify speed setting

2012-05-15 Thread Przemo Firszt
Dnia 2012-05-15, wto o godzinie 19:32 +0100, Przemo Firszt pisze: Eeeeh, that patch shouldn't go - the one with capital "U" is correct. Sorry for the noise.... -- Przemo Firszt -- Live Security Vir

[Linuxwacom-devel] [PATCH 1/3] HID: wacom: Move Graphire raport header check.

2012-05-15 Thread Przemo Firszt
That check is valid only for Wacom Graphire, as the device raports always start with 0x03. Intuos4 WL high-speed raports begin with 0x04, so the check would be filtering out valid reports. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c | 12 +++- 1 file changed, 7 insertions

[Linuxwacom-devel] [PATCH 3/3] HID: wacom: Unify speed setting

2012-05-15 Thread Przemo Firszt
eed Accepted values: 0 - low speed, 1 - high speed. The way of changing reporting speed is the same for Graphire and Intuos4 WL. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c | 102 ++- 1 file changed, 47 insertions(+), 55 deletions(-) diff

[Linuxwacom-devel] [PATCH 3/3] HID: wacom: unify speed setting

2012-05-15 Thread Przemo Firszt
eed Accepted values: 0 - low speed, 1 - high speed. The way of changing reporting speed is the same for Graphire and Intuos4 WL. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c | 102 ++- 1 file changed, 47 insertions(+), 55 deletions(-) diff

[Linuxwacom-devel] [PATCH 2/3] HID: wacom: Add speed setting for Intuos4 WL

2012-05-15 Thread Przemo Firszt
Add option to change reporting speed for Intuos4 WL. The option is only internal to the module, but it will be extended to allow control over sysfs, as it is already implemented for Graphire. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c | 17 + 1 file changed, 13

Re: [Linuxwacom-devel] [PATCH] HID: wacom: Remove raport header check.

2012-05-15 Thread Przemo Firszt
Dnia 2012-05-14, pon o godzinie 13:21 -0700, Ping Cheng pisze: > On Mon, May 14, 2012 at 9:13 AM, Przemo Firszt wrote: > > That check was valid when hid-wacom was only supporting Wacom Graphire, as > > the > > device raports always start with 0x03. Intuos4 WL high-speed r

[Linuxwacom-devel] [PATCH] HID: wacom: Remove raport header check.

2012-05-14 Thread Przemo Firszt
That check was valid when hid-wacom was only supporting Wacom Graphire, as the device raports always start with 0x03. Intuos4 WL high-speed raports begin with 0x04, so the check would be filtering out valid reports. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c |4 1 file

[Linuxwacom-devel] [PATCH] HID: wacom: Add LED selector control for Wacom Intuos4 WL

2012-05-10 Thread Przemo Firszt
lso contains short ABI description. Signed-off-by: Przemo Firszt --- Documentation/ABI/testing/sysfs-driver-wacom |8 ++ drivers/hid/Kconfig |1 + drivers/hid/hid-wacom.c | 126 ++ 3 files changed, 135 insertions(+) d

Re: [Linuxwacom-devel] [PATCH] HID: wacom: Add LED selector control for Wacom Intuos4 WL

2012-05-10 Thread Przemo Firszt
Dnia 2012-05-10, czw o godzinie 12:09 +0200, Jiri Kosina pisze: > On Mon, 7 May 2012, Przemo Firszt wrote: > > > Add sysfs attribute to control LED selector on Wacom Intuos4. There are 4 [..] > > + > > + for (i = 0; i < 4; ++i) { > > And here as well. > &

Re: [Linuxwacom-devel] [PATCH] conf: add Intuos4 WL (PTK-540WL) to fdi file

2012-05-08 Thread Przemo Firszt
Dnia 8 Maja 2012, 6:39 am, Wt, Peter Hutterer napisał(a): > On Fri, May 04, 2012 at 11:06:08AM +0100, Przemo Firszt wrote: >> Dnia 2012-05-04, pią o godzinie 10:59 +0100, Przemo Firszt pisze: [..] >> Peter, what kernel do you use? > > Currently on 3.3.4-4.fc17.x86_64 whic

[Linuxwacom-devel] [PATCH] HID: wacom: Add LED selector control for Wacom Intuos4 WL

2012-05-07 Thread Przemo Firszt
lso contains short ABI description. Signed-off-by: Przemo Firszt --- Documentation/ABI/testing/sysfs-driver-wacom |8 ++ drivers/hid/Kconfig |1 + drivers/hid/hid-wacom.c | 126 ++ 3 files changed, 135 insertions(+) d

Re: [Linuxwacom-devel] [PATCH] HID: wacom: Add LED selector control for Wacom Intuos4 WL

2012-05-07 Thread Przemo Firszt
Dnia 2012-05-07, pon o godzinie 15:09 +0200, Jiri Kosina pisze: > On Mon, 7 May 2012, Przemo Firszt wrote: [..] > Przemo, > > is there a particular reason for not using LEDS_CLASS for this, please? Hi Jiri, No, I just used the same approach as wacom USB driver. I'll ch

[Linuxwacom-devel] [PATCH] HID: wacom: Add ABI description for I4 WL LED selector.

2012-05-07 Thread Przemo Firszt
Short ABI description for LED selector for Wacom Intuos4 WL. Signed-off-by: Przemo Firszt --- Documentation/ABI/testing/sysfs-driver-wacom |8 1 file changed, 8 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-driver-wacom b/Documentation/ABI/testing/sysfs-driver-wacom

[Linuxwacom-devel] [PATCH] HID: wacom: Add LED selector control for Wacom Intuos4 WL

2012-05-07 Thread Przemo Firszt
LED selector can be controlled as well, but this patch uses a fixed value (0x0F) and the selector is also permanently switched on. The naming of the attribute (wacom_led/status_led0_select) is the same is in USB driver for Intuos4 Wl. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c |

[Linuxwacom-devel] [PATCH] HID: wacom: Add tilt reporting for Intuos4 WL

2012-05-04 Thread Przemo Firszt
Tile is reported to input subsystem as reported by the device without any modifications. It means that tilt X/Y range is 0 to 127 and it's not centered on zero. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/hi

Re: [Linuxwacom-devel] [PATCH] conf: add Intuos4 WL (PTK-540WL) to fdi file

2012-05-04 Thread Przemo Firszt
Dnia 2012-05-04, pią o godzinie 10:59 +0100, Przemo Firszt pisze: > This patch is not yet in the mainline, so Peter's patch might be > temporary needed. Jiri, can you confirm that is in the Q for next > kernel? Sorry for the noise: the patch is in the mainline but kernel.org can&#

Re: [Linuxwacom-devel] [PATCH] conf: add Intuos4 WL (PTK-540WL) to fdi file

2012-05-04 Thread Przemo Firszt
This patch is not yet in the mainline, so Peter's patch might be temporary needed. Jiri, can you confirm that is in the Q for next kernel? commit a72c5ddb675f2f0a2fa857f75286d50b7a0c0ba5 Author: Przemo Firszt Date: Fri Feb 17 17:47:10 2012 + HID: wacom: Force new name for

Re: [Linuxwacom-devel] [PATCH 1/1] Use kernel-reported tilt range and resolution

2012-04-04 Thread Przemo Firszt
n hid-wacom soon, but if we won't get an answer from linux-input I'll add it in the same way as it is now in usb driver. I mean 0 to 127 range instead of 0 centered. Can you send a request-for-comment to linux-input? -- Regards, Przemo Firszt

Re: [Linuxwacom-devel] [PATCH 1/1] Use kernel-reported tilt range and resolution

2012-04-04 Thread Przemo Firszt
ting values in range 0-127 the kernel driver shouldn't try to "improve" them just because it's more convinient for the userspace. Changing 0-127 range to -63 to 64 shouldn't happen in the kernel driver. I'd s

Re: [Linuxwacom-devel] Intuos4 OLED icons

2012-04-02 Thread Przemo Firszt
Dnia 30 Marca 2012, 9:52 pm, Pt, Jason alavaliant napisał(a): > On Fri, Mar 30, 2012 at 10:30 AM, Przemo Firszt wrote: >> I want to test the kernel part for modyfing OLED icons and the LED >> indicator. Is there anything in the userland that I could use for it? >> >

[Linuxwacom-devel] Intuos4 OLED icons

2012-03-29 Thread Przemo Firszt
SB (I might be wrong on that). [1] http://www.davidrevoy.com/index.php?article70/set-the-led-display-of-the-wacom-intuos4-tablet-on-ubuntu-linuxmint -- Przemo Firszt -- This SF email is sponsosred by: Try Windows Azure

Re: [Linuxwacom-devel] [PATCH 2/2] HID: wacom: Add module description

2012-03-29 Thread Przemo Firszt
Dnia 29 Marca 2012, 3:46 pm, Cz, Jiri Kosina napisał(a): > On Wed, 28 Mar 2012, Przemo Firszt wrote: > >> Add description for hid-wacom module: "Driver for Wacom Graphire >> Bluetooth >> and Wacom Intuos4 WL" >> >> Signed-off-by: Przemo Firszt >

[Linuxwacom-devel] [PATCH 2/2] HID: wacom: Add module description

2012-03-28 Thread Przemo Firszt
Add description for hid-wacom module: "Driver for Wacom Graphire Bluetooth and Wacom Intuos4 WL" Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/hid/hid-wacom.c b/drivers/hid/hid-wacom.c ind

[Linuxwacom-devel] [PATCH 1/2] HID: wacom: Fix HID_WACOM self-dependency

2012-03-28 Thread Przemo Firszt
This patch fixes a silly mistake: HID_WACOM was dependent on HID_WACOM, so the option wasn't showing up after make menuconfig Signed-off-by: Przemo Firszt --- drivers/hid/Kconfig |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kc

[Linuxwacom-devel] [PATCH 0/2] HID: wacom: 2 trivial patches

2012-03-28 Thread Przemo Firszt
2 trivial patches: - module self-dependency fix, - add module description. Przemo Firszt (2): HID: wacom: Fix HID_WACOM self-dependency HID: wacom: Add module description drivers/hid/Kconfig |1 - drivers/hid/hid-wacom.c |2 +- 2 files changed, 1 insertions

[Linuxwacom-devel] [PATCH 4/4] HID: wacom: Add battery/ac reporting for Intuos4 WL

2012-03-22 Thread Przemo Firszt
This patch adds battery/ac reporting for Intuos4 WL. It uses existing sysfs code, but the device reports battery capacity in more fine-grained way, so there has to be a separate lookup table (called batcap_i4). Signed-off-by: Przemo Firszt Reviewed-by: Chris Bagwell --- drivers/hid/hid-wacom.c

[Linuxwacom-devel] [PATCH 3/4] HID: wacom: Refactor battery/ac reporting for Graphire

2012-03-22 Thread Przemo Firszt
red in a separate variable - it used to be calculated on-the-fly in wacom_ac_get_property function. The raw value has to be stored as well to be able to determine if it has changed. Signed-off-by: Przemo Firszt Reviewed-by: Chris Bagwell --- drivers/hid/hid-wacom.

[Linuxwacom-devel] [PATCH 1/4] HID: wacom: Remove CONFIG_HID_WACOM_POWER_SUPPLY option

2012-03-22 Thread Przemo Firszt
This option was ment as a safety mechanism in case the system treats the wacom tablet battery as the main power supply. It's no longer required as now we can distinguish between system power supply and device power supply. Signed-off-by: Przemo Firszt Reviewed-by: Chris Bagwell --- driver

[Linuxwacom-devel] [PATCH 2/4] HID: wacom: Change HID_WACOM option description.

2012-03-22 Thread Przemo Firszt
Trivial patch: now the hid-wacom driver supports also Intuos4 WL tablet. Signed-off-by: Przemo Firszt --- drivers/hid/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 8011d77..77daaf21 100644 --- a/drivers/hid

Re: [Linuxwacom-devel] [PATCH 1/3] HID: wacom: Remove CONFIG_HID_WACOM_POWER_SUPPLY option

2012-03-21 Thread Przemo Firszt
Dnia 2012-03-19, pon o godzinie 19:08 +, Przemo Firszt pisze: > This option was ment as a safety mechanism in case the system treats the wacom > tablet battery as the main power supply. It's no longer required as now we can > distinguish between system power supply and devic

Re: [Linuxwacom-devel] [PATCH 1/3] HID: wacom: Remove CONFIG_HID_WACOM_POWER_SUPPLY option

2012-03-19 Thread Przemo Firszt
Dnia 2012-03-19, pon o godzinie 12:30 -0500, Chris Bagwell pisze: > On Mon, Mar 19, 2012 at 10:16 AM, Przemo Firszt wrote: > > This option was ment as a safety mechanism in case the system treats the > > wacom > > tablet battery as the main power supply. It's no

[Linuxwacom-devel] [PATCH] HID: wacom: Change HID_WACOM option description.

2012-03-19 Thread Przemo Firszt
Trivial patch: now the hid-wacom driver supports also Intuos4 WL tablet. Signed-off-by: Przemo Firszt --- drivers/hid/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 8011d77..77daaf21 100644 --- a/drivers/hid

[Linuxwacom-devel] [PATCH 3/3] HID: wacom: Add battery/ac reporting for Intuos4 WL

2012-03-19 Thread Przemo Firszt
This patch adds battery/ac reporting for Intuos4 WL. It uses existing sysfs code, but the device reports battery capacity in more fine-grained way, so there has to be a separate lookup table (called batcap_i4). Signed-off-by: Przemo Firszt Reviewed-by: Chris Bagwell --- drivers/hid/hid-wacom.c

[Linuxwacom-devel] [PATCH 1/3] HID: wacom: Remove CONFIG_HID_WACOM_POWER_SUPPLY option

2012-03-19 Thread Przemo Firszt
This option was ment as a safety mechanism in case the system treats the wacom tablet battery as the main power supply. It's no longer required as now we can distinguish between system power supply and device power supply. Signed-off-by: Przemo Firszt Reviewed-by: Chris Bagwell --- driver

[Linuxwacom-devel] [PATCH 2/3] HID: wacom: Refactor battery/ac reporting for Graphire

2012-03-19 Thread Przemo Firszt
red in a separate variable - it used to be calculated on-the-fly in wacom_ac_get_property function. The raw value has to be stored as well to be able to determine if it has changed. Signed-off-by: Przemo Firszt Reviewed-by: Chris Bagwell --- drivers/hid/hid-wacom.

[Linuxwacom-devel] [PATCH 3/3] HID: wacom: Add battery/ac reporting for Intuos4 WL

2012-03-19 Thread Przemo Firszt
This patch adds battery/ac reporting for Intuos4 WL. It uses existing sysfs code, but the device reports battery capacity in more fine-grained way, so there has to be a separate lookup table (called batcap_i4). Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c | 10 ++ 1 files

[Linuxwacom-devel] [PATCH 1/3] HID: wacom: Remove CONFIG_HID_WACOM_POWER_SUPPLY option

2012-03-19 Thread Przemo Firszt
This option was ment as a safety mechanism in case the system treats the wacom tablet battery as the main power supply. It's no longer required as now we can distinguish between system power supply and device power supply. Signed-off-by: Przemo Firszt --- drivers/hid/Kconfig |

[Linuxwacom-devel] [PATCH 2/3] HID: wacom: Refactor battery/ac reporting for Graphire

2012-03-19 Thread Przemo Firszt
red in a separate variable - it used to be calculated on-the-fly in wacom_ac_get_property function. The raw value has to be stored as well to be able to determine if it has changed. Signed-off-by: Przemo Firszt Reviewed-by: Chris Bagwell --- drivers/hid/hid-wacom.

[Linuxwacom-devel] [PATCH] wacom-devel: remove CONFIG_HID_WACOM_POWER_SUPPLY

2012-03-19 Thread Przemo Firszt
This option is no longer required and it should be removed from the mainline kernel soon. This patch is _NOT_ intended for the mainline kernel as it only serves wacom-kernel development. Signed-off-by: Przemo Firszt --- wacom-kernel/Makefile |1 - 1 files changed, 0 insertions(+), 1

Re: [Linuxwacom-devel] [PATCH ver.2 2/2] HID: wacom: Add battery/ac reporting for Intuos4 WL

2012-03-19 Thread Przemo Firszt
Dnia 2012-03-18, nie o godzinie 18:00 -0500, Chris Bagwell pisze: > On Sun, Mar 18, 2012 at 2:27 PM, Przemo Firszt wrote: > > This patch adds battery/ac reporting for Intuos4 WL. It uses existing > > sysfs code, but the device reports battery capacity in more fine-grained > &

Re: [Linuxwacom-devel] [PATCH ver.2 1/2] HID: wacom: Refactor battery/ac reporting for Graphire

2012-03-19 Thread Przemo Firszt
Dnia 2012-03-18, nie o godzinie 18:01 -0500, Chris Bagwell pisze: > On Sun, Mar 18, 2012 at 2:27 PM, Przemo Firszt wrote: > > This patch doesn't change the way battery/ac is reported, but the changes > > are > > required to facilitate battery reporting for Intuos4 WL. &

[Linuxwacom-devel] [PATCH ver.2 1/2] HID: wacom: Refactor battery/ac reporting for Graphire

2012-03-18 Thread Przemo Firszt
red in a separate variable - it used to be calculated on-the-fly in wacom_ac_get_property function. The raw value has to be stored as well to be able to determine if it has changed. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c | 34 +- 1 files cha

[Linuxwacom-devel] [PATCH ver.2 2/2] HID: wacom: Add battery/ac reporting for Intuos4 WL

2012-03-18 Thread Przemo Firszt
This patch adds battery/ac reporting for Intuos4 WL. It uses existing sysfs code, but the device reports battery capacity in more fine-grained way, so there has to be a separate lookup table (called batcap_i4). Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c | 12 1

Re: [Linuxwacom-devel] [PATCH 2/2] HID: wacom: Add battery/ac reporting for Intuos4 WL

2012-03-18 Thread Przemo Firszt
Dnia 2012-03-18, nie o godzinie 13:38 -0500, Chris Bagwell pisze: > On Sun, Mar 18, 2012 at 11:24 AM, Przemo Firszt wrote: > > This patch adds battery/ac reporting for Intuos4 WL. It uses existing > > sysfs code, but the device reports battery capacity in more fine-grained > &

Re: [Linuxwacom-devel] [PATCH 1/2] HID: wacom: Refactor battery/ac reporting for Graphire

2012-03-18 Thread Przemo Firszt
Dnia 2012-03-18, nie o godzinie 12:58 -0500, Chris Bagwell pisze: On Sun, Mar 18, 2012 at 11:24 AM, Przemo Firszt wrote: > > This patch doesn't change the way battery/ac is reported, but the changes are > > required to facilitate battery reporting for Intuos4 WL. > > wdat

[Linuxwacom-devel] [PATCH 1/2] HID: wacom: Refactor battery/ac reporting for Graphire

2012-03-18 Thread Przemo Firszt
red in a separate variable - it used to be calculated on-the-fly in wacom_ac_get_property function. The raw value has to be stored as well to be able to determine if it has changed. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c | 36 +++- 1 files cha

[Linuxwacom-devel] [PATCH 2/2] HID: wacom: Add battery/ac reporting for Intuos4 WL

2012-03-18 Thread Przemo Firszt
This patch adds battery/ac reporting for Intuos4 WL. It uses existing sysfs code, but the device reports battery capacity in more fine-grained way, so there has to be a separate lookup table (called batcap_i4). Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c | 12 1

[Linuxwacom-devel] [DEVEL PATCH] Add .gitignore files

2012-03-16 Thread Przemo Firszt
Ignore Module.symvers files in "wacom" working directories. This patch is _NOT_ intended for the mainline kernel as it only serves wacom-kernel development. Signed-off-by: Przemo Firszt --- drivers/hid/.gitignore |1 + drivers/input/tablet/.gitignore |1

[Linuxwacom-devel] [PATCH 1/2] HID: wacom: Replace __set_bit with input_set_capability

2012-03-15 Thread Przemo Firszt
It's a trivial patch. It's doesn't change the functionality as the helper input_set_capability does the same thing. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/hid/hid-wacom.c b/

[Linuxwacom-devel] [PATCH 2/2] HID: wacom: Add reporting of wheel for Intuos4 WL

2012-03-15 Thread Przemo Firszt
This patch adds reporting of ABS_WHEEL event. Raported walues are 0..71 and are related to absolute location of the finger on the wheel. Signed-off-by: Przemo Firszt Reviewed-by: Jason Gerecke --- drivers/hid/hid-wacom.c | 24 1 files changed, 24 insertions(+), 0

Re: [Linuxwacom-devel] [PATCH] HID: wacom: Add reporting of wheel for Intuos4 WL

2012-03-12 Thread Przemo Firszt
Dnia 9 Marca 2012, 10:40 pm, Pt, Chris Bagwell napisał(a): > On Fri, Mar 9, 2012 at 2:27 PM, Przemo Firszt wrote: >> This patch adds reporting of ABS_WHEEL event. Raported walues are 0..71 >> and are related to absolute location of the finger on the wheel. >> >> S

[Linuxwacom-devel] [PATCH] HID: wacom: Add reporting of wheel for Intuos4 WL

2012-03-09 Thread Przemo Firszt
This patch adds reporting of ABS_WHEEL event. Raported walues are 0..71 and are related to absolute location of the finger on the wheel. Signed-off-by: Przemo Firszt Reviewed-by: Jason Gerecke --- drivers/hid/hid-wacom.c | 25 + 1 files changed, 25 insertions(+), 0

[Linuxwacom-devel] [PATCH] HID: wacom: Add reporting of wheel for Intuos4 WL

2012-03-09 Thread Przemo Firszt
This patch adds reporting of ABS_WHEEL event. Raported walues are 0..71 and are related to absolute location of the finger on the wheel. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a

Re: [Linuxwacom-devel] [PATCH 2/2] HID: wacom: Add reporting of wheel for Intuos4 WL

2012-03-09 Thread Przemo Firszt
Dnia 2012-03-09, pią o godzinie 09:37 -0800, Jason Gerecke pisze: > On Fri, Mar 9, 2012 at 5:20 AM, Przemo Firszt wrote: > > This patch adds reporting of ABS_WHEEL event. Raported walues are 0..71 > > and are related to absolute location of the finger on the wheel. > > >

[Linuxwacom-devel] [PATCH 2/2] HID: wacom: Add reporting of wheel for Intuos4 WL

2012-03-09 Thread Przemo Firszt
This patch adds reporting of ABS_WHEEL event. Raported walues are 0..71 and are related to absolute location of the finger on the wheel. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/drivers

[Linuxwacom-devel] [PATCH 1/2] HID: wacom: Reset stylus buttons - Intuos4 WL

2012-03-09 Thread Przemo Firszt
Stylus buttons have to be resetted when going out-of-prox. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/hid/hid-wacom.c b/drivers/hid/hid-wacom.c index 2a440a6..5c25036 100644 --- a/drivers/hid/hid

[Linuxwacom-devel] [PATCH 2/2] HID: wacom: Reset stylus buttons - Intuos4 WL

2012-03-05 Thread Przemo Firszt
Stylus buttons have to be resetted when going out-of-prox. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/hid/hid-wacom.c b/drivers/hid/hid-wacom.c index 4fa9d40..67b80ff 100644 --- a/drivers/hid/hid

[Linuxwacom-devel] [PATCH 1/2] HID: wacom: Add reporting of wheel for Intuos4 WL

2012-03-05 Thread Przemo Firszt
This patch adds reporting of ABS_WHEEL event. Raported walues are between 0 od 71 and are related to absolute location of the finger on the wheel. Signed-off-by: Przemo Firszt --- drivers/hid/hid-wacom.c | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a

Re: [Linuxwacom-devel] [PATCH] HID: wacom: fix setting ABS_MISC for Intuos4 WL

2012-03-05 Thread Przemo Firszt
Dnia 3 Marca 2012, 3:42 pm, So, Przemo Firszt napisał(a): > ABS_MISC bit has to be set for 'input->mscbit', not 'input->absbit' > > Signed-off-by: Przemo Firszt > --- The patch is incorrect - sorry fo

  1   2   3   >