View previous topic :: View next topic |
Author |
Message |
tlister n00b
Joined: 13 Jul 2004 Posts: 47
|
Posted: Thu May 05, 2005 8:26 pm Post subject: [SOLVED] PSX > USB 2 port adapter |
|
|
Hello I'm have a strange problem. I am trying to get a BNS Playstation to USB adapter working in Linux http://www.buynshop.com/productinfophp3/VG-PS-USB2X1 < thats a description. I've setup the kernel with HID support (along with Joysticks and everything else needed) I can see the adapter with "lsusb" and I can even plug in a normal usb joystick and cat it with output when I move the controler, but if I cat the adapter/attatched joystcik I do not get any output from cat when I move the joystick. Not quite sure what to do. I've heard that it may be that It has two inputs and not just one (For two different psx controllers/pads) Any information or ideas would be greatly appriciated.
Thank you
Sincerely
Tim Lister
Edit:
This converter is also known as:
0925:8866 Wisegroup, Ltd MP-8866 Dual USB Joypad _________________ w00t for BDSM and penguin mints!
Last edited by tlister on Sun May 15, 2005 8:20 pm; edited 2 times in total |
|
Back to top |
|
|
Deepak420 Apprentice
Joined: 12 Jan 2005 Posts: 173 Location: Beantown
|
Posted: Fri May 06, 2005 4:20 am Post subject: |
|
|
A couple of things, first do you have hotplug installed (if so which version, if not try installing it). Second, please post the output of $dmesg |grep -i joy (after plugging in the adapter) |
|
Back to top |
|
|
tlister n00b
Joined: 13 Jul 2004 Posts: 47
|
Posted: Fri May 06, 2005 5:34 am Post subject: hmm |
|
|
Heres the output:
input: USB HID v1.00 Joystick [0925:8866] on usb-0000:00:02.2-3.1
I also found this but I'm not sure what to do with it.... I know I can get the adapter working using this somehow...
http://www.libsdl.org/cgi/cvsweb.cgi/SDL12/src/joystick/linux/SDL_sysjoystick.c?r1=1.18
(currently reading on how I may be able to use that)
btw I'm using hotplug v20040923
Thanks _________________ w00t for BDSM and penguin mints! |
|
Back to top |
|
|
mem7 Tux's lil' helper
Joined: 17 Dec 2003 Posts: 85 Location: Spokane, Washington
|
Posted: Fri May 06, 2005 8:26 am Post subject: |
|
|
I have a few PSX2USB converters that I use all the time. just make sure you have joydev compiled and enter as root,
_________________ NeoGeo, PC Engine, and NES for life! |
|
Back to top |
|
|
tlister n00b
Joined: 13 Jul 2004 Posts: 47
|
Posted: Fri May 06, 2005 9:34 am Post subject: |
|
|
joydev is compiled in along with the other kernel requirements. (I tested this by using a normal usb joystick)
Thank you though
(...or would it really matter wether its a module or if its built into the kernel...) _________________ w00t for BDSM and penguin mints! |
|
Back to top |
|
|
Deepak420 Apprentice
Joined: 12 Jan 2005 Posts: 173 Location: Beantown
|
Posted: Fri May 06, 2005 9:39 am Post subject: |
|
|
I've got the same adapter (though I don't have the fancy clear case )
Here's what you need to do:
Emerge hotplug-20040105 (you may be able to get the newer version to work, but I was unable - you can try the following without this). Next add this line to your usb.usermap:
Code: | joydev 0x0003 0x0925 0x8866 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 |
Next modprobe joydev, and try a cat /dev/js0 (you may need to unplug and reconnect the device if it doesn't give you any output). Good luck! |
|
Back to top |
|
|
tlister n00b
Joined: 13 Jul 2004 Posts: 47
|
Posted: Fri May 06, 2005 9:49 am Post subject: w00t! |
|
|
OMG I love YOU! lol
Thank you sooooooooooooooooooooooooooooooo much for your help. I had the exact same line in my usb.map but it was called BNS and not joydev and I also had a newer version of hotplug. but once again Thank you very much _________________ w00t for BDSM and penguin mints! |
|
Back to top |
|
|
Deepak420 Apprentice
Joined: 12 Jan 2005 Posts: 173 Location: Beantown
|
Posted: Fri May 06, 2005 1:41 pm Post subject: |
|
|
Np, I think the big factor is hotplug. When I first upgraded to the latest hotplug I was tearing my hair out trying to find out what I did to make my joysticks magically stop working - then I rolled back (after a couple of kernel rebuilds) and bingo. BTW, did you keep joydev in the kernel or create a module? |
|
Back to top |
|
|
tlister n00b
Joined: 13 Jul 2004 Posts: 47
|
Posted: Fri May 06, 2005 2:30 pm Post subject: code |
|
|
I changed joydev to a module instead _________________ w00t for BDSM and penguin mints! |
|
Back to top |
|
|
lazy_bum l33t
Joined: 16 Feb 2005 Posts: 691
|
Posted: Thu Feb 09, 2006 10:31 am Post subject: |
|
|
@tlister
Ever tried to plug 2 pads in this? Is it working? _________________ roslin uberlay | grubelek |
|
Back to top |
|
|
mactalla n00b
Joined: 24 Sep 2005 Posts: 11
|
Posted: Thu Feb 09, 2006 11:07 pm Post subject: |
|
|
Deepak420 wrote: | I've got the same adapter (though I don't have the fancy clear case )
Here's what you need to do:
Emerge hotplug-20040105 (you may be able to get the newer version to work, but I was unable - you can try the following without this). Next add this line to your usb.usermap:
Code: | joydev 0x0003 0x0925 0x8866 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 |
Next modprobe joydev, and try a cat /dev/js0 (you may need to unplug and reconnect the device if it doesn't give you any output). Good luck! |
Thanks for your post! The hotplug thing worked for me. I then did some debugging and found the change that breaks this for us in the newer hotplugs. I'm currently running hotplug-20040923-r1 with only one line modified and it's working great. In /etc/hotplug/hotplug.functions, line 85 reads:
If you change it to:
Code: | *) LISTER=`type -p ${TYPE}modules` ;; |
then you don't need to downgrade hotplug.
The difference is this will actually run usbmodules --device /path/to/where/it's/plugged/in, which for some reason makes our toy start working.
I am, however, unable to get hotplug to load joydev automatically, even with that entry in usb.usermap. So I just modprobe it manually. I rarely shutdown my machine, so a single modprobe will last weeks
@lazy_bum:
I've got two dance pads hooked up to mine and it plays Stepmania like a charm. |
|
Back to top |
|
|
lazy_bum l33t
Joined: 16 Feb 2005 Posts: 691
|
Posted: Mon Feb 20, 2006 9:35 am Post subject: |
|
|
Well, got my 2xPSX->USB working. Tested with only one pad for now. (-:
::edit::
Second pad is dead... First i created (like this)
Code: | mknod /dev/input/js1 c 13 0 |
.. a second joy input. Then i tested it
.. and it creates some output. More, i even configured it under ePSXe, but inside the game the pad isn't working. /-:
::edit^2::
Code: | emerge =epsxe-1.5.2-r1 | SOLVED the problem. _________________ roslin uberlay | grubelek |
|
Back to top |
|
|
|