OK - I updated to Debian etch with udev and tried to get things working with a treo680. /dev/pilot and was a member of the dialout group. No joy - I could see where a symbolic link /dev/pilot > lrwxrwxrwx 1 root root 7 2007-01-09 14:39 /dev/pilot -> ttyUSB1 was created when I attached the Treo and it pointed to /dev/ttyUSB0 which had ownership of root.dialout > crw-rw---- 1 root dialout 188, 0 2007-01-09 14:39 /dev/ttyUSB0 So I joined the dialout group But I got > pi_bind error: /dev/pilot Permission denied > Check your serial port and settings > Exiting with status SYNC_ERROR_BIND > Finished Turned out I had to log off and back on again to get my group membership working (something new in etch??) So then I tried again pressed the sync button in jpilot followed by the sync button on the USB cable -- I get: > **************************************** > Syncing on device /dev/pilot > Press the HotSync button now > **************************************** and nothing happens - so I tried hitting the sync on the USB cable first then in jpilot - and now I finally got something to happen. I have to press the cable - count to 3 then press the one in jpilot. Seems like there should be some mention as the needed order to press the sync buttons is opposite what jpilot says and I think jpilot could wait for the creation of /dev/pilot? This is a rather nasty kludge so I did some more digging. ,.,. I found the stuff on libusb and created the file visor in: /etc/hotplug/blacklist.d/ with the word visor in it and restart udev I install: ii libusb-0.1-4 0.1.12-2 ii libusb-dev 0.1.12-2 ii usbutils 0.72-7 ii pilot-link 0.12.1-5 I set I had jpilot/file/preferences/settings - serial port set to usb: No joy - just sits there - no error output. So I sudo jpilot and get further > Doing a fast sync. > Syncing DatebookDB > Syncing AddressDB > Syncing ToDoDB > Syncing MemoDB > Syncing Memo32DB > Can't open dbm file /home/karl/.jpilot/Backup/active.dbm > Reason: File read error Don't understand the file read error - I even set #chmod go+w active.dbm -rw-rw-rw- 1 karl karl 20992 2007-01-06 15:38 active.dbm I removed everything in .jpilot/Backups/ and at the next sync things started working again. Of course running as sudo creates files in .jpilot with the wrong ownership... ,.,. Debain centric-- Anyway - what is the plan for the Debian package? Will sync be via the kernel visor driver or libUSB? Both seem broken for the average user. At the very least there should be some mention to have folks join the dialout group in /usr/share/doc/jpilot and really a note about how to make things work - 4 or 5 sentences would do the job. If usblib isn't workable right now for a non root user just say so. If I can find out what the plan is I will write up something to include with the Debian package so the next guy won't have to do all the digging I did to get sync working. -- !!!>> INCLUDE ALL TEXT IN TECHNICAL SUPPORT EMAIL REPLIES!!!!!!! !!!>>Send in plain-text mode - mail with attached GIFs will be rejected <<<!!! ---------------------------------------------------------------- Karl Schmidt EMail Karl at xtronics.com Transtronics, Inc. WEB http://xtronics.com 3209 West 9th Street Ph (785) 841-3089 Lawrence, KS 66049 FAX (785) 841-0434 Misdirection is the key to being a good magician. Magicians tell you they are doing something while they do something quite different; much like politicians -- except we can afford magicians. -KPS ----------------------------------------------------------------
More information about the jpilot mailing list