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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Sansa e200 - wheel light fade in/out, also display fade in/out
« previous next »
  • Print
Pages: [1] 2

Author Topic: Sansa e200 - wheel light fade in/out, also display fade in/out  (Read 6888 times)

Offline casainho

  • Member
  • *
  • Posts: 309
  • parkour i love dreaming of jumping over trees
    • www.Casainho.net
Sansa e200 - wheel light fade in/out, also display fade in/out
« on: November 07, 2007, 07:08:48 AM »
Hello!!

Well, I would like to see wheel light fade in/fade out, also fade in/out in display. I think that should not be difficult to implement, maybe PWM, changing duty-cycle.

Also the quantity of light in wheel, like the light in display that is already implemented.


I got my new Sansa e200 yesterday, bought it because I wanted RockBox, FLAC and OGG :-) - I am a supporter of FreeSoftware ;-) - Thank you all for this GREAT WORK!!

I don't listen well from my ears, so using balanced options in sound to put more volume in left channel, to my left ear was great, a feature that I didn't have in my old player ;-)

Thank you. JP Casainho from Portugal - http://www.Casainho.net
Logged
Lyre project - design and build a Free/Open hardware audio player (DAP) and recorder, for use with RockBox firmware.

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Sansa e200 - wheel light fade in/out, also display fade in/out
« Reply #1 on: November 07, 2007, 07:40:52 AM »
Quote from: casainho on November 07, 2007, 07:08:48 AM
Well, I would like to see wheel light fade in/fade out, also fade in/out in display. I think that should not be difficult to implement, maybe PWM, changing duty-cycle.

You should submit this as a feature request then (see the link on the left of the page).

Quote
I got my new Sansa e200 yesterday, bought it because I wanted RockBox, FLAC and OGG :-) - I am a supporter of FreeSoftware ;-) - Thank you all for this GREAT WORK!!

Welcome to the family ;)
« Last Edit: November 07, 2007, 07:55:07 AM by GodEater »
Logged

Read The Manual Please

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Sansa e200 - wheel light fade in/out, also display fade in/out
« Reply #2 on: November 07, 2007, 07:51:13 AM »
Quote from: GodEater on November 07, 2007, 07:40:52 AM

You should submit this as a feature request then (see the link on the left of the page).
no, you shouldnt.
the light is either on or off... adding the logic in to do the dimming in software is not going to happen.
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline casainho

  • Member
  • *
  • Posts: 309
  • parkour i love dreaming of jumping over trees
    • www.Casainho.net
Re: Sansa e200 - wheel light fade in/out, also display fade in/out
« Reply #3 on: November 07, 2007, 08:21:35 AM »
jdgordon, can you please tell me why the light in the wheel can not be dimming?? It's hardware limited, software limited?

What about a plugin for dimming accordingly the music? maybe beats per minute?  ::) - I am dreaming? ::) Some one already made this request:
http://www.rockbox.org/tracker/task/7089?histring=wheel

And what about display fade in/out?
« Last Edit: November 07, 2007, 08:28:02 AM by casainho »
Logged
Lyre project - design and build a Free/Open hardware audio player (DAP) and recorder, for use with RockBox firmware.

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Sansa e200 - wheel light fade in/out, also display fade in/out
« Reply #4 on: November 07, 2007, 08:27:57 AM »
I said...
the light is either on or off.. there is no hardware dimming possible..
it can be done in software but its not going to be added because im all honesty.. its stupid.
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline casainho

  • Member
  • *
  • Posts: 309
  • parkour i love dreaming of jumping over trees
    • www.Casainho.net
Re: Sansa e200 - wheel light fade in/out, also display fade in/out
« Reply #5 on: November 07, 2007, 08:38:27 AM »
Ok, so just software dimming is possible.

In my opinion, thats not stupid idea, Its a question of harmony, as the natural light of sun reach us, fading in on morning and out on evening. Rapid transitions are not natural to humans and I believe that behavior passes some stress to us, for example in illumination on our houses (at least in mine, here in Portugal).

Okok, but I understand that should be more important, urgent things to implement on RockBox.

Thank you.
Logged
Lyre project - design and build a Free/Open hardware audio player (DAP) and recorder, for use with RockBox firmware.

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Sansa e200 - wheel light fade in/out, also display fade in/out
« Reply #6 on: November 07, 2007, 08:40:49 AM »
So non dimming wheel lights stress you?

Blimey.

I think JDGordons point here (I apologise if I am wrong) is that this is quite a bit of code that would bloat the core taking up buffer, increase complexity, add more options etc. for almost zero benefit except it might look a bit pretty to some people.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Sansa e200 - wheel light fade in/out, also display fade in/out
« Reply #7 on: November 07, 2007, 08:41:49 AM »
And increase binary size significantly too - also not popular with the devs...
Logged

Read The Manual Please

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Sansa e200 - wheel light fade in/out, also display fade in/out
« Reply #8 on: November 07, 2007, 08:44:05 AM »
Quote from: GodEater on November 07, 2007, 08:41:49 AM
And increase binary size significantly too - also not popular with the devs...

I said that!  (Sort of - I meant it anyway :))

Quote from: BigBambi on November 07, 2007, 08:40:49 AM
that would bloat the core taking up buffer
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Sansa e200 - wheel light fade in/out, also display fade in/out
« Reply #9 on: November 07, 2007, 08:50:02 AM »
What do you want me to do ? Delete my post ? :)
Logged

Read The Manual Please

Offline krazykit

  • Member
  • *
  • Posts: 105
    • Biomoose
Re: Sansa e200 - wheel light fade in/out, also display fade in/out
« Reply #10 on: November 07, 2007, 11:43:24 AM »
Quote from: casainho on November 07, 2007, 08:38:27 AM
Its a question of harmony, as the natural light of sun reach us, fading in on morning and out on evening. Rapid transitions are not natural to humans and I believe that behavior passes some stress to us, for example in illumination on our houses (at least in mine, here in Portugal).

To avoid this rapid transition, you could just keep the wheel light off, of course.
Logged

Offline scharkalvin

  • Member
  • *
  • Posts: 332
Re: Sansa e200 - wheel light fade in/out, also display fade in/out
« Reply #11 on: November 07, 2007, 11:58:09 AM »
Well there was a patch to adjust the back light intensity of ipods and this had to be done in software (this is a pulse width modulation of the power to the back light).
So it's something that can be done.  I'm not sure how the ipod hardware controls the back light, there may be less software overhead involved in this case.

Anyway, there will always be un-supported patches and builds for the kind of off the wall stuff that some people just can't live without,  and the rest of us don't want to waste cpu cycles on.

Logged

Offline casainho

  • Member
  • *
  • Posts: 309
  • parkour i love dreaming of jumping over trees
    • www.Casainho.net
Re: Sansa e200 - wheel light fade in/out, also display fade in/out
« Reply #12 on: November 07, 2007, 12:14:27 PM »
Quote from: krazykit on November 07, 2007, 11:43:24 AM
To avoid this rapid transition, you could just keep the wheel light off, of course.

Thats what I do now, because I have low bright selected for display and the wheel light is to strong and does not let me see in a good way the display. It would be nice to have low bright, less than display, in the wheel light.

Quote from: scharkalvin on November 07, 2007, 11:58:09 AM
Well there was a patch to adjust the back light intensity of ipods and this had to be done in software (this is a pulse width modulation of the power to the back light).
So it's something that can be done.  I'm not sure how the ipod hardware controls the back light, there may be less software overhead involved in this case.

Anyway, there will always be un-supported patches and builds for the kind of off the wall stuff that some people just can't live without,  and the rest of us don't want to waste cpu cycles on.

Yes, pulse width modulation PWM as I suspected ;) To not see flicker, at least 5 kHz of PWM, to get 1% increments o duty-cylce at 50 Hz, so, at 50Hz no flicker to human eyes :-)

IDEA to implement:

Lets assume that we have one variable -  Tick_5kHz_Counter, that is incremented every 5 kHz (maybe with a tick of 5 kHz) and goes from 0 -> 99 every time.

Duty_Cycle is a variable that keeps the percentage of light, from 0% till 100%. Duty_Cycle could be updated on an entry menu with name "Wheel options".

if (Tick_5kHz) {

 if (Tick_5kHz_Counter < Duty_Cycle) {

  Wheel_light_IO = ON;
  }

  else {
 
    Wheel_light_IO = OFF;
  }
 }
}

Tick_5kHz = false;


I paid one time for CPU and for memory, I pay constantly for energy on battery! I prefer CPU cycles for dimming the light than for videos. My sansa have a lot of CPU power and bytes for code, but I would prefer to saving battery, and diming light can save battery, maybe more than can spend on the cycles to do that.

« Last Edit: November 07, 2007, 01:03:06 PM by casainho »
Logged
Lyre project - design and build a Free/Open hardware audio player (DAP) and recorder, for use with RockBox firmware.

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Sansa e200 - wheel light fade in/out, also display fade in/out
« Reply #13 on: November 07, 2007, 01:06:14 PM »
The PWM method of handling the iPod 5G screen brightness was actually turned down and investigation was done to find a hardware method to handle it, since evidence suggested it existed.
Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Sansa e200 - wheel light fade in/out, also display fade in/out
« Reply #14 on: November 10, 2007, 08:31:13 AM »
Quote from: casainho on November 07, 2007, 12:14:27 PM
I paid one time for CPU and for memory, I pay constantly for energy on battery!
you know that if the light is on then more batter is being used right? so you end up using more power... especially when you want to get the cpu doing more work which does nothing more than make the display look a bit nicer....
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Sansa e200 - wheel light fade in/out, also display fade in/out
 

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

Page created in 0.114 seconds with 14 queries.