Announcement

Collapse
No announcement yet.

SANE, Sane Pixma backend and a new Canon Pixma MG5721

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    SANE, Sane Pixma backend and a new Canon Pixma MG5721

    Okay, I really wasn't sure where to post this. I know the scanner portion of the printer isn't listed as supported either, and I do know the proprietary scanner app Canon has works (though it is completely devoid of features - doesn't offer any settings adjustment, no preview, ect). but I thought I'd still give the sane-pixma backend a shot and was a bit surprised.... (NOTE: censored hostname)

    joe@notebook:~$ env SANE_DEBUG_BJNP="5" scanimage -L
    [sanei_debug] Setting debug level of bjnp to 5.
    [bjnp] sanei_bjnp_find_devices:
    [bjnp] sanei_bjnp_find_devices: Adding scanner from pixma.conf: bjnp://192.168.1.3:8612
    [bjnp] bjnp_allocate_device(bjnp://192.168.1.3:8612) 0
    [bjnp] get_scanner_name: Forward lookup for MG5721.***.com succeeded, using as hostname
    [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.3 port 8612
    [bjnp] bjnp_get_scanner_mac_address: Discover response:
    [bjnp] 00000000:42 4a 4e 50 82 01 00 00 00 00 00 00 00 00 00 10
    [bjnp] 00000010:00 01 08 00 06 04 60 12 8b 03 16 0d c0 a8 01 03
    [bjnp] bjnp_allocate_device: Scanner not yet in our list, added it: 192.168.1.3:8612
    [bjnp] get_scanner_id: Get scanner identity
    [bjnp] 00000000:42 4a 4e 50 02 30 00 00 00 01 00 00 00 00 00 00
    [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.3 port 8612
    [bjnp] get_scanner_id: scanner identity:
    [bjnp] 00000000:42 4a 4e 50 82 30 00 00 00 01 00 00 00 00 00 67
    [bjnp] 00000010:00 67 4d 46 47 3a 43 61 6e 6f 6e 3b 43 4d 44 3a
    [bjnp] 00000020:4d 75 6c 74 69 50 61 73 73 20 32 2e 31 2c 49 56
    [bjnp] 00000030:45 43 3b 4d 44 4c 3a 4d 47 35 37 30 30 20 73 65
    [bjnp] 00000040:72 69 65 73 3b 43 4c 53 3a 49 4d 41 47 45 3b 44
    [bjnp] 00000050:45 53 3a 43 61 6e 6f 6e 20 4d 47 35 37 30 30 20
    [bjnp] 00000060:73 65 72 69 65 73 3b 53 4f 4a 3a 42 4a 4e 50 32
    [bjnp] 00000070:2c 42 4a 4e 50 65 3b
    [bjnp] get_scanner_id: Scanner identity string = MFG:Canon;CMD:MultiPass 2.1,IVEC;MDL:MG5700 series;CLS:IMAGE; DES:Canon MG5700 series;SOJ:BJNP2,BJNPe; - length = 101
    [bjnp] get_scanner_id: Scanner model = MG5700 series
    [bjnp] sanei_bjnp_find_devices: Added all configured scanners, now do auto detection...
    [bjnp] prepare_socket: lo is not a valid IPv4 interface, skipping...
    [bjnp] prepare_socket: wlan1 is IPv4 capable, sending broadcast, socket = 56
    [bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
    [bjnp] prepare_socket: wlan1 is IPv6 capable, sending broadcast, socket = 57
    [bjnp] sanei_bjnp_find_devices: Select returned, time left 0.499991....
    [bjnp] sanei_find_devices: Discover response:
    [bjnp] 00000000:42 4a 4e 50 82 01 00 00 00 00 00 00 00 00 00 10
    [bjnp] 00000010:00 01 08 00 06 04 60 12 8b 03 16 0d c0 a8 01 03
    [bjnp] get_scanner_name: Forward lookup for MG5721.***.com succeeded, using as hostname
    [bjnp] bjnp_allocate_device(bjnp://MG5721.***.com:8612) 1
    [bjnp] get_scanner_name: Forward lookup for MG5721.***.com succeeded, using as hostname
    [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.3 port 8612
    [bjnp] bjnp_get_scanner_mac_address: Discover response:
    [bjnp] 00000000:42 4a 4e 50 82 01 00 00 00 00 00 00 00 00 00 10
    [bjnp] 00000010:00 01 08 00 06 04 60 12 8b 03 16 0d c0 a8 01 03
    [bjnp] add_scanner: Scanner at bjnp://MG5721.***.com:8612 was added before, good!
    [bjnp] sanei_bjnp_find_devices: Select returned, time left 0.499994....
    [bjnp] sanei_find_devices: Discover response:
    [bjnp] 00000000:42 4a 4e 50 82 01 00 00 00 00 00 00 00 00 00 10
    [bjnp] 00000010:00 01 08 00 06 04 60 12 8b 03 16 0d c0 a8 01 03
    [bjnp] get_scanner_name: Forward lookup for MG5721.***.com succeeded, using as hostname
    [bjnp] bjnp_allocate_device(bjnp://MG5721.***.com:8612) 1
    [bjnp] get_scanner_name: Forward lookup for MG5721.***.com succeeded, using as hostname
    [bjnp] setup_udp_socket: Setting up a UDP socket, dest: 192.168.1.3 port 8612
    [bjnp] bjnp_get_scanner_mac_address: Discover response:
    [bjnp] 00000000:42 4a 4e 50 82 01 00 00 00 00 00 00 00 00 00 10
    [bjnp] 00000010:00 01 08 00 06 04 60 12 8b 03 16 0d c0 a8 01 03
    [bjnp] add_scanner: Scanner at bjnp://MG5721.***.com:8612 was added before, good!
    [bjnp] sanei_find_devices: scanner discovery finished...

    No scanners were identified. If you were expecting something different,
    check that the scanner is plugged in, turned on and detected by the
    sane-find-scanner tool (if appropriate). Please read the documentation
    which came with this software (README, FAQ, manpages).
    Okay...So if I'm reading all that right, it does look like the scanner is detected and gets added. Beyond that, it looks like sane wants to add it multiple times only to find it was added, but sane is failing to identify it. So to me, this isn't all bad news. But where do i go from here, I'm not sure. I don't want to bother dev's directly (I'm sure they have plenty on their plate) and for some reason I can't join sanes bug tracker/feature requests site (I fill out the form, and when I get the confirm email, the bug tracker site tells me the user doesn't exist)...
    Last edited by nukedathlonman; Nov 25, 2015, 06:35 AM.

    #2
    Canon scanners have generally sketchy support in linux, but it's improved a lot lately. I have an old 8800f that I kept a windows VM around so I could use if to scan slides. All of a sudden I discovered this year it is now supported.

    You can test it using VueScan for free by just downloading it. It doesn't even have to be installed. I use VueScan for slide/negative scanning and it's really great. I bought the Pro license years ago. No - I do not work for Hamrick Software or get a kick back if you buy it!

    Please Read Me

    Comment


      #3
      Yea - Like a few other manufacturers...

      I ended up joining the sane developers mailing list and asked the question there. The backend developer promptly sent me a patch to install and test (just received it this morning). So I'll get the latest sane backends source from git, install the patch and compile the pixima backend. Then I'll fully test it out over the next few days (since it's so new, I'll be nice and test both USB and WiFi modes) and send feedback.

      Comment


        #4
        Originally posted by nukedathlonman View Post
        Yea - Like a few other manufacturers...

        I ended up joining the sane developers mailing list and asked the question there. The backend developer promptly sent me a patch to install and test (just received it this morning). So I'll get the latest sane backends source from git, install the patch and compile the pixima backend. Then I'll fully test it out over the next few days (since it's so new, I'll be nice and test both USB and WiFi modes) and send feedback.
        Excellent!

        Sent from my LG G4

        Comment


          #5
          I grabbed the latest source from git and applied the patch to it, and presto - it found and configured the scanner right up no questions asked. Went into xSane, did a preview scan, blamo - instant preview. So now I'm conducting the first (really sloooooooooow) 1200 DPI scan for testing and will test all scanner functions over the next few days. It seems to be most excellent so far. I'm shocked as to how fast that patch came.

          Also found out that Canon has a closed source Linux scanner program as well. It works, but it is super basic and totally devoid of any features... Some might get by with it, but anyone wanting to scan anything beyond say a bill, it pretty much is useless.

          Comment

          Working...
          X