From owner-freebsd-mobile@FreeBSD.ORG Fri Nov 11 15:29:14 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 350F216A41F for ; Fri, 11 Nov 2005 15:29:14 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id F048843D5E for ; Fri, 11 Nov 2005 15:29:07 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [208.206.151.59] (host59.gtisd.com[208.206.151.59]) by comcast.net (sccrmhc11) with ESMTP id <20051111151744011001em5qe>; Fri, 11 Nov 2005 15:17:50 +0000 Message-ID: <4374B609.5010801@computer.org> Date: Fri, 11 Nov 2005 09:17:29 -0600 From: Eric Schuele User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051107) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom.Lislegaard@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> In-Reply-To: <20051111101123.X7050@tom.internal.proact.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: 6.0RC1 - enabling synaptics touchpad freezes machine X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Nov 2005 15:29:14 -0000 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