firmware: How to get hardware:xone-dongle-firmware into openSUSE:Factory

Hi, I'm looking into the process of getting the xone HID kernel module driver into Factory. xone uses a proprietary blob (hardware:xone-dongle-firmware) for its firmware. Someone previously tried to submitt the blob into factory, with failure https://build.opensuse.org/request/show/1189824 1. Aside from changing the license to SUSE-Firmware, is there anything else I need to do before making a new submit request? 2. Instead of using a script to download the firmware, am I allowed to directly bundle it into the repository? Thanks, Aesara

Hello Aesara, Am Montag, 10. März 2025, 01:43:53 Mitteleuropäische Normalzeit schrieb Aesara Binder via openSUSE Factory:
Hi, I'm looking into the process of getting the xone HID kernel module driver into Factory. xone uses a proprietary blob (hardware:xone-dongle-firmware) for its firmware. Someone previously tried to submitt the blob into factory, with failure https://build.opensuse.org/request/show/1189824
1. Aside from changing the license to SUSE-Firmware, is there anything else I need to do before making a new submit request?
The license was the main reason it got rejected (Badness:10000). replacing the hard coded pathes with e.g. %{_bindir} could as well be a good idea.
2. Instead of using a script to download the firmware, am I allowed to directly bundle it into the repository?
you may use a service to retrieve the sources from github HTH Axel

On 2025-03-10 07:59, Axel Braun wrote:
The license is GPL-2 https://github.com/medusalix/xone/blob/master/LICENSE Try to change: License: Custom with: License: GPL-2.0-only

Hi Axel, I've changed the package to forego the script and use a service to retrieve the driver, and use the specfile to install it. https://build.opensuse.org/package/show/home:aesara/xone-dongle-firmware; I'll submit it to the hardware project and then to Factory and see how things go. It doesn't build correctly on Leap, something to do with /usr/lib/firmware being created by the package, but not installed. Richard Rahl on the matrix chat pointed out that zypper se --provides /usr/lib/firmware doesn't return anything. Should I install the /usr/lib/firmware directory for Leap distros?

hello Aesara, Am Dienstag, 11. März 2025, 06:31:13 Mitteleuropäische Normalzeit schrieb Aesara Binder via openSUSE Factory:
I've changed the package to forego the script and use a service to retrieve the driver, and use the specfile to install it. https://build.opensuse.org/package/show/home:aesara/xone-dongle-firmware; I'll submit it to the hardware project and then to Factory and see how things go.
good luck!
It doesn't build correctly on Leap, something to do with /usr/lib/firmware being created by the package, but not installed. Richard Rahl on the matrix chat pointed out that zypper se --provides /usr/lib/firmware doesn't return anything. Should I install the /usr/lib/firmware directory for Leap distros?
That could be one option. The other option is to check where Leap stores its firmware files and put it in there HTH Axel

Hello Aesara, Am Montag, 10. März 2025, 01:43:53 Mitteleuropäische Normalzeit schrieb Aesara Binder via openSUSE Factory:
Hi, I'm looking into the process of getting the xone HID kernel module driver into Factory. xone uses a proprietary blob (hardware:xone-dongle-firmware) for its firmware. Someone previously tried to submitt the blob into factory, with failure https://build.opensuse.org/request/show/1189824
1. Aside from changing the license to SUSE-Firmware, is there anything else I need to do before making a new submit request?
The license was the main reason it got rejected (Badness:10000). replacing the hard coded pathes with e.g. %{_bindir} could as well be a good idea.
2. Instead of using a script to download the firmware, am I allowed to directly bundle it into the repository?
you may use a service to retrieve the sources from github HTH Axel

On 2025-03-10 07:59, Axel Braun wrote:
The license is GPL-2 https://github.com/medusalix/xone/blob/master/LICENSE Try to change: License: Custom with: License: GPL-2.0-only

Hi Axel, I've changed the package to forego the script and use a service to retrieve the driver, and use the specfile to install it. https://build.opensuse.org/package/show/home:aesara/xone-dongle-firmware; I'll submit it to the hardware project and then to Factory and see how things go. It doesn't build correctly on Leap, something to do with /usr/lib/firmware being created by the package, but not installed. Richard Rahl on the matrix chat pointed out that zypper se --provides /usr/lib/firmware doesn't return anything. Should I install the /usr/lib/firmware directory for Leap distros?

hello Aesara, Am Dienstag, 11. März 2025, 06:31:13 Mitteleuropäische Normalzeit schrieb Aesara Binder via openSUSE Factory:
I've changed the package to forego the script and use a service to retrieve the driver, and use the specfile to install it. https://build.opensuse.org/package/show/home:aesara/xone-dongle-firmware; I'll submit it to the hardware project and then to Factory and see how things go.
good luck!
It doesn't build correctly on Leap, something to do with /usr/lib/firmware being created by the package, but not installed. Richard Rahl on the matrix chat pointed out that zypper se --provides /usr/lib/firmware doesn't return anything. Should I install the /usr/lib/firmware directory for Leap distros?
That could be one option. The other option is to check where Leap stores its firmware files and put it in there HTH Axel
participants (4)
-
Aesara Binder
-
aplanas
-
Axel Braun
-
Manfred Hollstein