1 |
Am Samstag, den 21.01.2006, 18:48 +0100 schrieb Stefan Onken: |
2 |
> Hello, |
3 |
> |
4 |
> I am fighting now for a very long time to get my Palm T5 sync under |
5 |
> Linux. Unfortunately without any success, so maybe someone can |
6 |
> point me into the right direction. Ok, here is my setup: |
7 |
> |
8 |
> 1) kernel |
9 |
> Linux stonki 2.6.13-gentoo-r5 #3 SMP Thu Jan 12 21:24:53 CET 2006 |
10 |
> x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD |
11 |
> GNU/Linux |
12 |
> |
13 |
> CONFIG_USB_SERIAL=y |
14 |
> CONFIG_USB_SERIAL_VISOR=y |
15 |
> CONFIG_HOTPLUG=y |
16 |
> |
17 |
> 2) Udev |
18 |
|
19 |
I have a working Tungsten E and it seems to me that you are suffering |
20 |
from an UDEV problem. Here's what I got: |
21 |
|
22 |
/etc/udev/rules.d/10-visor.rules: |
23 |
KERNEL=="ttyUSB[0-9]*", NAME="tts/USB%n", GROUP:="usb", MODE:="0666" |
24 |
BUS=="usb", SYSFS{product}=="Palm Handheld*", KERNEL="ttyUSB[13579]", |
25 |
SYMLINK="pilot", MODE:="0666", GROUP:="usb" |
26 |
|
27 |
/etc/udev/permissions.d/10-visor.permissions: |
28 |
ttyUSB*:root:usb:0666 |
29 |
tts/[0-9]*:root:usb:0666 |
30 |
tts/USB[0-9]*:root:usb:0666 |
31 |
pilot:root:usb:0666 |
32 |
|
33 |
With that I am able to just use /dev/pilot regardless of which ttyUSB is |
34 |
really created. Before I forget: I put myself in the usb group. |
35 |
|
36 |
> sys-fs/udev-070-r1 |
37 |
> # PalmOne Tungsten T3 |
38 |
> BUS="usb",SYSFS{serial}="12345467893ABC",NAME="pilot",OWNER="root",GROUP="tty",MODE="0660" |
39 |
> # |
40 |
> # This works for one user's Handspring Visor. Put the desired user |
41 |
> in the "usb" group. |
42 |
> KERNEL="ttyUSB[01]*", NAME="tts/USB%n", GROUP="usb", MODE="0660" |
43 |
> 3) System |
44 |
> stonki portage # rc-update -s | grep hotplug |
45 |
> hotplug | boot |
46 |
> |
47 |
> So, an up-to-date Kernel with Visor support, Udev is installed and |
48 |
> the hotplug daemon is running |
49 |
> |
50 |
> -------------------------- |
51 |
> |
52 |
> 4) I am now connecting the T5 to the computer without (!) pressing |
53 |
> anything ! |
54 |
> |
55 |
> stonki portage # udevinfo -p /sys/class/tty/ttyUSB3 -a |
56 |
> [...] |
57 |
> DRIVER=="visor" |
58 |
> [...] |
59 |
> SYSFS{product}=="palmOne Handheld" |
60 |
> SYSFS{serial}=="504E35424D35543556305848" |
61 |
> |
62 |
> |
63 |
> 5) I am creating a new file in /etc/udev/rules.d |
64 |
> tonki rules.d # cat 10-udev.rules |
65 |
> # PalmOne Tungsten |
66 |
> BUS="usb",SYSFS{serial}="504E35424D35543556305848",NAME="pilot",OWNER="root",GROUP="tty",MODE="0660" |
67 |
> # |
68 |
> # This works for one user's Handspring Visor. Put the desired user |
69 |
> in the "usb" group. |
70 |
> KERNEL="ttyUSB[0123]*", NAME="tts/USB%n", GROUP="usb", MODE="0660" |
71 |
> |
72 |
> 6) am using the unstable pilot-link version (the stable did not work |
73 |
> for me as well), but still no success: |
74 |
> |
75 |
> a) I am attaching the T5 without (!) pressing the sync button. |
76 |
> In /var/log/messages it says: |
77 |
> |
78 |
> Jan 21 18:44:22 stonki visor 2-1:1.0: Handspring Visor / Palm OS |
79 |
> converter detected |
80 |
> Jan 21 18:44:22 stonki usb 2-1: Handspring Visor / Palm OS converter |
81 |
> now attached to ttyUSB2 |
82 |
> Jan 21 18:44:22 stonki usb 2-1: Handspring Visor / Palm OS converter |
83 |
> now attached to ttyUSB3 |
84 |
> |
85 |
> |
86 |
> b) a /dev/pilot gets created |
87 |
> stonki rules.d # ls -als /dev/pilot |
88 |
> 0 crw-rw---- 1 root tty 188, 2 Jan 21 18:44 /dev/pilot |
89 |
> |
90 |
> |
91 |
> c) stonki rules.d # pilot-xfer -p /dev/pilot --list |
92 |
> Listening for incoming connection on /dev/pilot... |
93 |
> |
94 |
> d) Pressing Hotsync.... |
95 |
> Jan 21 18:45:53 stonki visor 2-1:1.0: Handspring Visor / Palm OS |
96 |
> converter detected |
97 |
> Jan 21 18:45:53 stonki usb 2-1: Handspring Visor / Palm OS converter |
98 |
> now attached to ttyUSB4 |
99 |
> Jan 21 18:45:53 stonki usb 2-1: Handspring Visor / Palm OS converter |
100 |
> now attached to ttyUSB5 |
101 |
> |
102 |
> |
103 |
> WHY I am getting USB4 and USB5 ? |
104 |
> |
105 |
> e) of course it does NOT work.... |
106 |
> |
107 |
> |
108 |
> any idea ? |
109 |
> |
110 |
> Thanks Stonki |
111 |
> |
112 |
> -- |
113 |
> www.stonki.de: the more I see, the more I know....... |
114 |
> www.proftpd.de: Deutsche ProFTPD Dokumentation |
115 |
> www.krename.net: Der Batch Renamer für KDE |
116 |
> www.kbarcode.net: Die Barcode Solution für KDE |
117 |
> |
118 |
|
119 |
-- |
120 |
gentoo-user@g.o mailing list |