> >>- You will set the delay in ms units. For example for 100us you'll
> >>write 0.1. IMHO it is counter-intuitive: people will make a mistake
> >>and try 0.0001 instead, wrongly assuming that this is in seconds.
> >>And nanoseconds should then better be removed, as writing
> >>nanosecond delay wil
On 05/05/2015 03:02 PM, Stas Sergeev wrote:
05.05.2015 11:22, Jacek Anaszewski пишет:
On 05/04/2015 07:20 PM, Stas Sergeev wrote:
04.05.2015 18:22, Jacek Anaszewski пишет:
On 05/04/2015 02:12 PM, Stas Sergeev wrote:
Only under that condition:
---
if (led_cdev->blink_delay_on || led_cdev->blin
05.05.2015 11:22, Jacek Anaszewski пишет:
On 05/04/2015 07:20 PM, Stas Sergeev wrote:
04.05.2015 18:22, Jacek Anaszewski пишет:
On 05/04/2015 02:12 PM, Stas Sergeev wrote:
Only under that condition:
---
if (led_cdev->blink_delay_on || led_cdev->blink_delay_off) {
led_cdev->delayed_set
On 05/04/2015 07:20 PM, Stas Sergeev wrote:
04.05.2015 18:22, Jacek Anaszewski пишет:
On 05/04/2015 02:12 PM, Stas Sergeev wrote:
Only under that condition:
---
if (led_cdev->blink_delay_on || led_cdev->blink_delay_off) {
led_cdev->delayed_set_value = brightness;
schedule_work
04.05.2015 18:22, Jacek Anaszewski пишет:
On 05/04/2015 02:12 PM, Stas Sergeev wrote:
Only under that condition:
---
if (led_cdev->blink_delay_on || led_cdev->blink_delay_off) {
led_cdev->delayed_set_value = brightness;
schedule_work(&led_cdev->set_brightness_work);
---
But th
On 05/04/2015 02:12 PM, Stas Sergeev wrote:
04.05.2015 10:55, Jacek Anaszewski пишет:
So it seems the problem is already solved on the per-driver
basis. I don't have leds-aat1290 driver, it is probably not
in the kernel.
It is currently on linux-next/master branch.
So that driver is not in lin
04.05.2015 10:55, Jacek Anaszewski пишет:
So it seems the problem is already solved on the per-driver
basis. I don't have leds-aat1290 driver, it is probably not
in the kernel.
It is currently on linux-next/master branch.
So that driver is not in line with others.
It is likely forgetting to u
On 04/30/2015 07:11 PM, Stas Sergeev wrote:
28.04.2015 15:58, Jacek Anaszewski пишет:
I tried it with Samsung M0 board and
my leds-aat1290 driver. It didn't work well. And for small delay
intervals it will not have a chance to work reliably with all drivers,
especially the ones which use mutex i
03.05.2015 13:34, Pavel Machek пишет:
What about simply "echo 0.001 > delay_on"?
This is possible.
But please consider the following reservations:
- There is already 2 files, so you are not going to write settings
atomically anyway. When resolution changes, it might be better
to just reset to th
> >What about simply "echo 0.001 > delay_on"?
> This is possible.
> But please consider the following reservations:
> - There is already 2 files, so you are not going to write settings
> atomically anyway. When resolution changes, it might be better
> to just reset to the sane defaults (not in my
30.04.2015 20:30, Pavel Machek пишет:
For the timer trigger I would pretty much like my approach to stay.
The reason is that the PWM I need to do, is not strictly a PWM -
it needs the ON period in range of tens or hundreds of milliseconds,
while the OFF period is in a couple of usecs (or vice-ver
Hi!
> >>The following patches improve the precision of led
> >>timer trigger and add the delay unit control.
> >>That allows to make PWM brightness control with timer
> >>trigger.
> >Are you sure that is good idea? Doing LED pwm with main cpu is quite harsh...
> Do you remember the pc-speaker driv
28.04.2015 15:58, Jacek Anaszewski пишет:
>>> I tried it with Samsung M0 board and
>>> my leds-aat1290 driver. It didn't work well. And for small delay
>>> intervals it will not have a chance to work reliably with all drivers,
>>> especially the ones which use mutex in their brightness_set op,
>>>
On 04/29/2015 01:26 PM, Stas Sergeev wrote:
28.04.2015 15:58, Jacek Anaszewski пишет:
On 04/28/2015 12:12 PM, Stas Sergeev wrote:
28.04.2015 11:57, Jacek Anaszewski пишет:
Hi Stas,
Have you tested it?
Of course I did.
Works with gpio driver and provides up to 10usec precision on
armada-xp bo
On 04/28/2015 03:26 PM, Stas Sergeev wrote:
28.04.2015 15:58, Jacek Anaszewski пишет:
On 04/28/2015 12:12 PM, Stas Sergeev wrote:
28.04.2015 11:57, Jacek Anaszewski пишет:
Hi Stas,
Have you tested it?
Of course I did.
Works with gpio driver and provides up to 10usec precision on
armada-xp bo
28.04.2015 15:58, Jacek Anaszewski пишет:
> On 04/28/2015 12:12 PM, Stas Sergeev wrote:
>> 28.04.2015 11:57, Jacek Anaszewski пишет:
>>> Hi Stas,
>>>
>>> Have you tested it?
>> Of course I did.
>> Works with gpio driver and provides up to 10usec precision on
>> armada-xp board.
>> This is 1000 time
28.04.2015 15:58, Jacek Anaszewski пишет:
> On 04/28/2015 12:12 PM, Stas Sergeev wrote:
>> 28.04.2015 11:57, Jacek Anaszewski пишет:
>>> Hi Stas,
>>>
>>> Have you tested it?
>> Of course I did.
>> Works with gpio driver and provides up to 10usec precision on
>> armada-xp board.
>> This is 1000 time
On 04/28/2015 12:12 PM, Stas Sergeev wrote:
28.04.2015 11:57, Jacek Anaszewski пишет:
Hi Stas,
Have you tested it?
Of course I did.
Works with gpio driver and provides up to 10usec precision on
armada-xp board.
This is 1000 times better than without my patch - the precision
was 10ms (jiffy).
28.04.2015 11:57, Jacek Anaszewski пишет:
> Hi Stas,
>
> Have you tested it?
Of course I did.
Works with gpio driver and provides up to 10usec precision on
armada-xp board.
This is 1000 times better than without my patch - the precision
was 10ms (jiffy).
> I tried it with Samsung M0 board and
> m
Hi Stas,
Have you tested it? I tried it with Samsung M0 board and
my leds-aat1290 driver. It didn't work well. And for small delay
intervals it will not have a chance to work reliably with all drivers,
especially the ones which use mutex in their brightness_set op,
since mutex can sleep.
I am af
27.04.2015 23:54, Pavel Machek пишет:
Hi!
The following patches improve the precision of led
timer trigger and add the delay unit control.
That allows to make PWM brightness control with timer
trigger.
Are you sure that is good idea? Doing LED pwm with main cpu is quite harsh...
We already ha
Hi.
27.04.2015 23:54, Pavel Machek пишет:
Hi!
The following patches improve the precision of led
timer trigger and add the delay unit control.
That allows to make PWM brightness control with timer
trigger.
Are you sure that is good idea? Doing LED pwm with main cpu is quite harsh...
Do you r
Hi!
> The following patches improve the precision of led
> timer trigger and add the delay unit control.
> That allows to make PWM brightness control with timer
> trigger.
Are you sure that is good idea? Doing LED pwm with main cpu is quite harsh...
We already have "brightness" for... well... br
23 matches
Mail list logo