Rockbox Technical Forums
Support and General Use => Hardware => Topic started by: nicki419 on May 09, 2022, 05:23:08 AM
-
Recently, I modded my iPod to replace the clicker speaker with a Taptic Engine. I noticed that the vibrations are far less noticeable in Rockbox than they are in the stock firmware. Rockbox therefore seems to handle the clicker speaker differently than the stock OS. I wanted to ask how to change the frequency of said speaker. The Taptic Engine has a resonating frequency of around 50hz, which I would like for maximum haptic feedback.
Any help is appreciated!
-
See https://git.rockbox.org/cgit/rockbox.git/tree/firmware/target/arm/ipod/piezo.c
If you change the piezo you may need to experiment with how to best drive the new one.
-
See https://git.rockbox.org/cgit/rockbox.git/tree/firmware/target/arm/ipod/piezo.c
If you change the piezo you may need to experiment with how to best drive the new one.
Thank you for the answer! I'm unfortunately not too familiar with the rockbox source code and C, so could you please tell me what parts of the code I would have to change to start experimenting? Many thanks!
-
See https://git.rockbox.org/cgit/rockbox.git/tree/firmware/target/arm/ipod/piezo.c
If you change the piezo you may need to experiment with how to best drive the new one.
So, I tried modifying the file a little, but whatever I do, the contents of the resulting .rockbox build remain the same, as is the clicker speaker behavior. I really don't know what to do at this point...
-
That is the clicker code for the 5th gen. Where you testing a 5th gen build or something else?
-
That is the clicker code for the 5th gen. Where you testing a 5th gen build or something else?
I see, it makes sense that it does not work, then. I'm running a 7th gen. I thought the code was identical through gen 5 - 7.
-
Here is the file for your device: https://git.rockbox.org/cgit/rockbox.git/tree/firmware/target/arm/s5l8702/ipod6g/piezo-6g.c