Add this udev rule to /etc/udev/rules.d/50-gps.rules

BUS=="usb", KERNEL="ttyUSB*", NAME="ttyUSB0"

On Fri, Dec 11, 2009 at 10:26 AM, Jon Dowland
<jon+debian-u...@alcopop.org<jon%2bdebian-u...@alcopop.org>
> wrote:

> On Sat, Dec 12, 2009 at 12:12:44AM +1300, Chris Bannister
> wrote:
> > Set up a udev rule for that particular device.
>
> I'd second this: hard-coding to ttyUSB8 or similar could
> potentially fail in the unlikely event you use up to that
> number prior to plugging in the GPS. YOu can use udev to
> provide a unique name, safe from clashes, such as
> /dev/my_gps.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAksiZLwACgkQFotOcXAy8jghCgCgu+G7WBef1WuZIsQ+q+7U4vv9
> jcMAnRrExSNrKVx9EdCIRi5Soy6LHSka
> =FcpK
> -----END PGP SIGNATURE-----
>
>

Reply via email to