Re: ttyUSB0 and GPS

2009-12-14 Thread Jon Dowland
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,

[SOLVED] ttyUSB0 and GPS

2009-12-11 Thread Dale
Hi all, Thank you for everyones input on this problem, I have fixed it by creating a file called '50-gps.rules' in '/etc/udev/rules.d/' and putting this string in the in the file 'BUS=="usb", KERNEL=="ttyUSB*", SYSFS{idVendor}=="067b", SYSFS{idProduct}=="2303", NAME="myGPS"' and then restarting ud

Re: ttyUSB0 and GPS

2009-12-11 Thread Toan Pham
sorry, typo on the last email.. BUS=="usb", KERNEL=="ttyUSB*", NAME="ttyUSB0" On Fri, Dec 11, 2009 at 12:06 PM, Toan Pham wrote: > > 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 > > > wr

Re: ttyUSB0 and GPS

2009-12-11 Thread Toan Pham
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 > 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: h

Re: ttyUSB0 and GPS

2009-12-11 Thread Jon Dowland
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 un

Re: ttyUSB0 and GPS

2009-12-11 Thread Chris Bannister
On Fri, Dec 11, 2009 at 02:56:54PM +1030, Dale wrote: > How do I get it to default to say ttyUSB8?, cause all I am getting at > the moment is that it wants to connect to ttyUSB3 and it just ignoring > what it put in the conf file Set up a udev rule for that particular device. -- Chris. -- To

Re: ttyUSB0 and GPS

2009-12-10 Thread Dale
2009/12/11 Sudev Barar : > 2009/12/11 Wayne : > whether it get plugged in and out of the USB port? Basically I want it > to reclaim ttyUSB0 after it have been removed from the USB port and > then plugged back in. Â Currently when I unplug the USB GPS and plug it > back in it takes

Re: ttyUSB0 and GPS

2009-12-10 Thread Sudev Barar
2009/12/11 Wayne : whether it get plugged in and out of the USB port? Basically I want it to reclaim ttyUSB0 after it have been removed from the USB port and then plugged back in. Â Currently when I unplug the USB GPS and plug it back in it takes the next ttyUSB* inline ie ttyU

Re: ttyUSB0 and GPS

2009-12-10 Thread Wayne
Dale wrote: 2009/12/11 Wayne : Dale wrote: Hi All, Does anyone know how to lock a GPS down to use ttyUSB0 all the time, whether it get plugged in and out of the USB port? Basically I want it to reclaim ttyUSB0 after it have been removed from the USB port and then plugged back in. Â Currently w

Re: ttyUSB0 and GPS

2009-12-10 Thread Dale
2009/12/11 Wayne : > Dale wrote: >> >> Hi All, >> >> Does anyone know how to lock a GPS down to use ttyUSB0 all the time, >> whether it get plugged in and out of the USB port? Basically I want it >> to reclaim ttyUSB0 after it have been removed from the USB port and >> then plugged back in.  Curren

Re: ttyUSB0 and GPS

2009-12-10 Thread Wayne
Dale wrote: Hi All, Does anyone know how to lock a GPS down to use ttyUSB0 all the time, whether it get plugged in and out of the USB port? Basically I want it to reclaim ttyUSB0 after it have been removed from the USB port and then plugged back in. Currently when I unplug the USB GPS and plug

ttyUSB0 and GPS

2009-12-10 Thread Dale
Hi All, Does anyone know how to lock a GPS down to use ttyUSB0 all the time, whether it get plugged in and out of the USB port? Basically I want it to reclaim ttyUSB0 after it have been removed from the USB port and then plugged back in. Currently when I unplug the USB GPS and plug it back in it