Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2021 10:12:07 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        stable@freebsd.org
Subject:   Any way to get hsm(4) device under stable/12?
Message-ID:  <YDvc93no9S%2Bg3sgO@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--tUc6frOpkHwcl6AH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I have been using a laptop that is old enough to have a fair number of
its components replaced with parts taken from others (mostly of the
same model) -- a Dell Precision M4800.  And it works well.. but single
points of failure do not bring me comfort. :-}

I acquired a refurbished Dell Precision 7520 a while back; it runs
FreeBSD just fine, but I was unable to get the built-in touchpad to work
until this morning.

It turns out that the 7520's touchpad communicates via I2C.

I had tried installing the sysutils/iichid port; that seemed to be a bit
of progress, as after doing that, and appending:

hw.usb.usbhid.enable=3D1
iichid_load=3D"YES"

to /boot/loader.conf, utilities such as libinput(1) and xinput(1) each
reported "something" was there that had not been there before, and dmesg
mentioned an "hsm0" device (though that didn't show up in /dev).  But
neither the touchpad nor the buttons actually worked.

During my daily update cycle this morning, I was thus quite pleased to
note that the mouse was seemed to be working (in X11, anyway) under
stable/13 and head (where iichid is part of base).

Comparing the kernel modules loaded between stable/12 and stable/13, I
see that the latter also includes hms.ko, hidmap.ko, and hkbd.ko.  And
stable/13 (as well as head) have src/sys/dev/hid/*, which stable/12 does
not.  (That directory is where (e.g.) hms.c resides.)

So: iichid is part of base in stable/13 and head, but available as a
port for stable/12.

Various devices under src/sys/dev/hid are available in base under
stable/13 and head; are they available in some way under stable/12?

(Yes, I plan to migrate from stable/12 to stable/13 "soon" -- but not
quite yet.)

Peace,
david
--=20
David H. Wolfskill                              david@catwhisker.org
It is supremely disingenuous to claim a lack of jurisdiction, then    =20
proceed to participate in a decision on the same matter.

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

--tUc6frOpkHwcl6AH
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmA73PdfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy
OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2
PcnkKAf/bg2fggDoIrp+XA5207M3lL29FxS2stT5OyZZWoJyUneqqE1uA7xeefed
l3VKl4ismr3idX9pXO77VtCuuU4MbJIlLlWGsx8UvfhvyZ9a2sYvPVqI10hc1nux
KxkjQRb12db5lQQ82Ol3Y2IN1u2heomYfrHpizEcz6LL2EQ5LzQUsldMCLTWEm6i
hQHHxkEATzm1ohbVsCvWPvmVktNAmWEZ5PdE9YiI5pWqaeYq6vUgQnSIdYx7vhlr
BHR/TvT11Uvx+OtEkjOCi3oOLgi/kFo1Pg7civDwzz5Etd6JFqBVdPSCizmOzW2l
d+AfYF3LXCIA0h96HPtsPIYksF8LvQ==
=esHV
-----END PGP SIGNATURE-----

--tUc6frOpkHwcl6AH--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YDvc93no9S%2Bg3sgO>