← Back to team overview

asus-ul30 team mailing list archive

Re: Can we convert to a wiki format

 

Using xinput did the trick. I had actually tried using xinput but directly
on the (incorrectly recognised as) "ImPS/2 Logitech Wheel Mouse" but that
didn't work, and I didn't know how to use it on evdaemon.

However, just as a curiosity, the middle button was indeed introduced by
evdaemon. Maybe that's related to the fact that my touchpad (I think it's an
elantech as most asus) is incorrectly recognised, and evdaemon actually
corrects what was wrong from the beginning.

I still find it impossible to use two fingers for scrolling and a two finger
tap for pasting. Basically every time I want to scroll just a bit I paste
something. This can lead to serious diplomatic problems when writing
emails...

Thanks Tuomas, congrats on a great tool!

On Sun, Apr 4, 2010 at 7:31 PM, Tuomas Räsänen <tuos@xxxxxxxxxxxxx> wrote:

> I'll continue this top-posting thread by top-posting, even though it
> gives me nasty shivers ;-). However, breaking the tradition now would
> probably result in a quite messy post..
>
> I think that the middle-button-paste is handled by Xorg and is it's
> default behavior. It has nothing to do with evdaemon. Evdaemon just
> clones a device and repeats it's events when the filtering is disabled
> and suppresses events when filtering is enabled. It does not alter
> device's behavior. So middle-button-paste works whether the evdaemon is
> running/installed or not. Just like selecting text copies it to X's
> clipboard.
>
> The middle-button-paste is quite handy, but can be easily disabled with
> xinput:
>
> Disable middle-button completely:
>  xinput set-button-map "evdaemon" 1 0
>
> Map middle-button to left-button:
>  xinput set-button-map "evdaemon" 1 1
>
> Map middle-button back to middle-button:
>  xinput set-button-map "evdaemon" 1 2
>
> and so on. See xinput's manpage.
>
> In the example above, I assumed that evdaemon's device name was the
> default "evdaemon". This is however configurable via evdaemon-admin or
> config-files. See the correct device name or id if evdaemon's name has
> been changed: xinput list | grep id.
>
> On Sat, 2010-04-03 at 14:43 +0100, Jonathan Wagner wrote:
> > Then perhaps Tuomas will chime in on disabling it. In fact, I was
> > really dissapointed when I realized that you couldn't click both the
> > right and left buttons, a common middle-click emulation) on the
> > touchpad due to the rocker design.  I installed evdaemon very shortly
> > after receiving the laptop, so I guess I didn't notice the added
> > middle-click functionality or lack there of by default.  If it is
> > evdaemon adding this, then three cheers to evdaemon.  Once you get
> > used to it, you just can't give it up.  I use Windows in VirtualBox
> > for some work applications and it pains me to no end when I highlight
> > text and middle-click to paste and nothing happens.  Even worse is
> > Xilinx's ISE software and it's lack of middle-click paste even though
> > it's running natively in Linux.
> >
> >
> > Anyway, hope you get things worked out.  Any out of the norm behavior
> > from our input devices can be a real pain.
> >
> > Jonathan Wagner
> >
> >
> > 2010/4/3 Dinis Gökaydin <dgokaydin@xxxxxxxxx>
> >         Thanks Jonathan.
> >
> >         I guess after 20 years of computers I've never used the middle
> >         button for anything... Regardless, the touchpad did not show
> >         this behaviour before I installed evdaemon, so it was most
> >         definitely introduced by it.
> >
> >         cheers
> >
> >         2010/4/3 Jonathan Wagner <jonathan@xxxxxxxxxxxxxxxxxx>
> >
> >
> >                 Middle click on a normal device pastes any highlighted
> >                 or copied text, so I think this is normal behavior.
> >                  If you're looking for scrolling then swipe with two
> >                 fingers.
> >
> >
> >                 I'm not Tuomas, but I don't think his software has
> >                 this control (except maybe being able to disable
> >                 middle click?).
> >
> >                 Jonathan Wagner
> >
> >
> >                 2010/4/3 Dinis Gökaydin <dgokaydin@xxxxxxxxx>
> >
> >
> >                         Hi Tuomas,
> >
> >                         I'm a ul30vt user. I found your evdaemon
> >                         amazingly helpful.
> >
> >                         Unfortunately, installing it cause a strange
> >                         behaviour: when I double click with two
> >                         fingers - something that supposedly mimics the
> >                         behaviour of the mouse's middle button - it
> >                         pastes any text I have copied.
> >
> >                         This is unfortunately an even more annoying
> >                         problem than the accidental touches while
> >                         typing, so I had to uninstall evdaemon.
> >
> >                         Can you fix it? Thanks.
> >
> >                         Regards,
> >
> >                         Dinis
> >
> >                         2010/3/27 Tuomas Räsänen <tuos@xxxxxxxxxxxxx>
> >
> >                                 On Fri, 2010-03-26 at 15:35 -0400,
> >                                 Prof. John C Nash wrote:
> >                                 > While I believe this is a very
> >                                 useful resource, it has many bugs and
> >                                 omissions. Can we
> >                                 > convert it to a wiki format, either
> >                                 here or elsewhere?
> >                                 >
> >
> >
> >                                 Actually, there is already a wiki page
> >                                 dedicated to UL30A:
> >
> https://wiki.ubuntu.com/LaptopTestingTeam/AsusUL30A
> >
> >
> >                                 > - the touchpad issue is a real nasty
> >                                 one. I've found and modified a tool to
> >                                 turn it off,
> >                                 > and could simplify the setup for
> >                                 other users.
> >                                 >
> >
> >
> >                                 If you are interested, I wrote
> >                                 evdaemon
> >                                 ( http://codegrove.org/evdaemon/ ) to
> >                                 kill the pain with the touchpad
> >                                 ( it can also act as syndaemon for
> >                                 event devices in general). Because
> >                                 manually switching on/off the touchpad
> >                                 was not an option for me, I wrote
> >                                 evdaemon to switch on/off event
> >                                 devices during keyboard activity. It's
> >                                 Ubuntu-packaged in my PPA:
> >
> https://launchpad.net/~tuos/+archive/codegrove<https://launchpad.net/%7Etuos/+archive/codegrove>
> >
> >                                 There is also a gui-tool for
> >                                 configuring the daemon:
> >                                 http://codegrove.org/evdaemon-admin/
> >
> >
> >                                 It has helped at least me and couple
> >                                 of my friends in this pain.
> >
> >                                 --
> >                                 Tuomas
>
>
> --
> Tuomas
>
>

Follow ups

References