Re: n810: Light Sensor (?)
On Mon, 2008-01-14 at 20:05 +, ext Neil MacLeod wrote: > Igor Stoppa wrote: > > > > iirc this was taken from some phone product, to save time (yes, that's > > arguable but it's not the point here) and therefore it's considered not > > viable for opening. > > > > I strongly suspect that if you just check the website of some > > manufacturer of ALS devices, you'll probably get some demo algorythm to > > do the filtering, likely similar to the one we are using. > > > > If Nokia open sourced the code taken from the phone I'm sure we could fix it > for you![1] heh, if it was for me i couldn't ask for more :) > As it stands, the light sensor is more irritating than it is useful, as it > constantly alters the backlight brightness between bright and dim even when > the room lighting level is consistently bright. yup, i noticed that too, it would be nice (even for the average user) if there were more UI options to tweak the behaviour, up to disable it. Of course, i agree that open is better. Hopefully we can do better in the future. -- Cheers, Igor Igor Stoppa <[EMAIL PROTECTED]> (Nokia Multimedia - CP - OSSO / Helsinki, Finland) ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: n810: Light Sensor (?)
Igor Stoppa wrote: > > iirc this was taken from some phone product, to save time (yes, that's > arguable but it's not the point here) and therefore it's considered not > viable for opening. > > I strongly suspect that if you just check the website of some > manufacturer of ALS devices, you'll probably get some demo algorythm to > do the filtering, likely similar to the one we are using. > If Nokia open sourced the code taken from the phone I'm sure we could fix it for you![1] As it stands, the light sensor is more irritating than it is useful, as it constantly alters the backlight brightness between bright and dim even when the room lighting level is consistently bright. 1. https://bugs.maemo.org/show_bug.cgi?id=2755 ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: n810: Light Sensor (?)
On Mon, 2008-01-14 at 13:59 +0200, ext Marius Gedminas wrote: > On Sun, Jan 13, 2008 at 01:32:26AM +, Neil MacLeod wrote: > > Deleting or renaming /usr/lib/mce/modules/libfilter-brightness-als.so > > (and rebooting) is an effective way to stop the light sensor from > > randomly and inappropriately changing the display brightness[1] even > > in a well lit environment. > > > > It might be worth perusing the source code for the aforementioned > > library in order to glean any useful tidbits (assuming it hasn't been > > retained as closed source). > > I tend to assume that anything developed by Nokia is closed-source, > unless they started from an existing GPL project to save money and > therefore can't close it. iirc this was taken from some phone product, to save time (yes, that's arguable but it's not the point here) and therefore it's considered not viable for opening. I strongly suspect that if you just check the website of some manufacturer of ALS devices, you'll probably get some demo algorythm to do the filtering, likely similar to the one we are using. -- Cheers, Igor Igor Stoppa <[EMAIL PROTECTED]> (Nokia Multimedia - CP - OSSO / Helsinki, Finland) ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: n810: Light Sensor (?)
On Sun, Jan 13, 2008 at 01:32:26AM +, Neil MacLeod wrote: > Deleting or renaming /usr/lib/mce/modules/libfilter-brightness-als.so > (and rebooting) is an effective way to stop the light sensor from > randomly and inappropriately changing the display brightness[1] even > in a well lit environment. > > It might be worth perusing the source code for the aforementioned > library in order to glean any useful tidbits (assuming it hasn't been > retained as closed source). I tend to assume that anything developed by Nokia is closed-source, unless they started from an existing GPL project to save money and therefore can't close it. $ dpkg -S /usr/lib/mce/modules/libfilter-brightness-als.so mce: /usr/lib/mce/modules/libfilter-brightness-als.so There's no mce in http://repository.maemo.org/pool/os2008/free/m/ nor it is mentioned in http://repository.maemo.org/dists/os2008/free/source/Sources Marius Gedminas -- The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world. -- seen on the net signature.asc Description: Digital signature ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: n810: Light Sensor (?)
Andrew Barr wrote: > Luca De Cicco wrote: > >> Hi there to the list. >> >> Sorry if ask something which has been already discussed... >> I was wondering if there is some specification about the >> small thing near the camera which appears to be a Light Sensor. > > Your best bet is to hook up SSH or an xterm or something and poke around the > filesystem. I imagine Nokia are going to be closed-mouthed about it for the > time being like they were with the FM radio in the N800. > > Alternatively looking at kernel sources would be a good idea. > Deleting or renaming /usr/lib/mce/modules/libfilter-brightness-als.so (and rebooting) is an effective way to stop the light sensor from randomly and inappropriately changing the display brightness[1] even in a well lit environment. It might be worth perusing the source code for the aforementioned library in order to glean any useful tidbits (assuming it hasn't been retained as closed source). 1. https://bugs.maemo.org/show_bug.cgi?id=2755 ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: n810: Light Sensor (?)
You are the man! Thanks a lot, Luca On Thu, 10 Jan 2008 17:47:04 +0200 "Klaus.K Pedersen (Nokia-M/Helsinki)" <[EMAIL PROTECTED]> wrote: > On Wed, 2008-01-09 at 18:32 +0100, ext Luca De Cicco wrote: > > Hi there to the list. > > > > Sorry if ask something which has been already discussed... > > I was wondering if there is some specification about the > > small thing near the camera which appears to be a Light Sensor. > > The device is fully supported by the hwmon interface: > > $ cd /sys/class/hwmon/hwmon0/device > $ ls > adccalib1 luxsubsystem/ > bus/ driver/name uevent > calib0 hwmon:hwmon0/ power/ > > $ cat name > tsl2563 > > $ cat lux > 303 > > > Happy hacking :-) > > ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: n810: Light Sensor (?)
On Wed, 2008-01-09 at 18:32 +0100, ext Luca De Cicco wrote: > Hi there to the list. > > Sorry if ask something which has been already discussed... > I was wondering if there is some specification about the > small thing near the camera which appears to be a Light Sensor. The device is fully supported by the hwmon interface: $ cd /sys/class/hwmon/hwmon0/device $ ls adccalib1 luxsubsystem/ bus/ driver/name uevent calib0 hwmon:hwmon0/ power/ $ cat name tsl2563 $ cat lux 303 Happy hacking :-) > > I'm thinking about funny applications of that little sexy thing. > > Cheers, > Luca > > ___ > maemo-developers mailing list > maemo-developers@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
RE: n810: Light Sensor (?)
Luca De Cicco wrote: > Sorry if ask something which has been already discussed... > I was wondering if there is some specification about the > small thing near the camera which appears to be a Light Sensor. Andrew wrote: > Your best bet is to hook up SSH or an xterm or something and > poke around the > filesystem. I imagine Nokia are going to be closed-mouthed > about it for the > time being like they were with the FM radio in the N800. > > Alternatively looking at kernel sources would be a good idea. http://timeless.justdave.net/mxr-test/os2008/search?string=light%20senso r&find=kernel-& http://timeless.justdave.net/mxr-test/os2008/search?string=light%20senso r&find=hal-& Or if you have this installed: http://timeless.justdave.net/maemo/repository-maemo-org-dns-0.1.deb Then these urls http://mxr.maemo.org/os2008/search?string=light%20sensor&find=kernel-&; http://mxr.maemo.org/os2008/search?string=light%20sensor&find=hal-&; Of interest is probably this: http://timeless.justdave.net/mxr-test/os2008/source/kernel-source-rx-34- 2.6.21.0/debian/changelog#361 361 * I2C: TSL2563 Light sensor integration time fix 365 -- Yauheni Kaliuta <[EMAIL PROTECTED]> Tue, 04 Sep 2007 19:34:02 +0300 Which shows that the i2c TSL2563 thing is Nokia related Googling for i2c and TSL2563 should probably get you the rest of the way. ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
Re: n810: Light Sensor (?)
Luca De Cicco wrote: > Hi there to the list. > > Sorry if ask something which has been already discussed... > I was wondering if there is some specification about the > small thing near the camera which appears to be a Light Sensor. Your best bet is to hook up SSH or an xterm or something and poke around the filesystem. I imagine Nokia are going to be closed-mouthed about it for the time being like they were with the FM radio in the N800. Alternatively looking at kernel sources would be a good idea. -- Andrew Barr Now Playing: Matchbox Twenty - Rest Stop ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers
n810: Light Sensor (?)
Hi there to the list. Sorry if ask something which has been already discussed... I was wondering if there is some specification about the small thing near the camera which appears to be a Light Sensor. I'm thinking about funny applications of that little sexy thing. Cheers, Luca ___ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers