Re: reincarnation of /dev/ttyUSB0 as /dev/ttyUSB1

Pete Zaitcev <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization Red Hat, Inc.
Message-ID <[email protected]>
On Sun, 03 Jun 2007 12:32:50 -0400, Uncle George <[email protected]> wrote:

> How about thinking this way:
> ....

I am quite sure that having the device to vacate the namespace upon
a disconnect is eminently doable. It's just not as simple as it looks.
I have investigated actually doing it instead of just suggesting others
to do it, and I found that I didn't care enough to overcome all
difficulties. If you care, you have to do it.

BTW, here's the recipy I use for my GPS (I use it as timing source,
so ntpd has to be able to find it in fixed place):

[zaitcev@mallorn ~]$ cat /etc/udev/rules.d/70-gps.rules 
KERNEL=="ttyACM*", SYSFS{idVendor}=="0b20" SYSFS{idProduct}=="0406", SYMLINK+="gps0"
[zaitcev@mallorn ~]$ 

-- Pete

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.