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 to discuss changing it, but
> > it's there for now)
> >  - bluetooth - LED will be soon in the mainline, OLEDS hopefully will
> > follow soon
> > In xorg driver (I'm not sure about it):
> >  - USB - LED - yes, OLED - no
> >  - bluetooth - LED - no, OLED - no (obvios, as it's not yet in the kernel)
> 
> There's no LED or OLED support in the X.org driver.
> 
> > In gnome panel
> 
> gnome-settings-daemon pokes the kernel directly using a PolicyKit
> helper.
> 
Hmm, I was sure I never sent the email (squirrelmail did someting weird)
- sorry for the unfinished question. Anyway the answer is perfect :-)

Is that "poking" acceptable and are we going to add OLED support as
well? I'm thinking about a simple "select & load" of pre-prepared icons
for the begining. I presume gnome-settings-deamon is OK with root-only
access?

        A next question: when I submitted first version of LED-over-bluetooth
for Intuos4 [1] Jiri suggested using LEDS_CLASS [2]. I submitted another
patch using LEDS_CLASS and the patch has been accepted. Patch [1]
follows the USB driver, patch [3] uses LEDS_CLASS.
        So, for now we're going to have 2 different ways of handling the same
LEDs on the same device - one for USB, one for BT. My personal opinion
is that LEDS_CLASS is the right way (tm). Can we talk about changing it
in USB driver before it's too late (read: to many userland apps depend
on it)?

The same thing will apply for OLEDS, but we'll need some sysfs entries
anyway for uploading the icons anyway - I don't think LEDS_CLASS are
ready to handle it.

[1] http://www.spinics.net/lists/linux-input/msg20749.html
[2] http://www.spinics.net/lists/linux-input/msg20752.html
[3] http://www.spinics.net/lists/linux-input/msg20818.html

-- 
Przemo Firszt <prz...@firszt.eu>


------------------------------------------------------------------------------
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

Reply via email to