This is the old SliTaz forum - Please use the main forum.slitaz.org

LPT1 PlayStation GamePad
  • mrblack234mrblack234 January 2011
    Can slitaz support psx gamepad which can be up to 5 pieces in  one LPT1 port and add to package in cooking repository ?. This can be very fun to play  Winning Eleven with 4 people at once with pcsxr-svn emulator like a PlayStation, PS1 or mybe PS2 and PS3 machine.
  • Trixar_zaTrixar_za January 2011
    There's a package called linux-joystick that might have the right modprobe drivers for you.

    After you plugged it in, try su'ing to root and using modprobe hid and modprobe joypad.

    You may also need the right plugin for the emulator to get it to work.
  • mrblack234mrblack234 January 2011
    Oke... I have tried with your instuction... after installing the package - pluged my gamepad to LPT1, testing the plugins on the pcsxr Joystick Option.... and this the result:

    This from modprobe command.

    # modeprobe hid
    modprobe: module hid not found in modules.dep

    # modprobe joypad
    modprobe: module joypad not found in modules.dep

    This from pcsxr plugin test:

    Failed to initializing /dev/input/j0     (something like this)
  • Trixar_zaTrixar_za January 2011
    You're using cooking right? Which copy exactly? The one provided by the main site or the one found at http://mirror.slitaz.org/iso/undigest/ ?

    The one provided by the website uses an older kernel (2.6.34) than the undigested copy (2.6.36). This tends to make the modprobe drivers you install from the repository not work because they're all made for the newer kernel 2.6.36.

    You can however still get the older package here: http://arch-live.isawsome.net/devel/kernel-slitaz/linux-joystick-2.6.34.tazpkg - which should help avoid the situation of having to reinstall SliTaz cooking again.

    Btw, you install that package with the tazpkg install command.

    The following blog entry might also be of interest to you: http://ayinat.blogspot.com/2007/07/using-parallel-port-joypadjoystick-with.html

    If all else fails, you could also try the older port of the emulator I converted over for Slitaz 3 (stable) @ http://www.trixarian.za.net/?Projects:SliTaz
  • mrblack234mrblack234 January 2011
    Yes..., I use cooking version (slitaz-cooking-4in1.iso) on my hda2, I download from the mirror:
    http://mirror.slitaz.org/iso/cooking/flavors/

    And always updated to. (On my hda1 is Slitaz-3.0)

    Yes that's also very interesting to try...
    (http://ayinat.blogspot.com/2007/07/using-parallel-port-joypadjoystick-with.html)

    and the result I will post again.

    Yes i have test your pcsx-df (http://www.trixarian.za.net/downloads/pcsx-df-1.816.tazpkg)
    same as with pcsxr-svn and no any problems with my game collection.

  • Trixar_zaTrixar_za January 2011
    The 4-in-1 should be unaffected by the bug, so it's safe to use the cooking repository's packages without having to worry. I think it was only the base flavor that got affected by the use of the older kernel.

    BTW, thanks for testing that package - I haven't really tested it yet to make sure it can run all the games :P
  • mrblack234mrblack234 January 2011
    Ok... this a result:

    # rmmod lp
    rmmod: can't unload 'lp': unknown symbol in module, or unknown parameter

    # modprobe gamecon map=0,7
    modprobe: module gamecon not found in modules.dep


    And I'm very confused with the "modprobe gamecon map=0.7" command. Where gamecon.c is the source-code a part of the kernel-source-code files and I found in /usr/src/linux-2.6.36/drivers/input/joystick folder. And the "modprobe" command is for loaded the kernel modules have been installed in /lib/modules/2.6.36-slitaz/kernel/ folders with FILE_NAME.ko or FILE_NAME.ko.gz.
  • Trixar_zaTrixar_za January 2011
    Please give me the output of uname -a
    I have a really bad feeling that your stuck with a cooking version built on kernel 2.6.34
  • mrblack234mrblack234 January 2011
    tux@slitaz:~$ uname -a
    Linux slitaz 2.6.36-slitaz #2 SMP Sat Dec 18 06:22:01 CET 2010 i686 GNU/Linux


    and this article explains when gamecon kernel module is not supported by the kernel and please read the Linux section. http://www.raphnet.net/electronique/psx_adaptor/psx_adaptor_en.php
  • Trixar_zaTrixar_za January 2011
    Ok, here's what we get when we install slitaz's modules:
    /lib/modules/2.6.36-slitaz/kernel/drivers/input/gameport
    /lib/modules/2.6.36-slitaz/kernel/drivers/input/gameport/emu10k1-gp.ko.gz
    /lib/modules/2.6.36-slitaz/kernel/drivers/input/gameport/ns558.ko.gz
    /lib/modules/2.6.36-slitaz/kernel/drivers/input/input-polldev.ko.gz
    /lib/modules/2.6.36-slitaz/kernel/drivers/input/joystick
    /lib/modules/2.6.36-slitaz/kernel/drivers/input/joystick/analog.ko.gz
    /lib/modules/2.6.36-slitaz/kernel/drivers/input/joystick/sidewinder.ko.gz
    /lib/modules/2.6.36-slitaz/kernel/drivers/input/joystick/xpad.ko.gz

    So maybe try modprobe -v gameport, modprobe -v emu10k1-gp, modprobe -v ns558, modprobe -v input-polldev, modprobe -v joystick, modprobe -v analog, modprobe -v sidewinder or modprobe -v xpad and see if that works.
  • mrblack234mrblack234 January 2011
    Yes, it's the same with me, but no file gamecon.ko (on SliTas maybe "gamecon.ko.gz")

    and finally i found the file list from other distro with "gamecon.ko" on Kernel modules folder:
    http://www.archlinux.org/packages/core/i686/kernel26/files/

    See on line : lib/modules/2.6.36-ARCH/kernel/drivers/input/joystick/gamecon.ko

    And Discution ( http://forum.slitaz.org/index.php?p=/discussion/1397 ) about how to know if the Kernel Module is supported or not by the Kernel Configuration with "zcat and grep" command. And the result is:

    root@Apache2:~# zcat /proc/config.gz | grep GAMECON
    # CONFIG_JOYSTICK_GAMECON is not set
    root@Apache2:~#

    which means that requires us to create a custom kernel for slitaz, so I asked to All Development Team of SliTaz GNU/Linux "Can slitaz support psx gamepad which can be up to 5 pieces in  one LPT1 port and add to package in cooking repository ?".

    Becouse my Compiz just PIII - 866Mhz Processor - 512Mb SDRAM - with Littel HeatSink and Fan on the Top of Processor and can couse hang and very hot on CPU every I tried to make custom kernel for my NVidia Video Driver or for this GAMECON Kernel Module.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social