joycontrol icon indicating copy to clipboard operation
joycontrol copied to clipboard

这个仓库还能正常使用吗?

Open chudongvip opened this issue 2 years ago • 7 comments

我的环境是:

Nintendo Switch: 14.0.0

PC:

  • MacOS + Parallels Desktop 16.1.2 +(Ubuntu 19.10 / Ubuntu 20.04.4)
  • MacOS + VMware 12.1.1 + Ubuntu 20.04.4

都无法正常工作,这困扰我好几天了。如果作者用时间的话,我真的需要帮助!

chudongvip avatar Mar 24 '22 06:03 chudongvip

chudong@cchudong-virtual-machine:~/chudong/nintendo/newJoycontrol$ sudo python3 run_controller_cli.py PRO_CONTROLLER
too many SPD-records active, Switch might refuse connection.
try modifieing /lib/systemd/system/bluetooth.service and see
https://github.com/Poohl/joycontrol/issues/4 if it doesn't work
[14:25:45] joycontrol.server create_hid_server::80 WARNING - [Errno 98] Address already in use
[14:25:45] joycontrol.server create_hid_server::82 WARNING - Fallback: Restarting bluetooth due to incompatibilities with the bluez "input" plugin. Disable the plugin to avoid issues. See https://github.com/mart1nro/joycontrol/issues/8.
[14:25:45] joycontrol.server create_hid_server::87 INFO - Restarting bluetooth service...
[14:25:45] joycontrol.utils run_system_command::75 DEBUG - ['systemctl restart bluetooth.service' exited with 0]
Traceback (most recent call last):
  File "/home/cchudong/chudong/nintendo/newJoycontrol/joycontrol/server.py", line 77, in create_hid_server
    ctl_sock.bind((bt_addr, ctl_psm))
OSError: [Errno 98] Address already in use

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "run_controller_cli.py", line 357, in <module>
    loop.run_until_complete(
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "run_controller_cli.py", line 311, in _main
    transport, protocol = await create_hid_server(factory, reconnect_bt_addr=args.reconnect_bt_addr,
  File "/home/cchudong/chudong/nintendo/newJoycontrol/joycontrol/server.py", line 92, in create_hid_server
    ctl_sock.bind((bt_addr, ctl_psm))
OSError: [Errno 98] Address already in use

chudongvip avatar Mar 24 '22 06:03 chudongvip

我是在更改手柄那里,终端代码不动了就很烦

a1w5afe avatar Mar 26 '22 20:03 a1w5afe

@chudongvip 我也遇到无法使用的问题, 请问你能正常测试使用这个仓库了吗?

cesar0 avatar Jul 15 '22 08:07 cesar0

可以使用!!我今天用树莓派运行成功了。 你这个问题是 #4。去修改一下文件就行了。

UnbalancedCat avatar Sep 07 '22 02:09 UnbalancedCat

@chudongvip 我也遇到无法使用的问题, 请问你能正常测试使用这个仓库了吗? 我没运行起来,我说Mac电脑,其他环境没有设备去验证。🥺

chudongvip avatar Sep 15 '22 09:09 chudongvip

可以使用!!我今天用树莓派运行成功了。 你这个问题是 #4。去修改一下文件就行了。

可以无限 amibo 是吧

chudongvip avatar Sep 15 '22 09:09 chudongvip

可以使用!!我今天用树莓派运行成功了。 你这个问题是 #4。去修改一下文件就行了。

可以无限 amibo 是吧 是的

UnbalancedCat avatar Sep 15 '22 09:09 UnbalancedCat