Closed ig-sinicyn closed 6 months ago
UPD: looks like something is seriously broken after update. Reverting the bt_hid to the prev version did not help either. Will have to try the clean install.
removing previous one, deleting the directory, git clone, install and reboot
Hey there, I just released a new version. Installed from scratch and it worked without issues. Would you please try the same?
will wo in a hour or two. Thanks!
v0.6.6 features a new dependency resolution that should be more robust.
The update script as of 0.6.6 now performs a clean reinstallation. In order to upgrade to 0.6.6 you need to cleanly reinstall manually though:
cd && sudo bluetooth_2_usb/scripts/uninstall.sh && sudo rm -rf bluetooth_2_usb && git clone https://github.com/quaxalber/bluetooth_2_usb.git && sudo bluetooth_2_usb/scripts/install.sh
@quaxalber
UPD: the issue below fixed with rebooting RPI 4 and rerunning this command
cd && sudo bluetooth_2_usb/scripts/uninstall.sh && sudo rm -rf bluetooth_2_usb && git clone https://github.com/quaxalber/bluetooth_2_usb.git && sudo bluetooth_2_usb/scripts/install.sh
All seems to work now!
-- end of UPD --
I've tried fresh installation and on this time installation fails with
Installing collected packages: pyserial, evdev, Adafruit-PlatformDetect, adafruit-circuitpython-typing, pyusb, Adafruit-PureIO, pyftdi, quax-Blinka, quax-circuitpython-hid
Successfully installed Adafruit-PlatformDetect-3.57.0 Adafruit-PureIO-1.1.11 adafruit-circuitpython-typing-1.2.0 evdev-1.6.1 pyftdi-0.55.0 pyserial-3.5 pyusb-1.2.1 quax-Blinka-8.26.0.post1 quax-circuitpython-hid-6.0.2
Modifying system files...
Created symlink /etc/systemd/system/multi-user.target.wants/bluetooth_2_usb.service → /home/igors/bluetooth_2_usb/bluetooth_2_usb.service.
Traceback (most recent call last):
File "/home/igors/bluetooth_2_usb/bluetooth_2_usb.py", line 8, in <module>
from usb_hid import disable
File "/home/igors/bluetooth_2_usb/.venv/lib/python3.11/site-packages/usb_hid.py", line 22, in <module>
raise Exception( # pylint: disable=broad-exception-raised
Exception: dwc2 module not present in your kernel. did you insmod it?
Installation failed. The version information could not be retrieved.
Full log file: install.log
I've used RPi4 and this image as current one has headless installation issues
All seems to work now!
Great! :) Thx for the update. Closing this issue then.
RPI4: After updating (removing previous one, deleting the directory, git clone, install and reboot):
on manual run: