Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RK3588 (0xd05) is 100% working #1269

Closed
2 tasks done
Al3XKOoL opened this issue Apr 26, 2024 · 1 comment
Closed
2 tasks done

RK3588 (0xd05) is 100% working #1269

Al3XKOoL opened this issue Apr 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Al3XKOoL
Copy link

Have you checked the docs and existing issues?

  • I have read all of the relevant Picovoice Porcupine docs
  • I have searched the existing issues for Porcupine

SDK

Python

Porcupine package version

3.0.2

Framework version

Python 3.11

Platform

ARM Cortex-M

OS/Browser version

Ubuntu 24.04

Describe the bug

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/local/lib/python3.11/dist-packages/wyoming_porcupine/main.py", line 14, in
import pvporcupine
File "/usr/local/lib/python3.11/dist-packages/pvporcupine/init.py", line 12, in
from ._factory import *
File "/usr/local/lib/python3.11/dist-packages/pvporcupine/_factory.py", line 15, in
from ._util import *
File "/usr/local/lib/python3.11/dist-packages/pvporcupine/_util.py", line 78, in
_PV_SYSTEM, _PV_MACHINE = _pv_platform()
^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pvporcupine/_util.py", line 71, in _pv_platform
pv_machine = _pv_linux_machine(platform.machine())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/pvporcupine/_util.py", line 62, in _pv_linux_machine
raise NotImplementedError("Unsupported CPU: '%s'." % cpu_part)
NotImplementedError: Unsupported CPU: '0xd05'

In continue of #1187 i hardcoded for testing on RK3588 and it's 100% working

Steps To Reproduce

bind /proc/cpuinfo with docker portainer because it's a home assistant addon.

Expected Behavior

If 0xd05 cpu code is added to the python pvporcupine all RK3588 can get is working like a raspberry pi.

@Al3XKOoL Al3XKOoL added the bug Something isn't working label Apr 26, 2024
@Al3XKOoL Al3XKOoL changed the title Porcupine Issue: RK3588 (0xd05) is 100% working Apr 26, 2024
@laves
Copy link
Member

laves commented Apr 26, 2024

@Al3XKOoL - this isn't a bug. It seems you're requesting that we officially add support for a new platform. While I'm glad that your change to our Python SDK allowed your app to function on your device, adding a new official platform for us is not a trivial undertaking. This platform is not on our roadmap at this time, however, if you are an enterprise user or wish to engage with us on that level, please contact sales.

@laves laves closed this as completed Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants