Rockbox Development > New Ports
Cowon D2
helloworld1:
--- Quote from: helloworld1 on August 14, 2009, 07:09:01 AM ---Have a good holiday!
I am looking forwards to the good news from you.
Also after massive searches, I also cannot find a datasheet of PCF506035 or PCF50607. Even the only datasheet of PCF50606 is from rockbox website. I will try to mail NXP semiconducts for the datasheet.
--- End quote ---
I have tried emailing NXP several time for the datasheet but no response at all. Maybe u can also have a try.
Some ipod also uses PCF506035 and works find with rockbox. I have found that they are linking against the pcf50605.c. Maybe you can investigate their works.
shotofadds:
--- Quote from: helloworld1 on September 04, 2009, 11:07:40 AM ---Some ipod also uses PCF506035 and works find with rockbox. I have found that they are linking against the pcf50605.c. Maybe you can investigate their works.
--- End quote ---
Well, I looked into that already. The 50605 is largely register-compatible with the 50606 (and also has the same I2C address iirc) so would probably work already. Given that the changes between D2+ firmwares x.02 and x.11 are to support a completely different power management chip, I would say that's a read herring. :-\
Give me a bit of time to go through the firmware disassembly again, and I'll probably be able to make a test build for you that can enable the backlight/LCD - but I wouldn't really expect anything else to work.
Getting something displayed on the screen would be a good start though!
Voluspa:
Since "r22594: D2: Move ACTION_WPS_STOP" I've experienced two complete shutdowns (with non-hacked svn code) while long pressing BUTTON_TOPRIGHT. That is quite a lot because I usually don't stop the music ;-) It's not a crash. Message on display is just "Shutting down..."
And speaking of erratic touchscreen behaviour, have you seen the ca 8 pixel area left/right of at least bottom and top middle 'buttons'? Pressing those pixels overrides usual scrolling restrictions (like delay) and eternally loops with gusto in the file list view. No stop at top or bottom.
I managed to expand that bug to the whole 'button' area by twiddling with the lines below 171 in firmware/target/arm/tcc780x/cowond2/button-cowond2.c Don't remember if it was through just setting line 178 to "send_touch = false;" or through copying the whole x/y checks down to the else statement at line 182.
It has nothing to do with "#define TOUCH_MARGIN 8" though. I've tried settings of 1 to 64 with little change...
Mvh Mats
shotofadds:
--- Quote from: Voluspa on September 06, 2009, 11:36:51 AM ---And speaking of erratic touchscreen behaviour, have you seen the ca 8 pixel area left/right of at least bottom and top middle 'buttons'? Pressing those pixels overrides usual scrolling restrictions (like delay) and eternally loops with gusto in the file list view. No stop at top or bottom.
--- End quote ---
Hmm.. sounds like the button repeat mechanism isn't working correctly and you are seeing lots of single presses in a row instead. I'd guess this is because the raw data read from the touchscreen has a certain amount jitter, which we make pratically no attempt to correct for.
Have you seen/experimented with the test_touchscreen plugin (in apps/plugins/test_touchscreen.c - you'll need to add it to apps/plugins/SOURCES manually)?
Also, is it possible this started with r22314?
Voluspa:
Sorry, this gigantic thread reveals that you saw it already at May 01, 2008 when the touchscreen got a separate driver:
http://forums.rockbox.org/index.php?&topic=10164.msg124107#msg124107
"This plugin has already shown up a couple of issues on the D2:
1) Touching on/near the 'line' between two areas causes jitter between the two adjacent rectangles. This causes a stream of distinct button presses."
JdGordon responded in the next message that:
"1) yeah, i noticed that also, i think we need to add a error margin around the joins, or something"
So, an ancient issue.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version