Re: [linux-sunxi] Error -17 after inserting backlight module

135 views
Skip to first unread message

Jari Helaakoski

unread,
Feb 1, 2013, 12:59:12 PM2/1/13
to linux...@googlegroups.com


2013/2/1 Manoj Gudi <manoj....@gmail.com>
I am a novice developer who is trying to control backlight-brightness on a A13 based tablet device running ubuntu 12.10 from sdcard.

None of user space methods of controlling brightness like modifying brightness in /sys/class/ or xbacklight -set, work (in fact ls /sys/class/backlight returns none)
Hi,

Backlight logic is integrated to disp module.

To control it you need to implement binding to sysfs. (And probably separate whole logic from disp to backlight module)

-Jari

Manoj Gudi

unread,
Feb 1, 2013, 1:32:48 PM2/1/13
to linux-sunxi


Jari Helaakoski wrote:
> 2013/2/1 Manoj Gudi <manoj....@gmail.com>
>
> > I am a novice developer who is trying to control backlight-brightness on a
> > A13 based tablet device running ubuntu 12.10 from sdcard.
> >
> > None of user space methods of controlling brightness like *modifying
> > brightness in /sys/class/* or *xbacklight -set, *work (in fact *ls
> > /sys/class/backlight* returns none)
Agreed, I tried with inserting disp module after lcd, still it didn't
work.

> To control it you need to implement binding to sysfs. (And probably
> separate whole logic from disp to backlight module)
>
can you please elaborate on this?

> -Jari

thanks,
manojg

Jari Helaakoski

unread,
Feb 1, 2013, 2:04:52 PM2/1/13
to linux...@googlegroups.com


2013/2/1 Manoj Gudi <manoj....@gmail.com>
You need to implement functions to control brightness and then register them for backlight module 

-Jari

Manoj Gudi

unread,
Feb 1, 2013, 10:07:39 PM2/1/13
to linux-sunxi
got it, thanks
Reply all
Reply to author
Forward
0 new messages