Mailinglist Archive: opensuse-bugs (15116 mails)

< Previous Next >
[Bug 210172] Scanner: Canon CanoScan LiDE 20 USB jams with SANE-1.0.17-18
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 18 Sep 2007 07:35:00 -0600 (MDT)
  • Message-id: <20070918133500.758FECC789@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=210172#c18


Johannes Meixner <jsmeix@xxxxxxxxxx> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
           Severity|Normal                                          |Major




--- Comment #18 from Johannes Meixner <jsmeix@xxxxxxxxxx>  2007-09-18 07:34:59 MST ---
/etc/udev/rules.d/55-libsane.rules cannot work because it does

.. RUN+="/bin/sh -c 'test -e /sys/$env{DEVPATH}/power/level \
          && echo on > /sys/$env{DEVPATH}/power/level'"

where $env{DEVPATH} evaluates to something like
/devices/pci0000:00/0000:00:06.0/0000:02:00.1/usb2/2-1

But on my openSUSE 10.3 beta2 system running the 2.6.22.3-7-default
kernel, there is no file
/sys/devices/pci0000:00/0000:00:06.0/0000:02:00.1/usb2/2-1/power/level
so that the 'test -e /sys/$env{DEVPATH}/power/level' fails.

Obviously the above is not the right method to disable USB autosuspend.
I asked a kernel guru what the right way is and made this a MAJOR bug
because many scanners will not work well if USB autosuspend is not
disabled.


-- 
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 >