[sane-devel] Canon MG3050

kamp000x at arcor.de kamp000x at arcor.de
Mon Sep 16 18:43:50 BST 2019


Hello,

to be clear, if this means wifi is not possible with this model, it
could be noted as not working on the supported devices list.

I can scan over USB ...

http://www.sane-project.org/sane-mfgs.html

Is bjnp at the TS50xx missing too? Wifi is listet as not working.


Regards,

Kamp


On 08.08.19 20:58, kamp000x at arcor.de wrote:
> Thanks, the command is stuck or takes a lot of time. This is the current
> output:
>
> + enp0s25 IPv6 Canon MG3000 series                          
> _privet._tcp         local
> + enp0s25 IPv4 Canon MG3000 series                          
> _privet._tcp         local
> + enp0s25 IPv6 Canon MG3000 series                           PDL
> Printer          local
> + enp0s25 IPv4 Canon MG3000 series                           PDL
> Printer          local
> + enp0s25 IPv6 Canon MG3000 series                           UNIX
> Printer         local
> + enp0s25 IPv4 Canon MG3000 series                           UNIX
> Printer         local
> + enp0s25 IPv6 Canon MG3000 series                          
> _canon-chmp._tcp     local
> + enp0s25 IPv4 Canon MG3000 series                          
> _canon-chmp._tcp     local
> + enp0s25 IPv6 Canon MG3000 series                           Secure
> Internet Printer local
> + enp0s25 IPv4 Canon MG3000 series                           Secure
> Internet Printer local
> + enp0s25 IPv6 Canon MG3000 series                           Internet
> Printer     local
> + enp0s25 IPv4 Canon MG3000 series                           Internet
> Printer     local
> + enp0s25 IPv6 Canon MG3000 series                          
> _scanner._tcp        local
> + enp0s25 IPv4 Canon MG3000 series                          
> _scanner._tcp        local
> + enp0s25 IPv6 Canon MG3000 series                           Web
> Site             local
> + enp0s25 IPv4 Canon MG3000 series                           Web
> Site             local
>
> It seems that bjnp is missing? :(
>
> The MG3050 is one of the older models I thought it would be more
> compatible.
>
> Maybe I can switch to a TS5050 some day.
>
>
> Regards,
>
> Kamp
>
> On 08.08.19 16:08, Louis Lagendijk wrote:
>> hi 
>> Can you get me the output of:le
>> avahi-browse -a
>> My Maxify MB5050 gives:
>>
>> + vlan159 IPv4 Canon MB5000 series-4                         Web
>> Site             local
>> + vlan159 IPv4 Canon MB5000 series-4                         _canon-
>> bjnp1._tcp    local
>> + vlan159 IPv4 Canon MB5000 series-
>> 4                         _scanner._tcp        local
>> + vlan159 IPv4 Canon MB5000 series-4                         UNIX
>> Printer         local
>> + vlan159 IPv4 Canon MB5000 series-
>> 4                         _privet._tcp         local
>> + vlan159 IPv6 Canon MB5000 series-4                         Web
>> Site             local
>> + vlan159 IPv6 Canon MB5000 series-4                         _canon-
>> bjnp1._tcp    local
>> + vlan159 IPv6 Canon MB5000 series-
>> 4                         _scanner._tcp        local
>> + vlan159 IPv6 Canon MB5000 series-4                         UNIX
>> Printer         local
>> + vlan159 IPv6 Canon MB5000 series-
>> 4                         _privet._tcp         local
>>
>> I would not be surprised if your device does not have a  _canon-
>> bjnp1._tcp entry. Canon seems to be dropping bjnp support lately....
>> That would explain the failures you see.
>>
>> BR, Louis
>> On Thu, 2019-08-08 at 12:00 +0200, kamp000x at arcor.de wrote:
>>> Hello Louis,
>>> scanner and client are in the same home network, there is no firewall
>>> inside the local network. It is a fritzbox router from avm.
>>> I removed the last numbers from the IP manually. Sorry, if this leads
>>> to
>>> confusion.
>>>
>>> Printing over wifi is working without any problems.
>>>
>>> I can scan over another device with a separate sane scan server
>>> (sane-utils) in my local network. But a direct link over wifi with
>>> this
>>> device seems impossible:
>>>
>>> /etc/sane.d/pixma.conf contains one line ... auto detection could not
>>> find this device
>>>
>>> # Canon MG3050
>>> bjnp://192.168.178.70
>>>
>>>
>>> bjnp.log
>>>
>>> Output format is not set, using pnm as a default.
>>> [sanei_debug] Setting debug level of bjnp to 11.
>>> [bjnp] sanei_bjnp_find_devices, pixma backend version: 0.23.0
>>> [bjnp] sanei_bjnp_find_devices: Adding scanner from pixma.conf:
>>> bjnp://192.168.178.70
>>> [bjnp] bjnp_allocate_device(bjnp://192.168.178.70:8612/timeout=10000)
>>> 0
>>> [bjnp] get_scanner_name: Name for 192.168.178.70 not found : Name or
>>> service not known
>>> [bjnp] setup_udp_socket: Setting up a UDP socket, dest:
>>> 192.168.178.70 
>>> port 8612
>>> [bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp]
>>> udp_command: ERROR - recv failed: Connection refused[bjnp]
>>> udp_command:
>>> ERROR - recv failed: Connection refused[bjnp] udp_command: ERROR - no
>>> data received (timeout = 10000)
>>> [bjnp] bjnp_init_device_structure: Cannot read mac address, skipping
>>> this scanner
>>> [bjnp] bjnp_allocate_device: Scanner not yet in our list, added it:
>>> 192.168.178.70: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.178.70 
>>> port 8612
>>> [bjnp] udp_command: ERROR - recv failed: Connection refused[bjnp]
>>> udp_command: ERROR - recv failed: Connection refused[bjnp]
>>> udp_command:
>>> ERROR - recv failed: Connection refused[bjnp] udp_command: ERROR - no
>>> data received (timeout = 10000)
>>> [bjnp] get_scanner_id: ERROR - Failed to retrieve scanner identity:
>>> [bjnp] add_scanner: ERROR - Cannot read scanner make & model:
>>> bjnp://192.168.178.70:8612/timeout=10000
>>> [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: eth0 is IPv4 capable, sending broadcast,
>>> socket = 39
>>> [bjnp] prepare_socket: lo is not a valid IPv6 interface, skipping...
>>> [bjnp] prepare_socket: eth0 is IPv6 capable, sending broadcast,
>>> socket = 40
>>> [bjnp] sanei_find_devices: scanner discovery finished...
>>> scanimage: no SANE devices found
>>>
>>>
>>> Regards,
>>>
>>> Kamp
>>>
>>>
>>> On 07.08.19 00:24, Louis Lagendijk wrote:
>>>> Hi Kamp,
>>>> Do you have a firewall in the way maybe? Please see man sane-pixma
>>>> for
>>>> what ports need to be opened. Please pay attention to the
>>>> differences
>>>> mentioned there for TCP and UDP.
>>>> And what network are you connected to? I recall seeing a Vodafone
>>>> (?)
>>>> modem that messed with IP-adresses 
>>>> Did you modify the logfile:
>>>> bjnp://192.168.***.**:8612/timeout=10000)
>>>> looks as if you are trying the IP-address? What is in the
>>>> /etc/sane/pixma.comf (if the firewall is configured correctly there
>>>> should not be a need to manually configure the scanner there unless
>>>> it
>>>> is on a different subnet...(well maybe to extend the timeouts)
>>>>
>>>> Please get me a logfile with:
>>>> $ SANE_DEBUG_BJNP=11 scanimage 2> bjnp.log > pixma.pnm
>>>> Please also make a wireshark trace at the same time and mail me
>>>> that
>>>> also (sorry, no IP-address obfuscation)
>>>>
>>>> kind regards, Louis
>>>>
>>>> On Sun, 2019-08-04 at 12:15 +0200, Rolf Bensch wrote:
>>>>> Hi Louis,
>>>>>
>>>>> Please help with the BJNP issue.
>>>>>
>>>>> Many thanks.
>>>>>
>>>>> Cheers,
>>>>> Rolf
>>>>>
>>>>>
>>>>> Am 04.08.19 um 12:05 schrieb kamp000x at arcor.de:
>>>>>> Thanks, as mentioned before, scanning over usb is working.
>>>>>>
>>>>>> But scanning over wifi is not working, it ends up with this
>>>>>> error
>>>>>> message.
>>>>>>
>>>>>> Would be nice, if this would work, on the sane page it is sill
>>>>>> listed
>>>>>> with "Testers needed". I could provide some test logs if
>>>>>> required.
>>>>>>
>>>>>> Here are both logs, with usb and wifi only:
>>>>>>
>>>>>> https://pastebin.com/VP4nRYUb
>>>>>>
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> Kamp
>>>>>>
>>>>>>
>>>>>> On 04.08.19 11:28, Rolf Bensch wrote:
>>>>>>> Hi Kamp,
>>>>>>>
>>>>>>> Please try to scan via USB with disabled WiFi. If this isn't
>>>>>>> working,
>>>>>>> please provide the created log file:
>>>>>>> $ SANE_DEBUG_PIXMA=11 scanimage 2> pixma.log > pixma.pnm
>>>>>>>
>>>>>>> Hope this helps.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Rolf
>>>>>>>
>>>>>>>
>>>>>>> Am 03.08.19 um 21:31 schrieb kamp000x at arcor.de:
>>>>>>>> So sorry, these are the correct versions:
>>>>>>>>
>>>>>>>> [code]
>>>>>>>>
>>>>>>>> ii  libsane-common                               
>>>>>>>> 1.0.27-
>>>>>>>> 1~experimental3ubuntu2.1              all          API
>>>>>>>> library
>>>>>>>> for scanners -- documentation and support files
>>>>>>>> ii  libsane-hpaio:amd64                          
>>>>>>>> 3.17.10+repack0-
>>>>>>>> 5                            amd64        HP
>>>>>>>> SANE
>>>>>>>> backend for multi-function peripherals
>>>>>>>> ii  libsane1:amd64                               
>>>>>>>> 1.0.27-
>>>>>>>> 1~experimental3ubuntu2.1              amd64        API
>>>>>>>> library
>>>>>>>> for scanners
>>>>>>>> ii  sane-utils                                   
>>>>>>>> 1.0.27-
>>>>>>>> 1~experimental3ubuntu2.1              amd64        API
>>>>>>>> library
>>>>>>>> for scanners -- utilities
>>>>>>>> ii  xsane                                        
>>>>>>>> 0.999-5ubuntu2                               amd64       
>>>>>>>> featureful
>>>>>>>> graphical frontend for SANE (Scanner Access Now Easy)
>>>>>>>> ii  xsane-common                                 
>>>>>>>> 0.999-
>>>>>>>> 5ubuntu2                               all          xsane
>>>>>>>> architecture independent files
>>>>>>>> [/code]
>>>>>>>>
>>>>>>>>
>>>>>>>> USB is working, wifi not.
>>>>>>>>
>>>>>>>> I updated with your repo to version 1.0.28+git20190802,
>>>>>>>> same
>>>>>>>> problem here.
>>>>>>>>
>>>>>>>> [bjnp] add_scanner: ERROR - Cannot read scanner make &
>>>>>>>> model:
>>>>>>>> bjnp://192.168.***.**:8612/timeout=10000
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> Kamp
>>>>>>>>
>>>>>>>> On 03.08.19 19:18, Rolf Bensch wrote:
>>>>>>>>> Hi Kamp,
>>>>>>>>>
>>>>>>>>> No wonder, your SANE installation is outdated and doesn't
>>>>>>>>> support
>>>>>>>>> MG3050. SANE version must be >= 1.0.27. Please update
>>>>>>>>> SANE
>>>>>>>>> e.g. from my
>>>>>>>>> PPA: 
>>>>>>>>> https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git
>>>>>>>>> .
>>>>>>>>>
>>>>>>>>> Due to your scanner is in 'untested' status, please try
>>>>>>>>> to
>>>>>>>>> scan via USB
>>>>>>>>> first. If this is working, then you can switch to WiFi.
>>>>>>>>>
>>>>>>>>> Debug hints and BJNP setup are described in the man page
>>>>>>>>> '$
>>>>>>>>> man sane-pixma'
>>>>>>>>>
>>>>>>>>> Hope this helps.
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> Rolf
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Am 03.08.19 um 11:38 schrieb kamp000x at arcor.de:
>>>>>>>>>> Thanks.
>>>>>>>>>>
>>>>>>>>>> This Scanner is working over usb, but not over wifi.
>>>>>>>>>>
>>>>>>>>>> Can I scan over network with is printer?
>>>>>>>>>>
>>>>>>>>>> This device is connected to my wifi network and I can
>>>>>>>>>> print.
>>>>>>>>>>
>>>>>>>>>> The IP address is located in the file
>>>>>>>>>> "/etc/sane.d/pixma.conf"
>>>>>>>>>> # Canon MG3050
>>>>>>>>>> bjnp://192.168.***.**
>>>>>>>>>>
>>>>>>>>>> Output scanimage:
>>>>>>>>>>
>>>>>>>>>> [CODE]
>>>>>>>>>>
>>>>>>>>>> scanimage -L
>>>>>>>>>> [bjnp] udp_command: ERROR - no data received
>>>>>>>>>> [bjnp] bjnp_init_device_structure: Cannot read mac
>>>>>>>>>> address,
>>>>>>>>>> skipping
>>>>>>>>>> this scanner
>>>>>>>>>> [bjnp] udp_command: ERROR - no data received
>>>>>>>>>> [bjnp] add_scanner: ERROR - Cannot read scanner make &
>>>>>>>>>> model:
>>>>>>>>>> bjnp://192.168.***.**
>>>>>>>>>>
>>>>>>>>>> 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).
>>>>>>>>>>
>>>>>>>>>> [/CODE]
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> [CODE]
>>>>>>>>>>
>>>>>>>>>> ii  libsane:amd64                                
>>>>>>>>>> 1.0.25+git20150528-
>>>>>>>>>> 1ubuntu2.16.04.1        amd64        API
>>>>>>>>>> library for
>>>>>>>>>> scanners
>>>>>>>>>> ii  libsane-common                               
>>>>>>>>>> 1.0.25+git20150528-
>>>>>>>>>> 1ubuntu2.16.04.1        all          API
>>>>>>>>>> library for
>>>>>>>>>> scanners -- documentation and support files
>>>>>>>>>> ii  sane-utils                                   
>>>>>>>>>> 1.0.25+git20150528-
>>>>>>>>>> 1ubuntu2.16.04.1        amd64        API
>>>>>>>>>> library for
>>>>>>>>>> scanners -- utilities
>>>>>>>>>> ii  xsane                                        
>>>>>>>>>> 0.999-3ubuntu1                             amd64       
>>>>>>>>>> featureful
>>>>>>>>>> graphical frontend for SANE (Scanner Access Now Easy)
>>>>>>>>>> ii  xsane-common                                 
>>>>>>>>>> 0.999-3ubuntu1                             all         
>>>>>>>>>> xsane
>>>>>>>>>> architecture independent files
>>>>>>>>>> [/CODE]
>>>>>>>>>>
>>>>>>>>>> Ubuntu Version: 18.04 LTS
>>>>>>>>>>
>>>>>>>>>> I tested ubuntu 19.04, with the same result.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Regards
>>>>>>>>>>
>>>>>>>>>> Kamp
>>>>>>>>>>
>>>>>>>>>> On 04.02.18 12:58, Rolf Bensch wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> Your scanner should work. Please try the scanner
>>>>>>>>>>> connected via USB and
>>>>>>>>>>> report your results.
>>>>>>>>>>>
>>>>>>>>>>> Hope this helps.
>>>>>>>>>>>
>>>>>>>>>>> Cheers,
>>>>>>>>>>> Rolf
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Am 29.01.2018 um 16:23 schrieb kamp000x at arcor.de:
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> can I check if the MG3050 is still supported
>>>>>>>>>>>> without
>>>>>>>>>>>> inserting cartridges?
>>>>>>>>>>>>
>>>>>>>>>>>> I need a sane supported scanner, otherwise I still
>>>>>>>>>>>> can
>>>>>>>>>>>> return the device.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> http://www.sane-project.org/sane-mfgs.html
>>>>>>>>>>>>
>>>>>>>>>>>> Current sane status:
>>>>>>>>>>>>
>>>>>>>>>>>> PIXMA MG3000 Series     USB
>>>>>>>>>>>> WiFi     0x04a9/0x180b    
>>>>>>>>>>>> Untested    
>>>>>>>>>>>> Testers needed!
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>
>>>>>>>>>>>> Regards,
>>>>>>>>>>>> Kamp
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>



More information about the sane-devel mailing list