Re: Is writing usb devices as files (via /dev/ugen*) supported in FreeBSD?

2014-12-09 Thread Torfinn Ingolfsen
On Mon, 08 Dec 2014 07:50:39 +0100 Hans Petter Selasky 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@kg-core1# grep ^DEV_NODE dymoprint2 DEV_NOD

Re: Is writing usb devices as files (via /dev/ugen*) supported in FreeBSD?

2014-12-07 Thread Hans Petter Selasky
On 12/07/14 23:52, Torfinn Ingolfsen wrote: Hello, Question: is writing to the device file (/dev/ugenX) with normal file calls supposed to work in FreeBSD? (as in "everything is a file" in unix-like operating systems) Background: I recently got a usb label printer for cheap: a Dymo LabelManager

Is writing usb devices as files (via /dev/ugen*) supported in FreeBSD?

2014-12-07 Thread Torfinn Ingolfsen
Hello, Question: is writing to the device file (/dev/ugenX) with normal file calls supposed to work in FreeBSD? (as in "everything is a file" in unix-like operating systems) Background: I recently got a usb label printer for cheap: a Dymo LabelManager PnP[1]. I found the dymoprint[2] Python scri