I have a device, it's an 0590:00d4 temperature sensor. Technically, it's an embedded FTDI and runs at 115200 baud connected to a host of sensors in a package the size of your thumbnail. It's actually quite nifty. A 2JCIE-BU01 by Omron.
You can read about them here: OMRON SITE.
With a simple command like this on $linux-of-choice, I get a serial port I can talk to.
What is the FreeBSD equivalent? At first I thought devd could do something like "if you see this, it's actually an ftdi" but no joy.
Someone is bound to suggest "change the VID/PID", while that may be a work around, it is not a solution.
You can read about them here: OMRON SITE.
With a simple command like this on $linux-of-choice, I get a serial port I can talk to.
No compiling things, nothing. From then on, my random device gets treated just as if it was a serial port. (Of course, I have to find it and positively ID it, but that isn't too hard.)ACTION!="add|change", GOTO="permissions_end"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", \
ATTRS{idVendor}=="0590", ATTRS{idProduct}=="00d4", \
RUN+="/sbin/modprobe ftdi_sio", \
RUN+="/bin/sh -c 'echo 0590 00d4 > /sys/bus/usb-serial/drivers/ftdi_sio/new_id'"
LABEL="permissions_end"
What is the FreeBSD equivalent? At first I thought devd could do something like "if you see this, it's actually an ftdi" but no joy.
Someone is bound to suggest "change the VID/PID", while that may be a work around, it is not a solution.