Skip to content

This kernel module turns what my dance pad sends through a PS/2 to USB adapter (Pu120T) into something that works for the game Stepmania

Notifications You must be signed in to change notification settings

rongten/joydev-dancepad

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • Introduction

This kernel module turns what my dance pad sends through a PS/2 to USB adapter into something that works for the game Stepmania.

My PS/2 to USB adapter (Pu120T) is identified by lsusb as:

ID 0810:0001 Personal Communication Systems, Inc. Dual PSX Adaptor

The original patch, that I adapted for Linux kernel 3.9, was obtained from:

http://www.inf.ufsc.br/~adiel/en/misc/dance-pad/index.html

Miriam Ruiz [email protected]

  • Step 1: Install and prepare the kernel headers
$ sudo -i
# apt-get install module-assistant
# m-a prepare
  • Step 2: Compile the code
$ make
make -C /lib/modules/[version]/build M=/[DIRECTORY] modules
make[1]: se ingresa al directorio `/usr/src/linux-headers-[version]'
  CC [M]  /home/inniyah/joydev/joydev-dancepad.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/inniyah/joydev/joydev-dancepad.mod.o
  LD [M]  /home/inniyah/joydev/joydev-dancepad.ko
make[1]: se sale del directorio `/usr/src/linux-headers-[version]'
  • Step 3: Remove the vanilla module from the running kernel
$ sudo rmmod joydev
  • Step 4: Insert the compiled module into the running kernel
$ sudo insmod joydev-dancepad.ko
  • Step 6: Check that the module has been successfully installed
$ lsmod | grep joydev
joydev_dancepad        17087  0 
  • Step 7 (optional): Check that the module works okay
$ jstest-gtk 
  • More information

About

This kernel module turns what my dance pad sends through a PS/2 to USB adapter (Pu120T) into something that works for the game Stepmania

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.8%
  • Makefile 0.2%