rpms/pilot-link/F-8 pilot-link.spec, 1.78, 1.79 README.fedora, 1.5, 1.6 60-pilot.rules, 1.5, NONE 10-usb-pda-palm.fdi, 1.1, NONE

Alex Lancaster (alexlan) fedora-extras-commits at redhat.com
Sun Jul 6 02:19:03 UTC 2008


Author: alexlan

Update of /cvs/extras/rpms/pilot-link/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6165

Modified Files:
	pilot-link.spec README.fedora 
Removed Files:
	60-pilot.rules 10-usb-pda-palm.fdi 
Log Message:
Patch from  Kevin Page <krp[AT]fedoraproject org>:
- remove 10-usb-pda-palm.fdi as now included in hal-info-20080607-1.fc8
- corrected documentation for visor module use
- removed 60-pilot.rules in preference to upstream's 60-libpisock.rules
  to match README.fedora



Index: pilot-link.spec
===================================================================
RCS file: /cvs/extras/rpms/pilot-link/F-8/pilot-link.spec,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- pilot-link.spec	28 May 2008 00:51:04 -0000	1.78
+++ pilot-link.spec	6 Jul 2008 02:18:14 -0000	1.79
@@ -3,7 +3,7 @@
 
 Name: pilot-link
 Version: 0.12.2
-Release: 20%{?dist}
+Release: 21%{?dist}
 Epoch: 2
 License: GPLv2 and GPLv2+ and LGPLv2+ and TCL
 Group: Applications/Communications
@@ -12,13 +12,11 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Source0: pilot-link-%{version}.tar.bz2
 # Source1 through Source3 can be dropped if/when hal is updated to 0.5.11
-Source1: 10-usb-pda-palm.fdi
-Source2: 19-palm-acl-management.fdi
-Source3: pilot-device-file.policy
-Source4: blacklist-visor
-Source5: README.fedora
-Source6: 60-pilot.perms
-Source7: 60-pilot.rules
+Source1: 19-palm-acl-management.fdi
+Source2: pilot-device-file.policy
+Source3: blacklist-visor
+Source4: README.fedora
+Source5: 60-pilot.perms
 
 ExcludeArch: s390 s390x
 #Patch1: pilot-link-0.11.0-perlmd5.patch  # May be still applied
@@ -144,25 +142,22 @@
 rm -f %{buildroot}%{_bindir}/pilot-prc
 
 # Install hal rules files
-mkdir -p %{buildroot}%{_datadir}/hal/fdi/information/20thirdparty/
-install -p -m644 %{SOURCE1} %{buildroot}%{_datadir}/hal/fdi/information/20thirdparty/10-usb-pda-palm.fdi
 mkdir -p %{buildroot}%{_datadir}/hal/fdi/policy/10osvendor/
-install -p -m644 %{SOURCE2} %{buildroot}%{_datadir}/hal/fdi/policy/10osvendor/19-palm-acl-management.fdi
+install -p -m644 %{SOURCE1} %{buildroot}%{_datadir}/hal/fdi/policy/10osvendor/19-palm-acl-management.fdi
 
 # Install PolicyKit
 mkdir -p %{buildroot}%{_datadir}/PolicyKit/policy
-install -p -m644 %{SOURCE3} %{buildroot}%{_datadir}/PolicyKit/policy/pilot-device-file.policy
+install -p -m644 %{SOURCE2} %{buildroot}%{_datadir}/PolicyKit/policy/pilot-device-file.policy
 
 # Put visor to blacklist
 mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d/
-install -p -m644 %{SOURCE4} %{buildroot}%{_sysconfdir}/modprobe.d/blacklist-visor
+install -p -m644 %{SOURCE3} %{buildroot}%{_sysconfdir}/modprobe.d/blacklist-visor
 
 # put README.fedora into tree
-cp %{SOURCE5} README.fedora
+cp %{SOURCE4} README.fedora
 
 # install visor configs to share/udev
-install -p -m644 %{SOURCE6} %{buildroot}%{_datadir}/pilot-link/udev
-install -p -m644 %{SOURCE7} %{buildroot}%{_datadir}/pilot-link/udev
+install -p -m644 %{SOURCE5} %{buildroot}%{_datadir}/pilot-link/udev
 
 %post -p /sbin/ldconfig
 
@@ -182,7 +177,6 @@
 %{_bindir}/*
 %{_datadir}/pilot-link
 %{_mandir}/man?/*
-%{_datadir}/hal/fdi/information/20thirdparty/10-usb-pda-palm.fdi
 %{_datadir}/hal/fdi/policy/10osvendor/19-palm-acl-management.fdi
 %{_datadir}/PolicyKit/policy/pilot-device-file.policy
 %config(noreplace) %{_sysconfdir}/modprobe.d/blacklist-visor
@@ -196,6 +190,10 @@
 %{_datadir}/aclocal/*.m4
 
 %changelog
+* Fri Jun 06 2008 Kevin Page <krp[AT]fedoraproject org> - 2:0.12.2-21
+- remove 10-usb-pda-palm.fdi as now included in hal-info-20080607-1.fc8
+- corrected documentation for visor module use
+
 * Fri May 23 2008 Kevin Page <krp[AT]fedoraproject org> - 2:0.12.2-20
 - Resolves: #280251
   change hal rules to subsitute for pending hal-0.5.11


Index: README.fedora
===================================================================
RCS file: /cvs/extras/rpms/pilot-link/F-8/README.fedora,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- README.fedora	10 Jan 2008 13:53:12 -0000	1.5
+++ README.fedora	6 Jul 2008 02:18:15 -0000	1.6
@@ -39,19 +39,30 @@
 1) disable libusb: remove (or comment out the contents) of
 /etc/modprobe.d/blacklist-visor
 
-2) Configure udev to detect the Palm and create /dev/pilot: copy
-60-pilot.rules from /usr/share/pilot-link/udev/ to /etc/udev/rules.d/
+2) Configure udev to detect the Palm:
+2a) copy 60-libpisock.rules from /usr/share/pilot-link/udev/ to 
+/etc/udev/rules.d/
+2b) within 60-libpisock.rules change all instances of GROUP="dialout" to
+GROUP="uucp"
 
 3) Configure permissions so that a console user can access /dev/pilot:
 copy 60-pilot.perms from /usr/share/pilot-link/udev/ to
 /etc/security/console.perms.d/
 
-If your palm is not working you could try to change the symlink 
-created in 60-pilot.rules - change the tag KERNEL=="ttyUSB[13579]" to
-KERNEL=="ttyUSB[02468]".
+When you connect your Palm handheld, watch /var/log/messages - the visor
+module should create two ttyUSB devices. Depending on your handheld
+model you will need to use either the first or second of these as the
+--port argument with pilot-link based programs.
+
+Some users like the convenience of linking this device to /dev/pilot.
+To do this add SYMLINK="pilot" and one of either KERNEL=="ttyUSB[02468]"
+or KERNEL=="ttyUSB[13579]" to each line in 60-libpisock.rules, depending
+on whether you need to use the first or second visor ttyUSB device.
+N.B. This is inherently unreliable since another driver could create an
+odd number of ttyUSB devices before the /dev/pilot symlink is created.
 
-For a discussion of the inherent problems related to the Visor module,
-see:
+For further discussion of the inherent problems related to the Visor 
+module, see:
 https://bugzilla.redhat.com/show_bug.cgi?id=158809
 
 


--- 60-pilot.rules DELETED ---


--- 10-usb-pda-palm.fdi DELETED ---




More information about the fedora-extras-commits mailing list