Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2005 09:17:29 -0600
From:      Eric Schuele <e.schuele@computer.org>
To:        Tom.Lislegaard@proact.no
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: 6.0RC1 - enabling synaptics touchpad freezes machine
Message-ID:  <4374B609.5010801@computer.org>
In-Reply-To: <20051111101123.X7050@tom.internal.proact.no>
References:  <20051031154521.G3650@tom.internal.proact.no> <4370B638.1000909@computer.org> <20051109131806.R7050@tom.internal.proact.no><4373CBAE.7060703@computer.org	> <20051111101123.X7050@tom.internal.proact.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Tom.Lislegaard@proact.no wrote:
> 
> 
> On Thu, 10 Nov 2005, Eric Schuele wrote:
> 
>> Tom.Lislegaard@proact.no wrote:
>>
>>>
>>>
>>> On Tue, 8 Nov 2005, Eric Schuele wrote:
>>>
>>>> Tom.Lislegaard@proact.no wrote:
>>>>
>>>>>
>>>>> I try to enable touchpad support on an Acer Travelmate 8104
>>>>> by setting hw.psm.synaptics_support="1" in loader.conf.
>>>>>
>>>>
>>>> I have a synaptics touchpad on a Dell Inspiron.  I've never used the 
>>>> above (and never had the problems you mention below)...
>>>>
>>>> I add
>>>>  hint.psm.0.flags="0x1000"
>>>> to my /boot/device.hints file to get it working.
>>>>
>>>> Might give it a try.  Presently running 6.0-STABLE as of this 
>>>> morning... but the above hint has been working since 5.x days.
>>>>
>>>
>>> I should have expressed myself better. The touchpad works with no 
>>> special
>>> settings, but only as a generic 2-button ps2 mouse. What I'm after is
>>> "more buttons" and that should (in theory) be accomplished with the
>>> synaptics_support setting.
>>> Eric, could you try to set this variable and see if it works with your
>>> hardware?
>>
>>
>> Sorry for not responding sooner.
>> What "more buttons" would I experience?  Presently I can use the left, 
>> the right, and both at the same time.  I don't mind setting it... but 
>> what should I do to see if the desired functionality exists?  Or are 
>> we just looking for it to hang my machine (or not)?
>>
> It would be of some value to know if this is a general problem or
> something specific to my hardware/configuration.
> 
> As to the question of "more buttons", the most interesting are buttons
> 4 and 5 for scrolling. If you decide to try it out, you need to set
> something like this in xorg.conf
> 
>  Section "InputDevice"
>         Identifier  "Mouse0"
>         Driver      "mouse"
>         Option      "Protocol" "Auto"
>         Option      "Device" "/dev/psm0"
>         Option      "ZAxisMapping" "4 5"
>         Option      "Buttons" "5"
>  EndSection
> 

OK..
I added hw.psm.synaptics_support="1" too my /boot/loader.conf and
rebooted.  I also have:
   moused_enable="YES"
   moused_port="/dev/psm0"
   moused_type="auto"
in rc.conf.  After reboot things are still fine.  Mouse is available on
console.

I make the above changes to xorg.conf.  Now X wont come up.  It
complains of no access to /dev/psm0 (device busy)!?  I leave all of the 
above in xorg.conf and revert back to 'option "Device" "/dev/sysmouse"' 
and X comes back up.... but I can see no noticeable difference in mouse
behavior.  Using xev (which I am unfamiliar with, other than to watch
the events fly by)... offers nothing that looks new.

Then I decide to remove the hint I mention above... no mouse at all in
console... not reported in dmesg either.  X of course complains of no
/dev/psm0.

Running X as root in any of the above situations yields no better results.

So... while my machine did not fail in the same fashion as yours...I
can't seem to get 'synaptics_support' working.

If you need me to try anything else let me know.

HTH.

> I'm not sure how buttons are numbered on this device. Given that it
> works in "synaptics mode" you can check the assignment with xev.
> 
> -tom
> 
>>>
>>> I'm no kernel hacker, but any advice on how to debug this would be
>>> appreciated.
>>>
>>> -tom
>>>
>>>> HTH
>>>>
>>>>> After that any access to psm0 seems to hang the machine solid.
>>>>> For instance running 'moused -p /dev/psm0' or starting Xorg with
>>>>> psm0 as mousedevice freezes the machine immediately, and I have
>>>>> to use the power button to recover.
>>>>>
>>>>> This is an out-of-the-box 6.0RC1 Generic kernel. The only
>>>>> other change I've done is to disable acpi, though that doesn't
>>>>> change anything regarding the touchpad problem.
>>>>>
>>>>> Is anyone else seeing something similar (and preferably have
>>>>> a solution)?
>>>>>
>>>>> Output of dmesg is found below.
>>>>>
>>>>> -tom
>>>>>
>>>>
>>>> -- 
>>>> Regards,
>>>> Eric
>>>>
>>> _______________________________________________
>>> freebsd-mobile@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
>>> To unsubscribe, send any mail to 
>>> "freebsd-mobile-unsubscribe@freebsd.org"
>>>
>>
>>
>> -- 
>> Regards,
>> Eric
>>
> 


-- 
Regards,
Eric





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4374B609.5010801>