2010. június 9.

Sorting out input devices 3.

Okay, so the cursor jumped again after the last changes.
I changed the /usr/lib/X11/xorg.conf.d/10-wacom.conf like this:

Section "InputClass"
Identifier "Wacom serial class"
MatchProduct "Serial Wacom Tablet"
MatchDevicePath "/dev/ttyS0"
Driver "wacom"
# Option "Device""/dev/ttyS0"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"
Option "Button2" "3"
# Option "Button3" "4"
Option "TPCButton" "on"
EndSection

Section "InputClass"
Identifier "Wacom serial class"
MatchProduct "Serial Wacom Tablet eraser"
MatchDevicePath "/dev/ttyS0"
Driver "wacom"
# Option "Device""/dev/ttyS0"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"
Option "TPCButton" "on"
EndSection


and now the system doesn't recognize the eraser. (this wasn't intended)
However, the jumping never happened ever since, and that was already about a week ago.

What in hell is happening?

Ununtu takes up almost 5 GB on my hard drive, and every "Important Security Update" seems to be more than 50MB! What in hell happened?!? Ubuntu used to take up 3.5 GB, even after several updates of even after updating to a newer version. And suddenly, the 6 GB space I dedicated to it will not be enough!

2010. június 1.

Sorting out input devices 2.

I didn't experience the cursor jumping jet today.
What I did today was

~$ sudo gedit /usr/lib/X11/xorg.conf.d/10-wacom.conf

now it looks like:

Section "InputClass"
Identifier "Wacom serial class"
MatchProduct "Serial Wacom Tablet"
MatchDevicePath "/dev/ttyS0"
Driver "wacom"
# Option "Device""/dev/ttyS0"
# Option "Type" "stylus"
Option "ForceDevice" "ISDV4"
Option "Button2" "3"
# Option "Button3" "4"
Option "TPCButton" "on"
EndSection

Section "InputClass"
Identifier "Wacom serial class"
MatchProduct "Serial Wacom Tablet eraser"
MatchDevicePath "/dev/ttyS0"
Driver "wacom"
# Option "Device""/dev/ttyS0"
# Option "Type" "eraser"
Option "ForceDevice" "ISDV4"
Option "TPCButton" "on"
EndSection


And works just right. We'll see what's gonna happen with the jumping.
What I basically did here was to add eraser and add proper device path, and remove unnecessary entries, like the one for supporting touch, and another one, which I don't know what it was for.

I didn't try removing the #-s jet. I jus put them in in case I want to adjust the file further to match what xorg.conf used to be before Lucid.

2010. május 31.

Sorting out input devices

The general problem is:
The cursor jumps around and clicks on things. As described here.
This post is dedicated to cornering and trying to solve the problem.
EDIT: as it turned out it was a hardware problem.

Cursor jumping around

I have this really "nice" problem since a while, and today I found out I'm not the only one in this situation.


Re: Mouse Jumping to corner on its own (TX2000 tablet PC)

2010-05-31 12:30 PM

Hi!

I've been having the same problem with my TC4400 tablet running Ubuntu Linux.

Here are my experiences:

- the cursor started jumping about 5 months ago. The computer is in my hands for exactly 2 years now, but it was a renew, so it's some time older, maybe half-1 year.

- the cursor first started jumping to the bottom right corner.

- it had a tendency to jump when I was using firefox watching sites like gmail or youtube, that used Java and/or Flash.

- about 2 months ago it started jumping (and clicking of course) not only when I used firefox with the mentions conditions, but also for other programs, and generally, at any time.

- about 1 week ago, I installed the newest version of Ubuntu (10.04), and since then the cursor started to jump to the bottom left corner too, so now it jumps to 2 different places.

- I also noticed, that the cursor does not jump when I use the pen. (there is no touch recognition, only the pen)

- I also noticed, that my computer started to became awfully hot at the corner of the ventilator, which is the corner, where the ESC button is.



So far I thought about disabling the touchpad and use the joystick instead, but they disable together, so I cannot do that.

I cannot afford to be without my computer, so I cannot put it to repair service. (I had a painful experience with them already anyway.)

The only way I can avoid the cursor from jumping is to hold the pen with one hand to the monitor, but this is pretty uncomfortable.



This whole cursor jumping thing is really annoying, and I'm relieved that I'm not the only one experiencing this.

2010. május 29.

Labtec Notebook Webcam on Ubuntu

I bought this webcam last year. It worked with Gutsy, but it doesn't work in Lucid. Or at least with Skype not - at the beginning.

Here are some details to begin with:

skype version: Beta 2.1.0.81 for linux.

~$ lsusb
ID 046d:08aa Logitech, Inc. Labtec Notebooks

~$ lsmod | grep videodev
videodev 34361 1 gspca_main
v4l1_compat 13251 1 videodev

~$ lsmod | grep gspca
gspca_zc3xx 45189 0
gspca_main 21199 1 gspca_zc3xx
videodev 34361 1 gspca_main

here's what I did so far:
- plugged in webcam. skype doesn't see it.
- installed cheese. video works. skype sees that there is a video device, but there's no picture.
- installed guvcview. still the same.
- I restarted the computer
- I tried again with the LD_PRELOAD stuff I found in other forums, and finally, like a miracle,

LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so skype


did the trick. :-)
I submitted this info on UbuntuWiki

2010. május 23.

Screen rotation through Nautilus scripts.

Here is how you make nautilus scripts work.

This is a script for rotating right (note-taking side):
#!/bin/sh
xrandr -o right
xsetwacom set 'Serial Wacom Tablet' Rotate CW
This is to set back to normal:
#!/bin/sh
xrandr -o normal
xsetwacom set 'Serial Wacom Tablet' Rotate NONE
I also use the following two, so I can rotate in any direction:
#!/bin/sh
xrandr -o left
xsetwacom set 'Serial Wacom Tablet' Rotate CCW
and
#!/bin/sh
xrandr -o inverted
xsetwacom set 'Serial Wacom Tablet' Rotate 3