Dell Precision 7520 laptop: built-in mouse "fail"; USB mouse OK

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Dell Precision 7520 laptop: built-in mouse "fail"; USB mouse OK

David Wolfskill
As I've migrated from one laptop to another (since around 2000), I don't
recall encountering issues with the built-in mouse before, so this
caught me a bit off guard.  :-}

My last several laptops have all been Dell machines; the one I've
been using regularly for the last 3 years in a Precision M4800;
information on it may be found at
<https://wiki.freebsd.org/Laptops/Dell_Precision_M4800?highlight=(\bCategoryLaptop\b)>,
and copies of full verbose dmesg.boot files (running stable/11 &
head, built this morning) may be found via
<http://www.catwhisker.org/~david/FreeBSD/history/>.

Yesterday, I took delivery of a Dell Precision 7520, the superficial
appearance of which is quite like that of the M4800: Each has both
trackpoint ("eraser-head") pointer and a trackpad; for each machine,
the trackpad has a set of 3 buttons across the top and  a set of 3
across the bottom.  (And in each, the set of "mouse components" is
offset to the left by about half the width of the numeric keypad that I
don't use and wish wasn't there.  :-/ )

However, while the mouse "just works" on the M4800, it does absolutely
nothing in FreeBSD (except create a stationary cursor).  (It works
fine going into the BIOS setup and making adjustments to various
things, so this isn't a hardware issue, per se.)

I built stable/11 @r331093 (amd64) on each of them and saved a verbose
dmesg.boot on each; I have copied them to
<http://www.catwhisker.org/~david/FreeBSD/laptops/>.

I extracted the part (of the dmesgboot files) that involves the
keyboard and mouse for comparison here:

--- dmesg.boot.4800 2018-03-17 08:57:05.704318000 -0700
+++ dmesg.boot.7520 2018-03-17 08:57:49.776148000 -0700
@@ -7,7 +7,7 @@
 kbdc: RESET_KBD status:00aa
 kbd0 at atkbd0
 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
-ioapic0: routing intpin 1 (ISA IRQ 1) to lapic 4 vector 53
+ioapic0: routing intpin 1 (ISA IRQ 1) to lapic 6 vector 51
 atkbd0: [GIANT-LOCKED]
 random: harvesting attach, 8 bytes (4 bits) from atkbd0
 psm0: unable to allocate IRQ
@@ -21,19 +21,19 @@
 kbdc: RESET_AUX return code:00fa
 kbdc: RESET_AUX status:00aa
 kbdc: RESET_AUX ID:0000
-psm: status 00 02 64
-psm: status 00 00 64
-psm: status 00 03 64
-psm: status 00 03 64
-psm: data 08 00 00
-psm: status 00 00 14
-psm: status 00 00 14
-psm: status 73 03 0a
+psm: status 00 64 02
+psm: status 00 64 00
+psm: status 00 64 03
+psm: status 00 64 03
+psm: data 00 00 00
+psm: status 00 14 00
+psm: status 00 14 00
+psm: status 10 64 00
 psm: status 00 02 64
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
-ioapic0: routing intpin 12 (ISA IRQ 12) to lapic 6 vector 53
+ioapic0: routing intpin 12 (ISA IRQ 12) to lapic 0 vector 53
 psm0: [GIANT-LOCKED]
-psm0: model GlidePoint, device ID 0-00, 2 buttons
+psm0: model GlidePoint, device ID 0-00, 100 buttons
 psm0: config:00004000, flags:00000008, packet size:3
 psm0: syncmask:c0, syncbits:00
 random: harvesting attach, 8 bytes (4 bits) from psm0

Does anyone else think it a bit "ambitious" of the 7520's mouse to claim
"100 buttons"?

Is, perhaps, something getting reported... wrongly?  (If so, may that be
corrected somoehow?)

I tried plugging in a USB mouse; it Just Worked.

The BIOS on the 7520 is now at 10.10.2; on receipt, it had 1.7.1.  The
observed behavior was the same for each.

Thanks for any hints!

(As far as performance building FreeBSD -- and ports -- it seems to be a
fine machine for my intended use... if I can fix this... and get the
Atheros "QCA6174 802.11ac Wireless Network Adapter" to be recognized &
used.)

Peace,
david
--
David H. Wolfskill [hidden email]
Trump administration: victimizing the defrauded and supporting the fraudsters

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

signature.asc (631 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Dell Precision 7520 laptop: built-in mouse "fail"; USB mouse OK

Vladimir Kondratyev-3
On 2018-03-17 19:33, David Wolfskill wrote:

> Yesterday, I took delivery of a Dell Precision 7520, the superficial
> appearance of which is quite like that of the M4800: Each has both
> trackpoint ("eraser-head") pointer and a trackpad; for each machine,
> the trackpad has a set of 3 buttons across the top and  a set of 3
> across the bottom.  (And in each, the set of "mouse components" is
> offset to the left by about half the width of the numeric keypad that I
> don't use and wish wasn't there.  :-/ )
>
> However, while the mouse "just works" on the M4800, it does absolutely
> nothing in FreeBSD (except create a stationary cursor).  (It works
> fine going into the BIOS setup and making adjustments to various
> things, so this isn't a hardware issue, per se.)

It's probably that your laptop has an ALPS touchpad:
https://www.driveridentifier.com/scan/dell-inc-precision-7520-precision-sku07b0/desktop/F70B463F27B0466AA190E50F67469F64

Unfortunately it is not supported by FreeBSD.

I think the best you can do is to remove outdated "ALPS GlidePoint" from
psm's driver probe list and play around hint.psm.0.flags in
/boot/device.hints

--- sys/dev/atkbdc/psm.c
+++ sys/dev/atkbdc/psm.c
@@ -680,8 +680,6 @@ static struct {
           0x04, MOUSE_ELANTECH_PACKETSIZE, enable_elantech },
         { MOUSE_MODEL_INTELLI,          /* Microsoft IntelliMouse */
           0x08, MOUSE_PS2INTELLI_PACKETSIZE, enable_msintelli },
-       { MOUSE_MODEL_GLIDEPOINT,       /* ALPS GlidePoint */
-         0xc0, MOUSE_PS2_PACKETSIZE, enable_aglide },
         { MOUSE_MODEL_THINK,            /* Kensington ThinkingMouse */
           0x80, MOUSE_PS2_PACKETSIZE, enable_kmouse },
         { MOUSE_MODEL_VERSAPAD,         /* Interlink electronics
VersaPad */

>
> Peace,
> david

--
WBR
Vladimir Kondratyev
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: Dell Precision 7520 laptop: built-in mouse "fail"; USB mouse OK

David Wolfskill
On Sun, Mar 18, 2018 at 02:02:39AM +0300, Vladimir Kondratyev wrote:
> ...
> > However, while the mouse "just works" on the M4800, it does absolutely
> > nothing in FreeBSD (except create a stationary cursor).  (It works
> > fine going into the BIOS setup and making adjustments to various
> > things, so this isn't a hardware issue, per se.)
>
> It's probably that your laptop has an ALPS touchpad:
> https://www.driveridentifier.com/scan/dell-inc-precision-7520-precision-sku07b0/desktop/F70B463F27B0466AA190E50F67469F64

Hmm...  interesting page -- but I see some entries that are
definitely different from the machine I have, including:

* NVIDIA graphics in my machine is a "Quadro M1200" (vs. "Quadro M2200")
* Wireless NIC is a Qualcomm Atheros part (vs. Intel(R) Dual Band
  Wireless-AC 8265")

> Unfortunately it is not supported by FreeBSD.
>
> I think the best you can do is to remove outdated "ALPS GlidePoint" from
> psm's driver probe list and play around hint.psm.0.flags in
> /boot/device.hints

I'm confused: why would you refer to "ALPS GlidePoint" as "outdated"?
The laptop I'm currently usng (the M4800) seems to probe the trackpad
thus, and it has been working fine.  Its predecessor (a Dell Precision
M4400) had similar hardware, with which I never had a problem,; I
strongly suspect that it was probed similarly.  Likewise for the M4400's
predecessors....

> --- sys/dev/atkbdc/psm.c
> +++ sys/dev/atkbdc/psm.c
> @@ -680,8 +680,6 @@ static struct {
>            0x04, MOUSE_ELANTECH_PACKETSIZE, enable_elantech },
>          { MOUSE_MODEL_INTELLI,          /* Microsoft IntelliMouse */
>            0x08, MOUSE_PS2INTELLI_PACKETSIZE, enable_msintelli },
> -       { MOUSE_MODEL_GLIDEPOINT,       /* ALPS GlidePoint */
> -         0xc0, MOUSE_PS2_PACKETSIZE, enable_aglide },
>          { MOUSE_MODEL_THINK,            /* Kensington ThinkingMouse */
>            0x80, MOUSE_PS2_PACKETSIZE, enable_kmouse },
>          { MOUSE_MODEL_VERSAPAD,         /* Interlink electronics
> VersaPad */
> ...
> --
> WBR
> Vladimir Kondratyev
Thanks for responding, though! :-)

Peace,
david
--
David H. Wolfskill [hidden email]
Trump administration: victimizing the defrauded and supporting the fraudsters

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

signature.asc (631 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Dell Precision 7520 laptop: built-in mouse "fail"; USB mouse OK

colbystanley
Stop emailing me

On Mar 17, 2018 7:21 PM, "David Wolfskill" <[hidden email]> wrote:

> On Sun, Mar 18, 2018 at 02:02:39AM +0300, Vladimir Kondratyev wrote:
> > ...
> > > However, while the mouse "just works" on the M4800, it does absolutely
> > > nothing in FreeBSD (except create a stationary cursor).  (It works
> > > fine going into the BIOS setup and making adjustments to various
> > > things, so this isn't a hardware issue, per se.)
> >
> > It's probably that your laptop has an ALPS touchpad:
> > https://www.driveridentifier.com/scan/dell-inc-precision-
> 7520-precision-sku07b0/desktop/F70B463F27B0466AA190E50F67469F64
>
> Hmm...  interesting page -- but I see some entries that are
> definitely different from the machine I have, including:
>
> * NVIDIA graphics in my machine is a "Quadro M1200" (vs. "Quadro M2200")
> * Wireless NIC is a Qualcomm Atheros part (vs. Intel(R) Dual Band
>   Wireless-AC 8265")
>
> > Unfortunately it is not supported by FreeBSD.
> >
> > I think the best you can do is to remove outdated "ALPS GlidePoint" from
> > psm's driver probe list and play around hint.psm.0.flags in
> > /boot/device.hints
>
> I'm confused: why would you refer to "ALPS GlidePoint" as "outdated"?
> The laptop I'm currently usng (the M4800) seems to probe the trackpad
> thus, and it has been working fine.  Its predecessor (a Dell Precision
> M4400) had similar hardware, with which I never had a problem,; I
> strongly suspect that it was probed similarly.  Likewise for the M4400's
> predecessors....
>
> > --- sys/dev/atkbdc/psm.c
> > +++ sys/dev/atkbdc/psm.c
> > @@ -680,8 +680,6 @@ static struct {
> >            0x04, MOUSE_ELANTECH_PACKETSIZE, enable_elantech },
> >          { MOUSE_MODEL_INTELLI,          /* Microsoft IntelliMouse */
> >            0x08, MOUSE_PS2INTELLI_PACKETSIZE, enable_msintelli },
> > -       { MOUSE_MODEL_GLIDEPOINT,       /* ALPS GlidePoint */
> > -         0xc0, MOUSE_PS2_PACKETSIZE, enable_aglide },
> >          { MOUSE_MODEL_THINK,            /* Kensington ThinkingMouse */
> >            0x80, MOUSE_PS2_PACKETSIZE, enable_kmouse },
> >          { MOUSE_MODEL_VERSAPAD,         /* Interlink electronics
> > VersaPad */
> > ...
> > --
> > WBR
> > Vladimir Kondratyev
>
> Thanks for responding, though! :-)
>
> Peace,
> david
> --
> David H. Wolfskill                              [hidden email]
> Trump administration: victimizing the defrauded and supporting the
> fraudsters
>
> See http://www.catwhisker.org/~david/publickey.gpg for my public key.
>
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: Dell Precision 7520 laptop: built-in mouse "fail"; USB mouse OK

Vladimir Kondratyev-3
In reply to this post by David Wolfskill
On 2018-03-18 02:20, David Wolfskill wrote:

> On Sun, Mar 18, 2018 at 02:02:39AM +0300, Vladimir Kondratyev wrote:
>> It's probably that your laptop has an ALPS touchpad:
>> https://www.driveridentifier.com/scan/dell-inc-precision-7520-precision-sku07b0/desktop/F70B463F27B0466AA190E50F67469F64
>
> Hmm...  interesting page -- but I see some entries that are
> definitely different from the machine I have, including:
>
> * NVIDIA graphics in my machine is a "Quadro M1200" (vs. "Quadro
> M2200")
> * Wireless NIC is a Qualcomm Atheros part (vs. Intel(R) Dual Band
>   Wireless-AC 8265")

Try to boot any modern Linux live cd and than grep boot log for "PS/2"
string. It should give a clue to your trackpad model name.

>> Unfortunately it is not supported by FreeBSD.
>>
>> I think the best you can do is to remove outdated "ALPS GlidePoint"
>> from
>> psm's driver probe list and play around hint.psm.0.flags in
>> /boot/device.hints
>
> I'm confused: why would you refer to "ALPS GlidePoint" as "outdated"?

Something that called "ALPS GlidePoint" support in current FreeBSD
really does a button remap for 20 years old particular model rather then
absolute mode activation and packet parsing as it should do.
Moreover, there is a report that it just hurts:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218347


--
WBR
Vladimir Kondratyev
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: Dell Precision 7520 laptop: built-in mouse "fail"; USB mouse OK

Shawn Webb-3
In reply to this post by David Wolfskill
On Sat, Mar 17, 2018 at 09:33:48AM -0700, David Wolfskill wrote:

> As I've migrated from one laptop to another (since around 2000), I don't
> recall encountering issues with the built-in mouse before, so this
> caught me a bit off guard.  :-}
>
> My last several laptops have all been Dell machines; the one I've
> been using regularly for the last 3 years in a Precision M4800;
> information on it may be found at
> <https://wiki.freebsd.org/Laptops/Dell_Precision_M4800?highlight=(\bCategoryLaptop\b)>,
> and copies of full verbose dmesg.boot files (running stable/11 &
> head, built this morning) may be found via
> <http://www.catwhisker.org/~david/FreeBSD/history/>.
>
> Yesterday, I took delivery of a Dell Precision 7520, the superficial
> appearance of which is quite like that of the M4800: Each has both
> trackpoint ("eraser-head") pointer and a trackpad; for each machine,
> the trackpad has a set of 3 buttons across the top and  a set of 3
> across the bottom.  (And in each, the set of "mouse components" is
> offset to the left by about half the width of the numeric keypad that I
> don't use and wish wasn't there.  :-/ )
>
> However, while the mouse "just works" on the M4800, it does absolutely
> nothing in FreeBSD (except create a stationary cursor).  (It works
> fine going into the BIOS setup and making adjustments to various
> things, so this isn't a hardware issue, per se.)
>
> I built stable/11 @r331093 (amd64) on each of them and saved a verbose
> dmesg.boot on each; I have copied them to
> <http://www.catwhisker.org/~david/FreeBSD/laptops/>.
>
> I extracted the part (of the dmesgboot files) that involves the
> keyboard and mouse for comparison here:
How different is the 7520 from the 7510? I'm running HardenedBSD
12-CURRENT on the 7510 without issues. Both the trackpad and the thing
below and between the G and H keys (I totally forgot what it's called)
work fine for me. Multitouch for vertical scrolling on the trackpad
works fine, too.

I haven't tried 11-STABLE on this laptop.

Thanks,

--
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

Tor-ified Signal:    +1 443-546-8752
GPG Key ID:          0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Dell Precision 7520 laptop: built-in mouse "fail"; USB mouse OK

David Wolfskill
On Sun, Mar 18, 2018 at 08:41:12PM -0400, Shawn Webb wrote:
> ...
> How different is the 7520 from the 7510?

Well, if I go to Dell's Web site, the "7000 Series" only lists the 7520
and the 7720 now, so I'm guessing that the 7510 may have been last
year's model...?  As far as actual components... who can say?

> I'm running HardenedBSD
> 12-CURRENT on the 7510 without issues. Both the trackpad and the thing
> below and between the G and H keys (I totally forgot what it's called)
> work fine for me. Multitouch for vertical scrolling on the trackpad
> works fine, too.

Indeed; as note the M4800 worked fine for me, and the M4400 worked fine
before that, and various Inspiron/Latitude laptops before that -- all
Just Worked.

> I haven't tried 11-STABLE on this laptop.

I'm content to get it working in either stable/11 or head for now.

I posted a somewhat more detailed bit of poking to hackers@ a few
minutes ago.

> Thanks,
> ....

Thank you! :-)

Peace,
david
--
David H. Wolfskill [hidden email]
Trump administration: victimizing the defrauded and supporting the fraudsters

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

signature.asc (631 bytes) Download Attachment