Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 309418 Details for
Bug 280251
pilot-link configuration is incomplete
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to fix config and docs in pilot-link
pilot-link-20080615-krp.patch (text/plain), 27.11 KB, created by
Kevin R. Page
on 2008-06-15 21:51:34 UTC
(
hide
)
Description:
Patch to fix config and docs in pilot-link
Filename:
MIME Type:
Creator:
Kevin R. Page
Created:
2008-06-15 21:51:34 UTC
Size:
27.11 KB
patch
obsolete
>diff -urN pilot-link.orig/devel/60-pilot.rules pilot-link.patch-20080615/devel/60-pilot.rules >--- pilot-link.orig/devel/60-pilot.rules 2008-01-11 09:45:55.000000000 +0000 >+++ pilot-link.patch-20080615/devel/60-pilot.rules 1970-01-01 01:00:00.000000000 +0100 >@@ -1 +0,0 @@ >-BUS=="usb", SYSFS{product}=="Palm Handheld*|Handspring*",KERNEL=="ttyUSB[13579]", SYMLINK="pilot", GROUP="uucp", MODE="0660" >diff -urN pilot-link.orig/devel/pilot-link.spec pilot-link.patch-20080615/devel/pilot-link.spec >--- pilot-link.orig/devel/pilot-link.spec 2008-03-26 12:25:47.000000000 +0000 >+++ pilot-link.patch-20080615/devel/pilot-link.spec 2008-06-15 22:08:43.000000000 +0100 >@@ -3,7 +3,7 @@ > > Name: pilot-link > Version: 0.12.3 >-Release: 13%{?dist} >+Release: 14%{?dist} > Epoch: 2 > License: GPLv2 and GPLv2+ and LGPLv2+ and TCL > Group: Applications/Communications >@@ -14,7 +14,6 @@ > 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 >@@ -151,7 +150,6 @@ > > # install visor configs to share/udev > install -p -m644 %{SOURCE5} %{buildroot}%{_datadir}/pilot-link/udev >-install -p -m644 %{SOURCE6} %{buildroot}%{_datadir}/pilot-link/udev > > %post -p /sbin/ldconfig > >@@ -181,6 +179,9 @@ > %{_datadir}/aclocal/*.m4 > > %changelog >+* Sun Jun 15 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 > - remove HAL/PolicyKit staff (is in hal package now) > >diff -urN pilot-link.orig/devel/README.fedora pilot-link.patch-20080615/devel/README.fedora >--- pilot-link.orig/devel/README.fedora 2008-01-11 09:45:55.000000000 +0000 >+++ pilot-link.patch-20080615/devel/README.fedora 2008-06-15 22:05:16.000000000 +0100 >@@ -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 > > >diff -urN pilot-link.orig/F-8/10-usb-pda-palm.fdi pilot-link.patch-20080615/F-8/10-usb-pda-palm.fdi >--- pilot-link.orig/F-8/10-usb-pda-palm.fdi 2008-05-28 01:51:04.000000000 +0100 >+++ pilot-link.patch-20080615/F-8/10-usb-pda-palm.fdi 1970-01-01 01:00:00.000000000 +0100 >@@ -1,286 +0,0 @@ >-<?xml version="1.0" encoding="UTF-8"?> >- >-<deviceinfo version="0.2"> >- >- <device> >- >- <!-- PalmOS PDAs via libusb --> >- <match key="info.bus" string="usb_device"> >- >- <!-- Sony --> >- <match key="usb_device.vendor_id" int="0x054c"> >- <!-- Sony NR and other Palm OS 4.1 devices --> >- <match key="usb_device.product_id" int="0x000a"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- Sony S S320 and other Palm OS 3.5 devices --> >- <match key="usb_device.product_id" int="0x0038"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- Sony T, SJ series, and other Palm OS 4.0 devices --> >- <match key="usb_device.product_id" int="0x0066"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- Sony S360 --> >- <match key="usb_device.product_id" int="0x0095"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- Sony NR70V/U --> >- <match key="usb_device.product_id" int="0x009a"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- Sony NX --> >- <match key="usb_device.product_id" int="0x00da"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- Sony NZ --> >- <match key="usb_device.product_id" int="0x00e9"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- Sony UX --> >- <match key="usb_device.product_id" int="0x0144"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- Sony TJ --> >- <match key="usb_device.product_id" int="0x0169"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- </match> >- >- <!-- Handspring --> >- <match key="usb_device.vendor_id" int="0x082d"> >- <!-- Visor, Treo 300 --> >- <match key="usb_device.product_id" int="0x0100"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- Treo --> >- <match key="usb_device.product_id" int="0x0200"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- Treo 600 --> >- <match key="usb_device.product_id" int="0x0300"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- </match> >- >- <!-- Palm, Inc. and palmOne --> >- <match key="usb_device.vendor_id" int="0x0830"> >- <!-- m500 --> >- <match key="usb_device.product_id" int="0x0001"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- m505 --> >- <match key="usb_device.product_id" int="0x0002"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- m515 --> >- <match key="usb_device.product_id" int="0x0003"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <match key="usb_device.product_id" int="0x0010"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <match key="usb_device.product_id" int="0x0011"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- i705 --> >- <match key="usb_device.product_id" int="0x0020"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- Tungsten Z --> >- <match key="usb_device.product_id" int="0x0030"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- Tungsten W --> >- <match key="usb_device.product_id" int="0x0031"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- m125 --> >- <match key="usb_device.product_id" int="0x0040"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- m130 --> >- <match key="usb_device.product_id" int="0x0050"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <match key="usb_device.product_id" int="0x0051"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <match key="usb_device.product_id" int="0x0052"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <match key="usb_device.product_id" int="0x0053"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- Tungsten series, Zire 71 --> >- <match key="usb_device.product_id" int="0x0060"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- Zire 21, 31, 72, Z22, Tungsten E2, T3, TX, Treo 650, 680, LifeDrive --> >- <match key="usb_device.product_id" int="0x0061"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <match key="usb_device.product_id" int="0x0062"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <match key="usb_device.product_id" int="0x0063"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- Zire --> >- <match key="usb_device.product_id" int="0x0070"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <match key="usb_device.product_id" int="0x0071"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- m100 --> >- <match key="usb_device.product_id" int="0x0080"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <match key="usb_device.product_id" int="0x0099"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <match key="usb_device.product_id" int="0x0100"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- </match> >- >- <!-- Samsung --> >- <match key="usb_device.vendor_id" int="0x04e8"> >- <!-- i330 --> >- <match key="usb_device.product_id" int="0x8001"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- </match> >- >- <!-- Garmin --> >- <match key="usb_device.vendor_id" int="0x091e"> >- <!-- IQUE 3600 --> >- <match key="usb_device.product_id" int="0x0004"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- </match> >- >- <!-- Kyocera --> >- <match key="usb_device.vendor_id" int="0x0c88"> >- <!-- 7135 Smartphone --> >- <match key="usb_device.product_id" int="0x0021"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- <!-- 6035 Smartphone --> >- <match key="usb_device.product_id" int="0xa226"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- </match> >- >- <!-- Tapwave --> >- <match key="usb_device.vendor_id" int="0x12ef"> >- <!-- Zodiac, Zodiac2 --> >- <match key="usb_device.product_id" int="0x0100"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- </match> >- >- <!-- Aceeca --> >- <match key="usb_device.vendor_id" int="0x4766"> >- <!-- MEZ1000 --> >- <match key="usb_device.product_id" int="0x0001"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- </match> >- >- <!-- Alphasmart --> >- <match key="usb_device.vendor_id" int="0x081e"> >- <!-- Alphasmart Dana --> >- <match key="usb_device.product_id" int="0xdf00"> >- <append key="info.capabilities" type="strlist">pda</append> >- <merge key="pda.platform" type="string">palm</merge> >- <merge key="pda.palm.hotsync_interface" type="copy_property">linux.device_file</merge> >- </match> >- </match> >- >- </match> >- >- </device> >- >-</deviceinfo> >diff -urN pilot-link.orig/F-8/60-pilot.rules pilot-link.patch-20080615/F-8/60-pilot.rules >--- pilot-link.orig/F-8/60-pilot.rules 2008-01-10 13:47:21.000000000 +0000 >+++ pilot-link.patch-20080615/F-8/60-pilot.rules 1970-01-01 01:00:00.000000000 +0100 >@@ -1 +0,0 @@ >-BUS=="usb", SYSFS{product}=="Palm Handheld*|Handspring*",KERNEL=="ttyUSB[13579]", SYMLINK="pilot", GROUP="uucp", MODE="0660" >diff -urN pilot-link.orig/F-8/pilot-link.spec pilot-link.patch-20080615/F-8/pilot-link.spec >--- pilot-link.orig/F-8/pilot-link.spec 2008-05-28 01:51:04.000000000 +0100 >+++ pilot-link.patch-20080615/F-8/pilot-link.spec 2008-06-15 22:14:39.000000000 +0100 >@@ -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 >diff -urN pilot-link.orig/F-8/README.fedora pilot-link.patch-20080615/F-8/README.fedora >--- pilot-link.orig/F-8/README.fedora 2008-01-10 13:53:12.000000000 +0000 >+++ pilot-link.patch-20080615/F-8/README.fedora 2008-06-15 22:02:02.000000000 +0100 >@@ -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 > > >diff -urN pilot-link.orig/F-9/60-pilot.rules pilot-link.patch-20080615/F-9/60-pilot.rules >--- pilot-link.orig/F-9/60-pilot.rules 2008-01-11 09:45:55.000000000 +0000 >+++ pilot-link.patch-20080615/F-9/60-pilot.rules 1970-01-01 01:00:00.000000000 +0100 >@@ -1 +0,0 @@ >-BUS=="usb", SYSFS{product}=="Palm Handheld*|Handspring*",KERNEL=="ttyUSB[13579]", SYMLINK="pilot", GROUP="uucp", MODE="0660" >diff -urN pilot-link.orig/F-9/pilot-link.spec pilot-link.patch-20080615/F-9/pilot-link.spec >--- pilot-link.orig/F-9/pilot-link.spec 2008-03-26 12:25:47.000000000 +0000 >+++ pilot-link.patch-20080615/F-9/pilot-link.spec 2008-06-15 22:02:02.000000000 +0100 >@@ -3,7 +3,7 @@ > > Name: pilot-link > Version: 0.12.3 >-Release: 13%{?dist} >+Release: 14%{?dist} > Epoch: 2 > License: GPLv2 and GPLv2+ and LGPLv2+ and TCL > Group: Applications/Communications >@@ -14,7 +14,6 @@ > 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 >@@ -151,7 +150,6 @@ > > # install visor configs to share/udev > install -p -m644 %{SOURCE5} %{buildroot}%{_datadir}/pilot-link/udev >-install -p -m644 %{SOURCE6} %{buildroot}%{_datadir}/pilot-link/udev > > %post -p /sbin/ldconfig > >@@ -181,6 +179,9 @@ > %{_datadir}/aclocal/*.m4 > > %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 > - remove HAL/PolicyKit staff (is in hal package now) > >diff -urN pilot-link.orig/F-9/README.fedora pilot-link.patch-20080615/F-9/README.fedora >--- pilot-link.orig/F-9/README.fedora 2008-01-11 09:45:55.000000000 +0000 >+++ pilot-link.patch-20080615/F-9/README.fedora 2008-06-15 22:02:02.000000000 +0100 >@@ -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 > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 280251
:
284421
|
294103
|
294520
|
294521
|
295803
|
306554
|
308517
| 309418