On Tue, Jan 18, 2005 at 09:14:56PM +0100, Ludovic Rousseau wrote:
> Le Monday 17 January 2005 à 23:59:55, Osamu Aoki a écrit:
> > Hi,
> 
> Hello,
> 
> I know that libpisock8 works with Linux 2.6 and udev. That is the
> configuration I am using.
> 
> I also have a udev configuration file:
> /etc/udev/rules.d/my_rules.rules
> KERNEL="ttyUSB0", NAME="pda", MODE="0666", SYMLINK="pilot"

Yes, this symlink thing is needed.  Otherwise, after a run, initially
set pilot symlink by debconf is erased somehow on my system.

(BTW, MODE can be 0660 though.  As long as you belong to the dialout
group or change /etc/udev/permissions.d/udev.permissions to match with
group you let the pilot user belong to.  This too generous permission
may cause you security bug if you make this as default install script.)

> It would be best to have this configuration included in the udev package 
> but the USB craddle seams to be "complex" when it comes to the ttyUSB0/1
> they are using.

If maintaner script completely takes care all the situation, yes.  But
doing so may be the source of extra bug reports since people will want
different groups,  this may be best left as README.Debian and
/usr/share/doc/examples/*.

> And I am not a udev expert. We both have two very different udev
> configuration files :-)

Me neither.

> > Can you make this key info at the top of document!
> > 
> >         you must hit the HotSync button on your cradle _FIRST_, before
> >         launching any of pilot-link's various utilities.
> 
> That is not true AFAIC. I first need to _plug_ the cradle. In fact I use a
> PalmV with a USB connector. I don't know it that qualify as a real cradle.
> I have in dmesg(8):
>   pl2303 2-1:1.0: PL-2303 converter detected
>   usb 2-1: PL-2303 converter now attached to ttyUSB0

Interesting.  Even if I have power on, no message comes to my screen.
Your newer pilot may have auto start initiated upon plugging in.
Mine is older.

Once I press sync button or sync icon, it start interacting Linux with
mine.  I double checked.

> My concern is that it is not right to say "you must hit the HotSync
> button on your cradle _FIRST_" since it depends.

I see.  

> > It is nicely hidden.  Besides jpilot and other only depends on
> > libpisock8, this pilot-link package (sharing source) is nicely hidden by
> > not having README.Debian in its /usr/share/doc/libpisock8 directory
> > indicating detail documentation is available in pilot-link.  This was a
> > bit of puzzele.
> 
> Good point. I will add the README.Debian in /usr/share/doc/libpisock8/
> as well.

Just a short one is fine.  For debugging, pilot-link command line is
more suitable and installing it should not bother anyone.

Osamu 

Reply via email to