I've got a USB device that when plugged into FreeBSD 7.1 gets the following :
Notice the <addr 3> portion.. I believe that indicates I need a /dev/ugen0.3 file but only have the following :
I ran some test code to talk w/ this device and it tried to open /dev/ugen0.3 after picking through the USB device structures returned by the libusb stack.. However, I can't get mknod to make me one either.. I gather that starting in the FreeBSD 4.x time frame we switched away from using mknod to using devfs and that make_dev() should be taking care of things automatically.. Any ideas on why this is not working??
Code:
Mar 3 22:22:52 srv1 root: Unknown USB device: vendor 0x101e product 0x0005 bus uhub0
Mar 3 22:22:52 srv1 kernel: ugen0: <Fronius Datalogger, class 0/0, rev 1.10/2.00, addr 3> on uhub0
Notice the <addr 3> portion.. I believe that indicates I need a /dev/ugen0.3 file but only have the following :
Code:
srv1# ls -la /dev/ugen*
crw-r--r-- 1 root operator 0, 98 Feb 7 15:37 /dev/ugen0
crw-r--r-- 1 root operator 0, 99 Feb 7 15:37 /dev/ugen0.1
crw-r--r-- 1 root operator 0, 100 Feb 7 15:37 /dev/ugen0.2
I ran some test code to talk w/ this device and it tried to open /dev/ugen0.3 after picking through the USB device structures returned by the libusb stack.. However, I can't get mknod to make me one either.. I gather that starting in the FreeBSD 4.x time frame we switched away from using mknod to using devfs and that make_dev() should be taking care of things automatically.. Any ideas on why this is not working??