Mailinglist Archive: opensuse-bugs (15063 mails)
| < Previous | Next > |
[Bug 309815] HAL triggers only sometimes resmgr to set the ACL for a USB scanner
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Thu, 13 Sep 2007 03:34:58 -0600 (MDT)
- Message-id: <20070913093458.C8B8C245350@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=309815#c11
Johannes Meixner <jsmeix@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jsmeix@xxxxxxxxxx
AssignedTo|jsmeix@xxxxxxxxxx |dkukawka@xxxxxxxxxx
Summary|Scanner works only sometimes |HAL triggers only sometimes resmgr to set the
| |ACL for a USB scanner
--- Comment #11 from Johannes Meixner <jsmeix@xxxxxxxxxx> 2007-09-13 03:34:58 MST ---
Attachment #163790 shows that the udev rules
in /etc/udev/rules.d/55-libsane.rules have been applied
because the group is set to "lp".
Attachment #163792 shows that the HAL/resmgr stuff was not done
because no ACL was set.
Because it works after re-plug, it shows that the HAL policy
files are correctly set up.
In particular your /etc/hal/fdi/policy/10osvendor/70-scanner.fdi
should contain this entry for your model:
-------------------------------------------------------------------
<match key="info.bus" string="usb_device">
<match key="usb_device.vendor_id" int="0x04b8">
<match key="usb_device.product_id" int="0x011b">
<append key="info.capabilities" type="strlist">scanner</append>
</match>
</match>
</match>
-------------------------------------------------------------------
If the HAL/resmgr stuff works, getfacl would show something like
-------------------------------------------------------------------
# file: dev/bus/usb/003/003
# owner: root
# group: lp
user::rw-
user:<normal-user>:rw-
group::rw-
mask::rw-
other::r--
-------------------------------------------------------------------
to allow the <normal-user> read/write access.
As a workaround add the normal users which should be allowed
to access the scanner to the "lp" group.
I am no HAL/resmgr expert so that I cannot debug it further
and therefore I reassign it to the HAL maintainer.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Johannes Meixner <jsmeix@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jsmeix@xxxxxxxxxx
AssignedTo|jsmeix@xxxxxxxxxx |dkukawka@xxxxxxxxxx
Summary|Scanner works only sometimes |HAL triggers only sometimes resmgr to set the
| |ACL for a USB scanner
--- Comment #11 from Johannes Meixner <jsmeix@xxxxxxxxxx> 2007-09-13 03:34:58 MST ---
Attachment #163790 shows that the udev rules
in /etc/udev/rules.d/55-libsane.rules have been applied
because the group is set to "lp".
Attachment #163792 shows that the HAL/resmgr stuff was not done
because no ACL was set.
Because it works after re-plug, it shows that the HAL policy
files are correctly set up.
In particular your /etc/hal/fdi/policy/10osvendor/70-scanner.fdi
should contain this entry for your model:
-------------------------------------------------------------------
<match key="info.bus" string="usb_device">
<match key="usb_device.vendor_id" int="0x04b8">
<match key="usb_device.product_id" int="0x011b">
<append key="info.capabilities" type="strlist">scanner</append>
</match>
</match>
</match>
-------------------------------------------------------------------
If the HAL/resmgr stuff works, getfacl would show something like
-------------------------------------------------------------------
# file: dev/bus/usb/003/003
# owner: root
# group: lp
user::rw-
user:<normal-user>:rw-
group::rw-
mask::rw-
other::r--
-------------------------------------------------------------------
to allow the <normal-user> read/write access.
As a workaround add the normal users which should be allowed
to access the scanner to the "lp" group.
I am no HAL/resmgr expert so that I cannot debug it further
and therefore I reassign it to the HAL maintainer.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |