Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  iPod Classic 5th - 7th Gen - Change Clicker Speaker Frequency
« previous next »
  • Print
Pages: [1]

Author Topic: iPod Classic 5th - 7th Gen - Change Clicker Speaker Frequency  (Read 918 times)

Offline nicki419

  • Member
  • *
  • Posts: 4
iPod Classic 5th - 7th Gen - Change Clicker Speaker Frequency
« 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!
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9214
Re: iPod Classic 5th - 7th Gen - Change Clicker Speaker Frequency
« Reply #1 on: May 09, 2022, 07:15:39 AM »
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.
Logged

Offline nicki419

  • Member
  • *
  • Posts: 4
Re: iPod Classic 5th - 7th Gen - Change Clicker Speaker Frequency
« Reply #2 on: May 09, 2022, 02:40:29 PM »
Quote from: saratoga on May 09, 2022, 07:15:39 AM
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!
Logged

Offline nicki419

  • Member
  • *
  • Posts: 4
Re: iPod Classic 5th - 7th Gen - Change Clicker Speaker Frequency
« Reply #3 on: May 10, 2022, 10:55:29 AM »
Quote from: saratoga on May 09, 2022, 07:15:39 AM
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...
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9214
Re: iPod Classic 5th - 7th Gen - Change Clicker Speaker Frequency
« Reply #4 on: May 10, 2022, 04:19:03 PM »
That is the clicker code for the 5th gen.  Where you testing a 5th gen build or something else? 
Logged

Offline nicki419

  • Member
  • *
  • Posts: 4
Re: iPod Classic 5th - 7th Gen - Change Clicker Speaker Frequency
« Reply #5 on: May 10, 2022, 04:38:27 PM »
Quote from: saratoga on May 10, 2022, 04:19:03 PM
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.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9214
Re: iPod Classic 5th - 7th Gen - Change Clicker Speaker Frequency
« Reply #6 on: May 10, 2022, 09:13:59 PM »
Here is the file for your device:  https://git.rockbox.org/cgit/rockbox.git/tree/firmware/target/arm/s5l8702/ipod6g/piezo-6g.c
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  iPod Classic 5th - 7th Gen - Change Clicker Speaker Frequency
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.06 seconds with 22 queries.