Notices


Reply
Thread Tools
Posts: 2,292 | Thanked: 4,135 times | Joined on Apr 2010 @ UK
#61
Originally Posted by Copernicus View Post
Well, mainly, I was thinking about them because I was playing around with using the camera button as an on/off switch. I figure if you're using Lanterne, you're probably not wanting to take a picture.

I dislike the idea of one app messing around with another app's "gconf" settings; just temporarily killing the app, and restarting it when Lanterne ends, seems cleaner somehow...

In any case, this would certainly be an optional setting in the preferences, that would not be enabled unless the user asked for it.

(BTW, is it possible to continue to monitor the status of the hardware buttons when the N900 backlight goes off? I was hoping to be able to enable the LEDs while the screen was still dark, but it seems that isn't possible...)
A personally I hope the use of the camera button doesn't come to Lanterne

I have all sorts of hacks on this button.

I use shortcutd to have short focus press as lock and long focus press is skip track.
I use vi's cam_focus chmod trick to keep the cam_focus unlocked when the device is locked.
This means I can skip track with the cam key.

Maybe the volume keys like pierogi, up for on down for off and remember that landscape can be opposite (well the volume is).

See below for my personal N900 tweaks page.
http://wiki.maemo.org/User:Sixwheeledbeast/Scripts
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 3 Users Say Thank You to sixwheeledbeast For This Useful Post:
pichlo's Avatar
Posts: 6,453 | Thanked: 20,983 times | Joined on Sep 2012 @ UK
#62
Originally Posted by nokiabot View Post
Scary dev just to make clear the leds will be damaged if overvoltaged.
A led marked at 1.5 volts operates normally at 1 volt goes up to 1.3 volts
good diodes can handle twice the voltage for short periods but goes greenish after a while
try them at just 25x voltage and they blow up (really blasts) in 1 sec or go greenish to dark. At 50x voltage instantly blasts
What a load of utter C-R-A-P! Please, please do yourself and all of us a favour and go read on diodes and LEDs on Wikipedia. "Good diodes can handle twice the voltage?" Bullshït!

checked using volameter on diffrent leds flat sphere square and the ones on strips.
I bet those with go-faster stripes fare the best.
 

The Following User Says Thank You to pichlo For This Useful Post:
Posts: 2,292 | Thanked: 4,135 times | Joined on Apr 2010 @ UK
#63
Originally Posted by pichlo;1348484"
Good diodes can handle twice the voltage?"
Nobody mentioned changing the voltage anyway. It's the current.

I think rather than the 12-19 power level the actual mA values makes more sense.
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 4 Users Say Thank You to sixwheeledbeast For This Useful Post:
pichlo's Avatar
Posts: 6,453 | Thanked: 20,983 times | Joined on Sep 2012 @ UK
#64
Originally Posted by sixwheeledbeast View Post
Nobody mentioned changing the voltage anyway. It's the current.
Exactly. Sorry i got carried away but nokiabot's display of ignorance was a stroke against my fur. I can't stand for spreading such nonsense.

I think rather than the 12-19 power level the actual mA values makes more sense.
That sounds like a good idea. Is it practical? Is the mapping between the numbers and mA available?

(I should really get my posterior in gear and write my own first app. It's a shame to admit that I actually write software for a living yet I haven't passed beyond my "hello world" program on Maemo.)
 

The Following 5 Users Say Thank You to pichlo For This Useful Post:
Posts: 2,006 | Thanked: 3,351 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#65
Well, I personally hope that Lanterne will leave anti-camera-launch functions to Camera-Lens-Launcher. Still, it's your choice.
Best wishes.
 

The Following User Says Thank You to Wikiwide For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#66
Originally Posted by pichlo View Post
Is the mapping between the numbers and mA available?
Yes, essentially; you kind of have to read between the lines, but the V4L2 "12-19" values map directly into the HPLED "12-31" register values described in the data sheet for the ADP1653 controller chip.

And I've finally given up doing any more fiddling on Lanterne this evening, so I've pushed up version 0.5.0, which is now heading towards the extras-devel repository. In this update, I have in fact changed the flash brightness level on the Strobe window to a combo box that indicates the power level being used (from 215 mA at 12, to 320 mA at 19). Also in this update:

- The red (indicator) LED is now supported. You can now select "Use Indicator LED as Torch", after which it will be used instead of the flash LEDs for all torch functionality (normal torch, SOS, Morse code, etc.) Also, you can vary its brightness, with seven levels going from a low of 2.5 mA to a high of 17.5 mA.

- You can now choose to use the Torch On/Off button as a Morse Key; that is, the light will stay on for as long as you hold the button down. This is also an option on the Preferences window.

- And, you can use the camera button to turn the torch on and off. I thought this might be useful for using the N900 as a flashlight; in particular, I was hoping to be able to start/stop the red LED while the screen was dark. (This is useful in low-light situations, when you don't want to disturb your night vision with the brightness of the screen's backlight, such as when watching the stars.) Unfortunately, the switch is currently disabled when the screen backlight times out... In any case, this option is disabled by default for those who are not interested. It can be enabled in the Preferences window.

Again, fresh code, beware of bugs! Thanks.
 

The Following 6 Users Say Thank You to Copernicus For This Useful Post:
Copernicus's Avatar
Posts: 1,986 | Thanked: 7,698 times | Joined on Dec 2010 @ Dayton, Ohio
#67
Originally Posted by Wikiwide View Post
Well, I personally hope that Lanterne will leave anti-camera-launch functions to Camera-Lens-Launcher.
Yeah, I've gotta admit trying to mess with the camera-launch is, well, icky. The way that Camera-Lens-Launcher does it is just downright ugly, but so far as I can tell, it's probably the best way out there right now. I'm beginning to agree that I should just let them take care of it...
 

The Following User Says Thank You to Copernicus For This Useful Post:
Posts: 252 | Thanked: 221 times | Joined on Jul 2010
#68
There was also flashlight-extra-gtk, a utility to select between flashlight and camera on cover open. Have you checked that, too?
__________________
21.2011.38-1Smaemo7 (CSSU Stable)
2.6.28.10power53 (not overclocked)
Yes, I search before posting.
 

The Following 4 Users Say Thank You to chill For This Useful Post:
nokiabot's Avatar
Posts: 1,974 | Thanked: 1,834 times | Joined on Mar 2013 @ india
#69
I get it i need to provide values more precisely here yeah i know the diff
 

The Following 2 Users Say Thank You to nokiabot For This Useful Post:
Posts: 2,292 | Thanked: 4,135 times | Joined on Apr 2010 @ UK
#70
version 0.5.0

Quick update.
Your settings page is no longer portrait friendly.

A preference option to quit application on shutter close would be handy if possible.

Red led is useful in the dark. As are the mA per setting values.

Sorry if you have mentioned this but at a quick check I couldn't see it. What current are you running torch mode at?
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 3 Users Say Thank You to sixwheeledbeast For This Useful Post:
Reply

Tags
flashlight, lanterne, morse code, nokia n900, strobe light, torch


 
Forum Jump


All times are GMT. The time now is 23:09.