Emuclient not starting

Need help? Ask here and someone will help
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Emuclient not starting

Post by Matlo »

Did you turn the controller off before starting emuclient?
GIMX creator
kenshihimura
Posts: 20
Joined: Thu Sep 26, 2013 6:25 am

Re: Emuclient not starting

Post by kenshihimura »

Yep, I unplugged the cable and make not sure no lights on the controller before starting the emuclient.
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Emuclient not starting

Post by Matlo »

Please copy paste the terminal content when starting emuclient from the terminal.
GIMX creator
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Emuclient not starting

Post by Matlo »

The controller is not giving its address.

Can you type "lsusb" with no quotes in a terminal a post the output?
GIMX creator
kenshihimura
Posts: 20
Joined: Thu Sep 26, 2013 6:25 am

Re: Emuclient not starting

Post by kenshihimura »

ducky@ducky:~$ lsusb
Bus 002 Device 004: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 002 Device 003: ID 046d:c31c Logitech, Inc. Keyboard K120 for Business
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 13d3:5134 IMC Networks
Bus 001 Device 003: ID 13d3:3304 IMC Networks Asus Integrated Bluetooth module [AR3011]
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
kenshihimura
Posts: 20
Joined: Thu Sep 26, 2013 6:25 am

Re: Emuclient not starting

Post by kenshihimura »

So...anything wrong from the lsusb?
User avatar
Matlo
Posts: 5764
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Emuclient not starting

Post by Matlo »

Nope.

Maybe they made new controllers that use a different protocol.

Could you get the full usb report descriptor as explained there?

Please copy-paste the content of the terminal (screenshots are not easy to work with).
GIMX creator
kenshihimura
Posts: 20
Joined: Thu Sep 26, 2013 6:25 am

Re: Emuclient not starting

Post by kenshihimura »

This is what I get after I did all the steps in the link.

root@ducky-N55SF:~# dmesg
...
[ 163.720597] usb 3-2: new full-speed USB device number 2 using xhci_hcd
[ 163.790457] usb 3-2: New USB device found, idVendor=054c, idProduct=0268
[ 163.790465] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 163.790469] usb 3-2: Product: PLAYSTATION(R)3 Controller
[ 163.790473] usb 3-2: Manufacturer: Sony
[ 168.861623] sony 0003:054C:0268.0004: Fixing up Sony Sixaxis report descriptor
[ 178.856905] sony 0003:054C:0268.0004: usb_submit_urb(ctrl) failed: -1
[ 178.856968] sony 0003:054C:0268.0004: timeout initializing reports
[ 178.857197] input: Sony PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:1c.3/0000:04:00.0/usb3/3-2/3-2:1.0/input/input21
[ 178.858045] sony 0003:054C:0268.0004: input,hiddev0,hidraw3: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:04:00.0-2/input0
[ 178.858056] sony 0003:054C:0268.0004: can't set operational mode
[ 178.866362] systemd-udevd[2672]: Failed to apply ACL on /dev/input/event14: No such file or directory
[ 178.866575] systemd-udevd[2672]: Failed to apply ACL on /dev/input/event14: No such file or directory
[ 178.889174] sony: probe of 0003:054C:0268.0004 failed with error -38
[ 612.414360] usb 3-2: usbfs: USBDEVFS_CONTROL failed cmd sixaddr rqt 161 rq 1 len 8 ret -110
[ 617.411796] usb 3-2: usbfs: USBDEVFS_CONTROL failed cmd sixaddr rqt 161 rq 1 len 17 ret -110

root@ducky-N55SF:~# lsusb
Bus 002 Device 004: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 002 Device 003: ID 046d:c31c Logitech, Inc. Keyboard K120 for Business
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 13d3:5134 IMC Networks
Bus 001 Device 003: ID 0cf3:3005 Atheros Communications, Inc. AR3011 Bluetooth
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@ducky-N55SF:~# lsusb -vd 054c:0268

Bus 003 Device 003: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x054c Sony Corp.
idProduct 0x0268 Batoh Device / PlayStation 3 Controller
bcdDevice 1.00
iManufacturer 1 Sony
iProduct 2 PLAYSTATION(R)3 Controller
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 41
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.11
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 148
Report Descriptor: (length is 148)
Item(Global): Usage Page, data= [ 0x01 ] 1
Generic Desktop Controls
Item(Local ): Usage, data= [ 0x04 ] 4
Joystick
Item(Main ): Collection, data= [ 0x01 ] 1
Application
Item(Main ): Collection, data= [ 0x02 ] 2
Logical
Item(Global): Report ID, data= [ 0x01 ] 1
Item(Global): Report Size, data= [ 0x08 ] 8
Item(Global): Report Count, data= [ 0x01 ] 1
Item(Global): Logical Minimum, data= [ 0x00 ] 0
Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
Item(Main ): Input, data= [ 0x03 ] 3
Constant Variable Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Global): Report Size, data= [ 0x01 ] 1
Item(Global): Report Count, data= [ 0x13 ] 19
Item(Global): Logical Minimum, data= [ 0x00 ] 0
Item(Global): Logical Maximum, data= [ 0x01 ] 1
Item(Global): Physical Minimum, data= [ 0x00 ] 0
Item(Global): Physical Maximum, data= [ 0x01 ] 1
Item(Global): Usage Page, data= [ 0x09 ] 9
Buttons
Item(Local ): Usage Minimum, data= [ 0x01 ] 1
Button 1 (Primary)
Item(Local ): Usage Maximum, data= [ 0x13 ] 19
(null)
Item(Main ): Input, data= [ 0x02 ] 2
Data Variable Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Global): Report Size, data= [ 0x01 ] 1
Item(Global): Report Count, data= [ 0x0d ] 13
Item(Global): Usage Page, data= [ 0x00 0xff ] 65280
(null)
Item(Main ): Input, data= [ 0x03 ] 3
Constant Variable Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Global): Logical Minimum, data= [ 0x00 ] 0
Item(Global): Logical Maximum, data= [ 0xff 0x00 ] 255
Item(Global): Usage Page, data= [ 0x01 ] 1
Generic Desktop Controls
Item(Local ): Usage, data= [ 0x01 ] 1
Pointer
Item(Main ): Collection, data= [ 0x00 ] 0
Physical
Item(Global): Report Size, data= [ 0x08 ] 8
Item(Global): Report Count, data= [ 0x04 ] 4
Item(Global): Physical Minimum, data= [ 0x00 ] 0
Item(Global): Physical Maximum, data= [ 0xff 0x00 ] 255
Item(Local ): Usage, data= [ 0x30 ] 48
Direction-X
Item(Local ): Usage, data= [ 0x31 ] 49
Direction-Y
Item(Local ): Usage, data= [ 0x32 ] 50
Direction-Z
Item(Local ): Usage, data= [ 0x35 ] 53
Rotate-Z
Item(Main ): Input, data= [ 0x02 ] 2
Data Variable Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Main ): End Collection, data=none
Item(Global): Usage Page, data= [ 0x01 ] 1
Generic Desktop Controls
Item(Global): Report Size, data= [ 0x08 ] 8
Item(Global): Report Count, data= [ 0x27 ] 39
Item(Local ): Usage, data= [ 0x01 ] 1
Pointer
Item(Main ): Input, data= [ 0x02 ] 2
Data Variable Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Global): Report Size, data= [ 0x08 ] 8
Item(Global): Report Count, data= [ 0x30 ] 48
Item(Local ): Usage, data= [ 0x01 ] 1
Pointer
Item(Main ): Output, data= [ 0x02 ] 2
Data Variable Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Global): Report Size, data= [ 0x08 ] 8
Item(Global): Report Count, data= [ 0x30 ] 48
Item(Local ): Usage, data= [ 0x01 ] 1
Pointer
Item(Main ): Feature, data= [ 0x02 ] 2
Data Variable Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Main ): End Collection, data=none
Item(Main ): Collection, data= [ 0x02 ] 2
Logical
Item(Global): Report ID, data= [ 0x02 ] 2
Item(Global): Report Size, data= [ 0x08 ] 8
Item(Global): Report Count, data= [ 0x30 ] 48
Item(Local ): Usage, data= [ 0x01 ] 1
Pointer
Item(Main ): Feature, data= [ 0x02 ] 2
Data Variable Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Main ): End Collection, data=none
Item(Main ): Collection, data= [ 0x02 ] 2
Logical
Item(Global): Report ID, data= [ 0xee ] 238
Item(Global): Report Size, data= [ 0x08 ] 8
Item(Global): Report Count, data= [ 0x30 ] 48
Item(Local ): Usage, data= [ 0x01 ] 1
Pointer
Item(Main ): Feature, data= [ 0x02 ] 2
Data Variable Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Main ): End Collection, data=none
Item(Main ): Collection, data= [ 0x02 ] 2
Logical
Item(Global): Report ID, data= [ 0xef ] 239
Item(Global): Report Size, data= [ 0x08 ] 8
Item(Global): Report Count, data= [ 0x30 ] 48
Item(Local ): Usage, data= [ 0x01 ] 1
Pointer
Item(Main ): Feature, data= [ 0x02 ] 2
Data Variable Absolute No_Wrap Linear
Preferred_State No_Null_Position Non_Volatile Bitfield
Item(Main ): End Collection, data=none
Item(Main ): End Collection, data=none
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Device Status: 0x0000
(Bus Powered)
kenshihimura
Posts: 20
Joined: Thu Sep 26, 2013 6:25 am

Re: Emuclient not starting

Post by kenshihimura »

Any ideas?
Post Reply