diff --git a/69-pilot-link.rules b/69-pilot-link.rules new file mode 100644 index 0000000..6e18ed1 --- /dev/null +++ b/69-pilot-link.rules @@ -0,0 +1 @@ +BUS=="usb", SYSFS{product}=="Palm Handheld*|Handspring*",ENV{ACL_MANAGE}="1" \ No newline at end of file diff --git a/README.fedora b/README.fedora index 6ea6702..2702a06 100644 --- a/README.fedora +++ b/README.fedora @@ -29,6 +29,13 @@ https://bugzilla.redhat.com/ Visor module setup ------------------ + Note since F-12, the default access for libusb pilot-link has changed + again to use udev, so you may need to remove + /lib/udev/rules.d/69-pilot-link.rules before executing the following. + For more discussion see: + + https://bugzilla.redhat.com/show_bug.cgi?id=529259 + 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. @@ -74,4 +81,4 @@ on their serial port (e.g. /dev/ttyS0) or /dev/pilot can be symlinked to the serial port. Kevin R. Page, 2007-12-11 -Alex Lancaster, 2008-01-07 +Alex Lancaster, 2009-11-15 diff --git a/pilot-link.spec b/pilot-link.spec index d97fee6..09b7914 100644 --- a/pilot-link.spec +++ b/pilot-link.spec @@ -2,7 +2,7 @@ Name: pilot-link Version: 0.12.4 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 2 License: GPLv2 and GPLv2+ and LGPLv2+ and TCL Group: Applications/Communications @@ -13,6 +13,7 @@ Source0: pilot-link-%{version}.tar.bz2 Source3: blacklist-visor Source4: README.fedora Source5: 60-pilot.perms +Source6: 69-pilot-link.rules ExcludeArch: s390 s390x #Patch1: pilot-link-0.11.0-perlmd5.patch # May be still applied @@ -141,6 +142,10 @@ cp %{SOURCE4} README.fedora # install visor configs to share/udev install -p -m644 %{SOURCE5} %{buildroot}%{_datadir}/pilot-link/udev +# now that rules are moved out HAL, install to /lib/udev/ +install -d %{buildroot}/lib/udev/rules.d/ +install -p -m644 %{SOURCE6} %{buildroot}/lib/udev/rules.d/ + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -154,6 +159,7 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/modprobe.d/blacklist-visor.conf %{_libdir}/*.so.* %{_bindir}/* +/lib/udev/rules.d/69-pilot-link.rules %exclude %{_bindir}/pilot-ietf2datebook %exclude %{_bindir}/pilot-sync-plan %exclude %{_bindir}/pilot-undelete @@ -179,6 +185,9 @@ rm -rf %{buildroot} %changelog +* Sun Nov 15 2009 Alex Lancaster - 2:0.12.4-3 +- Install udev rules again, updated for new ACL handling by udev (#529259) + * Sun Jul 26 2009 Fedora Release Engineering - 2:0.12.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild