tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libudev-bsd: call for test



Hi,
For chromium HID support, I’ve created a NetBSD port of FreeBSD’s
libudev-devd (which provides a devd-based libudev implementation)
under the name libudev-bsd. I’ve also created a devd replacement
daemon called ndevd, which is based on NetBSD's devpubd from the
-trunk branch and extended to share /dev/drvctl events to clients via
a UNIX domain socket.

Both libudev-bsd and ndevd are available in pkgsrc-wip. I’ve tested it
with an USB keyboard, and device attach/detach was correctly detected.
It should also work with FIDO devices (e.g. Yubikey), but I don't have
one for testing.

If you have such a device and a bit of time, I’d really appreciate
your help testing.

Steps:
1. Install ndevd and libudev-bsd from pkgsrc-wip
2. Stop devpubd if it’s running, because  it conflicts with ndevd on /dev/drvctl
3. Start ndevd as root: ndevd -f
4. Clone and build the test program:
git clone https://github.com/kikadf/udev-test.git
cd udev-test && gmake
./utest -m
5.Plug and unplug your FIDO device

Please send me the output of both ndevd and utest.

Thanks in advance!

--
Regards,
kikadf


Home | Main Index | Thread Index | Old Index