public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How to configure thochpad sensitivity (using hal)?
@ 2010-11-14  1:10 Grant Edwards
  2010-11-14  2:37 ` Dale
  2010-11-18 11:04 ` Fernando Antunes
  0 siblings, 2 replies; 27+ messages in thread
From: Grant Edwards @ 2010-11-14  1:10 UTC (permalink / raw
  To: gentoo-user

Can anybody point me to a hint on how to configure synaptics touchapad
sensitivity?

The touchpad on my Thinkpad T500 is so sensitive you don't even have
to touch it. Merely bringing a thumb or finger within 1/8 - 1/4 inch
will cause the cursor to twitch spasmodically for a second and then
jump to the lower left corner of the screen.  Once you have a finger
on the touchpad, it seems to work OK.

I've figured out how to disable it temporarily using the "xinput"
command, but I would like to actually get it working right.

All the docs I can find seem to assume two things:

 1) an xorg.conf file

 2) the xf86-input-synpatics driver

I'm using neither.

I decided finally to give in and let Xorg use HAL like it wants to by
default when you do a Gentoo install.

What a huge mistake.  I really, really hate HAL.  With xorg.conf, all
the settings were in one file, in an easy to read, easy to edit
format. Now with HAL, they're scattered over several files.  And to
make sure you can't edit or read them, they're in XML.  I have no idea
what "problem" HAL is supposed to be solving, but it apprently wasn't
a problem I ever had -- AFAICT HAL is nothing but pain.

-- 
Grant





^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] How to configure thochpad sensitivity (using hal)?
  2010-11-14  1:10 [gentoo-user] How to configure thochpad sensitivity (using hal)? Grant Edwards
@ 2010-11-14  2:37 ` Dale
  2010-11-14  9:46   ` Mick
  2010-11-14  9:55   ` Sebastian Beßler
  2010-11-18 11:04 ` Fernando Antunes
  1 sibling, 2 replies; 27+ messages in thread
From: Dale @ 2010-11-14  2:37 UTC (permalink / raw
  To: gentoo-user

Grant Edwards wrote:
> Can anybody point me to a hint on how to configure synaptics touchapad
> sensitivity?
>
> The touchpad on my Thinkpad T500 is so sensitive you don't even have
> to touch it. Merely bringing a thumb or finger within 1/8 - 1/4 inch
> will cause the cursor to twitch spasmodically for a second and then
> jump to the lower left corner of the screen.  Once you have a finger
> on the touchpad, it seems to work OK.
>
> I've figured out how to disable it temporarily using the "xinput"
> command, but I would like to actually get it working right.
>
> All the docs I can find seem to assume two things:
>
>   1) an xorg.conf file
>
>   2) the xf86-input-synpatics driver
>
> I'm using neither.
>
> I decided finally to give in and let Xorg use HAL like it wants to by
> default when you do a Gentoo install.
>
> What a huge mistake.  I really, really hate HAL.  With xorg.conf, all
> the settings were in one file, in an easy to read, easy to edit
> format. Now with HAL, they're scattered over several files.  And to
> make sure you can't edit or read them, they're in XML.  I have no idea
> what "problem" HAL is supposed to be solving, but it apprently wasn't
> a problem I ever had -- AFAICT HAL is nothing but pain.
>
>    

You must be fairly new here.  I realized the same thing a while back and 
trust me, I posted it here so everyone else would know that it isn't 
easy to work with.  It either works out of the box or you are in a huge 
mess.

Before you go to great pains to get this working, you do know that hal 
is checking out right?  Even the person who wrote it realized the mess 
it was and it is dying pretty soon.  I think it is policykit or polkit 
or something to that effect.  If you want to start using that instead, 
it may save you some headaches later on when it is no longer a option.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] How to configure thochpad sensitivity (using hal)?
  2010-11-14  2:37 ` Dale
@ 2010-11-14  9:46   ` Mick
  2010-11-14 15:36     ` [gentoo-user] " Grant Edwards
  2010-11-15 17:48     ` [gentoo-user] " Marc Joliet
  2010-11-14  9:55   ` Sebastian Beßler
  1 sibling, 2 replies; 27+ messages in thread
From: Mick @ 2010-11-14  9:46 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 5123 bytes --]

On Sunday 14 November 2010 02:37:57 Dale wrote:
> Grant Edwards wrote:
> > Can anybody point me to a hint on how to configure synaptics touchapad
> > sensitivity?
> > 
> > The touchpad on my Thinkpad T500 is so sensitive you don't even have
> > to touch it. Merely bringing a thumb or finger within 1/8 - 1/4 inch
> > will cause the cursor to twitch spasmodically for a second and then
> > jump to the lower left corner of the screen.  Once you have a finger
> > on the touchpad, it seems to work OK.
> > 
> > I've figured out how to disable it temporarily using the "xinput"
> > command, but I would like to actually get it working right.
> > 
> > All the docs I can find seem to assume two things:
> >   1) an xorg.conf file
> >   
> >   2) the xf86-input-synpatics driver
> > 
> > I'm using neither.
> > 
> > I decided finally to give in and let Xorg use HAL like it wants to by
> > default when you do a Gentoo install.
> > 
> > What a huge mistake.  I really, really hate HAL.  With xorg.conf, all
> > the settings were in one file, in an easy to read, easy to edit
> > format. Now with HAL, they're scattered over several files.  And to
> > make sure you can't edit or read them, they're in XML.  I have no idea
> > what "problem" HAL is supposed to be solving, but it apprently wasn't
> > a problem I ever had -- AFAICT HAL is nothing but pain.
> 
> You must be fairly new here.  I realized the same thing a while back and
> trust me, I posted it here so everyone else would know that it isn't
> easy to work with.  It either works out of the box or you are in a huge
> mess.
> 
> Before you go to great pains to get this working, you do know that hal
> is checking out right?  Even the person who wrote it realized the mess
> it was and it is dying pretty soon.  I think it is policykit or polkit
> or something to that effect.  If you want to start using that instead,
> it may save you some headaches later on when it is no longer a option.

As Dale suggests don't waste your time on hal and its fdi files.  xorg 1.8.x 
will be going stable soon and that does away with hal configuration.  I 
recommend that you unmask it and see if you can control your touchpad easier 
using an xorg.conf and evdev.  However, the synaptics driver is there for a 
reason ...

http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml

BTW, if you want to remain with xorg 1.7.x then I recommend you try the 
following:

1. Add synaptics to your INPUT_DEVICES in /etc/make.conf - most often than not 
it will just work™ and no further adjustment of sensitivity is necessary.

2. Then run lshal to see if your touchpad is recognised.  In my laptop (I use 
hal) it shows this:
==================================================
udi = '/org/freedesktop/Hal/devices/pci_8086_d132'
  info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
  info.product = 'Core Processor DMI'  (string)
  info.category = 'input'  (string)
  info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port'  
(string)
  info.product = 'SynPS/2 Synaptics TouchPad'  (string)
  info.subsystem = 'input'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input'  
(string)
  input.device = '/dev/input/event6'  (string)
  input.originating_device = 
'/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port'  (string)
  input.product = 'SynPS/2 Synaptics TouchPad'  (string)
  input.x11_driver = 'synaptics'  (string)
  input.x11_options.ClickButton1 = '1'  (string)
  input.x11_options.HorizEdgeScroll = 'true'  (string)
  input.x11_options.MaxTapMove = '2000'  (string)
  input.x11_options.TapButton1 = '1'  (string)
  input.x11_options.VertEdgeScroll = 'true'  (string)
  linux.device_file = '/dev/input/event6'  (string)
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'input'  (string)
  linux.sysfs_path = '/sys/devices/platform/i8042/serio1/input/input6/event6'  
(string)
==================================================

In the info section above it tells me that touchpad is recognised.  Looking 
into /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi I see that by 
installing the synaptics driver a hal configuration file was created.

Copy this to /etc/hal/fdi/policy/11-x11-synaptics.fdi (you can call it 
something different if you wish) and add an option line to adjust sensitivity:

<merge key="input.x11_options.PressureMotionMinZ" type="integer">25</merge>

Play with different integer values to see what works and also look at the 
synaptics man page for different options, in case PressureMotionMin is not 
what you need.  Each time you make a change you should restart hal or the 
xserver to see the result.

3. Without synaptics a lot depends on what the evdev or mouse drivers can do - 
they may not have pressure related options to play with.  Again I would start 
with their man pages and follow the example above, as long as lshal shows 
which driver has captured the touchpad events.

HTH.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] How to configure thochpad sensitivity (using hal)?
  2010-11-14  2:37 ` Dale
  2010-11-14  9:46   ` Mick
@ 2010-11-14  9:55   ` Sebastian Beßler
  1 sibling, 0 replies; 27+ messages in thread
From: Sebastian Beßler @ 2010-11-14  9:55 UTC (permalink / raw
  To: gentoo-user

Am 14.11.2010 03:37, schrieb Dale:

> Before you go to great pains to get this working, you do know that hal
> is checking out right? Even the person who wrote it realized the mess it
> was and it is dying pretty soon.

Even KDE4 can be used without HAL pretty soon, I use the live-ebuilds 
and mostly everything that needed HAL before works now without. As much 
as I see the only thing that needs it at this point is phonon, without 
HAL KDE refuses to see my soundcard but that is not that bad because 
every non-KDE/QT(?) programm still has sound.

I give HAL a year at most, than it hould be gone and forgotten.

Greetings

Sebastian Beßler



^ permalink raw reply	[flat|nested] 27+ messages in thread

* [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-11-14  9:46   ` Mick
@ 2010-11-14 15:36     ` Grant Edwards
  2010-11-14 16:15       ` Onteria
  2010-11-14 17:02       ` Mick
  2010-11-15 17:48     ` [gentoo-user] " Marc Joliet
  1 sibling, 2 replies; 27+ messages in thread
From: Grant Edwards @ 2010-11-14 15:36 UTC (permalink / raw
  To: gentoo-user

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=ANSI_X3.4-1968, Size: 4173 bytes --]

On 2010-11-14, Mick <michaelkintzios@gmail.com> wrote:

>> Before you go to great pains to get this working, you do know that hal
>> is checking out right?

Yes, I knew that.  Maybe I'll just live without the touchpad until HAL
goes away for good.

My question is why did the Gentoo maintainers decide to use HAL
instead of xorg.conf?

>> Even the person who wrote it realized the mess it was and it is dying
>> pretty soon.  I think it is policykit or polkit or something to that
>> effect.  If you want to start using that instead, it may save you
>> some headaches later on when it is no longer a option.
>
> As Dale suggests don't waste your time on hal and its fdi files. 
> xorg 1.8.x will be going stable soon and that does away with hal
> configuration.  I recommend that you unmask it and see if you can
> control your touchpad easier using an xorg.conf and evdev.  However,
> the synaptics driver is there for a reason ...
>
> http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml
>
> BTW, if you want to remain with xorg 1.7.x then I recommend you try the 
> following:
>
> 1. Add synaptics to your INPUT_DEVICES in /etc/make.conf - most often
>    than not it will just work™ and no further adjustment of
>    sensitivity is necessary.

I did that, but the synaptics driver doesn't get used by default. Once
you've installed it, how do you get the server to use it? I think I
should abandon HAL and switch to xorg.conf.  It's so much easier to
use.

> 2. Then run lshal to see if your touchpad is recognised.  In my
>    laptop (I use hal) it shows this:
>
>==================================================
> udi = '/org/freedesktop/Hal/devices/pci_8086_d132'
>   info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
>   info.product = 'Core Processor DMI'  (string)
>   info.category = 'input'  (string)
>   info.parent = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port'  
> (string)
>   info.product = 'SynPS/2 Synaptics TouchPad'  (string)
>   info.subsystem = 'input'  (string)
>   info.udi = 
> '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_input'  
> (string)
>   input.device = '/dev/input/event6'  (string)
>   input.originating_device = '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port'  (string)
>   input.product = 'SynPS/2 Synaptics TouchPad'  (string)
>   input.x11_driver = 'synaptics'  (string)
>   input.x11_options.ClickButton1 = '1'  (string)
>   input.x11_options.HorizEdgeScroll = 'true'  (string)
>   input.x11_options.MaxTapMove = '2000'  (string)
>   input.x11_options.TapButton1 = '1'  (string)
>   input.x11_options.VertEdgeScroll = 'true'  (string)
>   linux.device_file = '/dev/input/event6'  (string)
>   linux.hotplug_type = 2  (0x2)  (int)
>   linux.subsystem = 'input'  (string)
>   linux.sysfs_path = '/sys/devices/platform/i8042/serio1/input/input6/event6'  
> (string)
>==================================================
>
> In the info section above it tells me that touchpad is recognised. 
> Looking into
> /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi I see that
> by installing the synaptics driver a hal configuration file was
> created.
>
> Copy this to /etc/hal/fdi/policy/11-x11-synaptics.fdi (you can call
> it something different if you wish) and add an option line to adjust
> sensitivity:
>
><merge key="input.x11_options.PressureMotionMinZ" type="integer">25</merge>
>
> Play with different integer values to see what works and also look at
> the synaptics man page for different options, in case
> PressureMotionMin is not what you need.  Each time you make a change
> you should restart hal or the xserver to see the result.
>
> 3. Without synaptics a lot depends on what the evdev or mouse drivers
>    can do - they may not have pressure related options to play with.
>    Again I would start with their man pages and follow the example
>    above, as long as lshal shows which driver has captured the
>    touchpad events.

So you're saying that without the synaptics driver there is no
sensitivity adjustment?




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-11-14 15:36     ` [gentoo-user] " Grant Edwards
@ 2010-11-14 16:15       ` Onteria
  2010-11-14 17:02       ` Mick
  1 sibling, 0 replies; 27+ messages in thread
From: Onteria @ 2010-11-14 16:15 UTC (permalink / raw
  To: gentoo-user

> >> Before you go to great pains to get this working, you do know that hal
> >> is checking out right?
> 
> Yes, I knew that.  Maybe I'll just live without the touchpad until HAL
> goes away for good.
> 
> My question is why did the Gentoo maintainers decide to use HAL
> instead of xorg.conf?

The decision to use hal for the hardware configuration was an upstream 
thing. Same thing with switching to udev[1]. Also you could use xorg.conf, 
it just wasn't recommended if hal could work with everything out of the box.

[1] http://www.x.org/wiki/XorgHAL
-- 
Onteria



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-11-14 15:36     ` [gentoo-user] " Grant Edwards
  2010-11-14 16:15       ` Onteria
@ 2010-11-14 17:02       ` Mick
  2010-11-15 15:31         ` Grant Edwards
  1 sibling, 1 reply; 27+ messages in thread
From: Mick @ 2010-11-14 17:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 5505 bytes --]

On Sunday 14 November 2010 15:36:43 Grant Edwards wrote:
> On 2010-11-14, Mick <michaelkintzios@gmail.com> wrote:
> >> Before you go to great pains to get this working, you do know that hal
> >> is checking out right?
> 
> Yes, I knew that.  Maybe I'll just live without the touchpad until HAL
> goes away for good.
> 
> My question is why did the Gentoo maintainers decide to use HAL
> instead of xorg.conf?

Because that's what upstream decided to do.  You can still use your xorg.conf 
though - just remove any /etc/hal/fdi/policy/* files that you have created.

> >> Even the person who wrote it realized the mess it was and it is dying
> >> pretty soon.  I think it is policykit or polkit or something to that
> >> effect.  If you want to start using that instead, it may save you
> >> some headaches later on when it is no longer a option.
> > 
> > As Dale suggests don't waste your time on hal and its fdi files.
> > xorg 1.8.x will be going stable soon and that does away with hal
> > configuration.  I recommend that you unmask it and see if you can
> > control your touchpad easier using an xorg.conf and evdev.  However,
> > the synaptics driver is there for a reason ...
> > 
> > http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide
> > .xml
> > 
> > BTW, if you want to remain with xorg 1.7.x then I recommend you try the
> > following:
> > 
> > 1. Add synaptics to your INPUT_DEVICES in /etc/make.conf - most often
> > 
> >    than not it will just work™ and no further adjustment of
> >    sensitivity is necessary.
> 
> I did that, but the synaptics driver doesn't get used by default. Once
> you've installed it, how do you get the server to use it? I think I
> should abandon HAL and switch to xorg.conf.  It's so much easier to
> use.

You may need to remerge x11-drivers/xf86-input-synaptics.  Then restart xorg 
and check what happens with the touchpad in your Xorg.0.log.


> > 2. Then run lshal to see if your touchpad is recognised.  In my
> > 
> >    laptop (I use hal) it shows this:
> >==================================================
> >
> > udi = '/org/freedesktop/Hal/devices/pci_8086_d132'
> > 
> >   info.parent = '/org/freedesktop/Hal/devices/computer'  (string)
> >   info.product = 'Core Processor DMI'  (string)
> >   info.category = 'input'  (string)
> >   info.parent =
> >   '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port'
> > 
> > (string)
> > 
> >   info.product = 'SynPS/2 Synaptics TouchPad'  (string)
> >   info.subsystem = 'input'  (string)
> >   info.udi =
> > 
> > '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_logicaldev_in
> > put' (string)
> > 
> >   input.device = '/dev/input/event6'  (string)
> >   input.originating_device =
> >   '/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port'  (string)
> >   input.product = 'SynPS/2 Synaptics TouchPad'  (string)
> >   input.x11_driver = 'synaptics'  (string)
> >   input.x11_options.ClickButton1 = '1'  (string)
> >   input.x11_options.HorizEdgeScroll = 'true'  (string)
> >   input.x11_options.MaxTapMove = '2000'  (string)
> >   input.x11_options.TapButton1 = '1'  (string)
> >   input.x11_options.VertEdgeScroll = 'true'  (string)
> >   linux.device_file = '/dev/input/event6'  (string)
> >   linux.hotplug_type = 2  (0x2)  (int)
> >   linux.subsystem = 'input'  (string)
> >   linux.sysfs_path =
> >   '/sys/devices/platform/i8042/serio1/input/input6/event6'
> > 
> > (string)
> >
> >==================================================
> >
> > In the info section above it tells me that touchpad is recognised.
> > Looking into
> > /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi I see that
> > by installing the synaptics driver a hal configuration file was
> > created.
> > 
> > Copy this to /etc/hal/fdi/policy/11-x11-synaptics.fdi (you can call
> > it something different if you wish) and add an option line to adjust
> >
> > sensitivity:
> ><merge key="input.x11_options.PressureMotionMinZ"
> >type="integer">25</merge>
> >
> > Play with different integer values to see what works and also look at
> > the synaptics man page for different options, in case
> > PressureMotionMin is not what you need.  Each time you make a change
> > you should restart hal or the xserver to see the result.
> > 
> > 3. Without synaptics a lot depends on what the evdev or mouse drivers
> > 
> >    can do - they may not have pressure related options to play with.
> >    Again I would start with their man pages and follow the example
> >    above, as long as lshal shows which driver has captured the
> >    touchpad events.
> 
> So you're saying that without the synaptics driver there is no
> sensitivity adjustment?

Probably not - I don't really know.  On my hardware I can't do much without 
the x11-drivers/xf86-input-synaptics driver.  I can't recall if without it I 
was able to get some basic functionality, i.e. moving the cursor around, but 
was not getting multiple finger gestures, tapping/clicking, and edge scrolling 
for sure.  YMMV.

man synaptics shows you all the different options and functionality offered by 
this driver.

To set it up have a look at this:

http://en.gentoo-wiki.com/wiki/Synaptics_Touchpad/Xorg_7.3

Finally, if xorg-server-1.8 is around the corner to be stabilised I suggest 
that you unmask it and use the xorg.conf file that we all know and love.  :-)
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-11-14 17:02       ` Mick
@ 2010-11-15 15:31         ` Grant Edwards
  2010-11-15 17:09           ` Alan McKinnon
  0 siblings, 1 reply; 27+ messages in thread
From: Grant Edwards @ 2010-11-15 15:31 UTC (permalink / raw
  To: gentoo-user

On 2010-11-14, Mick <michaelkintzios@gmail.com> wrote:

> Finally, if xorg-server-1.8 is around the corner to be stabilised I
> suggest that you unmask it and use the xorg.conf file that we all
> know and love.  :-)

Using xorg.conf with 1.7 is simple enough (it's what I do on all my
other machines).  That's why I don't understand why the Gentoo
developers decided to use HAL by default when it seems to be widely
acknowledged to be such a disaster.

-- 
Grant Edwards               grant.b.edwards        Yow! Half a mind is a
                                  at               terrible thing to waste!
                              gmail.com            




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-11-15 15:31         ` Grant Edwards
@ 2010-11-15 17:09           ` Alan McKinnon
  2010-11-15 20:51             ` Grant Edwards
  2010-11-15 22:56             ` Dale
  0 siblings, 2 replies; 27+ messages in thread
From: Alan McKinnon @ 2010-11-15 17:09 UTC (permalink / raw
  To: gentoo-user

Apparently, though unproven, at 17:31 on Monday 15 November 2010, Grant 
Edwards did opine thusly:

> On 2010-11-14, Mick <michaelkintzios@gmail.com> wrote:
> > Finally, if xorg-server-1.8 is around the corner to be stabilised I
> > suggest that you unmask it and use the xorg.conf file that we all
> > know and love.  :-)
> 
> Using xorg.conf with 1.7 is simple enough (it's what I do on all my
> other machines).  That's why I don't understand why the Gentoo
> developers decided to use HAL by default when it seems to be widely
> acknowledged to be such a disaster.

The Gentoo devs made no such decision.

Upstream did.

Gentoo closely tracks upstream, unless upstream is completely broken. HAL 
might be a crock of chit, but it does not render X broken and not usable.


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] How to configure thochpad sensitivity (using hal)?
  2010-11-14  9:46   ` Mick
  2010-11-14 15:36     ` [gentoo-user] " Grant Edwards
@ 2010-11-15 17:48     ` Marc Joliet
  1 sibling, 0 replies; 27+ messages in thread
From: Marc Joliet @ 2010-11-15 17:48 UTC (permalink / raw
  To: Gentoo-User ML

[-- Attachment #1: Type: text/plain, Size: 757 bytes --]

Am Sun, 14 Nov 2010 09:46:51 +0000
schrieb Mick <michaelkintzios@gmail.com>:

[...] 
> As Dale suggests don't waste your time on hal and its fdi files.  xorg 1.8.x 
> will be going stable soon and that does away with hal configuration.  I 
> recommend that you unmask it and see if you can control your touchpad easier 
> using an xorg.conf and evdev.  However, the synaptics driver is there for a 
> reason ...
> 
> http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.8-upgrade-guide.xml
> 
[...]

AIUI, 1.8.x is being skipped. The current stable target is xorg-server 1.9.x
(see https://bugs.gentoo.org/show_bug.cgi?id=344827 and
http://blogs.gentoo.org/scarabeus/2010/11/08/xorg-server-1-9-stabilisation/).

HTH
--
Marc Joliet

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-11-15 17:09           ` Alan McKinnon
@ 2010-11-15 20:51             ` Grant Edwards
  2010-11-15 22:38               ` Alan McKinnon
  2010-11-15 22:56             ` Dale
  1 sibling, 1 reply; 27+ messages in thread
From: Grant Edwards @ 2010-11-15 20:51 UTC (permalink / raw
  To: gentoo-user

On 2010-11-15, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> Apparently, though unproven, at 17:31 on Monday 15 November 2010, Grant 
> Edwards did opine thusly:
>
>> On 2010-11-14, Mick <michaelkintzios@gmail.com> wrote:
>> > Finally, if xorg-server-1.8 is around the corner to be stabilised I
>> > suggest that you unmask it and use the xorg.conf file that we all
>> > know and love.  :-)
>> 
>> Using xorg.conf with 1.7 is simple enough (it's what I do on all my
>> other machines).  That's why I don't understand why the Gentoo
>> developers decided to use HAL by default when it seems to be widely
>> acknowledged to be such a disaster.
>
> The Gentoo devs made no such decision.
>
> Upstream did.
>
> Gentoo closely tracks upstream, unless upstream is completely broken.
> HAL might be a crock of chit, but it does not render X broken and not
> usable.

Whether Xorg uses HAL or not is controlled by a USE flag isn't it? So
upstream choses the defaults for USE flags?

-- 
Grant Edwards               grant.b.edwards        Yow! My BIOLOGICAL ALARM
                                  at               CLOCK just went off ... It
                              gmail.com            has noiseless DOZE FUNCTION
                                                   and full kitchen!!




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-11-15 20:51             ` Grant Edwards
@ 2010-11-15 22:38               ` Alan McKinnon
  2010-11-16  5:25                 ` Grant Edwards
  0 siblings, 1 reply; 27+ messages in thread
From: Alan McKinnon @ 2010-11-15 22:38 UTC (permalink / raw
  To: gentoo-user; +Cc: Grant Edwards

Apparently, though unproven, at 22:51 on Monday 15 November 2010, Grant 
Edwards did opine thusly:

> On 2010-11-15, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> > Apparently, though unproven, at 17:31 on Monday 15 November 2010, Grant
> > 
> > Edwards did opine thusly:
> >> On 2010-11-14, Mick <michaelkintzios@gmail.com> wrote:
> >> > Finally, if xorg-server-1.8 is around the corner to be stabilised I
> >> > suggest that you unmask it and use the xorg.conf file that we all
> >> > know and love.  :-)
> >> 
> >> Using xorg.conf with 1.7 is simple enough (it's what I do on all my
> >> other machines).  That's why I don't understand why the Gentoo
> >> developers decided to use HAL by default when it seems to be widely
> >> acknowledged to be such a disaster.
> > 
> > The Gentoo devs made no such decision.
> > 
> > Upstream did.
> > 
> > Gentoo closely tracks upstream, unless upstream is completely broken.
> > HAL might be a crock of chit, but it does not render X broken and not
> > usable.
> 
> Whether Xorg uses HAL or not is controlled by a USE flag isn't it? So
> upstream choses the defaults for USE flags?

No, upstream chooses the default config out of the box. 

Gentoo does what Gentoo has to do to replicate that config.
Gentoo needs a very good reason to change upstream default behaviour, along 
the lines of extreme brokenness.

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-11-15 17:09           ` Alan McKinnon
  2010-11-15 20:51             ` Grant Edwards
@ 2010-11-15 22:56             ` Dale
  2010-11-15 23:25               ` Alan McKinnon
  1 sibling, 1 reply; 27+ messages in thread
From: Dale @ 2010-11-15 22:56 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon wrote:
> Apparently, though unproven, at 17:31 on Monday 15 November 2010, Grant
> Edwards did opine thusly:
>
>    
>> On 2010-11-14, Mick<michaelkintzios@gmail.com>  wrote:
>>      
>>> Finally, if xorg-server-1.8 is around the corner to be stabilised I
>>> suggest that you unmask it and use the xorg.conf file that we all
>>> know and love.  :-)
>>>        
>> Using xorg.conf with 1.7 is simple enough (it's what I do on all my
>> other machines).  That's why I don't understand why the Gentoo
>> developers decided to use HAL by default when it seems to be widely
>> acknowledged to be such a disaster.
>>      
> The Gentoo devs made no such decision.
>
> Upstream did.
>
> Gentoo closely tracks upstream, unless upstream is completely broken. HAL
> might be a crock of chit, but it does not render X broken and not usable.
>
>
>    

Actually, it rendered mine broken and not usable.  If upstream walks off 
the edge of a cliff, does Gentoo follow upstream then?  What would have 
been nice is if Gentoo would have at least made it something that the 
user has to chose to do pro-actively and not the default.  If they had 
done that, for say six months or more, then the devs would have been 
able to see the disaster and left it off by default.  Actually, they may 
could have even seen that it wasn't going to last at all and then not 
ever have a user using it unless they chose too and enabled it 
themselves.  It's not like hal lasted for many years as a "stable" project.

I generally trust the devs.  I did when I let hal take over the config 
of X since it was the new way of doing things.  You think I feel the 
same way now?  To give you a hint, I haven't switched to polkit or 
whatever it is being called now.  I think the reason is obvious.   I 
don't have the same amount of trust as I did before.  They followed 
upstream with hal and left me in a pickle.  I haven't forgotten that yet 
and won't for a long time.   I'll switch when I am reasonably sure it is 
safe to do so.  That information will come from folks that are users 
tho, not devs.  If a lot of users don't like it or have trouble with it, 
I won't switch.   The key is the users this time.  You, Alan, being one 
of them.  You got more trust with me than the devs do.  Why, I don't 
recall you guiding me off the cliff.

I didn't mention the KDE4 mess on purpose.  KDE didn't leave Gentoo with 
a option since it stopped support for it.  Different situation there.  
Very little choices to pick from.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-11-15 22:56             ` Dale
@ 2010-11-15 23:25               ` Alan McKinnon
  2010-11-16  0:26                 ` Dale
  0 siblings, 1 reply; 27+ messages in thread
From: Alan McKinnon @ 2010-11-15 23:25 UTC (permalink / raw
  To: gentoo-user

Apparently, though unproven, at 00:56 on Tuesday 16 November 2010, Dale did 
opine thusly:

> Actually, it rendered mine broken and not usable.  If upstream walks off 
> the edge of a cliff, does Gentoo follow upstream then?  What would have 
> been nice is if Gentoo would have at least made it something that the 
> user has to chose to do pro-actively and not the default.  If they had 
> done that, for say six months or more, then the devs would have been 
> able to see the disaster and left it off by default.  Actually, they may 
> could have even seen that it wasn't going to last at all and then not 
> ever have a user using it unless they chose too and enabled it 
> themselves.  It's not like hal lasted for many years as a "stable" project.

Actually it did last many years as a stable project. A very very very early 
ubuntu was the first to start using it. That gives it about 3 to 4 years or so 
- a long time in the software world.

In relation to the total number of Gentoo users, the number affected by HAL 
was small indeed. I myself had no ill-effects across several machines (other 
than XML-induced frustration).

Your experience, though painful, was not the norm. Sometimes devs have to make 
hard decisions, like break a small number of user's configs. At least they 
gave you a flag you could use. Once it was evident that HAL was a total POS, 
they have another hard decision: revert to no-HAL? What will that break? How 
many unknown setups out there that are the opposite of Dale? What about the 
next version of X.org that will not support HAL? Do they arbitrarily revert 
the default to sans-HAL only to make it something else next verion? That may 
piss off a lot of users.

> I generally trust the devs.  I did when I let hal take over the config 
> of X since it was the new way of doing things.  You think I feel the 
> same way now?

I think you are colouring the whole canvas with your own singular experience. 
One mis-judgement does not make a wreaked ecosystem, and shit does happen. 
SOmetimes in this world you're the hammer, sometimes the nail. You were the 
nail.

I don't disagree that HAL is an utter POS. I just don't agree with your 
reasoning that brought you personally to that conclusion.

 
-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-11-15 23:25               ` Alan McKinnon
@ 2010-11-16  0:26                 ` Dale
  0 siblings, 0 replies; 27+ messages in thread
From: Dale @ 2010-11-16  0:26 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon wrote:
> Apparently, though unproven, at 00:56 on Tuesday 16 November 2010, Dale did
> opine thusly:
>
>    
>> Actually, it rendered mine broken and not usable.  If upstream walks off
>> the edge of a cliff, does Gentoo follow upstream then?  What would have
>> been nice is if Gentoo would have at least made it something that the
>> user has to chose to do pro-actively and not the default.  If they had
>> done that, for say six months or more, then the devs would have been
>> able to see the disaster and left it off by default.  Actually, they may
>> could have even seen that it wasn't going to last at all and then not
>> ever have a user using it unless they chose too and enabled it
>> themselves.  It's not like hal lasted for many years as a "stable" project.
>>      
> Actually it did last many years as a stable project. A very very very early
> ubuntu was the first to start using it. That gives it about 3 to 4 years or so
> - a long time in the software world.
>
> In relation to the total number of Gentoo users, the number affected by HAL
> was small indeed. I myself had no ill-effects across several machines (other
> than XML-induced frustration).
>
> Your experience, though painful, was not the norm. Sometimes devs have to make
> hard decisions, like break a small number of user's configs. At least they
> gave you a flag you could use. Once it was evident that HAL was a total POS,
> they have another hard decision: revert to no-HAL? What will that break? How
> many unknown setups out there that are the opposite of Dale? What about the
> next version of X.org that will not support HAL? Do they arbitrarily revert
> the default to sans-HAL only to make it something else next verion? That may
> piss off a lot of users.
>
>    
>> I generally trust the devs.  I did when I let hal take over the config
>> of X since it was the new way of doing things.  You think I feel the
>> same way now?
>>      
> I think you are colouring the whole canvas with your own singular experience.
> One mis-judgement does not make a wreaked ecosystem, and shit does happen.
> SOmetimes in this world you're the hammer, sometimes the nail. You were the
> nail.
>
> I don't disagree that HAL is an utter POS. I just don't agree with your
> reasoning that brought you personally to that conclusion.
>
>
>    

When it happens to me, I do take it seriously and I give it a lot of 
thought on future changes.  After having this rig about 7 or 8 years, 
hal is the only reason I have ever had to pull the plug out of the 
wall.  That is what I base my conclusion on because that is what 
happened to me here.  Yea, it worked for a lot of people but it left me 
with a mess.

Maybe everyone that hal worked well for still has that trust.  Thing is, 
it didn't here.  I lost a little of that trust.  Some of the reasoning 
behind this may have a lot to do with my health situation.  I don't 
trust Drs to much either.  They are the reason I am where I am and I 
wish I hadn't trusted them oh so many years ago.  I like to belive that 
people will do the right thing but it appears that depends on the 
situation.  I just got a mess out of them both.  Seems to happen a lot.

What's the old saying:  If it wasn't for bad luck I wouldn't have any 
luck at all.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 27+ messages in thread

* [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-11-15 22:38               ` Alan McKinnon
@ 2010-11-16  5:25                 ` Grant Edwards
  0 siblings, 0 replies; 27+ messages in thread
From: Grant Edwards @ 2010-11-16  5:25 UTC (permalink / raw
  To: gentoo-user

On 2010-11-15, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
>
>> Whether Xorg uses HAL or not is controlled by a USE flag isn't it? So
>> upstream choses the defaults for USE flags?
>
> No, upstream chooses the default config out of the box. 
>
> Gentoo does what Gentoo has to do to replicate that config.

OK. (To me that means that upstream does choose the defaults for USE
flags, but that may just be semantics).

> Gentoo needs a very good reason to change upstream default behaviour,
> along the lines of extreme brokenness.

There are those of us that might think HAL meets that criteria, but
that's pretty much moot at this point. :)

Looking forward to a HAL-free system...

-- 
Grant Edwards               grant.b.edwards        Yow! Okay ... I'm going
                                  at               home to write the "I HATE
                              gmail.com            RUBIK's CUBE HANDBOOK FOR
                                                   DEAD CAT LOVERS" ...




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] How to configure thochpad sensitivity (using hal)?
  2010-11-14  1:10 [gentoo-user] How to configure thochpad sensitivity (using hal)? Grant Edwards
  2010-11-14  2:37 ` Dale
@ 2010-11-18 11:04 ` Fernando Antunes
  2010-11-18 15:48   ` [gentoo-user] " Grant Edwards
  1 sibling, 1 reply; 27+ messages in thread
From: Fernando Antunes @ 2010-11-18 11:04 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1587 bytes --]

On Sat, Nov 13, 2010 at 11:10 PM, Grant Edwards
<grant.b.edwards@gmail.com>wrote:

> Can anybody point me to a hint on how to configure synaptics touchapad
> sensitivity?
>
> The touchpad on my Thinkpad T500 is so sensitive you don't even have
> to touch it. Merely bringing a thumb or finger within 1/8 - 1/4 inch
> will cause the cursor to twitch spasmodically for a second and then
> jump to the lower left corner of the screen.  Once you have a finger
> on the touchpad, it seems to work OK.
>
> I've figured out how to disable it temporarily using the "xinput"
> command, but I would like to actually get it working right.
>
> All the docs I can find seem to assume two things:
>
>  1) an xorg.conf file
>
>  2) the xf86-input-synpatics driver
>
> I'm using neither.
>
> I decided finally to give in and let Xorg use HAL like it wants to by
> default when you do a Gentoo install.
>
> I have a Thinkpad T61 and I do not use xorg.conf. But I am using HAL. The
touchpad works pretty good.

You can adjust synaptics changing the configuration on the
/etc/hal/fdi/policy/11-x11-synaptics.fdi file.
man 4 synaptic can give you a lot of extra options.


> What a huge mistake.  I really, really hate HAL.  With xorg.conf, all
> the settings were in one file, in an easy to read, easy to edit
> format. Now with HAL, they're scattered over several files.  And to
> make sure you can't edit or read them, they're in XML.  I have no idea
> what "problem" HAL is supposed to be solving, but it apprently wasn't
> a problem I ever had -- AFAICT HAL is nothing but pain.
>
> --
> Grant
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 2211 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-11-18 11:04 ` Fernando Antunes
@ 2010-11-18 15:48   ` Grant Edwards
  2010-11-18 22:24     ` Mick
  0 siblings, 1 reply; 27+ messages in thread
From: Grant Edwards @ 2010-11-18 15:48 UTC (permalink / raw
  To: gentoo-user

On 2010-11-18, Fernando Antunes <fs.antunes@gmail.com> wrote:
> On Sat, Nov 13, 2010 at 11:10 PM, Grant Edwards
><grant.b.edwards@gmail.com>wrote:
>
>> Can anybody point me to a hint on how to configure synaptics touchapad
>> sensitivity?

>> All the docs I can find seem to assume two things:
>>
>>  1) an xorg.conf file
>>
>>  2) the xf86-input-synpatics driver
>>
>> I'm using neither.

> You can adjust synaptics changing the configuration on the
> /etc/hal/fdi/policy/11-x11-synaptics.fdi file.
> man 4 synaptic can give you a lot of extra options.

That only works if you're using the synaptics driver -- which I'm not.

I haven't figured out how to do that yet.  It was built, since I
included it in INPUT_DEVICES, but HAL decided not to use it.

-- 
Grant Edwards               grant.b.edwards        Yow! Wait ... is this a FUN
                                  at               THING or the END of LIFE in
                              gmail.com            Petticoat Junction??




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-11-18 15:48   ` [gentoo-user] " Grant Edwards
@ 2010-11-18 22:24     ` Mick
  2010-11-19  4:55       ` Grant Edwards
  0 siblings, 1 reply; 27+ messages in thread
From: Mick @ 2010-11-18 22:24 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1142 bytes --]

On Thursday 18 November 2010 15:48:23 Grant Edwards wrote:
> On 2010-11-18, Fernando Antunes <fs.antunes@gmail.com> wrote:
> > On Sat, Nov 13, 2010 at 11:10 PM, Grant Edwards
> >
> ><grant.b.edwards@gmail.com>wrote:
> >> Can anybody point me to a hint on how to configure synaptics touchapad
> >> sensitivity?
> >> 
> >> All the docs I can find seem to assume two things:
> >>  1) an xorg.conf file
> >>  
> >>  2) the xf86-input-synpatics driver
> >> 
> >> I'm using neither.
> > 
> > You can adjust synaptics changing the configuration on the
> > /etc/hal/fdi/policy/11-x11-synaptics.fdi file.
> > man 4 synaptic can give you a lot of extra options.
> 
> That only works if you're using the synaptics driver -- which I'm not.
> 
> I haven't figured out how to do that yet.  It was built, since I
> included it in INPUT_DEVICES, but HAL decided not to use it.

What does your Xorg.0.log say about synaptics?

$ cat /var/log/Xorg.0.log | grep synaptics
(II) LoadModule: "synaptics"
(II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-11-18 22:24     ` Mick
@ 2010-11-19  4:55       ` Grant Edwards
  2010-11-19 11:41         ` Mick
  0 siblings, 1 reply; 27+ messages in thread
From: Grant Edwards @ 2010-11-19  4:55 UTC (permalink / raw
  To: gentoo-user

On 2010-11-18, Mick <michaelkintzios@gmail.com> wrote:
> On Thursday 18 November 2010 15:48:23 Grant Edwards wrote:
>>
>>> You can adjust synaptics changing the configuration on the
>>> /etc/hal/fdi/policy/11-x11-synaptics.fdi file. man 4 synaptic can
>>> give you a lot of extra options.
>> 
>> That only works if you're using the synaptics driver -- which I'm not.
>> 
>> I haven't figured out how to do that yet.  It was built, since I
>> included it in INPUT_DEVICES, but HAL decided not to use it.
>
> What does your Xorg.0.log say about synaptics?
>
> $ cat /var/log/Xorg.0.log | grep synaptics
> (II) LoadModule: "synaptics"
> (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
> (II) Module synaptics: vendor="X.Org Foundation"

$ grep -i synaptic /var/log/Xorg.0.log
(II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
(**) SynPS/2 Synaptics TouchPad: always reports core events
(**) SynPS/2 Synaptics TouchPad: Device: "/dev/input/event6"
(II) SynPS/2 Synaptics TouchPad: Found 3 mouse buttons
(II) SynPS/2 Synaptics TouchPad: Found absolute axes
(II) SynPS/2 Synaptics TouchPad: Found x and y absolute axes
(II) SynPS/2 Synaptics TouchPad: Found absolute touchpad.
(II) SynPS/2 Synaptics TouchPad: Configuring as touchpad
(**) SynPS/2 Synaptics TouchPad: YAxisMapping: buttons 4 and 5
(**) SynPS/2 Synaptics TouchPad: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
(**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
(**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 0
(II) SynPS/2 Synaptics TouchPad: initialized for absolute axes.


$ emerge --search synaptics
Searching...    
[ Results for search key : synaptics ]
[ Applications found : 1 ]

*  x11-drivers/xf86-input-synaptics
      Latest version available: 1.2.1
      Latest version installed: 1.2.1
      Size of files: 288 kB
      Homepage:      http://cgit.freedesktop.org/xorg/driver/xf86-input-synaptics/
      Description:   Driver for Synaptics touchpads
      License:       MIT

      
$ grep -i synaptics /etc/make.conf
INPUT_DEVICES="evdev keyboard mouse synaptics" 


$ find /usr/lib -name '*synaptics*'
/usr/lib/xorg/modules/input/synaptics_drv.so
/usr/lib/pkgconfig/xorg-synaptics.pc






^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-11-19  4:55       ` Grant Edwards
@ 2010-11-19 11:41         ` Mick
  2010-12-12  1:52           ` Grant Edwards
  0 siblings, 1 reply; 27+ messages in thread
From: Mick @ 2010-11-19 11:41 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 3054 bytes --]

On Friday 19 November 2010 04:55:23 Grant Edwards wrote:
> On 2010-11-18, Mick <michaelkintzios@gmail.com> wrote:
> > On Thursday 18 November 2010 15:48:23 Grant Edwards wrote:
> >>> You can adjust synaptics changing the configuration on the
> >>> /etc/hal/fdi/policy/11-x11-synaptics.fdi file. man 4 synaptic can
> >>> give you a lot of extra options.
> >> 
> >> That only works if you're using the synaptics driver -- which I'm not.
> >> 
> >> I haven't figured out how to do that yet.  It was built, since I
> >> included it in INPUT_DEVICES, but HAL decided not to use it.
> > 
> > What does your Xorg.0.log say about synaptics?

> $ grep -i synaptic /var/log/Xorg.0.log
> (II) config/hal: Adding input device SynPS/2 Synaptics TouchPad

Excellent!  It seems then that HAL picks up your touchpad and uses it.

So,

# touch /etc/hal/fdi/policy/11-x11-synaptics.fdi

and paste this in it:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
        <merge key="input.x11_options.VertEdgeScroll" 
type="string">true</merge>
        <merge key="input.x11_options.MaxTapMove" type="string">2000</merge>
        <merge key="input.x11_options.HorizEdgeScroll" 
type="string">true</merge>
        <merge key="input.x11_options.TapButton1" type="string">1</merge>
        <merge key="input.x11_options.ClickButton1" type="string">1</merge>
        <!-- Arbitrary options can be passed to the driver using
             the input.x11_options property since xorg-server-1.5. -->
        <!-- EXAMPLES:
        Switch on shared memory, enables the driver to be configured at 
runtime
        <merge key="input.x11_options.SHMConfig" type="string">true</merge>

        Maximum movement of the finger for detecting a tap
        <merge key="input.x11_options.MaxTapMove" type="string">2000</merge>

        Enable vertical scrolling when dragging along the right edge
        <merge key="input.x11_options.VertEdgeScroll" 
type="string">true</merge>

        Enable vertical scrolling when dragging with two fingers anywhere on 
the touchpad
        <merge key="input.x11_options.VertTwoFingerScroll" 
type="string">true</merge>

        Enable horizontal scrolling when dragging with two fingers anywhere on 
the touchpad
        <merge key="input.x11_options.HorizTwoFingerScroll" 
type="string">true</merge>

        If on, circular scrolling is used
        <merge key="input.x11_options.CircularScrolling" 
type="string">true</merge>

        For other possible options, check CONFIGURATION DETAILS in synaptics 
man page
        -->
    </match>
  </device>
</deviceinfo>


Then see the examples in the file and man synaptics for finely tuning your 
touchpad.  However ... I would at this stage suggest again that you have a 
look at xorg-server-1.9.x instead of trying to get HAL working.

HTH.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-11-19 11:41         ` Mick
@ 2010-12-12  1:52           ` Grant Edwards
  2010-12-12  5:57             ` Valmor de Almeida
  0 siblings, 1 reply; 27+ messages in thread
From: Grant Edwards @ 2010-12-12  1:52 UTC (permalink / raw
  To: gentoo-user

On 2010-11-19, Mick <michaelkintzios@gmail.com> wrote:

>>>> That only works if you're using the synaptics driver -- which I'm
>>>> not.
>>>> 
>>>> I haven't figured out how to do that yet.  It was built, since I
>>>> included it in INPUT_DEVICES, but HAL decided not to use it.
>>> 
>>> What does your Xorg.0.log say about synaptics?
>
>> $ grep -i synaptic /var/log/Xorg.0.log
>> (II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
>
> Excellent!  It seems then that HAL picks up your touchpad and uses it.
[...]
> # touch /etc/hal/fdi/policy/11-x11-synaptics.fdi
>
> and paste this in it:
>
><?xml version="1.0" encoding="ISO-8859-1"?>
><deviceinfo version="0.2">
>  <device>
>     <match key="info.capabilities" contains="input.touchpad">
>         <merge key="input.x11_driver" type="string">synaptics</merge>
[ synaptic driver options]
>     </match>
>  </device>
></deviceinfo>
>
> Then see the examples in the file and man synaptics for finely tuning your 
> touchpad.  However ... I would at this stage suggest again that you have a 
> look at xorg-server-1.9.x instead of trying to get HAL working.

Brilliant.  After tweaking a few of the pressure settings, my touchpad
works great!  The hard part is remembering to restart hald as well as
the X server whenever you make any changes...

-- 
Grant




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-12-12  1:52           ` Grant Edwards
@ 2010-12-12  5:57             ` Valmor de Almeida
  2010-12-12 10:59               ` Mick
  0 siblings, 1 reply; 27+ messages in thread
From: Valmor de Almeida @ 2010-12-12  5:57 UTC (permalink / raw
  To: gentoo-user

On 12/11/2010 08:52 PM, Grant Edwards wrote:
> On 2010-11-19, Mick <michaelkintzios@gmail.com> wrote:
> 
[snip]
>>
>> and paste this in it:
>>
>> <?xml version="1.0" encoding="ISO-8859-1"?>
>> <deviceinfo version="0.2">
>>  <device>
>>     <match key="info.capabilities" contains="input.touchpad">
>>         <merge key="input.x11_driver" type="string">synaptics</merge>
> [ synaptic driver options]
>>     </match>
>>  </device>
>> </deviceinfo>
>>
>> Then see the examples in the file and man synaptics for finely tuning your 
>> touchpad.  However ... I would at this stage suggest again that you have a 
>> look at xorg-server-1.9.x instead of trying to get HAL working.
> 
> Brilliant.  After tweaking a few of the pressure settings, my touchpad
> works great!  The hard part is remembering to restart hald as well as
> the X server whenever you make any changes...
> 

Thanks for all the posts. I finally fixed the same problem I've had with
my Thinkpad X201. In my case I had to do

1) Edit /etc/make.conf  INPUT_DEVICES="evdev synaptics"
2) emerge xorg-drivers (also emerged xorg-server and xorg-x11 to be on
the safe side)
3) cp /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi
/etc/hal/fdi/policy/.
4) edit 11-x11-synaptics.fdi
5) /etc/init.d/hald restart
6) restart xorg-server

--
Valmor



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-12-12  5:57             ` Valmor de Almeida
@ 2010-12-12 10:59               ` Mick
  2010-12-12 17:10                 ` Valmor de Almeida
  0 siblings, 1 reply; 27+ messages in thread
From: Mick @ 2010-12-12 10:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1796 bytes --]

On Sunday 12 December 2010 05:57:19 Valmor de Almeida wrote:
> On 12/11/2010 08:52 PM, Grant Edwards wrote:
> > On 2010-11-19, Mick <michaelkintzios@gmail.com> wrote:
> [snip]
> 
> >> and paste this in it:
> >> 
> >> <?xml version="1.0" encoding="ISO-8859-1"?>
> >> <deviceinfo version="0.2">
> >> 
> >>  <device>
> >>  
> >>     <match key="info.capabilities" contains="input.touchpad">
> >>     
> >>         <merge key="input.x11_driver" type="string">synaptics</merge>
> > 
> > [ synaptic driver options]
> > 
> >>     </match>
> >>  
> >>  </device>
> >> 
> >> </deviceinfo>
> >> 
> >> Then see the examples in the file and man synaptics for finely tuning
> >> your touchpad.  However ... I would at this stage suggest again that
> >> you have a look at xorg-server-1.9.x instead of trying to get HAL
> >> working.
> > 
> > Brilliant.  After tweaking a few of the pressure settings, my touchpad
> > works great!  The hard part is remembering to restart hald as well as
> > the X server whenever you make any changes...
> 
> Thanks for all the posts. I finally fixed the same problem I've had with
> my Thinkpad X201. In my case I had to do
> 
> 1) Edit /etc/make.conf  INPUT_DEVICES="evdev synaptics"
> 2) emerge xorg-drivers (also emerged xorg-server and xorg-x11 to be on
> the safe side)
> 3) cp /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi
> /etc/hal/fdi/policy/.
> 4) edit 11-x11-synaptics.fdi
> 5) /etc/init.d/hald restart
> 6) restart xorg-server

Guys I'm glad that my pointers helped you get it going - but I have to say 
that soon with xorg-server-1.9 becoming stable HAL and its xml configuration 
files will be a thing of the past.

Still, you have the satisfaction of cracking this one!  :-)

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-12-12 10:59               ` Mick
@ 2010-12-12 17:10                 ` Valmor de Almeida
  2010-12-13  0:17                   ` Peter Humphrey
  0 siblings, 1 reply; 27+ messages in thread
From: Valmor de Almeida @ 2010-12-12 17:10 UTC (permalink / raw
  To: gentoo-user

On 12/12/2010 05:59 AM, Mick wrote:
[snip]
> 
> Guys I'm glad that my pointers helped you get it going - but I have to say 
> that soon with xorg-server-1.9 becoming stable HAL and its xml configuration 
> files will be a thing of the past.
> 
> Still, you have the satisfaction of cracking this one!  :-)
> 

Looking forward to xorg-server-1.9.

Thanks,

--
Valmor



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-12-12 17:10                 ` Valmor de Almeida
@ 2010-12-13  0:17                   ` Peter Humphrey
  2010-12-13  5:04                     ` Valmor de Almeida
  0 siblings, 1 reply; 27+ messages in thread
From: Peter Humphrey @ 2010-12-13  0:17 UTC (permalink / raw
  To: gentoo-user

On Sunday 12 December 2010 17:10:10 Valmor de Almeida wrote:

> Looking forward to xorg-server-1.9.

So why not install it? It's been running here for three months without a 
single problem.

Just add x11-base/xorg-server to /etc/portage/package.keywords. Job 
done.

-- 
Rgds
Peter.          Linux Counter 5290, 1994-04-23.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?
  2010-12-13  0:17                   ` Peter Humphrey
@ 2010-12-13  5:04                     ` Valmor de Almeida
  0 siblings, 0 replies; 27+ messages in thread
From: Valmor de Almeida @ 2010-12-13  5:04 UTC (permalink / raw
  To: gentoo-user

On 12/12/2010 07:17 PM, Peter Humphrey wrote:
> On Sunday 12 December 2010 17:10:10 Valmor de Almeida wrote:
> 
>> Looking forward to xorg-server-1.9.
> 
> So why not install it? It's been running here for three months without a 
> single problem.
> 
> Just add x11-base/xorg-server to /etc/portage/package.keywords. Job 
> done.
> 
Soon after travel; don't need surprises on the road.

--
Valmor



^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2010-12-13  5:06 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-14  1:10 [gentoo-user] How to configure thochpad sensitivity (using hal)? Grant Edwards
2010-11-14  2:37 ` Dale
2010-11-14  9:46   ` Mick
2010-11-14 15:36     ` [gentoo-user] " Grant Edwards
2010-11-14 16:15       ` Onteria
2010-11-14 17:02       ` Mick
2010-11-15 15:31         ` Grant Edwards
2010-11-15 17:09           ` Alan McKinnon
2010-11-15 20:51             ` Grant Edwards
2010-11-15 22:38               ` Alan McKinnon
2010-11-16  5:25                 ` Grant Edwards
2010-11-15 22:56             ` Dale
2010-11-15 23:25               ` Alan McKinnon
2010-11-16  0:26                 ` Dale
2010-11-15 17:48     ` [gentoo-user] " Marc Joliet
2010-11-14  9:55   ` Sebastian Beßler
2010-11-18 11:04 ` Fernando Antunes
2010-11-18 15:48   ` [gentoo-user] " Grant Edwards
2010-11-18 22:24     ` Mick
2010-11-19  4:55       ` Grant Edwards
2010-11-19 11:41         ` Mick
2010-12-12  1:52           ` Grant Edwards
2010-12-12  5:57             ` Valmor de Almeida
2010-12-12 10:59               ` Mick
2010-12-12 17:10                 ` Valmor de Almeida
2010-12-13  0:17                   ` Peter Humphrey
2010-12-13  5:04                     ` Valmor de Almeida

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox