Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Issue with Rotary Encoder Device in Moode 9
#8
(05-20-2024, 02:25 AM)TheOldPresbyope Wrote: @thestreamdigger

I have no suitable hardware encoder to connect to a moOde player, but...

With moOde r900 running on a Pi3A+, when I enable the Rotary Encoder I see in the journal that the rotenc service has started


Code:
xxx@m900pi3ap:~ $ journalctl -g rotenc
-- Boot ba831770f74b4de29376b5a84ae21e63 --
-- Boot d7a17260dc3d4ea0b6f15534bce1b489 --
May 19 22:06:14 m900pi3ap systemd[1]: Configuration file /lib/systemd/system/rotenc.service is marked executable. Please re>
May 19 22:06:14 m900pi3ap systemd[1]: Configuration file /lib/systemd/system/rotenc.service is marked executable. Please re>
May 19 22:06:14 m900pi3ap systemd[1]: Configuration file /lib/systemd/system/rotenc.service is marked executable. Please re>
May 19 22:06:17 m900pi3ap systemd[1]: Configuration file /lib/systemd/system/rotenc.service is marked executable. Please re>
May 19 22:06:17 m900pi3ap systemd[1]: Started rotenc.service - Moode Rotary Encoder Driver.

As well, pgrep rotenc.py returns the process number 3212.

Curious that you don't see it running. What do you get when you search the journal as I did above?

Regards,
Kent


@Tim Curtis --- Note that another service unit marked executable has slipped in. Not relevant to the OPs problem, but spams the journal.

Also, Do we know rotenc.py will run on a Pi5? I have no first hand knowledge of this piece of code but any Python code which deals with gpio is suspect (a matter of the correct library being loaded and used).

I'll add "rotenc.service marked as executable" to the TODO list.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: Issue with Rotary Encoder Device in Moode 9 - by Tim Curtis - 05-20-2024, 11:49 AM

Forum Jump: