Hello,

I'd like to address the issue of LEDs in this separate thread. The
solution that is provided by Christoph Karg's utility is a great step
forward, given that we can now use the OLEDs at all, but it's also in
several areas problematic:

-> The utility interferes with the kernel driver, requiring it to be
unloaded and reloaded.

-> It might crash X, if this is done while input is read from the Wacom

-> The utility has to be run separately, as root, and accesses the Wacom
directly through libusb

Given these problems and the fact, that the LEDs are an integral part of
the device, I plead for a better solution to be found.
It is my stance, and I think at least with that everyone will agree,
that all interaction with the device shall go through the kernel driver
for the device.

It's also my opinion, and I think that is in the spirit with the clean
code you practice, that controling OLEDs has nothing to do with Xinput
and should hence not interfere with the xf86-input driver.

But the problem with requiring root priviledges needs also to be solved.
I for my part find it inconsistent and cumbersome that the device
itsself can be used and controlled as a user (as it should be) but a few
integral operations, which are per se not different from others can only
be accessed as root?! You agree?

I think it would be a clean, feasible and durable solution to


X11/XInput --- xf86-input-wacom --- Kernel Driver --- wcmsetled
                                          |
                                          |
                                    Wacom Hardware


where wcmsetled is a userspace tool that communicates with the kernel
driver and is part of the linux-wacom "suite".
And for the sake of the UNIX-philophy, the cleanness of linux-wacom,
against bloat and for the sake of simplicity, both wcmsetled and the
kerneldriver offer only an minimalist's interface, meaning they are
stripped off any flexibility such as converting images to the
appropriate format, which can all take place in userspace before
wcmsetled.

I think that would make an eligible concept. Does anyone disagree?

-- Cedric

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to