You are not logged in.
Pages: 1
I am pulling my hairs out RTFM and all TF posts I can find.
This is what I've tried:
gpasswd -a reploid tty
added 'visor' to modules in /etc/rc.conf
played around with multiple settings in the preferences window, /dev/tty/USB1, USB0, /dev/pilot
edited /etc/group and put my username under tty
removed the symlink /dev/pilot according to this thread: http://bbs.archlinux.org/viewtopic.php?id=10944
A) #ln -s /dev/tts/USB1 /dev/pilot
* now if you get a #ln -s /dev/tts/USB1 /dev/pilot
ln: `/dev/pilot': File exists *
all you have to do is
B) #rm /dev/pilot
this just removes the link to the old port no worries
then just run command A) again ^
now you will want correct premissions winkC) # chmod 0777 /dev/pilot
now this should give your normal user premissions to access the sync function of your palm pilot
I haven't messed around with udev yet.
dmesg shows this:
visor ttyUSB0: Handspring Visor / Palm OS converter now disconnected from ttyUSB0
visor ttyUSB1: Handspring Visor / Palm OS converter now disconnected from ttyUSB1
visor 3-1:1.0: device disconnected
hub 2-0:1.0: unable to enumerate USB device on port 3
usb 3-1: new full speed USB device using uhci_hcd and address 25
usb 3-1: configuration #1 chosen from 1 choice
visor 3-1:1.0: Handspring Visor / Palm OS converter detected
usb 3-1: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 3-1: Handspring Visor / Palm OS converter now attached to ttyUSB1
usb 3-1: USB disconnect, address 25
visor ttyUSB0: Handspring Visor / Palm OS converter now disconnected from ttyUSB0
visor ttyUSB1: Handspring Visor / Palm OS converter now disconnected from ttyUSB1
Any clues on where I should start, or what I should do? Please? Pretty please with sugar on top? ![]()
Offline
Symlinking manually is absolutely the wrong way to do it ![]()
Use udev - that's what it's for. The Palm "device" is only exposed during the hotsync.
Improve your desktop responsiveness and font rendering and ALSA sound and BusyBox init
Offline
Great. Now what do I do to reverse the symlinking back to normal?
I have tried different versions of udev rules now. I made a backup of the file: 40-pilot-link.rules and changed it into this:
BUS=="usb", SYSFS{product}=="Palm Handheld*", KERNEL=="ttyUSB[02468]", SYMLINK+="pilot", NAME="%k", GROUP="uucp", MODE="0660", OWNER="My Palmnamel"Last edited by Reploid (2008-06-12 08:21:16)
Offline
Symlinking manually is absolutely the wrong way to do it
Use udev - that's what it's for. The Palm "device" is only exposed during the hotsync.
What does this line from your post in the gentoo forums mean?
USB_SERIAL_VISOR=yWhere do I enter that?
And adding myself to the group "usb" doesn't work either, there is no group called usb on my computer. Hmm...
Last edited by Reploid (2008-06-12 09:01:44)
Offline
In "make menuconfig" - it's a kernel module. The standard kernel will include it.
Try "modprobe visor" and "lsmod | grep visor", to check.
Last edited by brebs (2008-06-12 09:06:51)
Improve your desktop responsiveness and font rendering and ALSA sound and BusyBox init
Offline
[root@archcomputer reploid]# lsmod | grep visor
visor 16012 0
usbserial 30312 1 visor
usbcore 129776 7 hci_usb,visor,usbserial,usbhid,ehci_hcd,uhci_hcd
That means I don't have to include that line, right?
I would try to put this line in my udev, but I don't have a group on my computer called "usb". Is that a difference between gentoo and arch? Or do I need to create a group (how) called usb in order to get my palm up and running??
SUBSYSTEMS=="usb", ATTRS{product}=="Palm Handheld*", KERNEL=="ttyUSB*[1,3,5,7,9]", ACTION=="add", SYMLINK+="pilot", GROUP="usb",
Offline
Your kernel is OK then.
Remove the syntax-error-inducing comma from the end of your line ![]()
Use "users" instead of "usb".
grep users /etc/groupDifferent distros have different user group configurations, just to confuse us.
Last edited by brebs (2008-06-12 10:00:49)
Improve your desktop responsiveness and font rendering and ALSA sound and BusyBox init
Offline
Arite, this just ain't working.
My udev:
SUBSYSTEMS=="usb", ATTRS{product}=="Palm Handheld*", KERNEL=="ttyUSB*[1,3,5,7,9]", ACTION=="add", SYMLINK+="pilot", GROUP="users", MODE="0660", RUN+="/home/reploid/bin/backuppalm"
dmesg:
visor ttyUSB0: Handspring Visor / Palm OS converter now disconnected from ttyUSB0
visor ttyUSB1: Handspring Visor / Palm OS converter now disconnected from ttyUSB1
visor 3-1:1.0: device disconnected
hub 2-0:1.0: unable to enumerate USB device on port 3
usb 3-1: new full speed USB device using uhci_hcd and address 3
usb 3-1: configuration #1 chosen from 1 choice
visor 3-1:1.0: Handspring Visor / Palm OS converter detected
usb 3-1: Handspring Visor / Palm OS converter now attached to ttyUSB0
usb 3-1: Handspring Visor / Palm OS converter now attached to ttyUSB1
And:
ls -l /dev/pilot
lrwxrwxrwx 1 root root 8 2008-06-12 00:50 /dev/pilot -> tts/USB1
Suggestions for next step? Should I replace usb with users after subsystems as well?
Offline
Debug it. The "product" might be different for you, since Palm keep changing the name to confuse us.
Google for the magic word "udevinfo", and the magic phrase "udev debugging".
Improve your desktop responsiveness and font rendering and ALSA sound and BusyBox init
Offline
Thanks for the help so far Paul. I'm gonna read some manpages now to see if I can get it sorted out without asking stupid questions.
Offline
tty isn't the right group. If you look at /dev/tts/USB1 you'll see that the group you need to be in is 'uucp' At least that's what udev assigns that device to on my system. You shouldn't need to do anything else once you get the permissions correct. Just remember to start the hotsync on the palm first as that's what creates the device notes.
Offline
Maybe my experiences with T5 will be of any use:
- don't mangle with udev rules, they are OK
- add yourself to uucp group
- find the right device to use; for me, tts/USB1 is the one, but it seems to change between different models
- (it took me some time to figure) start hotsync on Palm, wait about three seconds and then start sync on desktop (no matter whether via jpilot or pilot-link - the time seems to be needed by udev); if you start desktop part first, it would likely hang, eating your CPU; if you don't wait, connection would fail.
I have never used 'daemonized' solutions such as gpilotd though, that would simplify the process probably.
Offline
I am on a new Arch Install now. After adding myself to uucp, installing jpilot, pushing hotsync on palm and waiting 3sek + before pressing jpilot's sync button, my palm connects to jpilot. Yay!!
Thank u.
There is still a few problems:
1) I can only sync if I start jpilot by typing sudo jpilot in the terminal. Otherwise I get this error message:
[reploid@archcomputer tts]$ jpilot
(jpilot:12332): Gtk-WARNING **: Unable to locate theme engine in module_path: "mist",
(jpilot:12332): Gtk-WARNING **: Unable to locate theme engine in module_path: "mist",
Error opening file: ToDoDB.pdb
Error opening file: DatebookDB.pdb
Error opening file: DatebookDB.pdb
Unable to open jpilot.alarms file
pi_bind error: /dev/tts/USB1 Permission denied ###(It is the same for /dev/pilot)
Check your serial port and settings
Exiting with status SYNC_ERROR_BIND
FinishedNow what the heck? ![]()
My permissions are the following:
in /dev
lrwxrwxrwx 1 root root 8 2008-08-16 16:42 pilot -> tts/USB1
crw-rw-rw- 1 root tty 5, 0 2008-08-16 13:08 tty
in /dev/tts:
crw-rw---- 1 root uucp 188, 0 2008-08-16 16:42 USB0
crw-rw---- 1 root uucp 188, 1 2008-08-16 16:42 USB1So what permissions do I need to set??
2 question:
typing gnome-pilot, gpilot or kpilot doesn't bring up neither application. I am on openbox, so I need to figure out how to configure the menu/ what command that will start gnome-pilot.
Again, thanx for all help so far, I am happy that the palm is recognized on my arch system, and this n00b greatly appreciates your input. ![]()
Offline
Permissions seem OK; did you use newgrp or re-logged in after joining uucp group? And, given you ran jpilot via sudo before, *pdb files are probably owned by root, not your user; change ownership of ~/.jpilot and its contents.
gnome-pilot/kpilot... I'm afraid I can't help here, jpilot works for me, so I had no urge to find another solution.
Offline
After lots of mucking about, I got this off the palm-usb howto: www.pilot-link.org/README.usb.
I put this in 40-pilot-links.rules:
BUS=="usb", SYSFS{product}=="Palm Handheld*|Handspring *", KERNEL=="ttyUSB*", NAME="ttyUSB%n", SYMLINK="pilot", GROUP="usb", MODE="0666"
Except, since I have an Abacus Wrist PDA (a super uber-geek toy), I changed:
SYSFS{product}=="Wrist PDA"
Jpilot works fine now.
___
Change is inevitable; progress less so.
Offline
Post the link correctly.
Improve your desktop responsiveness and font rendering and ALSA sound and BusyBox init
Offline
Pages: 1