Commit graph

40 commits

Author SHA1 Message Date
cmitu
2e5a1b56cc gamecondriver: update for newer version
Upstream has re-organized the repository with the new versions for DB9/Gamecondriver and removed the version suffix from the source folders. Modified the module to fix the symlink to `/usr/src` needed by `dkms` and also fix the license URL.
2024-10-15 21:49:45 +01:00
cmitu
4a60d88a5d drivers: disable GPIO kernel module drivers on Pi5
The Pi5 uses a different architecture for the GPIO pins, which is not compatible with previous models.
All GPIO functions are now handled by the RP1 [1] southbridge chip and the GPIO reading mechanism used in previous models doesn't work here.

Disabled drivers:
 - gamecond and db9 (gamecondriver)
 - mk_arcadejoystick_rpi
 - snesdev

[1] https://www.raspberrypi.com/documentation/microcontrollers/rp1.html
2023-12-19 04:14:09 +00:00
cmitu
4edaead422 gamecondriver: fix kernel headers package
Use the generic KERNEL-HEADERS dependency instead of the pre-Bookworm package name, so the right package is correctly chosen.
2023-11-11 05:09:51 +00:00
cmitu
db87783424 spelling: use 'rp_module_licence' in all scriptmodules 2020-08-04 13:01:07 +01:00
Jools Wills
326dec56d2 updated all flags for supplementary modules 2020-02-22 08:23:30 +00:00
cmitu
d109e34c1c gamecondriver: update the scriptmodule to build from GitHub 2019-06-03 22:00:55 +03:00
Jools Wills
042cdef9ac variable quoting 2017-09-19 15:36:32 +01:00
marqs
47affc023a update gamecon_gpio_rpi and db9_gpio_rpi versions 2017-08-28 18:47:18 +03:00
Jools Wills
a7aa0fe70e gamecondriver - use install_bin 2016-10-25 02:52:58 +01:00
Jools Wills
1d289f59e7 gamecondriver - rework module
* move readme dialogs to menu options in gui_ function
 * move dual snes controller configuration to menu
 * remove module from /etc/modules and modprobe.d configuration on removal
 * various cleanups
2016-10-24 23:37:07 +01:00
Jools Wills
7c25f3c970 gamecondriver - added remove function 2016-09-10 16:25:56 +01:00
Jools Wills
e385457a7b cosmetic - remove trailing spaces in copyright 2016-08-11 03:23:30 +01:00
Jools Wills
67e335e1e2 modules - _update_hook functionality -
* add _update_hook function support - these get run on updating retropie-setup.
 * add update_hook functions for modules so they show up as installed on retropie-setup 4.x - eg modules that
   previously just apt-get installed a package.
2016-06-15 20:17:21 +01:00
Jools Wills
889f8ecdfa Initial rewrite of the setup menu, including per package/module management
* rp_module_menus is no more - instead use rp_module_section with one of
   - core (core packages)
   - main (main packages - which will be installed by default in the image)
   - opt (optional packages)
   - exp (experimental packages)
   - driver (driver packages)
   - config (configuration packages / tools)

 * The setup menu organises the data based on the above sections. more could be added in the future if needed. Packages (internally modules), can be added / configured / removed individually, or as entire sections.

 * The setup menu will automatically detect if a binary is available to be installed. the nobin flag is no longer needed. modules that install directly from binary via aptInstall or via a prebuilt binary need to use an install_bin_ function instead of install_

 * rp_module_section of type "config" will have the "gui_" function called first if it's available, otherwise a standard depends/sources/build/install/configure will be called

 * configure is no longer used for "gui" configuration function - use gui_ instead. Had already started to move to this before, but now it is required.
2016-06-06 22:08:36 +01:00
Jools Wills
35474271eb gamecondriver fixes
* remove old external header package and use packaged raspberrypi-kernel-headers
 * use gamecon v1.2
 * fix version check
2016-05-30 15:54:31 +01:00
Jools Wills
f639b065ca more gamecondriver cleanups / simplifications 2016-04-13 22:40:40 +01:00
Jools Wills
e13c12ca25 gamecondriver - changes
* add functionality to remove from /etc/modules
  * disable gamecondriver on x86 / mali
  * use hasPackage / don't install headers if already installed
  * show a dialog if headers package not found
  * styleguide changes / quoting
2016-04-13 22:31:15 +01:00
Jools Wills
7840a73c1e put gamecon_gpio_rpi options in /etc/modprobe.d/gamecon.conf and remove from /etc/modules if there
use printMsgs instead of echo
fixes #1234
2016-02-11 13:19:39 +00:00
Jools Wills
e5ebc6a67a move dkms dependency to depends and add gcc-4.7 dependency needed by the kernel header packages #1258 2016-02-11 12:20:53 +00:00
Jools Wills
d7f843d473 copyright sp / minor wording tweak 2015-10-12 00:09:22 +01:00
Florian
db0dd30692 CHG: Updated copyright information. 2015-10-11 21:03:16 +02:00
Jools Wills
ce8ede4def updated licence url (to RetroPie org). Remove . at end of licence url to avoid any confusion 2015-06-16 16:41:34 +01:00
Jools Wills
af92ba4ca2 indentation fix (tabs -> spaces) 2015-04-01 18:05:55 +01:00
marqs
d8bddb305c updated gamecon script module. 2015-03-31 23:24:54 +03:00
Florian
4df425c338 CHG: Updated header information 2015-03-28 06:19:16 +01:00
Florian
aab7fbd52d CHG: Added license information to all files 2015-03-27 17:28:38 +01:00
marqs
9f2aa944ea update gamecon & db9 driver versions 2015-02-28 00:23:01 +02:00
Jools Wills
8c93631ca6 indentation / whitespace 2015-02-26 04:27:21 +00:00
Jools Wills
d87c7b9a36 use printMsgs for msgbox dialogs and add some /dev/tty redirects to gamecondriver dialogs 2015-02-26 03:52:09 +00:00
Jools Wills
bbaaad975c various fixes based on recommendations from shellcheck
changed order of retronetplay module so functions can be found
2015-01-11 21:26:10 +00:00
Jools Wills
8b902ad292 styleguide changes:
* `command` -> $(command)
2015-01-11 17:44:37 +00:00
Jools Wills
641178f761 styleguide changes:
* [ ] -> [[ ]]
  * [ a = b ] -> [[ a == b ]]

note asplashscreen script left with [ ] as it doesn't specify bash directory
2015-01-11 17:11:11 +00:00
Jools Wills
f937baa863 rename checkNeededPackages to getDepends 2015-01-08 22:03:12 +00:00
Jools Wills
a132751df8 use nobin instead of nobindist 2015-01-07 00:47:55 +00:00
Jools Wills
9a12b1ef88 initial support for creating/installing via split binary packages #553 2015-01-07 00:18:16 +00:00
Jools Wills
32419850b9 reworked ini/config setting to reduce copy/paste and make the calling simpler. Since the most common usage is to change a few configuration
values at once, we now have a iniConfig function that sets up the delimiter type (such as "=" or " = "), the value quote
character (often "" nothing or "\"" a single quote) and the filename. you can then just call "iniSet" or "iniUnset" with two parameters
for key and value. A third parameter can be used in case you wish to use the current ini settings but on a different file. We should now easily
be able to handle any key/value configs whilst keeping the code simple/compact
2015-01-03 13:38:57 +00:00
Jools Wills
777f012def $rootdir/configs -> $configdif 2014-12-20 20:19:31 +00:00
Jools Wills
227a06070c renamed rps_checkNeededPackages to checkNeededPackages as it is used by modules and setup 2014-12-12 17:59:23 +00:00
Jools Wills
d07f45028b de-duplicate setting of dialog backtitle everywhere - use a global variable and set it in retropie_setup.sh once 2014-08-02 18:52:05 +01:00
Jools Wills
de6cec861f split supplementary.sh into auto-loading modules 2014-07-20 20:35:26 +01:00