Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(SN30_Pro+): add 4.01 firmware #30

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
16 changes: 16 additions & 0 deletions releases/SN30_Pro+/4.01/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
VENDOR=8Bitdo
PROJECT_NAME=SN30_Pro+
VERSION=4.01
FIRMWARE_FILES=Firmware_SN30_Pro+_V$(VERSION).dat
METAINFO_FILES=sn30pro_plus.metainfo.xml

all: $(VENDOR)-$(PROJECT_NAME)-$(VERSION).cab

clean:
rm *.cab

check: $(METAINFO_FILES)
appstream-util validate-relax $(METAINFO_FILES)

%.cab: $(FIRMWARE_FILES) $(METAINFO_FILES)
gcab --create --nopath $@ "$(FIRMWARE_FILES)" $(METAINFO_FILES)
12 changes: 12 additions & 0 deletions releases/SN30_Pro+/4.01/readme_en.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
2020-05-29 Firmware v4.01
1. Fixed the bug that the settings of mapping star button as turbo function button via Utimate is not effective on Switch mode.
2. Fixed USB connection issue when bluetooth is connecting on Switch mode.

Note: New version adjusted function framework, the old ultimate configuration need to reconfigure.
-----------------------------------------

Update instruction
1. Press and hold L1+R1+START buttons on the controller to put it on its update mode. Power LED on the top will blink.
2. Connect the controller to your PC via the USB cable.
3. Run the 8bitdo_update application, click the USB Update button, find firmware.dat in the pop-up window and open it.
4. After the upgrade is complete, disconnect the USB cable and use it.
55 changes: 55 additions & 0 deletions releases/SN30_Pro+/4.01/sn30pro_plus.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2016 Richard Hughes <richard@hughsie.com> -->
<!-- Copyright 2019 Mario Limonciello <mario.limonciello@dell.com> -->
<component type="firmware">
<id>com.8bitdo.sn30pro_plus.firmware</id>
<name>SN30 Pro+</name>
<summary>Firmware for the 8Bitdo SN30 Pro+ Game Controller</summary>
<description>
<p>
Updating the firmware on your SN30 Pro+ device improves performance and
adds new features.
</p>
</description>
<provides>
<!-- USB\VID_2DC8&PID_6002&REV_0001 -->
<firmware type="flashed">64eb3e9c-e79c-50d0-984b-21a1641f37c5</firmware>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these 4 lines are copied from the previous release. im not sure where this value comes from and it undoubtedly needs updated.

<!-- USB\VID_2DC8&PID_6002 -->
<firmware type="flashed">a9a82ee0-7fdc-5d80-bd73-6b39f7a4f061</firmware>
</provides>
<url type="homepage">http://www.8bitdo.com/sn30pro-plus/</url>
<metadata_license>CC0-1.0</metadata_license>
<project_license>Proprietary</project_license>
<developer_name>8Bitdo</developer_name>
<releases>
<release urgency="medium" version="4.01" date="2020-05-29" timestamp="1590710400">
<checksum filename="Firmware_SN30_Pro+_V4.01.dat" target="content"/>
<description>
<p>This stable release fixes the following issues:</p>
<ul>
<li>Fixed the bug that the settings of mapping star button as turbo function button via Utimate is not effective on Switch mode.</li>
<li>2. Fixed USB connection issue when bluetooth is connecting on Switch mode.</li>
<li>Compatible with 8BitDo Ultimate Software</li>
</ul>
</description>
</release>
</releases>
<screenshots>
<screenshot type="default">
<image type="source">https://raw.githubusercontent.com/fwupd/8bitdo-firmware/master/screenshots/sn30-pro.png</image>
<caption>Unplug the controller, hold down L1 + R1 + START until the red LED on top of the controller is flashing and then reconnect the controller.</caption>
</screenshot>
</screenshots>

<!-- only newer versions of fwupd know about the new controller -->
<requires>
<id compare="ge" version="1.0.3">org.freedesktop.fwupd</id>
</requires>

<categories>
<category>X-Device</category>
</categories>
<custom>
<value key="LVFS::UpdateProtocol">com.8bitdo</value>
</custom>
</component>