Ubuntu creates /dev/ttyUSB0 for me when
I plug in the usb-to-serial-adapter. I have a
symbolic-link to /dev/ttyUSB0 from 'dosdevices/com1'.
What is new in 10.04 Ubuntu is that I have to sudo chmod o+r
and sudo chmod o+w on /dev/ttyUSB0 every time before I
start the app which uses that serial line. ttyUSB0 goes away when
I unplug the serial adapter from the USB port or
shut down the laptop (with Ubuntu 10.04)! And it comes back with
permissions rw-rw---- when I plug in the adapter.
'dmesg' reports 'pl2303' and Prolific 2303 USB to serial adapter driver
(in several lines of verbiage) when I plug in the adapter.
Back in 8.04 Ubuntu the 'other' read/write access and
ttyUSB0 stuck around across shutdowns of the laptop
and unplugging the adapter
(or else ttyUSB0 always came back with 'other' read/write,
I cannot recall which it really was).
Wine + winebottler + azloader.exe + rs232 to usb, adapter
Wine + winebottler + azloader.exe + rs232 to usb, adapter
On Mon, 2010-06-07 at 11:28 -0700, David Anderson wrote:
configure USB devices and set their access permissions.
You can change this by (carefully!) altering the rules
in /etc/udev/rules.d so the access permissions for /dev/ttyUSB* devices
are set to 0666 (all users have read and write access). I can't be more
specific because the UDEV rules are one place where Linux distros
differ. Ask for help on the appropriate Ubuntu forum and remember to
keep copies of your modified rules in a safe place because they can be
overwritten in /etc/udev/rules.d by an upgrade or reinstall.
Martin
This is expected behaviour with a modern kernel using UDEV rules toUbuntu creates /dev/ttyUSB0 for me when
I plug in the usb-to-serial-adapter. I have a
symbolic-link to /dev/ttyUSB0 from 'dosdevices/com1'.
What is new in 10.04 Ubuntu is that I have to sudo chmod o+r
and sudo chmod o+w on /dev/ttyUSB0 every time before I
start the app which uses that serial line.
ttyUSB0 goes away when
I unplug the serial adapter from the USB port or
shut down the laptop (with Ubuntu 10.04)!
configure USB devices and set their access permissions.
You can change this by (carefully!) altering the rules
in /etc/udev/rules.d so the access permissions for /dev/ttyUSB* devices
are set to 0666 (all users have read and write access). I can't be more
specific because the UDEV rules are one place where Linux distros
differ. Ask for help on the appropriate Ubuntu forum and remember to
keep copies of your modified rules in a safe place because they can be
overwritten in /etc/udev/rules.d by an upgrade or reinstall.
Martin
Wine + winebottler + azloader.exe + rs232 to usb, adapter
My thanks to Martin Gregori's for his hint.
I added a file 75-serialusb.rules to /etc/udev/rules.d containing a
single line with
kernel=="ttyUSB*", SYSFS(idVendor)=="067b", SYSFS(idProduct)=="2303",
MODE="0666"
and now /dev/ttyUSB0 starts up rw-rw-rw- .
Which suffices for my purposes.
I added a file 75-serialusb.rules to /etc/udev/rules.d containing a
single line with
kernel=="ttyUSB*", SYSFS(idVendor)=="067b", SYSFS(idProduct)=="2303",
MODE="0666"
and now /dev/ttyUSB0 starts up rw-rw-rw- .
Which suffices for my purposes.
Wine + winebottler + azloader.exe + rs232 to usb, adapter
anbes wrote:
Type in
Look at the tty.<something> entries.
Plug in your rs232 to USB device.
type in
If there is a new tty. entry, then the device is recognized by your
system. If not, then it is not.
You will need to create a symbolic link as previously described to allow
the device to 'appear' in Wine.
James McKenzie
Open a Terminal (session) from the Applications -> Utilities folderwell, i was hijacked..lol...
but, will it work in mac osx?
Type in
Code: Select all
cd /dev
ls
Plug in your rs232 to USB device.
type in
Code: Select all
ls
system. If not, then it is not.
You will need to create a symbolic link as previously described to allow
the device to 'appear' in Wine.
James McKenzie