Justin Guest
|
MachX + FreeBSD |
Posted: Fri Nov 17, 2006 2:49 pm |
|
|
Any FreeBSD users here? I modified the uftdi source in the FreeBSD 6.1 kernel source under [/usr/src/sys/dev/usb/uftdi.c uftdireg.h usbdevs] and was able to plug in the MachX and get it to generate a /dev/ttyU0 and a /dev/cuaU0. I then did ln -s /dev/ttyU0 /dev/ttyS0. Because I have the linux compatibility layer installed I am able to run the machx_linux scripts. I had to modify the #!/bin/bash to #!/usr/local/bin/bash since I installed from ports. With the symlink there it causes machx to just hang indefinetly either in a "ttydcd" state. The way I modified the kernel module is by modifying usbdevs and adding the appropriate product [0xf9d2] line, but in the uftdi.c source I just had it tag the device as a FT232AM instead of a FT232BM. I looked at the linux support for the FT232BM and it was done in 2003. It appears that the only difference there is the bit rates supported. So, I am going to look a littler deeper into the linux version and try to give this one more shot. In theory this should work under FreeBSD no problem. I'm curious if anyone else is interested in a FreeBSD port as well as any efforts they have taken. |
|