On 10/23/2012 11:40 AM, Frieder Ferlemann wrote: > Hi Todd, > > Am 23.10.2012 20:04, schrieb Todd Fischer: > >> A recurring problem I had was finding the right /dev/ttyUSB? device. I have >> a nice USB to 4 serial port adaptor in a metal box I have screwed to my >> bench. I also use several USB serial dongles. For reasons I don't >> understand, they change association > > You can likely avoid that by having a file: > > /etc/udev/rules.d/99-usb-serial.rules > > with an entry like: > > SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", > ATTRS{serial}=="FTFL3WUV", SYMLINK:="myporta" > > and then access the device via its symbolic link as: > > /dev/myporta
Oh - that's handy! I've been using my 'ttc' program to abstract out the ttyUSB associated with a board, so I can just do something like: 'ttc panda console'. But my mappings would not break (as often?) if I used the udev rules. My excuse for not doing this earlier is that ttc precedes udev by several years Thanks. -- Tim ============================= Tim Bird Architecture Group Chair, CE Workgroup of the Linux Foundation Senior Staff Engineer, Sony Network Entertainment ============================= _______________________________________________ Celinux-dev mailing list Celinux-dev@lists.celinuxforum.org https://lists.celinuxforum.org/mailman/listinfo/celinux-dev