[Bug 1132015] Re: Avision backend does not work in 12.04 LTS

2017-10-27 Thread Bug Watch Updater
Launchpad has imported 13 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=706877.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2011-05-23T10:39:10+00:00 Werner wrote:

Description of problem:

scanimage results in: Invalid Argument.

scanimage -L finds scanner, xsane works.

Strace:

open("/usr/lib64/sane/libsane-avision.so.1", O_RDONLY) = 3
close(3)= 0
futex(0x39854030e0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/usr/lib64/sane/libsane-avision.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220c\0\0\0\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=182656, ...}) = 0
mmap(NULL, 2287168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0x7f724a09d000
mprotect(0x7f724a0c7000, 2097152, PROT_NONE) = 0
mmap(0x7f724a2c7000, 12288, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2a000) = 0x7f724a2c7000
mmap(0x7f724a2ca000, 5696, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f724a2ca000
close(3)= 0
write(2, "scanimage: open of device avisio"..., 74scanimage: open of device 
avision:libusb:002:082 failed: Invalid argument
) = 74

Version-Release number of selected component (if applicable):

 1.0.22-3.fc14

Downgrade to 1.0.21-3.fc14 removes error.

Reply at: https://bugs.launchpad.net/ubuntu/+source/sane-
backends/+bug/1132015/comments/0


On 2012-03-26T17:25:53+00:00 Werner wrote:

After migration to F16 1.0.21 is not supported anymore.
The problem remains.

[wgold@jerry ~]$ scanimage  -L
device `v4l:/dev/video0' is a Noname Integrated Camera virtual device
device `avision:libusb:001:032' is a Hewlett-Packard ScanJet 7400c flatbed 
scanner
default device is `avision:libusb:001:032'
[wgold@jerry ~]$ export SANE_DEFAULT_DEVICE='avision:libusb:001:032'
[wgold@jerry ~]$ scanimage  
scanimage: open of device avision:libusb:001:032 failed: Invalid argument
[wgold@jerry ~]$

Reply at: https://bugs.launchpad.net/ubuntu/+source/sane-
backends/+bug/1132015/comments/1


On 2012-03-28T08:08:53+00:00 Nils wrote:

Hi Werner, please enable debugging in the backend driver and run
scanimage again, then attach the output to this ticket:

export SANE_DEFAULT_DEVICE='avision:libusb:001:032'
export SANE_DEBUG_AVISION=7
scanimage

Thanks!

Reply at: https://bugs.launchpad.net/ubuntu/+source/sane-
backends/+bug/1132015/comments/2


On 2012-03-29T09:35:57+00:00 Werner wrote:

Not much enlightening. :-(

[wgold@jerry tmp]$ scanimage 
[sanei_debug] Setting debug level of avision to 7.
[avision] sane_init:(Version: 1.0 Build: 294)
[avision] sane_open:
scanimage: open of device avision:libusb:001:045 failed: Invalid argument
[avision] sane_exit:

I'll add the strace output.

Reply at: https://bugs.launchpad.net/ubuntu/+source/sane-
backends/+bug/1132015/comments/3


On 2012-03-29T09:37:16+00:00 Werner wrote:

Created attachment 573603
strace output

Reply at: https://bugs.launchpad.net/ubuntu/+source/sane-
backends/+bug/1132015/comments/4


On 2012-04-17T09:42:22+00:00 Nils wrote:

The issue here is that the code to discover devices was moved out of the
initialization routine sane_init() into its own function, but that
function wasn't called in sane_init(). This bug was introduced in this
commit...

commit 37b45c4f76a66f9cd2c3d4bd98dd371dfbda74e5
Author: Mike Kelly 
AuthorDate: Thu Dec 23 19:35:23 2010 +0900

Moved device init code to sane_get_devices()

Moved device init code from sane_init() to the newly created
sane_reload_devices() function, which is now called from sane_get_devices().
This means that device initialization now happens when sane_get_devices() is
called, not when sane_init() is called.

...and subsequently fixed upstream in this one (after 1.0.22 was out):

commit 33bb529c5f8ca013fb499addc14c7fb229203ea8
Author: Mike Kelly 
AuthorDate: Wed Mar 21 21:03:00 2012 -0700

Added sane_reload_devices() to sane_init().

Adding sane_reload_devices() to sane_init() required sane_init() to be moved
below the sane_reload_devices() declaration.  This restores the original
functionality present before I split the sane_reload_devices() code out of
sane_init() so that it could be called from sane_get_devices().

I'll build an update containing this fix shortly.

Reply at: https://bugs.launchpad.n

[Bug 1132015] Re: Avision backend does not work in 12.04 LTS

2013-04-12 Thread Rolf Leggewie
Getting the sponsors team involved.

https://bugzilla.redhat.com/show_bug.cgi?id=706877#c5 has the gist of
the problem.  Apparently commit 37b45c4f76a66f9cd2c3d4bd98dd371dfbda74e5
introduced this problem upstream and it was fixed in commit
33bb529c5f8ca013fb499addc14c7fb229203ea8.  The patch in this ticket
reverse-applies to the source in quantal and raring.  Thus, closing the
ticket as fixed and nominating for backporting to precise.

Kumaran, thank you for reporting this problem and including the patch.
Please always be sure to let us know what series of Ubuntu and what
version of the package you are running.  Thank you.

** Changed in: sane-backends (Ubuntu)
   Status: New => Fix Released

** Description changed:

- The Avision backend has a bug which prevents scanners from being opened.
+ The Avision backend has a bug which prevents scanners from being opened
+ in precise.
  
  1) Attach an Avision scanner
  2) Type:  scanimage --help -d avision
  
  Open fails with an "Invalid argument" error message.
  
  The problem is described in detail in this bug report:
  https://bugzilla.redhat.com/show_bug.cgi?id=706877
  
  A patch to fix the bug is attached.  It would be much appreciated if
  this could be incorporated into an update of the package.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1132015

Title:
  Avision backend does not work in 12.04 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1132015/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1132015] Re: Avision backend does not work in 12.04 LTS

2013-04-12 Thread Rolf Leggewie
** Bug watch added: Red Hat Bugzilla #706877
   https://bugzilla.redhat.com/show_bug.cgi?id=706877

** Also affects: sane-backends (Fedora) via
   https://bugzilla.redhat.com/show_bug.cgi?id=706877
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1132015

Title:
  Avision backend does not work in 12.04 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1132015/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1132015] Re: Avision backend does not work in 12.04 LTS

2013-02-23 Thread Ubuntu Foundations Team Bug Bot
The attachment "avision.patch" of this bug report has been identified as
being a patch.  The ubuntu-reviewers team has been subscribed to the bug
report so that they can review the patch.  In the event that this is in
fact not a patch you can resolve this situation by removing the tag
'patch' from the bug report and editing the attachment so that it is not
flagged as a patch.  Additionally, if you are member of the ubuntu-
reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1132015

Title:
  Avision backend does not work in 12.04 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1132015/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs