Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2nd Controller over USB Hub #42

Closed
siuming2004 opened this issue Dec 13, 2018 · 4 comments
Closed

2nd Controller over USB Hub #42

siuming2004 opened this issue Dec 13, 2018 · 4 comments

Comments

@siuming2004
Copy link

When BleemSync is used, 2nd usb port is used. Although we can attach the joystick to a powered usb hub together with the BleemSync USB disk, we cannot use the second controller in the game.

After some digging, I suspect that it's the udev rule file which configure the sym link that causing the PCSX-rearmed not recognizing the 2nd controller in game.

File: /etc/udev/rules.d/20-joysticks.rules

KERNEL=="js*",SUBSYSTEMS=="input",ATTRS{phys}=="usb-musbfsh-hdrc.0-1.2/input0",SYMLINK+="input/joystick1"

@raimuse
Copy link

raimuse commented Dec 14, 2018

I have a hub that goes in the back powered with the power cord of the system i hope some day it can be used as usb port but it does not recognize it for now at all

@mtrivs
Copy link
Contributor

mtrivs commented Dec 14, 2018

Check out this post:
https://www.reddit.com/r/PlaystationClassic/comments/a65nxl/a_method_to_use_the_two_controllers_with_usb_hack/

Looks like someone has found a way to modify the udev rules to allow the 2nd controller to be used alongside a hub. I haven't tested this myself, but it does look promising.

A method to use the two controllers with USB hack and a hub
I have found one way to have the USB hack running and both of the original controllers, using a hub.

Create in the root of your USB stick a file named "20-joystick.rules" with UNIX line breaks and the following content:

KERNEL=="js0",SUBSYSTEMS=="input",SYMLINK+="input/joystick0"

KERNEL=="js1",SUBSYSTEMS=="input",SYMLINK+="input/joystick1"

Add this to your lolhack.sh script:

mount -o bind /media/20-joystick.rules /etc/udev/rules.d/20-joystick.rules

udevadm control --reload-rules

udevadm trigger

This won't modify your console, since it virtually mounts the file, so it should be safe.

@raimuse
Copy link

raimuse commented Dec 14, 2018

This is Just Great! Thanks it works excellent, now if they use those rules for the joystick would it be possible for the bitdo bluetooth receiver or any receiver to get the dualshock 4. it sounds probable cause i was able to pair it but no joystick movement. now enjoy some multiplayer classics!!

@pathartl
Copy link
Owner

Added in 0.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants