i use.
i have build a DIY USB adapter, with the above mentioned products.Linux Mint 17 (64bit) Updated
Teensy 2.0
Onboard Bluetooth from my laptop. (works by coinsidence )
D-Sun CP2102 USB to TTL converter
The programming through the teensy loader went well, it is programmed with the atmega32u4.hex firmware.
The wiring of the board should be ok (switching TX/RX makes no difference, the pins are soldered (D2, D3 and GND)
And the CP2102 works in echo mode (connecting RX to TX)
i am able to pair the DS4 with my laptop, and play Battlefield 4, with mouse and keyboard.
(Config: PS4_Battlefield4_foxy.xml)
But i want to have the DS4 controller connected to the laptop.
And the laptop through the USB-TTL --> Teensy(mini USB) connected to the PS4 (USB)
But the GIMX loader doesńt work then..
The Log shows:
Code: Select all
global option -l with value `log.txt'
global option -c with value `PS4_Battlefield4_foxy.xml'
controller #1: option -p with value `/dev/ttyUSB0'
now reading arguments for controller #2
status flag is set
subpos flag is set
force_updates flag is set
GIMX 5.9 x86_64
Linux Mint 17.1 Rebecca
Linux 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 010: ID 054c:05c4 Sony Corp. DualShock 4
Bus 007 Device 009: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 004: ID 0db0:a97a Micro Star International Bluetooth EDR Device
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
/: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 9, If 0, Class=Vendor Specific Class, Driver=cp210x, 12M
|__ Port 2: Dev 10, If 0, Class=Human Interface Device, Driver=usbhid, 12M
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 1: Dev 4, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 1: Dev 4, If 1, Class=Wireless, Driver=btusb, 12M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
can't read packet header
No controller detected.
adapter_detect failed
But as you can see it is controller #1: option -p with value `/dev/ttyUSB0'
Might this be the problem, or shouldńt it matter?
Eventually i want to have the Teensy 2.0 working on a RaspberryPi2 (running Raspbian Jessie, or Ubuntu mate) on the RX/TX but i want to test this first to see that the hardware should work on a PC