Le vendredi 27 août 2010 à 12:18:29 (+0200), Frédéric Boiteux a écrit :
> Date: Fri, 27 Aug 2010 12:18:29 +0200
> From: Frédéric Boiteux <fboit...@calistel.com>
> To: jul...@kirya.net
> Cc: debian-kernel@lists.debian.org, 594...@bugs.debian.org
> Subject: Re: Bug#594554: linux-image-2.6.35-trunk-amd64: pl2303 module
>  needs
>  to be first unloaded to make my GPS data logger work
> Organization: Calistel
> 
> Le Fri, 27 Aug 2010 08:59:40 +0200,
> Julien Valroff <jul...@kirya.net> a écrit :
> 
> > when I plug this GPS into the usb port, the module is loaded
> > automatically, but utility software such as gpsbabel and josm (just
> > examples) cannot communicate with the device.
> > 
> > I first need to unloaded the pl2303 module by hand, switch off the
> > GPS, and switch it on again. The module is ten automatically loaded
> > again and everything works as expected.
> 
>    Hello Julien,

Hi Frédéric,
 
>   I had a problem similar to yours with a BGT-31 : when let it going in
> 'navilink' mode (to download traces on a computer), I had problems
> contacting it (it worked from time to time).
>   I finally discovered that I had installed the gpsd package, and when
> plugging my GPS, udev not only loaded the pl2003 module, but also
> launched 'gpsd' service, which locked access to the device !
>   Perhaps you have the same problem ? I had to kill gpsd before using
> navilink tool.

Thanks for the tip, but I do not use gpsd.

I have tried a new piece of software (dg100ctl - not in Debian), here are the 
error message
I get before I unload the module (the -p command is used the get the current 
configuration
of the device, hence, read only access I guess...):

$ dg100ctl -p
open /dev/ttyUSB0 failed: Input/output error
dg_100_send: write failed: Bad file descriptor

After unloading the module and switching on the device again, it works as 
exepected:
$ dg100ctl -p
Logging info       : Position, speed, time, and altitude
Mem free           : 100%
WAAS/EGNOS/MSAS    : disabled
Speed threshold    : disabled
Distance threshold : 2 m

Logging modes:
Mode A: by time, every 10.00 seconds
Mode B: by time, every 3.00 seconds
Mode C: by time, every 1.00 seconds

Cheers,
Julien

-- 
Julien Valroff <jul...@kirya.net>
http://www.kirya.net
GPG key: 1024D/9F71D449
17F4 93D8 746F F011 B845  9F91 210B F2AB 9F71 D449


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100827122753.ga2...@kirya.net

Reply via email to