Re: sixaxis patch proposal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2020-12-08 at 12:21 +0100, Lionel Jeanson wrote:
> My bad :
> 
> 
> 1) connect and pair :
> 
> 
> déc. 08 12:14:44 lionelux bluetoothd[16446]: sixaxis: compatible
> device connected: Sony PLAYSTATION(R)3 Controller (054C:0268
> /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-
> 1:1.0/0003:054C:0268.0010/hidraw/hidraw0)
> déc. 08 12:14:44 lionelux bluetoothd[16446]:
> src/device.c:device_create() dst 44:D8:32:7E:6B:6A
> déc. 08 12:14:44 lionelux bluetoothd[16446]:
> src/device.c:device_new() address 44:D8:32:7E:6B:6A
> déc. 08 12:14:44 lionelux bluetoothd[16446]:
> src/device.c:device_new() Creating device
> /org/bluez/hci0/dev_44_D8_32_7E_6B_6A
> déc. 08 12:14:44 lionelux bluetoothd[16446]: sixaxis: setting up new
> device
> déc. 08 12:14:44 lionelux bluetoothd[16446]:
> src/device.c:btd_device_device_set_name()
> /org/bluez/hci0/dev_44_D8_32_7E_6B_6A Sony PLAYSTATION(R)3 Controller
> déc. 08 12:14:44 lionelux bluetoothd[16446]: src/agent.c:agent_ref()
> 0x5579c3bc4e70: ref=2
> déc. 08 12:14:44 lionelux bluetoothd[16446]:
> src/agent.c:agent_call_authorize_service() authorize service request
> was sent for /org/bluez/hci0/dev_44_D8_32_7E_6B_6A
> déc. 08 12:14:47 lionelux bluetoothd[16446]: src/agent.c:agent_ref()
> 0x5579c3bc4e70: ref=3
> déc. 08 12:14:47 lionelux bluetoothd[16446]:
> src/device.c:btd_device_set_trusted() trusted 1
> déc. 08 12:14:47 lionelux bluetoothd[16446]:
> src/device.c:btd_device_set_temporary() temporary 0
> déc. 08 12:14:47 lionelux bluetoothd[16446]:
> src/device.c:device_probe_profiles() Probing profiles for device
> 44:D8:32:7E:6B:6A
> déc. 08 12:14:47 lionelux bluetoothd[16446]:
> profiles/input/device.c:input_device_register()
> /org/bluez/hci0/dev_44_D8_32_7E_6B_6A
> déc. 08 12:14:47 lionelux bluetoothd[16446]:
> src/service.c:btd_service_ref() 0x5579c3bca4f0: ref=2
> déc. 08 12:14:47 lionelux bluetoothd[16446]:
> src/service.c:change_state() 0x5579c3bca4f0: device 44:D8:32:7E:6B:6A
> profile input-hid state changed: unavailable -> disconnected (0)
> déc. 08 12:14:47 lionelux bluetoothd[16446]:
> src/device.c:device_svc_resolved()
> /org/bluez/hci0/dev_44_D8_32_7E_6B_6A err 0
> déc. 08 12:14:47 lionelux bluetoothd[16446]:
> plugins/sixaxis.c:agent_auth_cb() remote 44:D8:32:7E:6B:6A old_master
> A4:34:D9:3F:36:93 new_master A4:34:D9:3F:36:93
> déc. 08 12:14:47 lionelux bluetoothd[16446]:
> src/agent.c:agent_unref() 0x5579c3bc4e70: ref=2
> déc. 08 12:14:47 lionelux bluetoothd[16446]:
> src/agent.c:agent_unref() 0x5579c3bc4e70: ref=1
> déc. 08 12:14:47 lionelux bluetoothd[16446]:
> src/adapter.c:add_whitelist_complete() 44:D8:32:7E:6B:6A added to
> kernel whitelist
> déc. 08 12:14:47 lionelux bluetoothd[16446]: Set device flags return
> status: Unknown Command

What's the output of:
bluetoothctl info for the device after this?

Also, long-pressing the PS button on PS3 joypads will start a new one-
time pairing, making the device visible. I don't think that's what you
want to do.

The only way to turn off the joypad is to "disconnect" from it via
Bluetooth, IIRC.




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux