Date: Tue, 17 Jun 2014 13:54:27 -0400 From: Anthony Jenkins <Scoobi_doo@yahoo.com> To: Ivan Rokotov <ivan.rokotov.bsd@gmail.com> Cc: Eric McCorkle <eric@metricspace.net>, "freebsd-mobile@freebsd.org" <freebsd-mobile@freebsd.org> Subject: Re: [Patch] psm(4) ClickPad detection (was Re: Lenovo W540 so far) Message-ID: <53A080D3.2000207@yahoo.com> In-Reply-To: <CAOTTJKFCEjUL6zUy6e18Yn0YTJ7CBa9FFAML3xMSU0Vad2o1zA@mail.gmail.com> References: <539DA73B.7050709@metricspace.net> <CAOTTJKEamc=tsFJxz0H43wxhJpowy0Nm-4JBCjozzi%2Brfcp=6Q@mail.gmail.com> <1402931204.35984.YahooMailNeo@web140703.mail.bf1.yahoo.com> <58DCAA2E-44DA-48F3-87B3-366301F55138@metricspace.net> <CAOTTJKFwXJOyaW-7fX3300jfBu4WQYqgte%2BuE9cvej_NxULAPw@mail.gmail.com> <53A02532.60201@metricspace.net> <53A03BAF.3020807@yahoo.com> <CAOTTJKFLbwUj0q9vyFZf4kWf95NgF_SqN2nWurp_aD8qbVg54g@mail.gmail.com> <CAOTTJKFCEjUL6zUy6e18Yn0YTJ7CBa9FFAML3xMSU0Vad2o1zA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06/17/2014 13:30, Ivan Rokotov wrote: > Anyway, I tested your patch. This is from my logs. (It also blocked my > keyboard under X - I don't know if I had to rebuild my keyboard and > synaptics drivers.) Weird... shouldn't have any affect on your keyboard...I'm typing on my laptop now! Can you grep(1) your kernel messages for 'atkbd' and grep the Xorg log for '\(keyboard\|kbd\)'? [root@ajenkins-hplaptop /usr/ports/x11-servers/xorg-server/work/xorg-server-1.12.4]# bzcat /var/log/messages.0.bz2 | grep atkbd Jun 17 08:08:39 ajenkins-hplaptop kernel: atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 Jun 17 08:08:39 ajenkins-hplaptop kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0 Jun 17 08:08:39 ajenkins-hplaptop kernel: kbd0 at atkbd0 Jun 17 08:08:39 ajenkins-hplaptop kernel: atkbd0: [GIANT-LOCKED] Jun 17 08:08:39 ajenkins-hplaptop kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0 [root@ajenkins-hplaptop /usr/ports/x11-servers/xorg-server/work/xorg-server-1.12.4]# grep '\(keyboard\|kbd\)' /var/log/Xorg.0.log [ 20.428] (==) |-->Input Device "<default keyboard>" [ 20.428] (==) No Layout section. Using the default keyboard configuration. [ 20.460] (II) LoadModule: "kbd" [ 20.461] (II) Loading /usr/local/lib/xorg/modules/input/kbd_drv.so [ 20.461] (II) Module kbd: vendor="X.Org Foundation" [ 20.806] (II) Using input driver 'kbd' for '<default keyboard>' [ 20.806] (**) <default keyboard>: always reports core events [ 20.806] (**) <default keyboard>: always reports core events [ 20.807] (II) XINPUT: Adding extended input device "<default keyboard>" (type: KEYBOARD, id 7) > psm0: current command byte:0063 > Synaptics Touchpad v8.1 > Model information: > infoRot180: 0 > infoPortrait: 0 > infoSensor: 1 > infoHardware: 113 > infoNewAbs: 1 > capPen: 0 > infoSimplC: 1 > infoGeometry: 1 > Extended capabilities: > capExtended: 1 > capMiddle: 0 > nExtendedQueries: 5 > capPassthrough: 0 > capSleep: 0 > capFourButtons: 0 > capMultiFinger: 1 > capPalmDetect: 1 > Extended capabilities (0x0c query): > capClickPad: 1 > capClickPad2Btn: 0 > capMaxDimensions: 1 > capMinDimensions: 1 > capAdvGesture: 0 > capReducedFiltering: 1 > capImageSensor: 1 > Additional Buttons: 0 > psm0: found Synaptics Touchpad > psm0: <PS/2 Mouse> irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: model Synaptics Touchpad, device ID 0-00, 3 buttons > psm0: config:00004000, flags:00000008, packet size:6 > psm0: syncmask:c0, syncbits:00 > > In Xorg log I got > [ 368.692] (--) synaptics: Touchpad0: synaptics touchpad found > [ 368.692] (--) synaptics: Touchpad0: no supported touchpad found > [ 368.692] (EE) synaptics: Touchpad0: Unable to query/initialize > Synaptics hardware. > but again, I didn't recompile any drivers. > > Thanks! > Ivan Yeah I wanna say that's because xf86-input-synaptics is talking to /dev/psm0 instead of /dev/sysmouse, but that doesn't sound right. Anyway that's what I'm looking at now - the devd patch to x11-servers/xorg-server, and next is x11-drivers/xf86-input-synaptics. If you're handy with code you could probably find the code in xf86-input-synaptics that balks at the Synaptics device. My goal is having the user install these two packages on a touchpad laptop and have it just DTRT and correctly load the Synaptics driver. Anthony
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53A080D3.2000207>