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 some example icons in icons/ directory. The kernel patch
 mentioned in 'usage' option is not yet ready for release, but '-s'
 (scramble) option should allow to use i4oled with any kernel with wacom
 OLED support.

 I tried it out on openSUSE 12.1 (I have an Intuos4 M USB tablet), but it
 doesn't appear that I have the proper kernel module to test with - how
 can I tell definitively if the module I'm using has OLED support
 available?

 Jim
Go to /sys/bus/usb/drivers/wacom/[Number]/

There should be a directory called wacom_led with couple files. If it's
missing you don't have the OLED support.

If you have kernel newer than 3.2 than it should be there. (uname -a ?)

-- 
Regards,
Przemo Firszt


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] Intuos4 family OLED helper

2012-09-13 Thread Jim Henderson
On Thu, 13 Sep 2012 09:16:29 +0100, Przemo Firszt wrote:

 Go to /sys/bus/usb/drivers/wacom/[Number]/
 
 There should be a directory called wacom_led with couple files. If it's
 missing you don't have the OLED support.

Thanks, looks like it's not present on my system.

 If you have kernel newer than 3.2 than it should be there. (uname -a ?)

3.1 here, that would explain why.  I'll look to see about building for 
that kernel or update to the newly released 12.2, which has the 3.4 
kernel.

Thanks,

Jim

-- 
 Jim Henderson
 Please keep on-topic replies on the list so everyone benefits


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


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

2012-09-12 Thread Jason Gerecke
On Tue, Sep 11, 2012 at 2:57 PM, Przemo Firszt prz...@firszt.eu wrote:
 Now it renders text using pango/cairo, but only one line, so it's
 limited to 9-12 characters. Example usage:

 i4oled -s --text Ctrl-Shift Y --output C-S-Y.png ; i4oled -s --image 
 C-S-Y.png -d /sys/bus/usb/drivers/wacom/1-1.2\:1.0/wacom_led/button0_rawimg

 Rendering text directly to the tablet is not implemented yet.

 Example icons on Intuos4 Wireless: 
 http://blog.firszt.eu/public/pango_rendered_text_on_intuos4.jpg

 It's a hi-res poor quality photo ;-) , so click after loading to see the 
 pixel-level details.

 Please test, report successes  failures.

 Road map:
 - make render directly to device,
 - make 2 line render with automatic line breaking.

 Regards,
 Przemo Firszt

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

Jason

---
When you're rife with devastation / There's a simple explanation:
You're a toymaker's creation / Trapped inside a crystal ball.
And whichever way he tilts it / Know that we must be resilient
We won't let them break our spirits / As we sing our silly song.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] Intuos4 family OLED helper

2012-09-12 Thread Jim Henderson
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 some example icons in icons/ directory. The kernel patch
 mentioned in 'usage' option is not yet ready for release, but '-s'
 (scramble) option should allow to use i4oled with any kernel with wacom
 OLED support.

I tried it out on openSUSE 12.1 (I have an Intuos4 M USB tablet), but it 
doesn't appear that I have the proper kernel module to test with - how 
can I tell definitively if the module I'm using has OLED support 
available?

Jim

-- 
 Jim Henderson
 Please keep on-topic replies on the list so everyone benefits


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


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
 
Thanks for testing!
Przemo



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


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

2012-09-11 Thread Przemo Firszt
Now it renders text using pango/cairo, but only one line, so it's
limited to 9-12 characters. Example usage:

i4oled -s --text Ctrl-Shift Y --output C-S-Y.png ; i4oled -s --image 
C-S-Y.png -d /sys/bus/usb/drivers/wacom/1-1.2\:1.0/wacom_led/button0_rawimg

Rendering text directly to the tablet is not implemented yet.

Example icons on Intuos4 Wireless: 
http://blog.firszt.eu/public/pango_rendered_text_on_intuos4.jpg 

It's a hi-res poor quality photo ;-) , so click after loading to see the 
pixel-level details.

Please test, report successes  failures.

Road map: 
- 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 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] Intuos4 family OLED helper

2012-09-10 Thread Jonathan R Young
Just tried it on my intuos4 medium usb, initial button0 worked just fine 
- thanks very much.
Redhat Enterprise Linux 6.3 (with wacom drivers 0.16)
Jonathan

On 09/09/12 19:06, Przemo Firszt wrote:
 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 icons/ directory. The kernel patch
 mentioned in 'usage' option is not yet ready for release, but
 '-s' (scramble) option should allow to use i4oled with any kernel with
 wacom OLED support.

 Please test and report back - I have only Intuos4 Wireless tablet, so
 i4oled hasn't been tested on any other model.

 I'm waiting for reports if it works with the whole Intuos4 family - I'm
 going to implement an option for setting OLED icons as part of the
 button mapping in the wacom panel in gnome system settings.

 Regards,
 Przemo



 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Linuxwacom-devel mailing list
 Linuxwacom-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] Intuos4 family OLED helper

2012-09-10 Thread Przemo
Jonathan R Young jonathan...@gmail.com wrote:

Just tried it on my intuos4 medium usb, initial button0 worked just
fine
- thanks very much.
Redhat Enterprise Linux 6.3 (with wacom drivers 0.16)
Jonathan

On 09/09/12 19:06, Przemo Firszt wrote:
 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 icons/ directory. The kernel patch
 mentioned in 'usage' option is not yet ready for release, but
 '-s' (scramble) option should allow to use i4oled with any kernel
with
 wacom OLED support.

 Please test and report back - I have only Intuos4 Wireless tablet, so
 i4oled hasn't been tested on any other model.

 I'm waiting for reports if it works with the whole Intuos4 family -
I'm
 going to implement an option for setting OLED icons as part of the
 button mapping in the wacom panel in gnome system settings.

 Regards,
 Przemo




--
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond.
Discussions
 will include endpoint security, mobile security and the latest in
malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Linuxwacom-devel mailing list
 Linuxwacom-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.
Discussions
will include endpoint security, mobile security and the latest in
malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

That's great!
Thanks!
--
Przemo--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] Intuos4 family OLED helper

2012-09-10 Thread Jason Gerecke
On Sun, Sep 9, 2012 at 11:06 AM, Przemo Firszt prz...@firszt.eu wrote:
 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 icons/ directory. The kernel patch
 mentioned in 'usage' option is not yet ready for release, but
 '-s' (scramble) option should allow to use i4oled with any kernel with
 wacom OLED support.

 Please test and report back - I have only Intuos4 Wireless tablet, so
 i4oled hasn't been tested on any other model.

 I'm waiting for reports if it works with the whole Intuos4 family - I'm
 going to implement an option for setting OLED icons as part of the
 button mapping in the wacom panel in gnome system settings.

 Regards,
 Przemo




Had to turn up the buttons_luminance before I could see anything, but
once I figured that out it looked to work fine :)

Tested with an I4 Medium under Arch Linux with both stock driver and
input-wacom.

Jason

---
When you're rife with devastation / There's a simple explanation:
You're a toymaker's creation / Trapped inside a crystal ball.
And whichever way he tilts it / Know that we must be resilient
We won't let them break our spirits / As we sing our silly song.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] Intuos4 family OLED helper

2012-09-10 Thread Przemo Firszt

Dnia 10 Września 2012, 5:30 pm, Pn, Jason Gerecke napisał(a):
[..]

 Had to turn up the buttons_luminance before I could see anything, but
 once I figured that out it looked to work fine :)

 Tested with an I4 Medium under Arch Linux with both stock driver and
 input-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 landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel