batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
1.99k stars 513 forks source link

Clone PS3 controller (GUO HUA) can not connect via Bluetooth on bluez #6774

Open AtMe11123 opened 2 years ago

AtMe11123 commented 2 years ago

I got Batocera V33 on flashdisk I used on Laptop, using batocera x86_64. I tried to connect ps3 controller wirelessly and failed.

I am using: -csr 4.0 Blueooth dongle that able to detect my smart TV but not the controller. -3 different PS3 controller sold online about 6 dollars.

The controllers work perfectly on cable

I tried connect wirelessly by:

Yet i can not conect my controller.

chicueloarcade commented 2 years ago

There is a new ps3 generic controller that flood the market and is recognized as "GUO HUA PS3 GAMEPAD". It seems that manufacturers stop using shanwan firmware and start using this ones. The controllers are exactly the same on the outside. They work fine while plugged, but they won´t connect via bluetooth. Hope Batocera supports this new controller fimware in further updates.

dmanlfc commented 2 years ago

There is a new ps3 generic controller that flood the market and is recognized as "GUO HUA PS3 GAMEPAD". It seems that manufacturers stop using shanwan firmware and start using this ones. The controllers are exactly the same on the outside. They work fine while plugged, but they won´t connect via bluetooth. Hope Batocera supports this new controller fimware in further updates.

It's difficult to when we know nothing about the device. We can't support every clone controller, especially when we don't have one to test. Unless there is development documentation of similar for Linux our hands are tied.

dmanlfc commented 2 years ago

@AtMe11123 have you not tried Batocera v35 beta?

AtMe11123 commented 2 years ago

There is a new ps3 generic controller that flood the market and is recognized as "GUO HUA PS3 GAMEPAD". It seems that manufacturers stop using shanwan firmware and start using this ones. The controllers are exactly the same on the outside. They work fine while plugged, but they won´t connect via bluetooth. Hope Batocera supports this new controller fimware in further updates.

Yes! 2 out of 3 controller i got detected as GUO HUA PS3 GAMEPAD But the other 1 is not.

AtMe11123 commented 2 years ago

@AtMe11123 have you not tried Batocera v35 beta?

I haven't, I will look a way to update mine to V. 35 beta then

chicueloarcade commented 2 years ago

@AtMe11123 I bought 8 controllers in a week (with 3 different kind of home button, with "PS" button and sony logo, with "P3" button and with a clean button). All of them where GUO HUA. I think it´s a matter of time when users start reporting this controllers and batocera will have to support them.

dmanlfc commented 2 years ago

@AtMe11123 I bought 8 controllers in a week (with 3 different kind of home button, with "PS" button and sony logo, with "P3" button and with a clean button). All of them where GUO HUA. I think it´s a matter of time when users start reporting this controllers and batocera will have to support them.

Actually, no we don't... what has to happen is for GUO HUA to provide the Linux community with a clear definition of how these controller can work under Bluetooth on Linux. Only then will you see traction. Also, in addition, until Batocera get's donations of such hardware, it's difficult to develop from afar or maintain devices longer-term.

countertop666 commented 2 years ago

Hi there. Having the same issue.

My issue appeared after a while of not using batocera from v30. I did install the update all the way up to v35 and now the bluetooth controllers are not working. Any of my clone PS3 are not working on bluetotth when they where working fine.

The only workaround i found is downgrading to V30 again, but this release has the "black scren after exiting an emulator" issue.

Any clue of how to upgrade and get bluetooth controllers working?

Thanks community.

chicueloarcade commented 1 year ago

I found some information in this link:

https://forum.recalbox.com/topic/26964/guo-hua-ps3-gamepad-wont-work-with-bluetooth/7

Apparently the issue is with the bluez package:

[@Zing] I think this problem has somethin to do with the update of the bluez package, because in Recalbox 6.1.1 version the same controller with same driver works fine

[ 6677.840437@3]- ==============ssv6200_sw_scan_complete(): [ 6687.127640@0]- usb 1-1: new full-speed USB device number 3 using xhci-hcd [ 6687.247585@0]- usb 1-1: device descriptor read/64, error -71 [ 6687.497078@0]- usb 1-1: New USB device found, idVendor=054c, idProduct=0268 [ 6687.497111@0]- usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 6687.497132@0]- usb 1-1: Product: PS3 GamePad [ 6687.497136@0]- usb 1-1: Manufacturer: GUO HUA [ 6687.574877@3]- input: GUO HUA PS3 GamePad Motion Sensors as /devices/platform/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/0003:054C:0268.0002/input/input8 [ 6687.635856@1]- input: GUO HUA PS3 GamePad as /devices/platform/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/0003:054C:0268.0002/input/input7 [ 6687.644137@3]- sony 0003:054C:0268.0002: input,hiddev0,hidraw1: USB HID v81.10 Joystick [GUO HUA PS3 GamePad] on usb-xhci-hcd.0.auto-1/input0 [ 6691.569663@0]h IRQRatio___ERR.irq:28 ratio:4 [ 6691.569716@0]h t_isr:48 t_total:1000, cnt:41377, meson_mmc_irq t:2875

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

and the same happens with all distributions, for example with batocera v30 works fine, after that version does not pair anymore, the same for EmuELEC after v 4.3 does not pair any more, the same with lakka, with retropie 4.8 the controller pair without a problem using drivers for shanwa controller but led light does no assign to player 1, all four led are blinking but it works, So if you need to use the controllers you can use any older distrbution so you can make it work, until the different developers find the problem that would be the solution

countertop666 commented 1 year ago

I found some information in this link:

https://forum.recalbox.com/topic/26964/guo-hua-ps3-gamepad-wont-work-with-bluetooth/7

Apparently the issue is with the bluez package:

[@zing] I think this problem has somethin to do with the update of the bluez package, because in Recalbox 6.1.1 version the same controller with same driver works fine

[ 6677.840437@3]- ==============ssv6200_sw_scan_complete(): [ 6687.127640@0]- usb 1-1: new full-speed USB device number 3 using xhci-hcd [ 6687.247585@0]- usb 1-1: device descriptor read/64, error -71 [ 6687.497078@0]- usb 1-1: New USB device found, idVendor=054c, idProduct=0268 [ 6687.497111@0]- usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 6687.497132@0]- usb 1-1: Product: PS3 GamePad [ 6687.497136@0]- usb 1-1: Manufacturer: GUO HUA [ 6687.574877@3]- input: GUO HUA PS3 GamePad Motion Sensors as /devices/platform/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/0003:054C:0268.0002/input/input8 [ 6687.635856@1]- input: GUO HUA PS3 GamePad as /devices/platform/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/0003:054C:0268.0002/input/input7 [ 6687.644137@3]- sony 0003:054C:0268.0002: input,hiddev0,hidraw1: USB HID v81.10 Joystick [GUO HUA PS3 GamePad] on usb-xhci-hcd.0.auto-1/input0 [ 6691.569663@0]h IRQRatio___ERR.irq:28 ratio:4 [ 6691.569716@0]h t_isr:48 t_total:1000, cnt:41377, meson_mmc_irq t:2875

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

and the same happens with all distributions, for example with batocera v30 works fine, after that version does not pair anymore, the same for EmuELEC after v 4.3 does not pair any more, the same with lakka, with retropie 4.8 the controller pair without a problem using drivers for shanwa controller but led light does no assign to player 1, all four led are blinking but it works, So if you need to use the controllers you can use any older distrbution so you can make it work, until the different developers find the problem that would be the solution

Thanks a lot for your reply chicueloarcade. I found that in order to pair controllers and avoid some issues on older distribution for batocera, i had to drop down to v30 distri:

batocera-upgrade https://mirrors.o2switch.fr/batocera/rpi464/stable/last/archives/30/

and then pair. After this, upgrade to v31:

batocera-upgrade https://mirrors.o2switch.fr/batocera/rpi464/stable/last/archives/31/

This works for me. Cheers.

Lackie85 commented 1 year ago

It’s January 2023 now) is anybody found the way to pair chinese ps3 controllers (GUO HUO Ps3 gamepad) wirelessly? Controllers recognised when USB wired, but wont work wireless….

From previous conversation, should I to downgrade batocera to v30 to pair them? Or this method will not work as well? Now v35 installed.

chicueloarcade commented 1 year ago

You still can't. I started using generic PS4 controllers and they work great

diogomelodantas commented 1 year ago

Got it to work through an weird fix. I had Batocera 35 running and could not get GUO HUA PS3 controller to work on bluetooth. It was perfect using usb cable. So I decided to downgrade to Batocera 30 as i've read somewhere it would fix it. And it has connected beautifully. Since that i've just upgraded to 31, 32, 34 than 35, and the controller is still connecting through bluetooth and working very well.

BTW: Downgrade/Upgrade procedures are well explained on Batocera wiki (https://wiki.batocera.org/upgrade_manually). Batocera 30 version use this link (https://mirrors.o2switch.fr/batocera/x86_64/stable/last/archives/20210302/).

chicueloarcade commented 1 year ago

I'ts a good way to make them work. But in my case, I like batocera's 35 new capabilities to set all emulator resolution to complete. A feature previos versions lack. Also i have noticed that the performance on the pi 3B in v33 and v34 is very unstable and slow. But in 35 it runs smoothly. My solution was using wired controllers and buying some generic ps4 controllers that work great

diogomelodantas commented 1 year ago

For me batocera 35 is working with GUO HUA bluetooth on, as I said before.

gizito commented 1 year ago

It it working

For me batocera 35 is working with GUO HUA bluetooth on, as I said before.

It is working like you said. But I have manualy upgrade from v30 streight to beta v36, and it is working

chicueloarcade commented 1 year ago

On wich device are you running? On my pi 3b+ with B35 or my X86 intel nuc build v35 it Does not work.

diogomelodantas commented 1 year ago

Mini Mac 2010.

Em dom., 12 de fev. de 2023 12:00, Nico La Rosa @.***> escreveu:

On wich device are you running? On my pi 3b+ with B35 or my X86 intel nuc build v35 it Does not work.

— Reply to this email directly, view it on GitHub https://github.com/batocera-linux/batocera.linux/issues/6774#issuecomment-1427054598, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF2POXD7AEYON3OMJTSSBUTWXD3JBANCNFSM55KA3I7A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

gizito commented 1 year ago

On wich device are you running? On my pi 3b+ with B35 or my X86 intel nuc build v35 it Does not work. 10 years old PC. But did you read the thred. Install Bato v30, connect your gamepad then upgrade to v35

chicueloarcade commented 1 year ago

I also have a mac mini 2017 and it does not work either. Upgrading from v31 (it worked on that v)El 12 feb. 2023, a la(s) 13:54, gizito @.***> escribió:

On wich device are you running? On my pi 3b+ with B35 or my X86 intel nuc build v35 it Does not work. 10 years old PC. But did you read the thred. Install Bato v30, connect your gamepad then upgrade to v35

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

gizito commented 1 year ago

Check "Forget bluetooth". Is there the MAC of the controller in v35? Did you try like diogomelodantas said to upgrade from v30 to 31-32-33-34-35?

chicueloarcade commented 1 year ago

Thank you, but yes. I have tried all of those things. Upgrading from v30, forget devices and repair, flashing a new image, I think is not a build issue but a support one

zo2007 commented 1 year ago

hi i have two p3 fake gamepad one of them i connect with bluetooth but other cannot maybe because my bluetooth version 3 ....................................... p3 conneted with cable and batocera config in system folder official or shanwan shanwan best for me push f1 in batocera click terminal ..maybe in tool menu type bluetoothctl discoverable on pairable on unplug cable and my p3 directly flash and connect wireless now type pair (mac address) trust (mac address) .............

Darknior commented 1 year ago

Hi I'm on v35 stable, with two fake ps3 controllers and no one is pairing in BT :( But they works fine with USB cable and there are really excellent controllers. For a low price ... really i wish they will pair some day ...

gizito commented 1 year ago

Downgrade to v30. Connect controller with USB and wait atleast 10 sec. Then click connect Bluetooth. Repeat this 5-10 times. For me it connects fafter several attempts. After pair upgrade Batocera. or manually upgrade to v35

Darknior commented 1 year ago

Downgrade to v30. Connect controller with USB and wait atleast 10 sec. Then click connect Bluetooth. Repeat this 5-10 times. For me it connects fafter several attempts. After pair upgrade Batocera. or manually upgrade to v35

No no no ... it is a crazy solution, i have read it, but seriously ... you can't ask someone to do it ... If it is a driver problem, the real goal is to fix it. A normal user, or a noob will never downgrade and after upgrade ... And we have so hard to have a perfect batocera v35 to not use it ... Now some one must found what is the real driver difference from v30 and v35 ?? What has change, or has been removed or upgraded and add this new problem :(

humblepi4 commented 1 year ago

I am new to Batocera and have been trying to find a budget friendly controller for player 2. I have one genuine sixaxis ps3 controller that works great. I've tried 3 different generic controllers now from ebay over the past month and returned them all because they all have different problems with batocera. The latest one I'm trying turned out to be one of these GUO HUA. This thread has been up for over 6 months now. Has anyone figured out why these controllers pair in v30 but not more recent versions without downgrading??? It would be nice if there were something in the docs about a working budget option with analog for people who don't want to spend 50-60 bucks on a controller, especially after using an old PC for free or building an emulator for under 100. BTW I'm using a Lenovo TFF that I got for 25. I tried 3 different wifi cards too before I found this page. Looks like I might have to spend another $60 if this gua hua doesn't work. I'm not waisting another month.

EDIT So the controller does work now in v36 after downgrade/upgrade. I flashed Batocera v30 to a separate SSD because I have Flatpak installed and I was worried that downgrading via the terminal would botch my system. I booted v30 connected the GUO HUA via USB cable and after disconnecting the cable I could then pair the DS3 clone via bluetooth where it was recognized as a playstation 3 controller. Then I did an update through the main menu and Batocera was upgraded to v36. After a reboot the controller was still connecting to bluetooth without issues. I then went to the file manager (f1) and connected my old SSD via a USB to SATA adapter and copied the userdata directory to the new install. I had to reset all of my theme settings and a couple of system settings in the main menu but all of my games and other configurations were intact. Flatpak didn't survive with this method and I will have to reinstall it and then redo steam and firefox but at least I have 2 fully functional controllers. I feel like this whole process could have been avoided and things could have been much easier if there was a cheap and compatible controller option provided in the docs (with analog). Other than that I have thoroughly enjoyed my Batocera experience and am happy with everything.

gizito commented 1 year ago

I am new to Batocera and have been trying to find a budget friendly controller for player 2. I have one genuine sixaxis ps3 controller that works great. I've tried 3 different generic controllers now from ebay over the past month and returned them all because they all have different problems with batocera. The latest one I'm trying turned out to be one of these GUO HUA. This thread has been up for over 6 months now. Has anyone figured out why these controllers pair in v30 but not more recent versions without downgrading??? It would be nice if there were something in the docs about a working budget option with analog for people who don't want to spend 50-60 bucks on a controller, especially after using an old PC for free or building an emulator for under 100. BTW I'm using a Lenovo TFF that I got for 25. I tried 3 different wifi cards too before I found this page. Looks like I might have to spend another $60 if this gua hua doesn't work. I'm not waisting another month.

EDIT So the controller does work now in v36 after downgrade/upgrade. I flashed Batocera v30 to a separate SSD because I have Flatpak installed and I was worried that downgrading via the terminal would botch my system. I booted v30 connected the GUO HUA via USB cable and after disconnecting the cable I could then pair the DS3 clone via bluetooth where it was recognized as a playstation 3 controller. Then I did an update through the main menu and Batocera was upgraded to v36. After a reboot the controller was still connecting to bluetooth without issues. I then went to the file manager (f1) and connected my old SSD via a USB to SATA adapter and copied the userdata directory to the new install. I had to reset all of my theme settings and a couple of system settings in the main menu but all of my games and other configurations were intact. Flatpak didn't survive with this method and I will have to reinstall it and then redo steam and firefox but at least I have 2 fully functional controllers. I feel like this whole process could have been avoided and things could have been much easier if there was a cheap and compatible controller option provided in the docs (with analog). Other than that I have thoroughly enjoyed my Batocera experience and am happy with everything.

It is drivers related. And they are not going to fix it, because of the varayati of clones. Thats why switched to Rotrobat

chicueloarcade commented 1 year ago

I started using clone ps4 controllers and they work great and are slightly better in quality. Ps3 only wired for a specific task

azikmov89 commented 1 year ago

I hasten to please all users with the same problem. Clone Dualshock 3 started working for me not long ago. I was fiddling with it for about 2 days and almost lost hope. My gamepad also did not connect anywhere. Not in Android, not in Batocere, not in Windows. The solution to the problem turned out to be very simple. Are you putting it on? All you had to do was first hold down the start button, then, without releasing the button, hold down PS (home) and hold both buttons for 6.7 seconds before the gamepad enters binding mode. That's all. In this way I managed to connect to an android that had never seen my Dualshock 3 before, and to batocera v37, the latest at the time of writing this post.

p.s - I wish you all the best and enjoy the game. And who can share this news. Maybe someone is also experiencing difficulties about this. I just registered to report this news. I am writing through Google translator, I apologize in advance for my English

Cooky-12 commented 1 year ago

For the 'GUO HUA PS3 GamePad,' you can try using my simple patch. It is reported that my patch works with it.

https://aur.archlinux.org/cgit/aur.git/tree/fake-ps3.patch?h=bluez-plugins-ps3

jjrsoler commented 1 year ago

For the 'GUO HUA PS3 GamePad,' you can try using my simple patch. It is reported that my patch works with it.

https://aur.archlinux.org/cgit/aur.git/tree/fake-ps3.patch?h=bluez-plugins-ps3

I am a noob about Linux. I have been studing and I connected to My Batocera using SSH and WINSCP to transfer the file aur-77eb18cd996fc8a81371cc206675c16ca110046d.tar.gz But the question for me is how can I use that patch??????????

Thanks.

jjrsoler commented 1 year ago

Hello again.

could anyone please tell how can we install a tar.gz?

kind regards

Sturmlocke86 commented 5 months ago

@AtMe11123 I bought 8 controllers in a week (with 3 different kind of home button, with "PS" button and sony logo, with "P3" button and with a clean button). All of them where GUO HUA. I think it´s a matter of time when users start reporting this controllers and batocera will have to support them.

Actually, no we don't... what has to happen is for GUO HUA to provide the Linux community with a clear definition of how these controller can work under Bluetooth on Linux. Only then will you see traction. Also, in addition, until Batocera get's donations of such hardware, it's difficult to develop from afar or maintain devices longer-term.

I have a number of third party controllers that could use support via Bluetooth. Can someone point me in the right direction where I might be able to send and donate hardware to? Thanks