- Synchronize with F-8 branch:

- remove visor modul remove from %post script
- Change README.fedora use "ttyUSB[13579]" in 60-pilot.rules
This commit is contained in:
Ivana Varekova 2008-01-11 09:45:55 +00:00
parent e8af9a2599
commit 78a65cdb65
3 changed files with 23 additions and 13 deletions

View File

@ -1 +1 @@
BUS=="usb", SYSFS{product}=="Palm Handheld*|Handspring*",KERNEL=="ttyUSB*",NAME="ttyUSB%n", SYMLINK="pilot", GROUP="uucp", MODE="0660"
BUS=="usb", SYSFS{product}=="Palm Handheld*|Handspring*",KERNEL=="ttyUSB[13579]", SYMLINK="pilot", GROUP="uucp", MODE="0660"

View File

@ -12,11 +12,18 @@ are experiencing difficuly with having the Palm device recognized) you
should probably unplug and replugin in your device after the upgrade
for the new HAL configuration to take effect.
If kernel module 'visor' is activated then the HAL USB solution may not
work - so it may be necessary to remove it manually
(use command /sbin/modprobe visor) or reboot the computer.
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
described below. A long discussion about this problem is at:
https://bugzilla.redhat.com/show_bug.cgi?id=280251.
If this discussion does not help you, please report a bug to:
https://bugzilla.redhat.com/
Visor module setup
@ -39,6 +46,10 @@ Unfortunately this solution is inherently imperfect when used with udev
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]".
For a discussion of the inherent problems related to the Visor module,
see:
https://bugzilla.redhat.com/show_bug.cgi?id=158809

View File

@ -3,7 +3,7 @@
Name: pilot-link
Version: 0.12.3
Release: 5%{?dist}
Release: 6%{?dist}
Epoch: 2
License: GPLv2 and GPLv2+ and LGPLv2+ and TCL
Group: Applications/Communications
@ -27,7 +27,7 @@ Patch6: pilot-link-0.12.2-open.patch
Patch7: pilot-link-0.12.3-md5.patch
Patch8: bluetooth-session-register.diff
Requires(post): /sbin/ldconfig, /sbin/modprobe
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%if %{support_perl}
@ -160,15 +160,9 @@ cp %{SOURCE4} README.fedora
install -p -m644 %{SOURCE5} %{buildroot}%{_datadir}/pilot-link/udev
install -p -m644 %{SOURCE6} %{buildroot}%{_datadir}/pilot-link/udev
%post
/sbin/ldconfig
if [ $1 = 2 ]; then
# only attempt to remove visor module on upgrade, not needed for fresh install
/sbin/modprobe -s -r visor > /dev/null 2>&1
fi
%post -p /sbin/ldconfig
%postun
/sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
@ -196,6 +190,11 @@ rm -rf %{buildroot}
%{_datadir}/aclocal/*.m4
%changelog
* Fri Jan 11 2008 Ivana Varekova <varekova@redhat.com> - 2:0.12.3-6
- Synchronize with F-8 branch:
- remove visor modul remove from %post script
- Change README.fedora use "ttyUSB[13579]" in 60-pilot.rules
* Wed Jan 09 2008 - Bastien Nocera <bnocera@redhat.com> - 2:0.12.3-5
- Add Bluetooth support, with patch from Matt Davey <mcdavey@mrao.cam.ac.uk>
to avoid crashing when pi_close is called