[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ttyUSB0 and GPS



Please do not CC me, I am on the list.

On Fri, Dec 11, 2009 at 12:06:20PM -0500, Toan Pham wrote:
> Add this udev rule to /etc/udev/rules.d/50-gps.rules
> 
> BUS=="usb", KERNEL="ttyUSB*", NAME="ttyUSB0"

Erm, doesn't that tell udev to alias any device which would
appear as ttyUSB* (i.e., ttyUSB1, ttyUSB2...) as ttyUSB0?
won't that break as soon as you have more than one ttyUSB
device plugged in at the same time? The 'solved' message in
this thread looks to have a better solution, which ties the
rule down to usb vendor/product IDs, and uses a name outside
of this namespace.

-- 
Jon Dowland

Attachment: signature.asc
Description: Digital signature


Reply to: