rpms/pilot-link/F-8 README.fedora, NONE, 1.1 60-pilot.rules, 1.2, 1.3 60-pilot.perms, 1.2, 1.3 pilot-link.spec, 1.69, 1.70
Alex Lancaster (alexlan)
fedora-extras-commits at redhat.com
Fri Jan 4 09:22:25 UTC 2008
Author: alexlan
Update of /cvs/extras/rpms/pilot-link/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5921
Modified Files:
pilot-link.spec
Added Files:
README.fedora 60-pilot.rules 60-pilot.perms
Log Message:
* Fri Jan 4 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 2:0.12.2-12
- Add README.fedora and visor configs as fallbacks (#280251: thanks Kevin Page)
--- NEW FILE README.fedora ---
Additional information for Fedora pilot-link users
==================================================
pilot-link-0.12.2-10.fc8 and later versions are configured to enable
the use of libusb for console users - permissions are now handled by
PolicyKit. For more information on libusb see README.libusb.
pilot-link libusb support is relatively new and may still be
incompatible with some handheld devices. If you experience such a
problem you may want to try the older "visor module" USB method
described below. If possible please report device incompatibility to:
https://bugzilla.redhat.com/show_bug.cgi?id=280251
Visor module setup
------------------
The Visor module is a backwards compatibility solution to expose the USB
connection of newer Palm handhelds as a serial device, which is what
older versions of pilot-link and dependent packages require to work.
Unfortunately this solution is inherently imperfect when used with udev
(as Fedora does) - you may have to tweak your individual setup.
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/doc/pilot-link/udev/ to /etc/udev/rules.d/
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/
For a discussion of the inherent problems related to the Visor module,
see:
https://bugzilla.redhat.com/show_bug.cgi?id=158809
Old serial (non-USB) handhelds
------------------------------
Older serial (non-USB) handhelds can be directly addressed by pilot link
on their serial port (e.g. /dev/ttyS0) or /dev/pilot can be symlinked to
the serial port.
Kevin R. Page, 20071211
Index: 60-pilot.rules
===================================================================
RCS file: 60-pilot.rules
diff -N 60-pilot.rules
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ 60-pilot.rules 4 Jan 2008 09:21:48 -0000 1.3
@@ -0,0 +1 @@
+BUS=="usb", SYSFS{product}=="Palm Handheld*|Handspring*",KERNEL=="ttyUSB[13579]", SYMLINK="pilot", GROUP="uucp", MODE="0660"
Index: 60-pilot.perms
===================================================================
RCS file: 60-pilot.perms
diff -N 60-pilot.perms
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ 60-pilot.perms 4 Jan 2008 09:21:48 -0000 1.3
@@ -0,0 +1,2 @@
+<ttyUSB>=/dev/ttyUSB*
+<console> 0660 <ttyUSB> 0660 root.uucp
Index: pilot-link.spec
===================================================================
RCS file: /cvs/extras/rpms/pilot-link/F-8/pilot-link.spec,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- pilot-link.spec 11 Dec 2007 08:12:36 -0000 1.69
+++ pilot-link.spec 4 Jan 2008 09:21:48 -0000 1.70
@@ -3,7 +3,7 @@
Name: pilot-link
Version: 0.12.2
-Release: 11%{?dist}
+Release: 12%{?dist}
Epoch: 2
License: GPLv2 and GPLv2+ and LGPLv2+ and TCL
Group: Applications/Communications
@@ -14,6 +14,9 @@
Source1: 19-pam-acl-management.fdi
Source2: pilot-device-file.policy
Source3: blacklist-visor
+Source4: README.fedora
+Source5: 60-pilot.perms
+Source6: 60-pilot.rules
ExcludeArch: s390 s390x
#Patch1: pilot-link-0.11.0-perlmd5.patch # May be still applied
@@ -147,6 +150,10 @@
mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d/
install -p -m644 %{SOURCE3} %{buildroot}%{_sysconfdir}/modprobe.d/blacklist-visor
+# install visor configs to share/udev
+install -p -m644 %{SOURCE4} %{buildroot}%{_datadir}/pilot-link/udev
+install -p -m644 %{SOURCE5} %{buildroot}%{_datadir}/pilot-link/udev
+
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@@ -156,7 +163,7 @@
%files
%defattr(-,root,root,-)
-%doc COPYING ChangeLog README NEWS doc/README.usb doc/README.debugging doc/README.libusb
+%doc COPYING ChangeLog README NEWS doc/README.usb doc/README.debugging doc/README.libusb README.fedora
%{_libdir}/*.so.*
%if %{support_perl}
%{perl_vendorarch}/auto/*
@@ -178,6 +185,9 @@
%{_datadir}/aclocal/*.m4
%changelog
+* Fri Jan 4 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 2:0.12.2-12
+- Add README.fedora and visor configs as fallbacks (#280251: thanks Kevin Page)
+
* Tue Dec 11 2007 Ivana Varekova <varekova at redhat.com> - 2:0.12.2-11
- fix md5 header file (#403641)
More information about the fedora-extras-commits
mailing list