I have working serial ports, via an installed PCI-e card and USB to serial adapters (FTDI and Prolific chips) which are for use with serial connected printers. Comms are established on all devices and works as expected - however.
When issuing the following in an attempt to configure the ports:
The first succeeds, but attempting the same on the *.init device node will not allow configuration (except as root). This would not be an issue, but the change to the *.init device is not persistent.
After hotplugging:
It reverts to defaults.
I'm sure I'm missing something obvious here, or should I be configuring the lock device?
Thanks
When issuing the following in an attempt to configure the ports:
Code:
% stty -f /dev/cuaU0 raw pass8 -echo -hup clocal 115200
% stty -f /dev/cuaU0.init raw pass8 -echo -hup clocal 115200
stty: tcsetattr: Operation not permitted
Code:
% ls -al /dev/cua*
crw-rw---- 1 uucp dialer 0x2a1 Nov 16 15:21 /dev/cuaU0
crw-rw---- 1 uucp dialer 0x2a2 Nov 16 15:19 /dev/cuaU0.init
crw-rw---- 1 uucp dialer 0x2a3 Nov 16 15:19 /dev/cuaU0.lock
crw-rw---- 1 uucp dialer 0x3e Nov 16 11:05 /dev/cuau0
crw-rw---- 1 uucp dialer 0x3f Nov 16 11:05 /dev/cuau0.init
crw-rw---- 1 uucp dialer 0x40 Nov 16 11:05 /dev/cuau0.lock
Code:
% cat /etc/devfs.rules
[system=10]
add path 'unlpt*' mode 0660 group operator
add path 'ulpt*' mode 0660 group operator
add path 'lpt*' mode 0660 group operator
add path 'usb/X.Y.Z' mode 0660 group operator
add path 'dri/*' mode 0666 group operator
add path 'drm/*' mode 0666 group operator
add path 'cuau*' mode 0660 group dialer
add path 'cuaU*' mode 0660 group dialer
After hotplugging:
Code:
% stty -f /dev/cuaU0
speed 9600 baud;
lflags: echoe echoke echoctl
oflags: tab0
cflags: cs8 -parenb clocal
I'm sure I'm missing something obvious here, or should I be configuring the lock device?
Thanks