Active Topics

 


Reply
Thread Tools
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#1
Question for N900 hardware experts: is there any way to control the brightness of the infrared LED? I'm working on a program that uses infrared (Pierogi), and it appears that the brightness of the LED can vary somewhat between N900s. I don't see any brightness controls in the lirc_rx51 device driver, but maybe there is some other mechanism to adjust it? Thanks!
 
Mike Fila's Avatar
Posts: 412 | Thanked: 480 times | Joined on Feb 2011 @ Bronx, NY
#2
iirc the ir port was tied in some way to the kernel, maybe the use of a different kernel like kp could affect it's output.
 
ajack's Avatar
Posts: 288 | Thanked: 175 times | Joined on Oct 2010 @ Petaling Jaya, Selangor, Malaysia
#3
@Copernicus: May I suggest you ask Pali!
__________________
Visit my blog at http://lifewithmaemo.blogspot.com or my website at http://www.renegade-uiq.com
 
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#4
Just a wild guess (I don't have my N900 here atm):
Have a look at:
Code:
/sys/class/leds/
IF there are any devices listed, one of them MIGHT be the IR LED.
If so you should find a file called brightness which accepts values of 0-255.
Assuming the LED supports different brightness levels (most of them only switch on and off) you can check the result with any digital camera (photo, video, webcam) pointing at the N900's IR emitter since their sensors partially cover the IR spectrum.
 

The Following 2 Users Say Thank You to sulu For This Useful Post:
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#5
@sulu,

Unfortunately I only see the R/G/B, the keyboard leds and the vibrator.. so no IR there
 

The Following 2 Users Say Thank You to reinob For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#6
Hey, poking around in the rest of the /sys directory turned up a /sys/devices/platform/lirc_rx51 directory. I have no clue what the contents signify, but it even has a subdirectory called "power" (although it contains just one file called "wakeup", and that looks empty).

I guess I should ask, might there be any documentation around for any of this?
 
Posts: 306 | Thanked: 566 times | Joined on Jan 2010 @ Romania
#7
CIR output is PWM type so there is no brightness control, just only on ( maximum ) and off
but between "always on" and off state can be a lot of average brightness values.

from datasheet :
• Transmit mode only (receive mode is not supported)
• Free data format (supports any remote-control private standards)
• Selectable bit rate
• Configurable carrier frequency
• 1/2, 5/12, 1/3, or 1/4 carrier duty cycle
__________________
Automatic speed Hostmode
 

The Following 3 Users Say Thank You to blue_led For This Useful Post:
Posts: 11 | Thanked: 2 times | Joined on Sep 2011
#8
please come up with something soon guys.people like me,who don't wanna mess around with their lovely N900s so much,would all be very grateful.Pierogi is a great programme,but the fault lies in my mobile phone.The Infra red LED brightness is very low.There HAS to be a way to adjust this somehow.its an open challenge to all you good people who're good at crackin' stuff.cheers people.
 
Posts: 282 | Thanked: 220 times | Joined on Aug 2011
#9
just an idea
why we dont connect an infrared usb chip to the n900 via hen
and make pierogi transmit via it ?
 

The Following User Says Thank You to davdav For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#10
Originally Posted by davdav View Post
just an idea
why we dont connect an infrared usb chip to the n900 via hen
and make pierogi transmit via it ?
Actually, make it a transmitter and a receiver, and I could turn the N900 into a "learning" remote. (And it might be useful for the N9 too, if it has USB host mode.)

I'm not a hardware guy, so I don't really do this sort of thing, but I think it'd be easy to rework the Pierogi back-end to tie it to other IR devices...
 

The Following User Says Thank You to Copernicus For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 17:21.