[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[coldsync-hackers] usb warning messages under linux



i use next script to do hotsync my linux box and palms via usb:

#!/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin

while (true); do
 /usr/local/bin/coldsync -S -I -z $@ >> /var/log/palm/coldsync-hot.log 2>&1
sleep 1
done

first i get "Warning: no device on /dev/ttyUSB1. Sleeping" every 5 seconds
(over 15000 every day ;)). second i have delay up to 5 seconds between
hotsync key press and hotsync start. i think this message can by printed
only once and delay between port checks can be very small. it's done by
small patch.

ps: sorry, my english is bad

PConnection_serial.diff.gz