Is writing usb devices as files (via /dev/ugen*) supported in FreeBSD?
Torfinn Ingolfsen
torfinn.ingolfsen at getmail.no
Tue Dec 9 20:07:57 UTC 2014
On Mon, 08 Dec 2014 07:50:39 +0100
Hans Petter Selasky <hps at selasky.org> wrote:
>
> /dev/ugenX is not a stream. You should either consider using libusb or
> /dev/ulptX .
>
You are right (of course). Sorry about the brainfart. I changed the device in the script:
root at kg-core1# grep ^DEV_NODE dymoprint2
DEV_NODE = "/dev/ulpt0"
and now it works:
root at kg-core1# python dymoprint2 "4port USB2.0 hub" "38-5663"
[96, 0, 18, 100, 13, 220, 0, 0]
(Tes, I get the printout too)
Thanks for the hint!
--
Torfinn Ingolfsen <torfinn.ingolfsen at getmail.no>
More information about the freebsd-usb
mailing list