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
|-+  Third Party
| |-+  Repairing and Upgrading Rockbox Capable Players
| | |-+  Sansa e200v1 Scrollwheel/Playbutton issues
« previous next »
  • Print
Pages: [1]

Author Topic: Sansa e200v1 Scrollwheel/Playbutton issues  (Read 1771 times)

Offline BdN3504

  • Artist
  • Member
  • *
  • Posts: 323
Sansa e200v1 Scrollwheel/Playbutton issues
« on: September 22, 2009, 03:35:26 PM »
Device has been working fine until now. FW/SW is totally fine. Only problem is that i can now push the scroll wheel at the top, right beneath the play button and it acts as that button. the play button has no more functionality. i don't know how this happened, but it think somehow the tactile buttons on the pcb have moved. is there a chance to fix this?
Edit:
I opened the device and everything looked fine. But the topmost button is overly reactive. all other buttons have to get real presses (i.e. you feel the button click) but the top button reacts to the slightest touch. this is with either the OF or RB, so it's really a hardware issue. is it possible to replace a button? can i simply unsolder that button? i didn't find which model it is on the wiki. Can you tell me, so i can buy a new one?
On the other hand, could i exclude the function of the play button from the source and compile a version which lacks the play button? which files/parts of the code would i have to edit?

Edit:
With the friendly help of bertrik on the Rockbox IRC chanel, i got this problem fixed. if anybody else encounters such a strange behaviour, all you have to do is disable the play button in the button keymap file like this:

Code: [Select]
Index: firmware/target/arm/sandisk/sansa-e200/button-e200.c
===================================================================
--- firmware/target/arm/sandisk/sansa-e200/button-e200.c (revision 24143)
+++ firmware/target/arm/sandisk/sansa-e200/button-e200.c (working copy)
@@ -252,12 +252,12 @@
     if (!_button_hold())
     {
         /* Read normal buttons */
-        if ((state & 0x01) == 0) int_btn |= BUTTON_REC;
+        if ((state & 0x01) == 0) int_btn |= BUTTON_UP;
         if ((state & 0x02) == 0) int_btn |= BUTTON_DOWN;
         if ((state & 0x04) == 0) int_btn |= BUTTON_RIGHT;
         if ((state & 0x08) == 0) int_btn |= BUTTON_LEFT;
         if ((state & 0x10) == 0) int_btn |= BUTTON_SELECT; /* The centre button */
-        if ((state & 0x20) == 0) int_btn |= BUTTON_UP; /* The "play" button */
+//      if ((state & 0x20) == 0) int_btn |= BUTTON_UP; /* The "play" button */
         if ((state & 0x40) != 0) int_btn |= BUTTON_POWER;
     }
 }


The proper way to fix it would be to replace the button, but since i don't know which part number it is, this simple firmware modification fits my needs perfectly.
« Last Edit: January 02, 2010, 10:43:31 AM by BdN3504 »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Third Party
| |-+  Repairing and Upgrading Rockbox Capable Players
| | |-+  Sansa e200v1 Scrollwheel/Playbutton issues
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.053 seconds with 17 queries.