Re: Pilot synch issues (nearly there)

Andrew Greig <[email protected]>
Newsgroups gmane.comp.gnome.apps.pilot
Message-ID <1188796190.4861.31.camel@localhost>
Hi,

I suspect we are very close to having this work. so here is the output
of the gpilotd start up:

bash-3.1$ exec /usr/lib/gpilotd
gpilotd-Message: gnome-pilot 2.0.15 starting...
gpilotd-Message: compiled for pilot-link version 0.12.1
gpilotd-Message: compiled with [VFS] [USB] [IrDA] [Network]
gpilotd-Message: Activating CORBA server
gpilotd-Message: bonobo_activation_active_server_register = 0
gpilotd-Message: Watching Cradle (usb:)
		At this point button on synch cable was depressed and then:

gpilotd-Message: Found 0830, 0061
gpilotd-Message: Using net TRUE
gpilotd-Message: setting PILOTRATE=57600

(gpilotd:5037): gpilotd-WARNING **: An error occurred while getting the
PDA's system data

		Then a warning came up on the device saying that "the connection
between your device and the desktop could not be established". Please
check your setup and try again." 

(gpilotd:5037): gpilotd-WARNING **: error -201 from pi_close.
gpilotd-Message: setting PILOTRATE=57600

Output from lsmod:
[root@localhost andrew]# lsmod
Module                  Size  Used by
i810                   18144  2
drm                    62420  3 i810
nfsd                  216100  9
exportfs                5408  1 nfsd
lockd                  56168  2 nfsd
nfs_acl                 3680  1 nfsd
sunrpc                137308  4 nfsd,lockd,nfs_acl
e100                   31140  0
mii                     5568  1 e100
snd_seq_dummy           3492  0
snd_seq_oss            31168  0
snd_seq_midi_event      6944  1 snd_seq_oss
snd_seq                49232  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          7052  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            40192  0
snd_mixer_oss          15904  1 snd_pcm_oss
snd_intel8x0           29212  1
snd_ac97_codec         96708  1 snd_intel8x0
af_packet              17768  2
snd_ac97_bus            2720  1 snd_ac97_codec
snd_pcm                69892  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              19396  2 snd_seq,snd_pcm
snd_page_alloc          8552  2 snd_intel8x0,snd_pcm
snd                    46276  11
snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore               7936  1 snd
ipv6                  237088  14
rfcomm                 33236  0
l2cap                  21088  5 rfcomm
bluetooth              43108  4 rfcomm,l2cap
video                  13796  0
thermal                11112  0
processor              21288  1 thermal
fan                     3908  0
container               3840  0
button                  5648  0
battery                 8132  0
ac                      4164  0
ide_cd                 35616  0
binfmt_misc             9704  1
loop                   15208  0
nls_cp437               6304  1
vfat                   10944  1
fat                    47356  1 vfat
nls_utf8                2496  2
ntfs                  267196  1
supermount             33968  1
dm_mod                 49560  0
sg                     30584  0
aic7xxx               176276  0
scsi_transport_spi     22368  1 aic7xxx
scsi_mod              118824  3 sg,aic7xxx,scsi_transport_spi
floppy                 55108  0
hw_random               5560  0
intel_agp              22684  1
agpgart                27048  3 drm,intel_agp
tsdev                   6880  0
evdev                   8672  1
usbmouse                5024  0
usbhid                 50304  0
usblp                  12192  0
ehci_hcd               28968  0
uhci_hcd               20912  0
usbcore               113344  6 usbmouse,usbhid,usblp,ehci_hcd,uhci_hcd
xfs                   571192  7


AND
[root@localhost lib]# ls -l libusb*
-rw-r--r-- 1 root root 791 Dec 19  2006 libusb.la
-rw-r--r-- 1 root root 824 Dec 19  2006 libusbpp.la
lrwxrwxrwx 1 root root  27 Aug 30 15:42 libusbpp.so
-> ../../lib/libusbpp-0.1.so.4*
lrwxrwxrwx 1 root root  25 Aug 30 15:42 libusb.so
-> ../../lib/libusb-0.1.so.4*

AND
root@localhost bin]# ls -l gpilot*
-rwxr-xr-x 1 root root 68732 Aug 24 17:46 gpilotd-control-applet*
-rwxr-xr-x 1 root root  4348 Aug 24 17:46 gpilotd-session-wrapper*
-rwxr-xr-x 1 root root 10296 Aug 24 17:46 gpilot-install-file*

AND

[root@localhost lib]# ls -l gpilot*
-rwxr-xr-x 1 root root 35368 Aug 24 17:46 gpilot-applet*
-rwxr-xr-x 1 root root 80904 Aug 24 17:46 gpilotd*

AND cat /etc/udev/rules.d/50-mdk.rules

# Misc permissions:

# pilot/palm devices
KERNEL=="pilot",                NAME="%k", GROUP="uucp"


# usbfs-like devices
SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev};
printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c"
# libusb device access (mount usbfs or usbdev nodes)
DEVPATH=="/module/usbcore", ACTION=="add", \
              RUN+="/bin/sh -c 'sleep 1; /bin/mount -t usbfs -o
devmode=0664,devgid=43 none /proc/bus/usb'"
# usbhid should be loaded before usbmouse, or else some Microsoft mice
move vertically only
ACTION=="add", SYSFS{modalias}=="usb:v*p*d*dc*dsc*dp*ic03isc01ip02*",
RUN+="/sbin/modprobe usbhid"

AND
[root@localhost rules.d]# cat 60-dynamic.rules
# Dynamic rules for udev

KERNEL=="video[0-9]*",          RUN
+="/etc/dynamic/scripts/webcam.script"
KERNEL=="usb/rio500[0-9]*",     RUN
+="/etc/dynamic/scripts/rio500.script"
# KERNEL=="ttyUSB[13579]*",     RUN+="/etc/dynamic/scripts/visor.script"
KERNEL=="lp[0-9]*",             RUN+="/etc/dynamic/scripts/lp.script"
[root@localhost rules.d]#

	QUESTION: Should I move that vistor script out of udev rules?

Does this info help at all.  Is there anything else I should collect?
and post?

Thanks for your patience on thsi.

Andrew Greig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.