FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 05-17-2012, 05:50 PM
"Jeffrey Ross"
 
Default /dev/ttyUSB0 changes to /dev/ttyUSB1

> I have a device, namely a Davis Vantage Pro2 Weather Station Console,
> attached to the second USB port on a laptop; the first port is used by a
> mouse. Occasionally the port on which the console is visible changes
> from /dev/ttyUSB0 to /dev/ttyUSB1. I haven't noticed any reason for
> this, in particular no change in physical connections; it just happens
> when it happens. This prevents some software which handles the console
> from operating, since it's expecting to find the console
> on /dev/ttyUSB0.
>
> Has anyone else noticed anything similar? Any idea what's happening?
>
> Thanks - jon
>
>

You can create rules in /etc/udev/rules.d eg "10-local.rules (see man udev)

and do something like:
BUS=="usb", SYSFS{serial}=="1234",KERNEL=="ttyUSB*", SYMLINK+="wx"

this way whenever the USB device is plugged in a symlink will be created
from /dev/wx pointing to /dev/ttyUSBx The only problem is many of the
cheap usb to serial adapters all have a serial number of "0" and there is
nothing unique separating one device from the other.

Jeff

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 03:27 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org