Giter Site home page Giter Site logo

Comments (9)

sedrubal avatar sedrubal commented on August 29, 2024

These errors are hard to debug especially for me as I don't have this printer and currently I'm traveling and don't have a proper Internet connection. Do you have the opportunity to use the official firmware update software from brother to verify if there is an update for your printer? Maybe you can also try to find out which requests the official software sends to check for firmware updates.
Anyway, I just released v0.4.2 with better debugging facilities. Can you try it and post the full debug output here?

from brother_printer_fwupd.

nutterthanos avatar nutterthanos commented on August 29, 2024

i'll try tomorrow
EDIT: sorry i have not yet trying now

from brother_printer_fwupd.

nutterthanos avatar nutterthanos commented on August 29, 2024

←[36m[i] Querying printer info via SNMP.←[0m
←[32m[i] Detected MFC-L3750CDW series with following firmware version(s): MAIN@W2109141139:E619, [email protected], [email protected]←[0m
←[36m[i] Querying firmware download URL from Brother update API.←[0m
←[30m[d] Sending POST request to https://firmverup.brother.co.jp/kne_bh7_update_nt_ssl/ifax2.asmx/fileUpdate with following content:

MAIN WINDOWS 1
<FIRMUPDATEINFO>
    <MODELINFO>
        <SERIALNO></SERIALNO>
        <NAME>MFC-L3750CDW series</NAME>
        <SPEC>0706</SPEC>
        <DRIVER></DRIVER>
        <FIRMINFO>

    <FIRM>
        <ID>MAIN</ID>
        <VERSION>W2109141139:E619</VERSION>
    </FIRM>

    <FIRM>
        <ID>SUB1</ID>
        <VERSION>1.59</VERSION>
    </FIRM>

    <FIRM>
        <ID>SUB5</ID>
        <VERSION>1.00</VERSION>
    </FIRM>

        </FIRMINFO>
    </MODELINFO>
    <DRIVERCNT>1</DRIVERCNT>
    <LOGNO>2</LOGNO>
    <ERRBIT></ERRBIT>
    <NEEDRESPONSE>1</NEEDRESPONSE>
</FIRMUPDATEINFO>
←[0m ←[30m[d] Response: ←[0m ←[33m[!] Did not receive download url for MAIN.←[0m ←[33m[!] Either this firmware part is up to date or there is a bug.←[0m ←[30m[d] Sending POST request to https://firmverup.brother.co.jp/kne_bh7_update_nt_ssl/ifax2.asmx/fileUpdate with following content: SUB1 WINDOWS 1
<FIRMUPDATEINFO>
    <MODELINFO>
        <SERIALNO></SERIALNO>
        <NAME>MFC-L3750CDW series</NAME>
        <SPEC>0706</SPEC>
        <DRIVER></DRIVER>
        <FIRMINFO>

    <FIRM>
        <ID>MAIN</ID>
        <VERSION>W2109141139:E619</VERSION>
    </FIRM>

    <FIRM>
        <ID>SUB1</ID>
        <VERSION>1.59</VERSION>
    </FIRM>

    <FIRM>
        <ID>SUB5</ID>
        <VERSION>1.00</VERSION>
    </FIRM>

        </FIRMINFO>
    </MODELINFO>
    <DRIVERCNT>1</DRIVERCNT>
    <LOGNO>2</LOGNO>
    <ERRBIT></ERRBIT>
    <NEEDRESPONSE>1</NEEDRESPONSE>
</FIRMUPDATEINFO>
←[0m ←[30m[d] Response: ←[0m ←[33m[!] Did not receive download url for SUB1.←[0m ←[33m[!] Either this firmware part is up to date or there is a bug.←[0m ←[30m[d] Sending POST request to https://firmverup.brother.co.jp/kne_bh7_update_nt_ssl/ifax2.asmx/fileUpdate with following content: SUB5 WINDOWS 1
<FIRMUPDATEINFO>
    <MODELINFO>
        <SERIALNO></SERIALNO>
        <NAME>MFC-L3750CDW series</NAME>
        <SPEC>0706</SPEC>
        <DRIVER></DRIVER>
        <FIRMINFO>

    <FIRM>
        <ID>MAIN</ID>
        <VERSION>W2109141139:E619</VERSION>
    </FIRM>

    <FIRM>
        <ID>SUB1</ID>
        <VERSION>1.59</VERSION>
    </FIRM>

    <FIRM>
        <ID>SUB5</ID>
        <VERSION>1.00</VERSION>
    </FIRM>

        </FIRMINFO>
    </MODELINFO>
    <DRIVERCNT>1</DRIVERCNT>
    <LOGNO>2</LOGNO>
    <ERRBIT></ERRBIT>
    <NEEDRESPONSE>1</NEEDRESPONSE>
</FIRMUPDATEINFO>
←[0m ←[30m[d] Response: 2SUB5←[0m ←[31m[!] Unknown versioncheck response for firmid=SUB5.←[0m ←[31m[!] There seems to be a bug.←[0m ←[31m[!] Open an issue with the full debug output: https://github.com/sedrubal/brother_printer_fwupd/issues/new←[0m ←[32m[i] Done.←[0m

from brother_printer_fwupd.

nutterthanos avatar nutterthanos commented on August 29, 2024

well its up to date
shouln't it be doing this
https://github.com/sedrubal/brother_printer_fwupd/blob/main/brother_printer_fwupd/firmware_downloader.py#L88

from brother_printer_fwupd.

sedrubal avatar sedrubal commented on August 29, 2024

I'm closing this issue as I don't know how to determine if the printer is already up to date with this (imho broken / awkward) Brother API.

from brother_printer_fwupd.

nutterthanos avatar nutterthanos commented on August 29, 2024

No like if the printers version is up to date the server would not giving out any update urls

from brother_printer_fwupd.

sedrubal avatar sedrubal commented on August 29, 2024

What would you recommend then? I found no way to interpret the codes the API returns. If you have any ideas how to improve the script, just open a pull request or let me know.

from brother_printer_fwupd.

nutterthanos avatar nutterthanos commented on August 29, 2024

https://pastebin.com/LbJUwKMH

from brother_printer_fwupd.

skissane avatar skissane commented on August 29, 2024

FYI, I opened a new issue on (roughly) the same topic – #19

from brother_printer_fwupd.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.