Hello,
I'm trying to get my Lauterbach USB debugger to work on FreeBSD 12.1. I have gotten the Trace32 software to work under linux emulation. The Trace32 software looks for /dev/lauterbach/trace32/1-1 which on linux is solved by a udev rule.
So, looking at the device shows this:
My thoughts here is to just add it in a similar way but with devd, if that's possible. The problem only seems to be how to re-write devfs with a link from ugen1.7 to lauterbach/trace32/1-1.
Would that work, and if, any suggestion on how to do it? I have no luck creating the subdirectory from devd (notify 0) though.
Thanks,
/s
I'm trying to get my Lauterbach USB debugger to work on FreeBSD 12.1. I have gotten the Trace32 software to work under linux emulation. The Trace32 software looks for /dev/lauterbach/trace32/1-1 which on linux is solved by a udev rule.
So, looking at the device shows this:
Code:
usbconfig -u 1 -a 7 dump_device_desc
ugen1.7: <Lauterbach Development Tools Lauterbach PODBUS USB Controller> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (0mA)
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000 <Probed by interface class>
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x0897
idProduct = 0x0002
bcdDevice = 0x0000
iManufacturer = 0x0001 <Lauterbach Development Tools>
iProduct = 0x0002 <Lauterbach PODBUS USB Controller>
iSerialNumber = 0x0000 <no string>
bNumConfigurations = 0x0001
Would that work, and if, any suggestion on how to do it? I have no luck creating the subdirectory from devd (notify 0) though.
Thanks,
/s