Re: [gentoo-user] Trouble with xorg-server-1.5.2, hal and synaptics on a Samsung NC10

2009-03-09 Thread Dragos Petre
On Fri, Mar 6, 2009 at 10:38 AM, Daniel Pielmeier 
daniel.pielme...@googlemail.com wrote:

 2009/3/6 Dragos Petre drpet...@gmail.com:
 
  Thanks, Daniel! Just tried it - commented out altogether the synaptics
  section in the 10-x11-input.fdi section but I get exactly the same
 result.
  Anybody other ideas?
 
  Best Regards,
  Dragos.
 

 Did you also try to replace it with the contents of the other file and
 how does the Xorg.0.log look now?

 --
 Regards,
 Daniel


I've also tried xorg-server-1.5.3-r2 but the problems are the same. Anybody
any other ideas?

Thanks,
Dragos.


Re: [gentoo-user] Trouble with xorg-server-1.5.2, hal and synaptics on a Samsung NC10

2009-03-06 Thread Daniel Pielmeier
2009/3/6 Dragos Petre drpet...@gmail.com:
 Hi, everybody!

 I have recently upgraded to x11-base/xorg-server-1.5.2 and since then I've
 started having problems with my touchpad although IMO I have followed the
 correct steps to migrate to hal-based hotplugging. My computer is a Samsung
 NC10 netbook with a Synaptics Touchpad.

 I have basic mouse functionality, i.e. cursor move and button click, but no
 tapping, edge scrolling etc although according to hal-device the correct
 options are loaded - please see below

 I cannot use synclient as I get a
 Can't access shared memory area. SHMConfig disabled?
 error.

 One give-away of what the issue may be is that Xorg.0.log shows the
 synaptics device to be configured as mouse. Does that make any sense?

 I'm using sys-kernel/gentoo-sources-2.6.27-r9, sys-apps/hal-0.5.11-r8 and
 x11-drivers/xf86-input-synaptics-0.15.2-r2 although I have tried
 x11-drivers/xf86-input-synaptics-1.0.0 to no avail.

 You can find below the output/content of
 hal-device
 xorg.conf
 Xorg.0.log
 emerge --info


And what about your x11-input.fdi? I guess you don't have one! Take a
look here [1] for a documented example.
If you want xorg-server and hal working you need:

xorg-server built with hal use flag and evdev as input-device.
comment out the input sections in xorg.conf.
a fdi file placed at /etc/hal/fdi/policy/10-x11-input.fdi (basically
the configuration done in xorg.conf prior is now done in this file)

[1] http://cgit.freedesktop.org/xorg/xserver/tree/config/x11-input.fdi

-- 
Regards,
Daniel



Re: [gentoo-user] Trouble with xorg-server-1.5.2, hal and synaptics on a Samsung NC10

2009-03-06 Thread Dragos Petre
On Fri, Mar 6, 2009 at 9:15 AM, Daniel Pielmeier 
daniel.pielme...@googlemail.com wrote:

 2009/3/6 Dragos Petre drpet...@gmail.com:
  Hi, everybody!
 
  I have recently upgraded to x11-base/xorg-server-1.5.2 and since then
 I've
  started having problems with my touchpad although IMO I have followed the
  correct steps to migrate to hal-based hotplugging. My computer is a
 Samsung
  NC10 netbook with a Synaptics Touchpad.
 
  I have basic mouse functionality, i.e. cursor move and button click, but
 no
  tapping, edge scrolling etc although according to hal-device the correct
  options are loaded - please see below
 
  I cannot use synclient as I get a
  Can't access shared memory area. SHMConfig disabled?
  error.
 
  One give-away of what the issue may be is that Xorg.0.log shows the
  synaptics device to be configured as mouse. Does that make any sense?
 
  I'm using sys-kernel/gentoo-sources-2.6.27-r9, sys-apps/hal-0.5.11-r8 and
  x11-drivers/xf86-input-synaptics-0.15.2-r2 although I have tried
  x11-drivers/xf86-input-synaptics-1.0.0 to no avail.
 
  You can find below the output/content of
  hal-device
  xorg.conf
  Xorg.0.log
  emerge --info
 

 And what about your x11-input.fdi? I guess you don't have one! Take a
 look here [1] for a documented example.
 If you want xorg-server and hal working you need:

 xorg-server built with hal use flag and evdev as input-device.
 comment out the input sections in xorg.conf.
 a fdi file placed at /etc/hal/fdi/policy/10-x11-input.fdi (basically
 the configuration done in xorg.conf prior is now done in this file)

 [1] http://cgit.freedesktop.org/xorg/xserver/tree/config/x11-input.fdi

 --
 Regards,
 Daniel


Sorry about the incomplete information, I have the following in

/usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi

?xml version=1.0 encoding=ISO-8859-1?
deviceinfo version=0.2
  device
!-- FIXME: Support tablets too. --
match key=info.capabilities contains=input.mouse
  merge key=input.x11_driver type=stringmouse/merge
  match key=/org/freedesktop/Hal/devices/computer:system.kernel.name
 string=Linux
merge key=input.x11_driver type=stringevdev/merge
  /match
/match

match key=info.capabilities contains=input.touchpad
  merge key=input.x11_driver type=stringmouse/merge
  match key=/org/freedesktop/Hal/devices/computer:system.kernel.name
 string=Linux
merge key=input.x11_driver type=stringevdev/merge
  /match
/match

match key=info.capabilities contains=input.keys
  !-- If we're using Linux, we use evdev by default (falling back to
   keyboard otherwise). --
  merge key=input.x11_driver type=stringkeyboard/merge
  match key=/org/freedesktop/Hal/devices/computer:system.kernel.name
 string=Linux
merge key=input.x11_driver type=stringevdev/merge
  /match
/match
  /device
/deviceinfo

and I have in /etc/hal/fdi/policy/11-x11-synaptics.fdi

?xml version=1.0 encoding=ISO-8859-1?
deviceinfo version=0.2
  device
match key=info.capabilities contains=input.touchpad
  match key=info.product contains=Synaptics TouchPad
merge key=input.x11_driver type=stringsynaptics/merge
match key=/org/freedesktop/Hal/devices/computer:system.kernel.name
 string=Linux
merge key=input.x11_driver type=stringevdev/merge
merge key=input.x11_options.LeftEdge type=string1700/merge
merge key=input.x11_options.RightEdge type=string5300/merge
merge key=input.x11_options.TopEdge type=string1700/merge
merge key=input.x11_options.BottomEdge type=string4200/merge
merge key=input.x11_options.FingerLow type=string25/merge
merge key=input.x11_options.FingerHigh type=string30/merge
merge key=input.x11_options.MaxTapMove type=string220/merge
merge key=input.x11_options.MaxDoubleTapTime
type=string1000/merge
merge key=input.x11_options.FastTaps type=stringTrue/merge
merge key=input.x11_options.MaxTapTime type=string180/merge
merge key=input.x11_options.VertScrollDelta type=string100/merge
merge key=input.x11_options.MinSpeed type=string0.10/merge
merge key=input.x11_options.MaxSpeed type=string0.70/merge
merge key=input.x11_options.AccelFactor type=string0.0010/merge
merge key=input.x11_options.SHMConfig type=stringOn/merge
merge key=input.x11_options.VertTwoFingerScroll
type=string1/merge
merge key=input.x11_options.HorizTwoFingerScroll
type=string1/merge
merge key=input.x11_options.VertEdgeScroll type=stringTrue/merge
merge key=input.x11_options.HorizEdgeScroll
type=stringTrue/merge
merge key=input.x11_options.TapButton1 type=string1/merge
merge key=input.x11_options.TapButton2 type=string2/merge
merge key=input.x11_options.TapButton3 type=string3/merge


  /match

!-- Arbitrary options can be passed to the driver using
 the input.x11_options property since xorg-server-1.5. --
!-- EXAMPLE:
merge 

Re: [gentoo-user] Trouble with xorg-server-1.5.2, hal and synaptics on a Samsung NC10

2009-03-06 Thread Daniel Pielmeier
2009/3/6 Dragos Petre drpet...@gmail.com:

 Sorry about the incomplete information, I have the following in

 /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi

     match key=info.capabilities contains=input.touchpad
   merge key=input.x11_driver type=stringmouse/merge
   match key=/org/freedesktop/Hal/devices/computer:system.kernel.name
  string=Linux
     merge key=input.x11_driver type=stringevdev/merge
   /match
     /match

My guess is having the in 10-x11-input.fdi and 11-x11-synaptics.fdi 10
gets loaded before 11. In 10 you are specifing mouse as driver for
your touchpad so the touchpad uses this driver and the 11 file can not
overwrite that as the device already has a driver configured.

So you can either try to remove that input.touchpad section from
10-x11-input.fdi or replace it by the contents of
11-x11-synaptics.fdi.

-- 
Regards,
Daniel



Re: [gentoo-user] Trouble with xorg-server-1.5.2, hal and synaptics on a Samsung NC10

2009-03-06 Thread Dragos Petre
On Fri, Mar 6, 2009 at 9:50 AM, Daniel Pielmeier 
daniel.pielme...@googlemail.com wrote:

 2009/3/6 Dragos Petre drpet...@gmail.com:
 
  Sorry about the incomplete information, I have the following in
 
  /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi
 
  match key=info.capabilities contains=input.touchpad
merge key=input.x11_driver type=stringmouse/merge
match key=/org/freedesktop/Hal/devices/computer:
 system.kernel.name
   string=Linux
  merge key=input.x11_driver type=stringevdev/merge
/match
  /match

 My guess is having the in 10-x11-input.fdi and 11-x11-synaptics.fdi 10
 gets loaded before 11. In 10 you are specifing mouse as driver for
 your touchpad so the touchpad uses this driver and the 11 file can not
 overwrite that as the device already has a driver configured.

 So you can either try to remove that input.touchpad section from
 10-x11-input.fdi or replace it by the contents of
 11-x11-synaptics.fdi.

 --
 Regards,
 Daniel


Thanks, Daniel! Just tried it - commented out altogether the synaptics
section in the 10-x11-input.fdi section but I get exactly the same result.
Anybody other ideas?

Best Regards,
Dragos.


Re: [gentoo-user] Trouble with xorg-server-1.5.2, hal and synaptics on a Samsung NC10

2009-03-06 Thread Daniel Pielmeier
2009/3/6 Dragos Petre drpet...@gmail.com:

 Thanks, Daniel! Just tried it - commented out altogether the synaptics
 section in the 10-x11-input.fdi section but I get exactly the same result.
 Anybody other ideas?

 Best Regards,
 Dragos.


Did you also try to replace it with the contents of the other file and
how does the Xorg.0.log look now?

-- 
Regards,
Daniel



Re: [gentoo-user] Trouble with xorg-server-1.5.2, hal and synaptics on a Samsung NC10

2009-03-06 Thread Justin
I would suggest you to go with 1.5.3. It is much better then 1.5.2.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Trouble with xorg-server-1.5.2, hal and synaptics on a Samsung NC10

2009-03-06 Thread Dragos Petre
On Fri, Mar 6, 2009 at 10:38 AM, Daniel Pielmeier 
daniel.pielme...@googlemail.com wrote:

 2009/3/6 Dragos Petre drpet...@gmail.com:
 
  Thanks, Daniel! Just tried it - commented out altogether the synaptics
  section in the 10-x11-input.fdi section but I get exactly the same
 result.
  Anybody other ideas?
 
  Best Regards,
  Dragos.
 

 Did you also try to replace it with the contents of the other file and
 how does the Xorg.0.log look now?

 --
 Regards,
 Daniel

 Daniel,

I tried replacing the original settings too and the effect is the same. The
relevant lines in Xorg.0.log are still

(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/event4
(II) SynPS/2 Synaptics TouchPad: Found x and y absolute axes
(II) SynPS/2 Synaptics TouchPad: Found absolute touchpad
(II) SynPS/2 Synaptics TouchPad: Found mouse buttons
(II) SynPS/2 Synaptics TouchPad: Configuring as mouse
(II) XINPUT: Adding extended input device SynPS/2 Synaptics TouchPad
(type: MOUSE)

Justin,

I'll give 1.5.3 a go this evening and let you know how it goes. Thanks for
the suggestion!

Dragos.