On Wed, 21 Mar 2001, Greg KH wrote:

> On Wed, Mar 21, 2001 at 01:49:53PM -0500, Hollis R Blanchard wrote:
> > On Wed, 21 Mar 2001, Greg KH wrote:
> > > 
> > > I don't understand what you mean by this.  Yes, while the visor is
> > > attached electronically through USB to the machine, the driver can talk
> > > to the device.  When it isn't it can't.  How can I change this behavior?
> > 
> > After the driver has printed
> > 'visor.c: Handspring Visor: port 1, is for Generic use and is bound to
> > ttyUSB0' do you consider the Handspring to be electronically attached?
> 
> Yes I do, but no programs currently use the "Generic" port, only the
> HotSync port (in this case it would be ttyUSB1).

Hmm... I have a Palm V + adaptor so mine shows up on ttyUSB0... but could you
explain the difference? usb-serial.txt mentions hotsync'ing to USB1 and
running PPP on USB0, but doesn't get into the reasons.

> > If so, then why would opening /dev/ttyUSB0 return ENODEV? The open man page
> > says:
> 
> It shouldn't.  Please turn on usb-serial debugging and try this, and
> send me the kernel debug log when this happens.  If it does it it is a
> driver bug and should be fixed.

You're right; my testcase was bad. I apologize.

> > From a user's point of view, having to press the hotsync button and then
> > run pilot-xfer (etc) within a split second is irritating and easy to miss.
> > I would be much happier if the open would block (much like opening a busy
> > /dev/dsp blocks) until the device comes online or the call is cancelled.
> 
> I agree it's a pain in the butt.  So whip up a hotplug script that calls
> pilot-xfer when the device is recognized.  I do that and it works great.
> Someone else posted a way to do this with devfs.  Yet another way is the
> way gnome-pilot does it, which is by watching the usbdevfs for a change.

I'll look into these... if anyone currently has or could make a hotplug
script, perhaps it should be included in pilot-link?

-Hollis


_______________________________________________
Pilot-unix mailing list
[EMAIL PROTECTED]
http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix

Reply via email to