SliTaz SliTaz Forum

You are not logged in.

#1 2020-04-30 23:28:32

enigma9o7
Member
Registered: 2020-03-22
Posts: 77

Gamepad doesn't work

My gamepad isn't recognized in Slitaz.  It's 8bitdo snes style connected via USB.

Is there something I need to do to get Slitaz to see it? Driver? (It does work on same pc under ubuntu).

Offline

#2 2020-05-01 15:25:54

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Gamepad doesn't work

Slitaz splits off kernel modules into sub-packages to keep the iso as small as possible.

The kernel module sub-packages have the naming convention linux-<subpkgname>.tazpkg for 32-bits kernel and linux64-<subpkgname>.tazpkg for 64-bits kernel.

The user must identify the non-working hardware and it's correct kernel module driver(<drivername>.ko.xz).

Hardware/Kernel module driver identification

If the non-working hardware functions in another linux distro, use [c]lshw[/c] utility to identify the hardware and the kernel driver in use.

Otherwise you will need to use [c]lsusb[/c] before and after plugging in non-working hardware to identify it's vendor and product ID XXXX:XXXX and search linux kernel driver database for the appropriate kernel driver name.

Identify/install package owning the kernel module driver

Then identify and install the kernel module subpkg that is a bits match for your running kernel that owns the proper kernel driver.

[c]tazpkg search-pkgname <drivername>.ko.xz[/c]

Online

#3 2020-05-01 19:28:36

enigma9o7
Member
Registered: 2020-03-22
Posts: 77

Re: Gamepad doesn't work

Thank you so much for your reply.  I think this is the relevant piece from lswh under bodhi/ubuntu, although I attached the full output.   Now to figure out the kernel module driver.... I think xpad...

*-usb

                   description: Generic USB device

                   product: SFC30 Joystick

                   vendor: SFC30

                   physical id: 1

                   bus info: usb@4:1

                   version: 1.14

                   serial: Joy   1.0000

                   capabilities: usb-2.00

                   configuration: driver=xpad maxpower=500mA speed=12Mbit/s

Offline

#4 2020-05-01 19:40:02

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Gamepad doesn't work

configuration: driver=xpad

[c]tux@slitaz:/root$ tazpkg search-pkgname xpad.ko.xz[/c]

Search result for package "xpad.ko.xz"

================================================================================

linux-joystick

linux64-joystick

linux-libre-joystick

================================================================================

3 packages

use [c]uname -a[/c] to determine 32 (slitaz) or 64 bit kernel (slitaz64)

32bit kernel

tazpkg -gi linux-joystick

64bit kernel

tazpkg -gi linux64-joystick

Online

#5 2020-05-01 19:47:06

enigma9o7
Member
Registered: 2020-03-22
Posts: 77

Re: Gamepad doesn't work

Thanks again!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]