On Sat, 22 Dec 2007, Jim Tolbert wrote: > Xastir (and GPSMan) can not read or write to the serial port in spite of > running > > chmod 777 /dev/ttyS0 > > I usually have done this as a su before starting Xastir, but now it > don't do the trick. In the terminal, I don't get any errors with the > chmod command.
"chmod 666" is actually what you want, but 777 should work in this case as well. I just went through getting some USB joysticks working on Linux, and figured out the "right" way to do it so that the permissions get set each time I reboot. It's in "/etc/udev/rules.d/50-udev-default.rules". I changed this section: # input devices #KERNEL=="mouse*|mice|event*", NAME="input/%k", MODE="0640" KERNEL=="mouse*|mice", NAME="input/%k", MODE="0640" KERNEL=="event*", NAME="input/%k", MODE="0666" # #KERNEL=="js*", NAME="input/%k", MODE="0644" KERNEL=="js*", NAME="input/%k", MODE="0666" But there's another section above it for serial devices that could be changed in a similar manner. -- Curt, WE7U: <www.eskimo.com/~archer/> XASTIR: <www.xastir.org> "Lotto: A tax on people who are bad at math." -- unknown "Windows: Microsoft's tax on computer illiterates." -- WE7U The world DOES revolve around me: I picked the coordinate system! _______________________________________________ Xastir mailing list Xastir@xastir.org http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir