BertoldVdb / ms-tools

Program, library and reference designs to develop for MacroSilicon MS2106/MS2109/MS2130 chips.
MIT License
117 stars 10 forks source link

USB VendorID and ProductID modifications #9

Open mnm-isola opened 1 year ago

mnm-isola commented 1 year ago

Greetings, I'm currently looking if it's possible to change the VID and PID in the firmware of MS2109 / MS2130.

I'm in a situation where I have several embedded (and can not be tampered) Windows machine with broken cameras, and I have the idea of using MS2109 / MS2130 to spoof the camera check which looks for the VID and PID of the USB camera devices (and they also return all the correct video modes already).

Wonder if it can be done by either recompiling the firmware source (which I don't think they're available online) or by dumping then patching the firmware binary.

BertoldVdb commented 1 year ago

Hello,

On MS2109 it is trivial to modify the firmware to change the VID/PID. On MS2130 we first need to figure out how a 32-bit signature is calculated.

I am a bit busy now but can give more details in a week or so for the 2109 if you want.

Sincerely, Bertold

Op ma 27 mrt. 2023 01:28 schreef Isola. @.***>:

Greetings, I'm currently looking if it's possible to change the VID and PID in the firmware of MS2109 / MS2130.

I'm in a situation where I have several embedded (and can not be tampered) Windows machine with broken cameras, and I have the idea of using MS2109 / MS2130 to spoof the camera check which looks for the VID and PID of the USB camera devices (and they also return all the correct video modes already).

Wonder if it can be done by either recompiling the firmware source (which I don't think they're available online) or by dumping then patching the firmware binary.

— Reply to this email directly, view it on GitHub https://github.com/BertoldVdb/ms-tools/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQILGOVZ7NE466253GIIZLW6EXRTANCNFSM6AAAAAAWIXRN7U . You are receiving this because you are subscribed to this thread.Message ID: @.***>

mnm-isola commented 1 year ago

Greatly appreciated, I am eager to hear back!

lihelu commented 1 year ago

I also encountered a similar situation, thanks for the help!

matiaspl commented 1 year ago

There's a windows tool capable of doing the vid&pid modifications mentioned here (MS21XX&91XXDownloadTool_1.7.0_BUILD20221024): https://twitter.com/aaaarrrriaaannn/status/1678837967756902404?t=u_ezQ04APCLDtlgRT5tYlA&s=19

makcuk commented 6 months ago

Is this tool MS21XX&91XXDownloadTool mentioned above available somewhere to download? Googled without success

acotam2 commented 5 months ago

Found the mentioned tool on Bilibili, here you have it! MS2130烧录软件.zip