OrangePI Club
Unable to install ps3 controller driver - Printable Version

+- OrangePI Club (http://orangepi.club)
+-- Forum: International (English) Forums (http://orangepi.club/forumdisplay.php?fid=3)
+--- Forum: *nix Distro (http://orangepi.club/forumdisplay.php?fid=4)
+---- Forum: RetrOrangePi v4.2 SLIM version (http://orangepi.club/forumdisplay.php?fid=38)
+---- Thread: Unable to install ps3 controller driver (/showthread.php?tid=2570)



Unable to install ps3 controller driver - genzi0401 - 08-06-2018

When go to RetroPie setup and install the ps3controller driver, it failed.
Already connected to internet but it just failed.
Maybe a bug?


Code:
Log started at: Mon Aug  6 12:37:10 CEST 2018

RetroPie-Setup version: 4.4.2 (ac8a0a3)
System: Linux RetrOrangePi 3.4.113-sun8i #8 SMP PREEMPT Mon Jul 30 14:08:30 CEST 2018 armv7l GNU/Linux

= = = = = = = = = = = = = = = = = = = = =
Installing dependencies for 'ps3controller' : PS3 controller driver and pair via sixad
= = = = = = = = = = = = = = = = = = = = =

/home/pi/RetroPie-Setup/tmp/build/ps3controller /home/pi

= = = = = = = = = = = = = = = = = = = = =
Getting sources for 'ps3controller' : PS3 controller driver and pair via sixad
= = = = = = = = = = = = = = = = = = = = =

git clone --recursive --depth 1 "https://github.com/RetroPie/sixad.git" "/home/pi/RetroPie-Setup/tmp/build/ps3controller/sixad"
Cloning into '/home/pi/RetroPie-Setup/tmp/build/ps3controller/sixad'...
/home/pi
/home/pi/RetroPie-Setup/tmp/build/ps3controller /home/pi

= = = = = = = = = = = = = = = = = = = = =
Building 'ps3controller' : PS3 controller driver and pair via sixad
= = = = = = = = = = = = = = = = = = = = =

rm -f *~ bins/*
mkdir -p bins
mkdir -p bins
g++ -O2 -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -ftree-vectorize -funsafe-math-optimizations -pipe -O2 -Wall  -DSHORT_NAME -Wl,-Bsymbolic-functions sixad-bin.cpp bluetooth.cpp shared.cpp textfile.cpp -o bins/sixad-bin `pkg-config --cflags --libs bluez` -lpthread -fpermissive
cc -O2 -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard -ftree-vectorize -funsafe-math-optimizations -pipe -Wl,-Bsymbolic-functions sixpair.c -o bins/sixpair `pkg-config --cflags --libs libusb`
/bin/sh: 1: pkg-config: not found
/bin/sh: 1: pkg-config: not found
/tmp/ccayooud.o: In function `show_master':
sixpair.c:(.text+0x3a): undefined reference to `usb_control_msg'
/tmp/ccayooud.o: In function `set_master':
sixpair.c:(.text+0x104): undefined reference to `usb_control_msg'
/tmp/ccayooud.o: In function `process_device':
sixpair.c:(.text+0x12a): undefined reference to `usb_open'
sixpair.c:(.text+0x136): undefined reference to `usb_detach_kernel_driver_np'
sixpair.c:(.text+0x13e): undefined reference to `usb_claim_interface'
sixpair.c:(.text+0x186): undefined reference to `usb_reset'
sixpair.c:(.text+0x18e): undefined reference to `usb_release_interface'
sixpair.c:(.text+0x194): undefined reference to `usb_close'
/tmp/ccayooud.o: In function `main':
sixpair.c:(.text.startup+0xa): undefined reference to `usb_init'
sixpair.c:(.text.startup+0xe): undefined reference to `usb_find_busses'
sixpair.c:(.text.startup+0x18): undefined reference to `usb_find_devices'
sixpair.c:(.text.startup+0x22): undefined reference to `usb_get_busses'
collect2: error: ld returned 1 exit status
Makefile:26: recipe for target 'sixpair_bin' failed
make: *** [sixpair_bin] Error 1
make: *** Waiting for unfinished jobs....
/tmp/ccgNCkev.o: In function `get_sdp_device_info(bdaddr_t const*, bdaddr_t const*, hidp_connadd_req*)':
bluetooth.cpp:(.text+0x1b4): undefined reference to `sdp_connect'
bluetooth.cpp:(.text+0x1c6): undefined reference to `sdp_uuid16_create'
bluetooth.cpp:(.text+0x1ce): undefined reference to `sdp_list_append'
bluetooth.cpp:(.text+0x1d8): undefined reference to `sdp_list_append'
bluetooth.cpp:(.text+0x1ea): undefined reference to `sdp_service_search_attr_req'
bluetooth.cpp:(.text+0x1f2): undefined reference to `sdp_list_free'
bluetooth.cpp:(.text+0x1fa): undefined reference to `sdp_list_free'
bluetooth.cpp:(.text+0x204): undefined reference to `sdp_uuid16_create'
bluetooth.cpp:(.text+0x20c): undefined reference to `sdp_list_append'
bluetooth.cpp:(.text+0x216): undefined reference to `sdp_list_append'
bluetooth.cpp:(.text+0x228): undefined reference to `sdp_service_search_attr_req'
bluetooth.cpp:(.text+0x232): undefined reference to `sdp_list_free'
bluetooth.cpp:(.text+0x23a): undefined reference to `sdp_list_free'
bluetooth.cpp:(.text+0x25c): undefined reference to `sdp_close'
bluetooth.cpp:(.text+0x27c): undefined reference to `sdp_data_get'
bluetooth.cpp:(.text+0x28c): undefined reference to `sdp_data_get'
bluetooth.cpp:(.text+0x29c): undefined reference to `sdp_data_get'
bluetooth.cpp:(.text+0x2a8): undefined reference to `sdp_record_free'
bluetooth.cpp:(.text+0x2b6): undefined reference to `sdp_data_get'
bluetooth.cpp:(.text+0x2c2): undefined reference to `sdp_data_get'
bluetooth.cpp:(.text+0x300): undefined reference to `sdp_data_get'
bluetooth.cpp:(.text+0x314): undefined reference to `sdp_data_get'
bluetooth.cpp:(.text+0x324): undefined reference to `sdp_data_get'
/tmp/ccgNCkev.o:bluetooth.cpp:(.text+0x334): more undefined references to `sdp_data_get' follow
/tmp/ccgNCkev.o: In function `get_sdp_device_info(bdaddr_t const*, bdaddr_t const*, hidp_connadd_req*)':
bluetooth.cpp:(.text+0x366): undefined reference to `sdp_record_free'
bluetooth.cpp:(.text+0x39a): undefined reference to `sdp_data_get'
/tmp/ccgNCkev.o: In function `do_connect(int, bdaddr_t*, bdaddr_t*, int)':
bluetooth.cpp:(.text+0x48e): undefined reference to `ba2str'
bluetooth.cpp:(.text+0x53c): undefined reference to `ba2str'
/tmp/ccgNCkev.o: In function `do_search(int, bdaddr_t*, int)':
bluetooth.cpp:(.text+0x598): undefined reference to `ba2str'
bluetooth.cpp:(.text+0x59e): undefined reference to `hci_devid'
bluetooth.cpp:(.text+0x5ca): undefined reference to `hci_inquiry'
bluetooth.cpp:(.text+0x626): undefined reference to `bt_free'
bluetooth.cpp:(.text+0x64e): undefined reference to `hci_inquiry'
bluetooth.cpp:(.text+0x65a): undefined reference to `bt_free'
bluetooth.cpp:(.text+0x674): undefined reference to `hci_get_route'
bluetooth.cpp:(.text+0x67c): undefined reference to `hci_devba'
bluetooth.cpp:(.text+0x694): undefined reference to `ba2str'
bluetooth.cpp:(.text+0x6c4): undefined reference to `ba2str'
bluetooth.cpp:(.text+0x6cc): undefined reference to `bt_free'
/tmp/ccgNCkev.o: In function `create_device(int, int, int)':
bluetooth.cpp:(.text+0x75e): undefined reference to `ba2str'
/tmp/ccgNCkev.o: In function `l2cap_accept(int, int, int, int, int)':
bluetooth.cpp:(.text+0x8ca): undefined reference to `ba2str'
bluetooth.cpp:(.text+0x9be): undefined reference to `ba2str'
collect2: error: ld returned 1 exit status
Makefile:18: recipe for target 'sixad_bins' failed
make: *** [sixad_bins] Error 1
/home/pi
Could not successfully build ps3controller - PS3 controller driver and pair via sixad (/home/pi/RetroPie-Setup/tmp/build/ps3controller/sixad/bins/sixad-bin not found).

Log ended at: Mon Aug  6 12:37:19 CEST 2018
Total running time: 0 hours, 0 mins, 9 secs

Any idea?


RE: Unable to install ps3 controller driver - alexkidd - 08-06-2018

sudo apt-get install pkg-config

then try again


RE: Unable to install ps3 controller driver - genzi0401 - 08-06-2018

(08-06-2018, 10:44 AM)alexkidd Wrote: sudo apt-get install pkg-config

then try again

Great, it works now.
Somehow, every now and then when I get into the retropie_setup screen, it gets freeze very easy. Cannot do anything, no response from keyboard or controller. It happened once I did what you told me above. This is quite frequent.

Already 3 times I need to do hard reset to my orange pi lite.


RE: Unable to install ps3 controller driver - alexkidd - 08-06-2018

do you have case heatsink cooler?

edit: some bluetooth dongles are very picky with the legacy kernel...


RE: Unable to install ps3 controller driver - genzi0401 - 08-06-2018

(08-06-2018, 11:11 AM)alexkidd Wrote: do you have case heatsink cooler?

edit: some bluetooth dongles are very picky with the legacy kernel...

Yes, I have heat sink and fan kit installed.
It was working fine in previous 4.1 image.
My problem now is this 4.2 could not pair with Shanwan ps3 controller but official sony controller paired perfectly.
It never has such issue in previous 4.1 image.


RE: Unable to install ps3 controller driver - alexkidd - 08-06-2018

since it's a completely new build, we need more feedback to find out what's missing. Upload the log error if you can.


RE: Unable to install ps3 controller driver - genzi0401 - 08-06-2018

(08-06-2018, 12:44 PM)alexkidd Wrote: since it's a completely new build, we need more feedback to find out what's missing.  Upload the log error if you can.

I will post new log again later.
But then, another issue, I still unable to apply and use my own video splashscreen since 4.1 to current 4.2 version.
It just give me blank black screen, no sound no video.


RE: Unable to install ps3 controller driver - marcosmallet - 08-10-2018

(08-06-2018, 10:59 AM)genzi0401 Wrote:
(08-06-2018, 10:44 AM)alexkidd Wrote: sudo apt-get install pkg-config

then try again

Great, it works now.
Somehow, every now and then when I get into the retropie_setup screen, it gets freeze very easy. Cannot do anything, no response from keyboard or controller. It happened once I did what you told me above. This is quite frequent.

Already 3 times I need to do hard reset to my orange pi lite.

Hello genzi0401,

I'm having the same problem as you. Have you solved the screen crash problem Retropie after installing the driver?