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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  AGPTEK Rocker
« previous next »
  • Print
Pages: 1 ... 20 21 [22] 23 24 ... 30

Author Topic: AGPTEK Rocker  (Read 162492 times)

Offline Milardo

  • Member
  • *
  • Posts: 76
Re: AGPTEK Rocker
« Reply #315 on: June 01, 2019, 12:15:50 AM »
I see this on the main page

"    e85a3ba: Agptek rocker: do not update display when not active "

What does that patch do?

I updated to that version but the I can still see the display under a flashlight and the everything is still moving like play time indicator, etc.
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 389
Re: AGPTEK Rocker
« Reply #316 on: June 12, 2019, 06:42:45 AM »
Finally I found some time to mess with framebuffer and I have bad news. You can blank fb (either by writing 1 to /sys/class/graphics/fb0/blank or by calling ioctl(fd, FBIOBLANK, FB_BLANK_POWERDOWN)) BUT when you unblank (writing 0 to  /sys/class/graphics/fb0/blank or calling ioctl(fd, FBIOBLANK, FB_BLANK_UNBLANK)) lcd does not update anymore. Writes to mmaped fb are successful, you can read back updated fb content but apparently DMA is not fired and data are not flushed to lcd. I tried different combinations and I am unable to make it work. So either agptek's fb driver is terribly broke or I miss something basic.
Logged

Offline Markfm

  • Member
  • *
  • Posts: 5
Re: AGPTEK Rocker
« Reply #317 on: June 12, 2019, 10:57:35 AM »
Wodz, have you heard anything about bluetooth for the Rocker recently?
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 389
Re: AGPTEK Rocker
« Reply #318 on: June 12, 2019, 02:22:32 PM »
If by 'heard' you mean 'have you implemented BT support in rockbox' then answer is no.
Logged

Offline Markfm

  • Member
  • *
  • Posts: 5
Re: AGPTEK Rocker
« Reply #319 on: June 12, 2019, 02:39:46 PM »
Thanks!  I wasn't sure if I'd missed something since your post on it in Dec.
Logged

Offline Pingouin

  • Member
  • *
  • Posts: 16
Re: AGPTEK Rocker
« Reply #320 on: June 12, 2019, 03:59:18 PM »
Quote from: wodz on June 12, 2019, 06:42:45 AM
Finally I found some time to mess with framebuffer and I have bad news...

Doh! Well, thanks anyway for trying.
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 389
Re: AGPTEK Rocker
« Reply #321 on: June 14, 2019, 11:28:46 AM »
After some digging and reverse engineering kernel running on Agptek I am able to revive lcd after blanking. Lcd driver is terribly broken as it doesn't reenable DMA when unblanking. There is undocumented ioctl however which enables DMA transfers to lcd as side effect. I'll try to post build for testing within few days.
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4384
Re: AGPTEK Rocker
« Reply #322 on: June 14, 2019, 11:33:23 AM »
Nice work, wodz!
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Pingouin

  • Member
  • *
  • Posts: 16
Re: AGPTEK Rocker
« Reply #323 on: June 14, 2019, 06:38:19 PM »
Thanks wodz! ;D
The question will then be: does all your hard work actually saves any battery?
And the other question: why didn't AGPtek try to fix their LCD driver rather than implement a software dirty hack to mitigate it! Although it doesn't seem it's actually AGPtek soft/hardware anyway, but someone must have been spending some time doing the same thing you did and would have had the opportunity to point out the driver problem to get it fixed. Unless they decided that the quick and dirty hack was more cost effective.
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 389
Re: AGPTEK Rocker
« Reply #324 on: June 15, 2019, 02:51:20 AM »
Driver comes from Ingenic itself. See https://github.com/Ingenic-community/kernel-xburst-bsp for reference. Software for Agptek was developed by Fiio I believe. Based on my RE work on original software I believe they do not blank lcd and hence they don't trigger this bug (I may be wrong of course but I can't trace any ioctl or direct write to sysfs associated with locking screen in OF). I think OF writes all black screen, turnes off backlight and then stops writing to lcd.

The only way to know if blanking saves any energy is to banchmark it.
Logged

Offline Gomas

  • Member
  • *
  • Posts: 11
  • I couldn't find the presentation thread so hi :D
Re: AGPTEK Rocker
« Reply #325 on: June 16, 2019, 03:27:05 PM »
Amazing work you're doing right there wodz. If you want us to give a hand with testing, just say it so we can give it a few benches.
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 389
Re: AGPTEK Rocker
« Reply #326 on: June 17, 2019, 05:17:56 AM »
Please test and drop feedback. I am interested if this lcd blanking is working on T6 and Rocker v2. If it works, please battery bench this build and compare to HEAD version so we can judge if this saves anything.

https://drive.google.com/open?id=1cDyTcAVjce50NuHQxRO3SQy-006OVS0I
Logged

Offline elakir

  • Member
  • *
  • Posts: 2
Re: AGPTEK Rocker
« Reply #327 on: June 17, 2019, 11:16:42 AM »
Quote from: wodz on June 17, 2019, 05:17:56 AM
Please test and drop feedback. I am interested if this lcd blanking is working on T6 and Rocker v2. If it works, please battery bench this build and compare to HEAD version so we can judge if this saves anything.
https://drive.google.com/open?id=1cDyTcAVjce50NuHQxRO3SQy-006OVS0I

Big thanks wodz!

Benjie T6(no bluetooth)
I still see color text on the screen when I look at it at an angle(with the presence of external lighting). However, no text lines scrolled.
Now I will charge the player and make battery_bench

Up.2019-06-18: battery_bench is ready

* battery_bench[2019-06-17].txt (30.52 kB - downloaded 96 times.)
* battery_bench_my[2018-05-27].txt (37.84 kB - downloaded 62 times.)
« Last Edit: June 18, 2019, 03:01:23 AM by elakir »
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 389
Re: AGPTEK Rocker
« Reply #328 on: June 18, 2019, 07:45:24 AM »
The difference is insignifican't unfortunately.
Logged

Offline coacharnold

  • Member
  • *
  • Posts: 55
Re: AGPTEK Rocker
« Reply #329 on: June 18, 2019, 07:54:11 AM »
Hi .....  without spending a lot of time looking this up .... can someone tell me, is this the player :

AGPTEK ROCKER Bluetooth 4.0 MP3 Player, High Resolution Lossless Music Player for Audiophile(up to 256GB), black /sliver

And does blue tooth work with rock box?  Is there a wiki for the install process??

I see it on wallmart's site for 50$,   I'll buy one today if it works.

Thank you

Tim
Logged

  • Print
Pages: 1 ... 20 21 [22] 23 24 ... 30
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  AGPTEK Rocker
 

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

Page created in 0.048 seconds with 17 queries.