Gentoo Archives: gentoo-user

From: Heinz Sporn <heinz.sporn@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Gentoo, udev and Palm Tungsten T5
Date: Sat, 13 Aug 2005 07:56:35
Message-Id: 1123918739.10491.10.camel@spok.local.sporn-it.com
In Reply to: Re: [gentoo-user] Gentoo, udev and Palm Tungsten T5 by Stefan Onken
1 Ok, let's see if I can remember how I got my Palm working .... ;-)
2
3 UDEV: /etc/udev/rules.d/10-udev.rules
4 BUS="usb", SYSFS{serial}="PalmSN12345678", NAME="pilot", MODE="0666"
5
6 The MODE paramter is VERY important! There had been some changes in this
7 area recently.
8
9 And just to be sure add a permission
10 here: /etc/udev/permissions.d/10-udev.permissions
11 # Palm Tungsten E
12 # pilot*:root:usb:0666
13 BUS="usb", SYSFS{serial}="PalmSN12345678", NAME="pilot", MODE="0666"
14
15 My Tungsten E doesn't have a craddle but can be directly connected with
16 an USB cable. I had to enable USB Serial Converter support in my kernel
17 (CONFIG_USB_SERIAL_VISOR) for that to work.
18
19 I believe that's pretty much it.
20
21 Regards
22
23 spox
24
25 Am Freitag, den 12.08.2005, 20:09 +0200 schrieb Stefan Onken:
26 > Am Freitag, 12. August 2005 04:58 schrieb Nick Rout:
27 >
28 > > http://www.reactivated.net/writing_udev_rules.html
29 > ]...]
30 >
31 > > 1. unlike many usb devices plugging a palm device in is
32 > > insufficient to get the kernel and udev and hotlpug to do
33 > > anything. you need to push the hotsync button.
34 > >
35 > > 2. you then get two devices (well on the treo anyway) - something
36 > > like ttyUSB0 and ttyUSB1 - only one of them is any good, the odd
37 > > one. They may not be in the top level of /dev, but in some
38 > > subdirectory. find and the kernel logs are your friends.
39 >
40 > well, I am using:
41 >
42 > BUS="usb", SYSFS{serial}="504E35424D42583456354E35",
43 > KERNEL="ttyUSB[1357]", SYMLINK="pilot"
44 >
45 >
46 > some seconds after I am connecting the Palm (without pressing any
47 > hotsync button !!! ) I am getting:
48 >
49 > p7010 ~ # ls -als /dev/tts/USB*
50 > 0 crw-rw-rw- 1 root tty 188, 0 Aug 12 20:01 /dev/tts/USB0
51 > 0 crw-rw-rw- 1 root tty 188, 1 Aug 12 20:01 /dev/tts/USB1
52 >
53 > p7010 ~ # ls -als /dev/pilot
54 > 0 lrwxrwxrwx 1 root root 8 Aug 12 20:01 /dev/pilot -> tts/USB1
55 >
56 >
57 > but even now a test with the palm program stops here:
58 >
59 >
60 > p7010 ~ # pilot-xfer --port /dev/pilot -L
61 > Listening to port: /dev/pilot
62 > Please press the HotSync button now...
63 >
64 > the moment I am pressing the hotsync button, the device (/dev/pilot)
65 > is disappearing for a second and will be created insteadly again:
66 >
67 > resulting: Error read system info on /dev/pilot
68 >
69 >
70 > kpilot is not able to connect at all :(
71 >
72 > --
73 > www.stonki.de: the more I see, the more I know.......
74 > www.proftpd.de: Deutsche ProFTPD Dokumentation
75 > www.krename.net: Der Batch Renamer für KDE
76 > www.kbarcode.net: Die Barcode Solution für KDE
77 >
78 --
79 Mit freundlichen Grüßen
80
81 Heinz Sporn
82
83 SPORN it-freelancing
84
85 Mobile: ++43 (0)699 / 127 827 07
86 Email: heinz.sporn@××××××××.com
87 heinz.sporn@××××××.at
88 Snail: Steyrer Str. 20
89 A-4540 Bad Hall
90 Austria / Europe
91
92 --
93 gentoo-user@g.o mailing list