Tuesday, August 09, 2011
Updated xinput_calibrator packages
Monday, August 30, 2010
How to calibrate your TabletPC
# check if xinput_calibrator found any device
user@tablet:~> xinput_calibrator --list
Device "Wacom ISDv4 90 Pen" id=10
# start calib.: for multiple devices use --device option
user@tablet:~> xinput_calibrator
Section "InputClass"
Identifier "calibration"
MatchProduct "Wacom ISDv4 90 Pen"
Option "MinX" "0"
Option "MaxX" "28606"
Option "MinY" "0"
Option "MaxY" "17876"
EndSection
Tuesday, March 03, 2009
TabletPCs: fix eraser detection in xournal
To find out if the eraser is used, xournal checks for GDK_SOURCE_ERASER. And as it looks GDK can only identify an input device as GDK_SOURCE_ERASER if the devicename starts with eraser. But this is not the case at SUSE products since we use SaX2 which use Mouse[*] as device name.
I wrote a patch for xournal to use xsetwacom to find out if the currently used input device is a eraser, so that the automatic detection is working again and you can use the eraser without selecting the eraser tool again and again. You can find updated xournal packages for openSUSE/SLED in my OSBS repo.
In my opinion the real problem is, that there is (AFAIK) currently no way do mark and identify input devices in X.org as e.g. stylus/eraser/touch. It would make it much easier for applications if there would be a device name independent solution in X in the future.
Wednesday, September 03, 2008
TabletPCs: more machines in SaX2 (2)
- Asus R2H (should also cover R2Hv, extended udev rules for this machine to create the /dev/input/evtouch_event link)
- Gateway CX2724
- HP Compaq TC1100 (I'm not sure if this will work out of the box. There are only some years old reports for the machine and I'm not sure if the special initialization of the wacom device is still needed or if it now may will work out of the box with a recent kernel. If there is a user with such a machine (and may a openSUSE 11.0) please contact me.)
- Samsung Q1
- OQO 02
TabletPCs: fixes for linuxwacom
I've send my udev patch for the wacom input devices upstream. Unfortunately the patch isn't included yet. I added fixed/updated udev packages to my repo, but now I decided to remove these RPMs from my repo. I extended the udev rule file of the wacom package instead, since this is easier to maintain. You can find the new udev file here.
You can download/install the updated wacom packages (wacom-kmp and x11-input-wacom*) for openSUSE as always from here.
Friday, August 29, 2008
TabletPCs: new machines and fixes for SaX2
So what did I on the last day of Hackweek?
- Fixed the x11-input-evtouch package to install also the udev rules, which create for the touchscreen devices /dev/input/evtouch_event. Added another machine (IDEACO IDC 6680) to the list of rules (see patch).
- Fixed SaX2 to handle also the ports/device paths of touchscreens correctly. Now SaX2 can also set /dev/ttyS{2,3} correctly and accepts /dev/input/{elo,evtouch_event,touchscreen} as paths.
- Moved some existing TabletPC with touchscreens from the Tablet section to the Touchscreen section of SaX2.
- Changed SaX2 to set now for all Wacom based TabletPCs the option "Button 2" "3". This enable the right mouse button for the Pen/Stylus button, which is much more practical than the default setting of the wacom driver.
- Clevo TN120R (a.k.a Nexoc Osiris S621) (evtouch)
- Gateway C-120X (should be identical to E-155C)
- Gateway C-140X/E-295C
- Gateway C210X (should be identical to M280E)
- HP Compaq 2710p (which should also work for the upcoming 2730p)
- Samsung Q1-Ultra (evtouch)
Thursday, August 28, 2008
TabletPCs: more machines in SaX2
- Gateway E-155C (thanks Ping Cheng for the data)
- HP TC4400
- LG C1
- LG LT20 Tablet PC
- Panasonic Toughbook CF-18
- Toshiba Portégé M series Tablet PC
- Toshiba Satellite R15/R20
- Toshiba Tecra M series Tablet PC
Wednesday, August 27, 2008
TabletPCs: HP Pavilion tx2000/tx2100/tx2500 support
- HP Pavilion tx2000 series [2]
- HP Pavilion tx2100 series [2]
- HP Pavilion tx2500 series [1]
- generic Wacom USB TabletPC (added touch device to existing entry) [3]
Let me know if you have any problems with the new entries on these machines. If you e.g. still need to calibrate the input devices manually tell me the BottomX/Y and TopX/Y values and I update SaX2.
Tuesday, August 26, 2008
Wacom USB TabletPCs: persistent by-id links
Now I've found a way to change udev to set also a persistent by-id link for the touch device. I also change the naming of the link to the stylus device. With my patch you get now these links under /dev/input/by-id/ :
tux@linux:/ # ls /dev/input/by-id/The input devices you needed for you xorg.conf are the *-event-* links.
usb-Tablet_ISD-V4-event-stylus
usb-Tablet_ISD-V4-event-touch
usb-Tablet_ISD-V4-stylus
usb-Tablet_ISD-V4-touch
If you use openSUSE you can get patched udev versions from my buildservice repo. I've patched also SaX2 to handle the new link names (packages see here). Note: you need SaX2/udev to get everything working correctly and you may need to run SaX2 to update your actual X configuration.
Saturday, August 09, 2008
aKademy 2008 started
Thuesday is the 'Embedded and Mobile Day' with interesting talks about QT and KDE on Maemo. I have to ask there the Nokia/maemo people about the handwrite recongnition (HWR) on the N810. I couldn't find yet any usefull information about the backend which do the recognition. Currently there is no good free HWR for Linux TabletPCs available (except maybe Cellwriter, which support grid-entry based input, but no natural writing). It would be really cool if Nokia would share the HWR so that TabletPCs under Linux could get more usable than currently.
Friday, August 01, 2008
TabletPC: ASUS R1E/R1F support
While fixing the USB device paths I also discovered a problem with the serial (/dev/ttyS*) device paths while testing the existing entry for the HP tc4200 which needs to use COM-3 (/dev/ttyS2). The device was always set to /dev/ttyS1. Fixed also this problem with a patch ([3]) for SaX2.
Additionally I've extended the existing generic 'Wacom ISDV4 TABLET PC (SERIAL)' entry to support also Touch devices and added a new generic entry for TabletPCs with USB Wacom devices [4].
You can find an updated SaX2 version (including all patches) for openSUSE 10.2-Factory in my repo.
Thursday, July 31, 2008
TabletPCs: support for WACOM USB Tablets
To get the tablet supported you need a new version of the wacom kernel module. I've added a new wacom-kmp package to my openSUSE Build Service project with an updated version of the module including a working version for kernel 2.6.26. The package is available for openSUSE 10.2/10.3/11.0 and factory. You should also update x11-input-wacom to the latest version from the same repo.
Currently I'm working on an updated and extended version of SaX2 to easily configure also these TabletPCs. As soon as I've a new SaX2 package available I'll announce it here.
Friday, July 25, 2008
Lenovo ThinkPad X61t Touch support
I tried to calibrate the device with wacomcpl but I got alway an error. The reason was that wacomcpl wrongly detected all wacom input devices as core devices. I had to fix wacomcpl first, you can find the patch here.
Sadly also the fixed version of wacomcpl wasn't able to calibrate the touch device correctly. The touch device get active as soon as you hit the display with you finger or a non-EMR pen. This get interpreted by wacomcpl as click, you don't have a chance to put the cursor on the cross to get a value for calibration. Because of this I played around with xsetwacom and the ButtomX/Y and TopX/Y options on the X61t. Here the values I added to my SaX2 version to get the device usable:
Option "BottomX" "915"I hope this make the X61t now usable. You can get updated SaX2 and x11-input-wacom packages here. But it would be nice if the autocalibration in the driver could get fixed including wacomcpl.
Option "BottomY" "950"
Option "TopX" "48"
Option "TopY" "79"
Thursday, July 24, 2008
openSUSE: Better TabletPC support
The linuxwacom X11 driver now also provides touch support. It's realised as a new input device with option "Type" "touch". These devices work only on TabletPCs and with the option "ForceDevice" "ISDV4".
Since SaX2 currently only supports the configuration of the Stylus (Pen) and the Eraser devices I had to extend Sax2 to allow also the configuration of Touch devices. You can find my patch here and an updated SaX2 package (for openSUSE >= 10.2) in my openSUSE Build Service home repo (you need also the latest x11-input-wacom packages from there to get the full support).
Friday, June 13, 2008
TabletPCs: fix for xsetwacom
The source of the problem was the way 'xsetwacom --list' try to identify the configured wacom input devices. The tool try to find them based on the device name (Identifier in xorg.conf) which don't work if you set other names than cursor, stylus, eraser or pad. But this is what SaX2 do if you configure a Tablet, they get named 'Mouse[x]'. Because of this (the patched version of) krandrtray (KDE) and resapplet (GNOME) were no longer able to find the devices which need to get rotated with xsetwacom.
To solve the problem I ported and extended an old patch from Stefan Dirsch from 2005 to the current package/source. With this patch xsetwacom now check the xorg.conf for devices which uses the wacom driver and check then the Type field/option for the device type.
The upcoming openSUSE 11.0 contains the patch already. For older openSUSE releases you can find updated packages in my openSUSE build service repository. All other people can get the patch for v0.7.9 and v0.8.0 of linuxwacom here.
Tuesday, November 06, 2007
TabletPCs: Cellwriter
Recently I found a new cool tool for TabletPCs: Cellwriter. The developer describe it as 'a grid-entry natural handwriting input panel' and it reminds me to the input panel on the Windows XP TabletPC Edition.
It provides a way to enter text by write characters with a pen to a grid. The big advantage in comparison with e.g. tools like xstroke is: there are no limitation for the way you write a character. You can take off the pen for one character and write points or an other line. This allows to write all characters of Unicode (e.g. German umlauts or chinese). As first you have to train the tool to correctly recognize your input. For this you can use the 'Train'-dialog where you should write each char five times into the related grid.
After the user trained CellWriter, he can use it to simple input text, commands or whatever to any desktop application that has the focus. Cellwriter show as applet e.g. in the KDE Panel and can get hide/shown via click on the applet icon. You can place the window free on the desktop or dock it to Top or Bottom of the screen. The input dialog allows also to correct wrong recognized input or to simply delete input. If you finished, simply press enter to send the text to the application with the input focus.
If you prefer to enter text via a virtual keyboard, CellWriter has also a solution for this. Simply press on the Keys icon and you get a virtual keyboard. Unfortunately this works for me only if the window is docked to the screen, but I assume it is a bug. There is also some more room for improvement: I could not find a way to configure the layout of the virtual keyboard, it was always US.
Cellwriter is a relative young project. The Changelog show the initial package is from end of August 2007. But it is a great tool and work well, also if there is some room for improvements:
- The user need to train the tool before use the first time. It would be useful to have a basic pre-trained mode, which would allow the user to simply use it from the first start (at least for basic Latin characters).
- The keyboard need to get fixed (see above) and should support configurable key maps.
- If CellWriter is docked it should simply roll itself up if the focus get lost (like yakuake). If Cellwriter is in not docked the window is unfortunately always on top, thats annoying.
- It would be cool if Cellwriter would detect input areas automatically and would show a icon besides this area to pop-up the input window. Not sure if this is that simple or if this need some changes in the desktop environments, but it should be IMO possible.
Conclusion: Cellwriter is a great tool, I like it. It allows TabletPC users to get basic, but natural handwrite recognition. Simply forget xstroke, this tool is very much powerful. I have already packaged it for openSUSE 10.2, 10.3 and Factory. You can get the packages from my repository. Feel free to install and use it. We plan to add the package to the next openSUSE release.
Tuesday, June 19, 2007
FujitsuSiemens TabletPC button module
Additionally, and this is IMO the best, the module catch the tablet rotation event from convertible FSC TabletPCs. This allow us now to detect the state of the tablet (open/rotated-closed) and react on the event e.g. in KDE via KRandRTray and rotate the screen. Together with IBM/Lenovo we have now a way for machines of two major manufacturers to go a step forward with TabletPCs.
I packaged a KMP rpm for openSUSE 10.3/factory. You can download the rpm (fsc_btns-kmp) as always from my home project in the openSUSE build service. The package get later included into the SUSE distribution.
What are my next planed steps to improve TabletPC support?
- extend the wacom X.org driver to rotate automatically with XRandR extension
- extend KRandRTray to:
- get rotation events
- get events from rotate hotkeys
- allow the user to configure if and how to rotate the screen on these events
Monday, May 21, 2007
Fujitsu P-Series tablet driver
Some weeks ago I added a repackaged version (merged libtouch code from the evtouch driver and added the code to a working autotool package) of the fujitouch driver (v0.6.3) for openSUSE 10.2/10.3 to my home project at the openSUSE build service which work with Xorg 7.2. Unfortunately I had no access to a p-series machine, but I got contact to a user with a P1610 which helped with testing to get the package basically working (only rotation via tools like KRandRTray didn't work).
Now there is a new version 0.6.4 which support automatically rotation via the XRandR extension and which use the same package structure as my version of 0.6.3. You can find RPMs (including some patches to build correct) for SUSE here, feel free to install and report problems via the Novell Bugzilla. The package get merged into the SUSE distributions as soon as the driver work as expected.
Tuesday, March 13, 2007
SUSE Tablet PC support
- I packaged a special 'SaX2 Tablet PC Edition' (available for SLE10/10.2/10.3) which fix the existing Tablet PC support and provides now more support in for Tablet PCs in the Tablet section than the normal sax version (IBM X41, ACER TM C300/C301/C302 series, Fujitsu Lifebook T series (T3010/T4010), HP Compaq TC4200, Motion M1200 and M1400 and general Wacom Tablet PCs). Feel free to download and install, but also to report your special settings for other machines to me.
- Added a updated version of the wacom input driver (for SLE10/10.2/10.3), Jarnal and Xournal to my home project.
- Getting a Gateway M280e Tablet PC running. This machine use a Finepoint tablet instead of a Wacom device. You need the x11-input-fpit driver to be able to use the tablet. I added a package for openSUSE 10.2 to my home project at the openSUSE Buildservice, for openSUSE Factory/10.3 the x11-input-driver package should be up-to-date and contain a working version of the fpit-driver. To setup the device on 10.2 you need to install setserial and call this as root on command line:
setserial /dev/ttyS0 port 0x03F8 irq 4 baud_base 38400
For factory/10.3 this should happen automatically via HAL (a updated HAL version for 10.2 will follow the next days). To configure your X-Server you should download and install my 'SaX2 Tablet PC Edition' where you can simply select the Finepoint device in the Tablet section.
Friday, January 19, 2007
KDE Tablet PC support
On SUSE there is also support in SAX to configure Wacom and FSC devices and I already wrote a patch for HAL (v0.5.8/git) to detect Tablet PCs and set the needed Ports correct and automatically. There is also a patch for XDM to show xvkbd on login and a patch for KDE to show xvkbd on the unlock dialog from Lubos Lunak.
But until now one feature was missing: The user could rotate the screen via KRandr and also the Wacom driver support already rotation but there was no way to do this together because the Wacom driver did not support the XRandR extension. The user had to call xsetwacom to rotate also the input devices to use rotation. Thanks to Stephan Binner the user can now rotate the screen and the input devices together via KRandr and it work like a charm. You can find the patch here.





