From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LfVNS-0003GP-5Y for garchives@archives.gentoo.org; Fri, 06 Mar 2009 08:25:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E66DE049C; Fri, 6 Mar 2009 08:25:48 +0000 (UTC) Received: from mail-fx0-f175.google.com (mail-fx0-f175.google.com [209.85.220.175]) by pigeon.gentoo.org (Postfix) with ESMTP id A61DFE049C for ; Fri, 6 Mar 2009 08:25:47 +0000 (UTC) Received: by fxm23 with SMTP id 23so238986fxm.34 for ; Fri, 06 Mar 2009 00:25:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=ISWucZu7laHCbGUdJjWuXYpNm1y1/czKF8qdYb1IsuU=; b=R1Fe2FeDegk1akjRJndmkR5EbEMuYtbumdxlgi6BxmWxlgpLLrL2dyfXwqpHgdeDKF 1DOt3JROuY8ZD/QypeCy7lSF4BJZh8YbfoUuXloUS+o/yydCoy6E+ernef8Tak/7rF0l 59bWHr6I4yYqzp6+qZniyzc3mlitR7aV/6u0E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=x5JP9xdnl5Ad60u4O3EA9jyMOQVyakyAcQ/IcT92wrdmoCFtBOK0RKe5no47J/33SJ 2R9FujY4WBJ4KZlCFXZbhw5FMbKaipgxNxI1DbMrimwVGl1Ks3YE7fxhSJh2/e6eHAVa 3nqBLcN4BFJzShIPeLbWuzGG1/lP4D+biEP4U= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.223.114.135 with SMTP id e7mr1740496faq.89.1236327941907; Fri, 06 Mar 2009 00:25:41 -0800 (PST) In-Reply-To: <6142e6140903060015w3d8ae9c1m7fe513f40bf5181d@mail.gmail.com> References: <93d016ce0903052335r4cd5f886x6fb003c511773d9c@mail.gmail.com> <6142e6140903060015w3d8ae9c1m7fe513f40bf5181d@mail.gmail.com> Date: Fri, 6 Mar 2009 09:25:41 +0100 Message-ID: <93d016ce0903060025o10d0f5f0s593215d093b0ab8a@mail.gmail.com> Subject: Re: [gentoo-user] Trouble with xorg-server-1.5.2, hal and synaptics on a Samsung NC10 From: Dragos Petre To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary=001636c5ae01cdb4ad04646f079d X-Archives-Salt: b9edd884-a9ed-431c-894b-adbec14cbbe0 X-Archives-Hash: 7538b84371f6e0e03efab3cc34d28f10 --001636c5ae01cdb4ad04646f079d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Fri, Mar 6, 2009 at 9:15 AM, Daniel Pielmeier < daniel.pielmeier@googlemail.com> wrote: > 2009/3/6 Dragos Petre : > > 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 mouse evdev mouse evdev keyboard evdev and I have in /etc/hal/fdi/policy/11-x11-synaptics.fdi synaptics evdev 1700 5300 1700 4200 25 30 220 1000 True 180 100 0.10 0.70 0.0010 On 1 1 True True 1 2 3 synaptics synaptics synaptics true 0 1280 0 800 1 3 2 0 0 1 1 0 40 10 16 80 256 0 10 200 0.8 1.2 0.10 25 223 200 0 0 0 0 0 0 0 I guess the issue is somewhere else... Dragos. --001636c5ae01cdb4ad04646f079d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Fri, Mar 6, 2009 at 9:15 AM, Daniel P= ielmeier <daniel.pielmeier@googlemail.com> wrote:
2009/3/6 Dragos Petre <drpetrea@gm= ail.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 Sa= msung
> NC10 netbook with a Synaptics Touchpad.
>
> I have basic mouse functionality, i.e. cursor move and button click, b= ut no
> tapping, edge scrolling etc although according to hal-device the corre= ct
> 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! Ta= ke 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/con= fig/x11-input.fdi

--
Regards,
Daniel


Sorry about the incomplete information, I hav= e the following in

/usr/share/hal/fdi/policy/10osvendor/10-x11-inpu= t.fdi

<?xml version=3D"1.0" encoding=3D"ISO-8859-1= "?>
<deviceinfo version=3D"0.2">
=A0 <device>
=A0= =A0=A0 <!-- FIXME: Support tablets too. -->
=A0=A0=A0 <match ke= y=3D"info.capabilities" contains=3D"input.mouse">=A0=A0=A0=A0=A0 <merge key=3D"input.x11_driver" type=3D"= string">mouse</merge>
=A0=A0=A0=A0=A0 <match key=3D"/org/freedesktop/Hal/devices/computer= :system.kernel.name"
=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 string=3D"Linux">
=A0=A0= =A0=A0=A0=A0=A0 <merge key=3D"input.x11_driver" type=3D"s= tring">evdev</merge>
=A0=A0=A0=A0=A0 </match>
=A0=A0=A0 </match>

=A0=A0=A0= <match key=3D"info.capabilities" contains=3D"input.touch= pad">
=A0=A0=A0=A0=A0 <merge key=3D"input.x11_driver&quo= t; type=3D"string">mouse</merge>
=A0=A0=A0=A0=A0 <match key=3D"/org/freedesktop/Hal/devices/computer= :system.kernel.name"
=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 string=3D"Linux">
=A0=A0= =A0=A0=A0=A0=A0 <merge key=3D"input.x11_driver" type=3D"s= tring">evdev</merge>
=A0=A0=A0=A0=A0 </match>
=A0=A0=A0 </match>

=A0=A0=A0= <match key=3D"info.capabilities" contains=3D"input.keys&= quot;>
=A0=A0=A0=A0=A0 <!-- If we're using Linux, we use evdev= by default (falling back to
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 keyboard otherwise). -->
=A0=A0=A0=A0= =A0 <merge key=3D"input.x11_driver" type=3D"string"&= gt;keyboard</merge>
=A0=A0=A0=A0=A0 <match key=3D"/org/fre= edesktop/Hal/devices/computer:system.= kernel.name"
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 string=3D"Linux">
=A0= =A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_driver" type=3D&quo= t;string">evdev</merge>
=A0=A0=A0=A0=A0 </match>
= =A0=A0=A0 </match>
=A0 </device>
</deviceinfo>

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

<?xml = version=3D"1.0" encoding=3D"ISO-8859-1"?>
<dev= iceinfo version=3D"0.2">
=A0 <device>
=A0=A0=A0 &l= t;match key=3D"info.capabilities" contains=3D"input.touchpad= ">
=A0=A0=A0=A0=A0 <match key=3D"info.product" contains=3D"S= ynaptics TouchPad">
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"= input.x11_driver" type=3D"string">synaptics</merge>=
=A0=A0=A0 <match key=3D"/org/freedesktop/Hal/devices/computer:<= a href=3D"http://system.kernel.name">system.kernel.name"
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 string=3D"Linux">
=A0= =A0=A0 <merge key=3D"input.x11_driver" type=3D"string&quo= t;>evdev</merge>
=A0=A0=A0 <merge key=3D"input.x11_opti= ons.LeftEdge" type=3D"string">1700</merge>
=A0=A0=A0 <merge key=3D"input.x11_options.RightEdge" type=3D&q= uot;string">5300</merge>
=A0=A0=A0 <merge key=3D"i= nput.x11_options.TopEdge" type=3D"string">1700</merge&= gt;
=A0=A0=A0 <merge key=3D"input.x11_options.BottomEdge" t= ype=3D"string">4200</merge>
=A0=A0=A0 <merge key=3D"input.x11_options.FingerLow" type=3D&q= uot;string">25</merge>
=A0=A0=A0 <merge key=3D"inp= ut.x11_options.FingerHigh" type=3D"string">30</merge&g= t;
=A0=A0=A0 <merge key=3D"input.x11_options.MaxTapMove" ty= pe=3D"string">220</merge>
=A0=A0=A0 <merge key=3D"input.x11_options.MaxDoubleTapTime" ty= pe=3D"string">1000</merge>
=A0=A0=A0 <merge key=3D= "input.x11_options.FastTaps" type=3D"string">True<= ;/merge>
=A0=A0=A0 <merge key=3D"input.x11_options.MaxTapTime= " type=3D"string">180</merge>
=A0=A0=A0 <merge key=3D"input.x11_options.VertScrollDelta" typ= e=3D"string">100</merge>
=A0=A0=A0 <merge key=3D&q= uot;input.x11_options.MinSpeed" type=3D"string">0.10</= merge>
=A0=A0=A0 <merge key=3D"input.x11_options.MaxSpeed&quo= t; type=3D"string">0.70</merge>
=A0=A0=A0 <merge key=3D"input.x11_options.AccelFactor" type=3D= "string">0.0010</merge>
=A0=A0=A0 <merge key=3D&qu= ot;input.x11_options.SHMConfig" type=3D"string">On</me= rge>
=A0=A0=A0 <merge key=3D"input.x11_options.VertTwoFingerS= croll" type=3D"string">1</merge>
=A0=A0=A0 <merge key=3D"input.x11_options.HorizTwoFingerScroll"= ; type=3D"string">1</merge>
=A0=A0=A0 <merge key= =3D"input.x11_options.VertEdgeScroll" type=3D"string"&g= t;True</merge>
=A0=A0=A0 <merge key=3D"input.x11_options.HorizEdgeScroll" typ= e=3D"string">True</merge>
=A0=A0=A0 <merge key=3D&= quot;input.x11_options.TapButton1" type=3D"string">1</= merge>
=A0=A0=A0 <merge key=3D"input.x11_options.TapButton2&q= uot; type=3D"string">2</merge>
=A0=A0=A0 <merge key=3D"input.x11_options.TapButton3" type=3D&= quot;string">3</merge>


=A0=A0=A0=A0=A0 </match&= gt;
=A0=A0=A0
=A0=A0=A0 <!-- Arbitrary options can be passed to t= he driver using
=A0=A0=A0 =A0=A0=A0=A0 the input.x11_options property s= ince xorg-server-1.5. -->
=A0=A0=A0 <!-- EXAMPLE:
=A0=A0=A0 <merge key=3D"input.x11_opt= ions.LeftEdge" type=3D"string">120</merge>
=A0= =A0=A0 -->
=A0=A0=A0=A0=A0 </match>
=A0=A0=A0=A0=A0 <matc= h key=3D"info.product" contains=3D"AlpsPS/2 ALPS"> =A0=A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_driver" type=3D&= quot;string">synaptics</merge>
=A0=A0=A0=A0=A0 </match&= gt;
=A0=A0=A0=A0=A0 <match key=3D"info.product" contains=3D= "appletouch">
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"i= nput.x11_driver" type=3D"string">synaptics</merge><= br> =A0=A0=A0=A0=A0 </match>
=A0=A0=A0=A0=A0 <match key=3D"inf= o.product" contains=3D"bcm5974">
=A0=A0=A0=A0=A0=A0=A0= <merge key=3D"input.x11_driver" type=3D"string">= synaptics</merge>
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"inpu= t.x11_options.SHMConfig" type=3D"string">true</merge&g= t;
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_options.LeftEdge"= ; type=3D"string">0</merge>
=A0=A0=A0=A0=A0=A0=A0 <= ;merge key=3D"input.x11_options.RightEdge" type=3D"string&qu= ot;>1280</merge>
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"in= put.x11_options.TopEdge" type=3D"string">0</merge><= br> =A0=A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_options.BottomEdge&qu= ot; type=3D"string">800</merge>
=A0=A0=A0=A0=A0=A0=A0= <merge key=3D"input.x11_options.ClickFinger1" type=3D"st= ring">1</merge>
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_options.ClickFinger2&= quot; type=3D"string">3</merge>
=A0=A0=A0=A0=A0=A0=A0= <merge key=3D"input.x11_options.ClickFinger3" type=3D"st= ring">2</merge>
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_options.HorizEdgeScro= ll" type=3D"string">0</merge>
=A0=A0=A0=A0=A0=A0= =A0 <merge key=3D"input.x11_options.VertEdgeScroll" type=3D&qu= ot;string">0</merge>
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_options.VertTwoFinger= Scroll" type=3D"string">1</merge>
=A0=A0=A0=A0= =A0=A0=A0 <merge key=3D"input.x11_options.HorizTwoFingerScroll"= ; type=3D"string">1</merge>
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_options.HorizScrollDe= lta" type=3D"string">0</merge>
=A0=A0=A0=A0=A0= =A0=A0 <merge key=3D"input.x11_options.VertScrollDelta" type= =3D"string">40</merge>
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_options.PressureMotio= nMinZ" type=3D"string">10</merge>
=A0=A0=A0=A0= =A0=A0=A0 <merge key=3D"input.x11_options.FingerLow" type=3D&q= uot;string">16</merge>
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_options.FingerHigh&qu= ot; type=3D"string">80</merge>
=A0=A0=A0=A0=A0=A0=A0 = <merge key=3D"input.x11_options.FingerPress" type=3D"stri= ng">256</merge>
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_options.PalmDetect&qu= ot; type=3D"string">0</merge>
=A0=A0=A0=A0=A0=A0=A0 &= lt;merge key=3D"input.x11_options.PalmMinWidth" type=3D"stri= ng">10</merge>
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_options.PalmMinZ"= ; type=3D"string">200</merge>
=A0=A0=A0=A0=A0=A0=A0 &= lt;merge key=3D"input.x11_options.MinSpeed" type=3D"string&q= uot;>0.8</merge>
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"in= put.x11_options.MaxSpeed" type=3D"string">1.2</merge&g= t;
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_options.AccelFactor&q= uot; type=3D"string">0.10</merge>
=A0=A0=A0=A0=A0=A0= =A0 <merge key=3D"input.x11_options.MaxTapMove" type=3D"s= tring">25</merge>
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_options.MaxTapTime&qu= ot; type=3D"string">223</merge>
=A0=A0=A0=A0=A0=A0=A0= <merge key=3D"input.x11_options.MaxDoubleTapTime" type=3D&quo= t;string">200</merge>
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_options.TapButton1&qu= ot; type=3D"string">0</merge>
=A0=A0=A0=A0=A0=A0=A0 &= lt;merge key=3D"input.x11_options.TapButton2" type=3D"string= ">0</merge>
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"in= put.x11_options.TapButton3" type=3D"string">0</merge&g= t;
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_options.RTCornerButto= n" type=3D"string">0</merge>
=A0=A0=A0=A0=A0=A0= =A0 <merge key=3D"input.x11_options.RBCornerButton" type=3D&qu= ot;string">0</merge>
=A0=A0=A0=A0=A0=A0=A0 <merge key=3D"input.x11_options.LTCornerButto= n" type=3D"string">0</merge>
=A0=A0=A0=A0=A0=A0= =A0 <merge key=3D"input.x11_options.LBCornerButton" type=3D&qu= ot;string">0</merge>
=A0=A0=A0=A0=A0 </match>
=A0=A0=A0 </match>
=A0 </devi= ce>
</deviceinfo>

I guess the issue is somewhere else...=
Dragos.
--001636c5ae01cdb4ad04646f079d--