Patch from Kevin Page <krp[AT]fedoraproject org>:
- corrected documentation for visor module use - removed 60-pilot.rules in preference to upstream's 60-libpisock.rules to match README.fedora
This commit is contained in:
parent
fd7ed8abf1
commit
1711434fb7
@ -1 +0,0 @@
|
|||||||
BUS=="usb", SYSFS{product}=="Palm Handheld*|Handspring*",KERNEL=="ttyUSB[13579]", SYMLINK="pilot", GROUP="uucp", MODE="0660"
|
|
@ -39,19 +39,30 @@ Unfortunately this solution is inherently imperfect when used with udev
|
|||||||
1) disable libusb: remove (or comment out the contents) of
|
1) disable libusb: remove (or comment out the contents) of
|
||||||
/etc/modprobe.d/blacklist-visor
|
/etc/modprobe.d/blacklist-visor
|
||||||
|
|
||||||
2) Configure udev to detect the Palm and create /dev/pilot: copy
|
2) Configure udev to detect the Palm:
|
||||||
60-pilot.rules from /usr/share/pilot-link/udev/ to /etc/udev/rules.d/
|
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:
|
3) Configure permissions so that a console user can access /dev/pilot:
|
||||||
copy 60-pilot.perms from /usr/share/pilot-link/udev/ to
|
copy 60-pilot.perms from /usr/share/pilot-link/udev/ to
|
||||||
/etc/security/console.perms.d/
|
/etc/security/console.perms.d/
|
||||||
|
|
||||||
If your palm is not working you could try to change the symlink
|
When you connect your Palm handheld, watch /var/log/messages - the visor
|
||||||
created in 60-pilot.rules - change the tag KERNEL=="ttyUSB[13579]" to
|
module should create two ttyUSB devices. Depending on your handheld
|
||||||
KERNEL=="ttyUSB[02468]".
|
model you will need to use either the first or second of these as the
|
||||||
|
--port argument with pilot-link based programs.
|
||||||
|
|
||||||
For a discussion of the inherent problems related to the Visor module,
|
Some users like the convenience of linking this device to /dev/pilot.
|
||||||
see:
|
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 further discussion of the inherent problems related to the Visor
|
||||||
|
module, see:
|
||||||
https://bugzilla.redhat.com/show_bug.cgi?id=158809
|
https://bugzilla.redhat.com/show_bug.cgi?id=158809
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: pilot-link
|
Name: pilot-link
|
||||||
Version: 0.12.3
|
Version: 0.12.3
|
||||||
Release: 13%{?dist}
|
Release: 14%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
License: GPLv2 and GPLv2+ and LGPLv2+ and TCL
|
License: GPLv2 and GPLv2+ and LGPLv2+ and TCL
|
||||||
Group: Applications/Communications
|
Group: Applications/Communications
|
||||||
@ -14,7 +14,6 @@ Source0: pilot-link-%{version}.tar.bz2
|
|||||||
Source3: blacklist-visor
|
Source3: blacklist-visor
|
||||||
Source4: README.fedora
|
Source4: README.fedora
|
||||||
Source5: 60-pilot.perms
|
Source5: 60-pilot.perms
|
||||||
Source6: 60-pilot.rules
|
|
||||||
|
|
||||||
ExcludeArch: s390 s390x
|
ExcludeArch: s390 s390x
|
||||||
#Patch1: pilot-link-0.11.0-perlmd5.patch # May be still applied
|
#Patch1: pilot-link-0.11.0-perlmd5.patch # May be still applied
|
||||||
@ -151,7 +150,6 @@ cp %{SOURCE4} README.fedora
|
|||||||
|
|
||||||
# install visor configs to share/udev
|
# install visor configs to share/udev
|
||||||
install -p -m644 %{SOURCE5} %{buildroot}%{_datadir}/pilot-link/udev
|
install -p -m644 %{SOURCE5} %{buildroot}%{_datadir}/pilot-link/udev
|
||||||
install -p -m644 %{SOURCE6} %{buildroot}%{_datadir}/pilot-link/udev
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -181,6 +179,9 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/aclocal/*.m4
|
%{_datadir}/aclocal/*.m4
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 06 2008 Kevin Page <krp[AT]fedoraproject org> - 2:0.12.3-14
|
||||||
|
- corrected documentation for visor module use
|
||||||
|
|
||||||
* Wed Mar 26 2008 Ivana Varekova <varekova@redhat.com> 2:0.12.3-13
|
* Wed Mar 26 2008 Ivana Varekova <varekova@redhat.com> 2:0.12.3-13
|
||||||
- remove HAL/PolicyKit staff (is in hal package now)
|
- remove HAL/PolicyKit staff (is in hal package now)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user