N900 Hardware Flash Torch
(add measurements by me of light output. Cheap dealextreme light meter handheld - approximate numbers.) |
|||
Line 3: | Line 3: | ||
Exceeding these values may cause hardware damage. | Exceeding these values may cause hardware damage. | ||
+ | |||
+ | |||
+ | The brightness of the LED in flashlight mode is approximately 20lux at 1m at the maximum brightness. | ||
It also contains a red indicator light, to indicate video is being recorded. | It also contains a red indicator light, to indicate video is being recorded. | ||
Line 8: | Line 11: | ||
(See kernel source ./arch/arm/mach-omap2/board-rx51-camera.c for details) | (See kernel source ./arch/arm/mach-omap2/board-rx51-camera.c for details) | ||
- | The controls of the device are apparantly presented as video4linux ioctls related to the main camera device - /dev/video0 usually, and should show up in a suitable 'webcam' type viewer that | + | The controls of the device are apparantly presented as video4linux ioctls related to the main camera device - /dev/video0 usually, and should show up in a suitable 'webcam' type viewer that can show arbitrary video4linux controls. |
The driver is in drivers/media/video/adp1653.c | The driver is in drivers/media/video/adp1653.c |
Revision as of 18:01, 10 February 2010
The flash torch on the n900 is a two LED flash, which has several modes. It can flash brightly for a maximum of .5s, with an LED current of no more than 320mA, or be in torch mode, at a current of no more than 50mA.
Exceeding these values may cause hardware damage.
The brightness of the LED in flashlight mode is approximately 20lux at 1m at the maximum brightness.
It also contains a red indicator light, to indicate video is being recorded.
(See kernel source ./arch/arm/mach-omap2/board-rx51-camera.c for details)
The controls of the device are apparantly presented as video4linux ioctls related to the main camera device - /dev/video0 usually, and should show up in a suitable 'webcam' type viewer that can show arbitrary video4linux controls.
The driver is in drivers/media/video/adp1653.c
This is used by the built-in camera application, and a third party flashlight application