Hi! I'm having troubles trying to communicate to an USB device (usb2serial cable attached to a VantagePro2). It seems I'm not understanding how devfs works. This is the ruleset I created for the jail:
The usb2serial cable is attached to the 1.2.0 port. For the communication I'm using a program (vproweather). This is the output I get when I try to connect:
I'm guessing I'm having a problem with permissions, but this is the only ruleset I've created that shows up the USB devices inside the jail, so I don't know what else to do.
I hope you guys can give me a hand, thanks in advance.
Code:
[devfsrules_jail_allow_usb=10]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
add path zfs unhide
add path 'ugen*' unhide
add path usb unhide
add path 'usb/*' unhide
The usb2serial cable is attached to the 1.2.0 port. For the communication I'm using a program (vproweather). This is the output I get when I try to connect:
vpro:/# vproweather -r /dev/usb/1.2.0
Code:
vproweather: Problem configuring serial device, check device name.: Inappropriate ioctl for device
I'm guessing I'm having a problem with permissions, but this is the only ruleset I've created that shows up the USB devices inside the jail, so I don't know what else to do.
I hope you guys can give me a hand, thanks in advance.