At some point along the line this bug has been fixed:

kjotte@mystic:/tmp/sane-backends-1.0.27/backend$ grep -n gethostbyname pixma*
kjotte@mystic:/tmp/sane-backends-1.0.27/backend$ grep -n getaddrinfo pixma*
pixma_bjnp.c:849:      if (getaddrinfo(host , service, NULL, &results) == 0) 
pixma_bjnp.c:1714:  result = getaddrinfo (host, port, &hints, &res );

Tested with same scanner in IPv6 only mode. Discovery and scanning are
working correctly.

Manual specification with pixma.conf of a device with AAAA record also appears 
succesful:
$ scanimage -L
device `pixma:MX870_gonzo' is a CANON Canon PIXMA MX870 multi-function 
peripheral


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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to sane-backends in Ubuntu.
https://bugs.launchpad.net/bugs/1160650

Title:
  cannot detect IPv6 scanner

Status in sane-backends package in Ubuntu:
  Fix Released

Bug description:
  A network scanner running only in IPv6 mode cannot be detected by
  SANE.

  $ avahi-browse -av
  Server version: avahi 0.6.31; Host name: scooter.local
  E Ifce Prot Name                                          Type                
 Domain
  ...
  +  wlan0 IPv6 Canon MX870 series _3E420E3BFE0D              _scanner._tcp     
   local

  $ scanimage -L
  scanimage: no SANE devices found

  However, if the device is configured for IPv4, it is visiable to SANE:

  $ avahi-browse -av
  Server version: avahi 0.6.31; Host name: scooter.local
  E Ifce Prot Name                                          Type                
 Domain
  ...
  +  wlan0 IPv4 Canon MX870 series _3E420E3BFE0D              _scanner._tcp     
   local

  $ scanimage -L
  device `pixma:MX870_gonzo' is a CANON Canon PIXMA MX870 multi-function 
peripheral

  The device in question can only operate in one mode or the other, not
  dual-stack. We would prefer to use IPv6 wherever possible in our
  environment, so this is a blocker.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: libsane 1.0.23-0ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-26.42-generic 3.5.7.6
  Uname: Linux 3.5.0-26-generic i686
  ApportVersion: 2.6.1-0ubuntu10
  Architecture: i386
  Date: Tue Mar 26 20:07:52 2013
  InstallationDate: Installed on 2013-01-23 (62 days ago)
  InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.1)
  MarkForUpload: True
  SourcePackage: sane-backends
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to