I have located the problem of specifying the scanner directly in the
backend config.

kjotte@mystic:/tmp$ apt-get source sane-backends
...
kjotte@mystic:/tmp/sane-backends-1.0.23/backend$ grep -n gethostbyname pixma*
pixma_bjnp.c:1145:  result = gethostbyname (hostname);

This will need to be rewritten to use getaddrinfo().

See: IPv6 Porting Information, http://owend.corp.he.net/ipv6/

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

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