Am Samstag, den 21.01.2006, 18:48 +0100 schrieb Stefan Onken:
> Hello,
> 
> I am fighting now for a very long time to get my Palm T5 sync under 
> Linux. Unfortunately without any success, so maybe someone can 
> point me into the right direction. Ok, here is my setup:
> 
> 1) kernel
> Linux stonki 2.6.13-gentoo-r5 #3 SMP Thu Jan 12 21:24:53 CET 2006 
> x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD 
> GNU/Linux
> 
> CONFIG_USB_SERIAL=y
> CONFIG_USB_SERIAL_VISOR=y
> CONFIG_HOTPLUG=y
> 
> 2) Udev

I have a working Tungsten E and it seems to me that you are suffering
from an UDEV problem. Here's what I got:

/etc/udev/rules.d/10-visor.rules:
KERNEL=="ttyUSB[0-9]*", NAME="tts/USB%n", GROUP:="usb", MODE:="0666"
BUS=="usb", SYSFS{product}=="Palm Handheld*", KERNEL="ttyUSB[13579]",
SYMLINK="pilot", MODE:="0666", GROUP:="usb"

/etc/udev/permissions.d/10-visor.permissions:
ttyUSB*:root:usb:0666
tts/[0-9]*:root:usb:0666
tts/USB[0-9]*:root:usb:0666
pilot:root:usb:0666

With that I am able to just use /dev/pilot regardless of which ttyUSB is
really created. Before I forget: I put myself in the usb group.

> sys-fs/udev-070-r1 
> # PalmOne Tungsten T3
> BUS="usb",SYSFS{serial}="12345467893ABC",NAME="pilot",OWNER="root",GROUP="tty",MODE="0660"
> #
> # This works for one user's Handspring Visor.  Put the desired user 
> in the "usb" group.
> KERNEL="ttyUSB[01]*",  NAME="tts/USB%n", GROUP="usb", MODE="0660"
> 3) System
> stonki portage # rc-update -s | grep hotplug
>              hotplug | boot
> 
> So, an up-to-date Kernel with Visor support, Udev is installed and 
> the hotplug daemon is running
> 
> --------------------------
> 
> 4) I am now connecting the T5 to the computer without (!) pressing 
> anything !
> 
> stonki portage # udevinfo -p /sys/class/tty/ttyUSB3 -a
> [...]
>     DRIVER=="visor"
> [...]
>     SYSFS{product}=="palmOne Handheld"
>     SYSFS{serial}=="504E35424D35543556305848"
> 
> 
> 5) I am creating a new file in /etc/udev/rules.d
> tonki rules.d # cat 10-udev.rules
> # PalmOne Tungsten
> BUS="usb",SYSFS{serial}="504E35424D35543556305848",NAME="pilot",OWNER="root",GROUP="tty",MODE="0660"
> #
> # This works for one user's Handspring Visor.  Put the desired user 
> in the "usb" group.
> KERNEL="ttyUSB[0123]*",  NAME="tts/USB%n", GROUP="usb", MODE="0660"
> 
> 6) am using the unstable pilot-link version (the stable did not work 
> for me as well), but still no success:
> 
> a) I am attaching the T5 without (!) pressing the sync button. 
> In /var/log/messages it says:
> 
> Jan 21 18:44:22 stonki visor 2-1:1.0: Handspring Visor / Palm OS 
> converter detected
> Jan 21 18:44:22 stonki usb 2-1: Handspring Visor / Palm OS converter 
> now attached to ttyUSB2
> Jan 21 18:44:22 stonki usb 2-1: Handspring Visor / Palm OS converter 
> now attached to ttyUSB3
> 
> 
> b) a /dev/pilot gets created
> stonki rules.d # ls -als /dev/pilot
> 0 crw-rw----  1 root tty 188, 2 Jan 21 18:44 /dev/pilot
> 
> 
> c) stonki rules.d # pilot-xfer -p /dev/pilot --list
>    Listening for incoming connection on /dev/pilot...   
> 
> d) Pressing Hotsync....
> Jan 21 18:45:53 stonki visor 2-1:1.0: Handspring Visor / Palm OS 
> converter detected
> Jan 21 18:45:53 stonki usb 2-1: Handspring Visor / Palm OS converter 
> now attached to ttyUSB4
> Jan 21 18:45:53 stonki usb 2-1: Handspring Visor / Palm OS converter 
> now attached to ttyUSB5
> 
> 
> WHY I am getting USB4 and USB5 ? 
> 
> e) of course it does NOT work....
> 
> 
> any idea ?
> 
> Thanks Stonki
> 
> -- 
> www.stonki.de:    the more I see, the more I know.......
> www.proftpd.de:   Deutsche ProFTPD Dokumentation
> www.krename.net:  Der Batch Renamer für KDE
> www.kbarcode.net: Die Barcode Solution für KDE
> 

-- 
gentoo-user@gentoo.org mailing list

Reply via email to