Hi, I've just installed Mandriva 2007.0 on my system and got Synce to work again with it, my PDA is a Mio 168.
As I did before, I took guidance from http://synce.sourceforge.net/synce/hotplug.php but I wanted to show you the tweaks I made. When I used the documented syntax in /etc/udev/ipaq.rules, I got a warning message telling me to write DRIVERS== instead of DRIVER==. Here's my changed /etc/udev/ipaq.rules : [EMAIL PROTECTED] ~]# cat /etc/udev/ipaq.rules # # udev rules file for ipaq # DRIVERS=="ipaq", NAME="ipaq", SYMLINK="tts/USB%n", GROUP="tty", MODE="0600", RUN+="/etc/dev.d/ipaq/synce.dev" (That's one wrapped line.) Also I've changed the hotplug script a bit : [EMAIL PROTECTED] ~]# cat /etc/dev.d/ipaq/synce.dev #!/bin/sh LOGFILE=/var/log/synce if [ "$ACTION" = "add" ]; then if [ "$DEVPATH" = "/class/tty/ttyUSB0" ] ; then echo "`date +"%b %d %X"` `uname -n`: iPAQ plugged, connecting .." >>$LOGFILE echo "Specifics : DEVNAME $DEVNAME, DEVLINKS $DEVLINKS" >>$LOGFILE synce-serial-config $DEVNAME >>$LOGFILE 2>&1 synce-serial-start >>$LOGFILE 2>&1 else echo "Device " $DEVPATH ", ignoring" >>$LOGFILE fi elif [ "$ACTION" = "remove" ]; then echo "`date +"%b %d %X"` `uname -n`: iPAQ removed" >>$LOGFILE synce-serial-abort >>$LOGFILE 2>&1 fi This makes it auto-configure for the right device (running synce-serial-config before synce-serial-start). A final note : - I always see two hotplug events, one on /dev/tts/USB0, another on /dev/tts/USB1. The first one works, ignoring the second one is built into the script above. - I never see "remove" events. Cheers, Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Synce-devel mailing list Synce-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synce-devel