maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   N900 Video focus and led light, python script (https://talk.maemo.org/showthread.php?t=46427)

Tzoni 2010-05-06 20:20

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by Robb (Post 646987)
What's the error message?

Did you do this as root user?

as root yes. dbus gave me not found error.

Robb 2010-05-06 20:23

Re: N900 Video focus and led light, python script
 
Could you please give the detailed message?
I don't understand what it did not find.

Tzoni 2010-05-07 03:25

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by Robb (Post 647065)
Could you please give the detailed message?
I don't understand what it did not find.

I was able to run all the commands without problems, but still not working

M A S T E R 2010-05-07 03:38

Re: N900 Video focus and led light, python script
 
Wow i am definitely impressed by this app. I read the article and saw the video and i have to say please let me know when it goes to testing or extras! very nice! i am assuming it is not optified at the moment or is it?

-MASTER

Robb 2010-05-07 05:44

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by Tzoni (Post 647416)
I was able to run all the commands without problems, but still not working

What exactly do you mean it doesn't work?
- Is there an error message?
- This it not start?
- Does it start and hang?
- etc.

Please write the exact steps, so it is possible to reproduce this problem.

Tzoni 2010-05-07 10:20

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by Robb (Post 647471)
What exactly do you mean it doesn't work?
- Is there an error message?
- This it not start?
- Does it start and hang?
- etc.

Please write the exact steps, so it is possible to reproduce this problem.

Im able to install the app, no problem with that. When I open lens cover, I dont see the application in the menu, ive tried rebooting, installing again etc. Just forget the terminal error message, I got those work already :) Not that I typoed one of the lines... .. . .

Edit: Oops ment status bar, not menu

prasecz 2010-05-07 11:41

Re: N900 Video focus and led light, python script
 
Hi m2cm2c,

thanks for the app, it's pretty cool.

I was wondering if you would know why I can only blink leds using command v4l2-ctl -c torch_intensity=1 ? If I understand it right it should turn the leds on/off like forever. For me it just blinks no matter of the value (=1, =0).

Another question:
Is there any lfocus daemon always running or is it each time executed just for one camera session?

Tzoni 2010-05-07 18:57

Re: N900 Video focus and led light, python script
 
What the hell is this? Ive done nothing special to my phone since I installed it and tried to get it working, I did rewamp my desktops with some new widgets and stuff but thats all. Now suddenly when I opened lens cover and exited full screen as usual.. BOOM there is lfocus! Gonna give this a shot now, finally =)

RafaLL92 2010-05-07 21:23

Re: N900 Video focus and led light, python script
 
This is soo awsome! Just wait till we will be able make a script to manually set the aperture and shutter speed in the camera app and maybe even in the camcorder :D

cokeman 2010-05-08 07:52

Re: N900 Video focus and led light, python script
 
i am getting the same problem as everyone else , no icons showing up on the menu bar , tried restarting ph etc , no error anything displays just dosent display icons.......

Tzoni 2010-05-08 08:26

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by cokeman (Post 649018)
i am getting the same problem as everyone else , no icons showing up on the menu bar , tried restarting ph etc , no error anything displays just dosent display icons.......

Try playing with the widgets, I dont know if thats any help but it started working for me after that for some weird reason.

Did you try these in terminal?

apt-get update
apt-get upgrade
apt-get install python-hildondesktop hildon-desktop-python-loader python-gtk2 python-dbus
pkill -f /usr/bin/hildon-status-menu

zeb3dee 2010-05-08 14:26

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by Tzoni (Post 649046)
Try playing with the widgets, I dont know if thats any help but it started working for me after that for some weird reason.

Did you try these in terminal?

apt-get update
apt-get upgrade
apt-get install python-hildondesktop hildon-desktop-python-loader python-gtk2 python-dbus
pkill -f /usr/bin/hildon-status-menu

I have same probs it does not work for me as well :mad:

Cobra 2010-05-08 16:46

Re: N900 Video focus and led light, python script
 
i like this application you did a good job on this. could you add a timer to take a pic?

zimon 2010-05-08 16:55

Re: N900 Video focus and led light, python script
 
Why this lfocus is not in the repositories?

dashti 2010-05-09 09:14

Re: N900 Video focus and led light, python script
 
pleas can i add a auto recording red light off
we don't need the red light
in every time i have to take 5 sec. to remove the light
pleas can you make it auto

Tzoni 2010-05-09 09:30

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by dashti (Post 650240)
pleas can i add a auto recording red light off
we don't need the red light
in every time i have to take 5 sec. to remove the light
pleas can you make it auto

I support this! 8---)

dashti 2010-05-09 13:49

Re: N900 Video focus and led light, python script
 
*__^


......

m2cm2c 2010-05-09 16:45

Re: N900 Video focus and led light, python script
 
lfocus_0.509-1
Added dependencies to the deb package to install required packages (python-hildondesktop hildon-desktop-python-loader python-gtk2 python-dbus)
Toggling the keyboard control now automatically switches off the red LED once you start recording

dashti 2010-05-09 17:16

Re: N900 Video focus and led light, python script
 
thaaaanks
i will try it now
thenk you very much

khodorhijazi 2010-05-09 22:57

The correct way to make lfocus install and work properly (based on experiance)
 
Hello everyone,

I am a new registered memeber at maemo.org, although i have been always a viewer of thsi website.

First I would like to thank "m2cm2c" for this great program and the ability he gave us to have a better imaging n900 device.

Based on my experiance, the following are the best ways to make lfocus work properly (through installation and making it appear in the bar menu):

1- Install Rootsh (if not yet installed)
2- open xterminal
3- type: sudo gainroot
4- type: apt-get update
5- type: apt-get upgrade
6- type: apt-get install python-hildondesktop
7- type: apt-get install hildon-desktop-python-loader
*after performing all the above steps:
8- install lfocus latest version lfocus_0.509-1
9- reboot the device
10- open camera lens (then tap once on the screen)
11- tap on the bar menu ( where the signal, clock, ... is located)

And their u have it, working as it should be.
m2cm2c and other users may have mentioned those steps previously, although what i wanted to do is put them in a chronological order for those not quite acquanted with such procedure.

Thank you

yodawg 2010-05-10 03:10

Re: N900 Video focus and led light, python script
 
thanks a lot khodorhijazi
I was struggling to figure out how to install this wonderful program and thanks to your easy to follow instructions i was able to install it

btw if xterminal says something about something being in use when using the apt get install commands then you probably have app manager running and need to close it

jaeezzy 2010-05-10 03:38

Re: N900 Video focus and led light, python script
 
no enough words to express my thanks!!!! awesome app.

nrajesh 2010-05-10 09:06

Re: The correct way to make lfocus install and work properly (based on experiance)
 
Quote:

Originally Posted by khodorhijazi (Post 651032)
Hello everyone,

I am a new registered memeber at maemo.org, although i have been always a viewer of thsi website.

First I would like to thank "m2cm2c" for this great program and the ability he gave us to have a better imaging n900 device.

Based on my experiance, the following are the best ways to make lfocus work properly (through installation and making it appear in the bar menu):

1- Install Rootsh (if not yet installed)
2- open xterminal
3- type: sudo gainroot
4- type: apt-get update
5- type: apt-get upgrade
6- type: apt-get install python-hildondesktop
7- type: apt-get install hildon-desktop-python-loader
*after performing all the above steps:
8- install lfocus latest version lfocus_0.509-1
9- reboot the device
10- open camera lens (then tap once on the screen)
11- tap on the bar menu ( where the signal, clock, ... is located)

And their u have it, working as it should be.
m2cm2c and other users may have mentioned those steps previously, although what i wanted to do is put them in a chronological order for those not quite acquanted with such procedure.

Thank you

No matter what I do I am stuck with this message:
Application packages missing: python-dbus

FYI I downloaded lfocus_0.509-1_all.deb

So I followed this link to get it installed.

nrajesh 2010-05-10 09:13

Re: The correct way to make lfocus install and work properly (based on experiance)
 
Strangely this doesn't show up in the menu (even after a successful install + reboot)! Cam slider is opened btw...

zeb3dee 2010-05-10 09:20

Re: N900 Video focus and led light, python script
 
Thank you "khodorhijazi" for the install instuctions which I have followed until the Ifocus install. Can someone tell me as I dont know the full path to install from the com window ie I have downloaded the .deb file to my phone mem. I can nav there with file manager and when tapped on it asks which program to use, which i respond with App manager but nothing happens.

Sorry to waste bandwidth for those of you who may think I'm thick.but I'm sure I'm not alone.

Amiga die-hard fan.

Sash 2010-05-10 11:14

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by zeb3dee (Post 651503)
T I have downloaded the .deb file to my phone mem. I can nav there with file manager and when tapped on it asks which program to use, which i respond with App manager but nothing happens.


Try installing the latest "lfocus_0.509-1_all.deb" version

It shouldn't ask you what program to use on it, and so you may be missing some application packages but the latest version has the packages added to them.

m2cm2c 2010-05-10 12:27

Re: N900 Video focus and led light, python script
 
For those having problems with dependencies, please make sure you have the required repositories "catalogs" enabled from the Application Manager.

zeb3dee 2010-05-10 14:07

Re: N900 Video focus and led light, python script
 
Ah ! I'm getting Hash sum mismatch with catalogues. Zeb :-)

John McClane 2010-05-10 14:37

Re: N900 Video focus and led light, python script
 
Excellent App. Love it.. Many many Thanks m2cm2c

brog 2010-05-10 16:59

Re: N900 Video focus and led light, python script
 
Installed it, no dependency problems whatsoever. Still doesn't work.
Did everything in khodorhijazi's instructions but it just can't get it working.

Maybe because I'm using PR1.2?

zeb3dee 2010-05-10 21:43

Re: N900 Video focus and led light, python script
 
Hiya Brog, not PR 1.2 happens here (or does not) on PR 1.1 & cant get any help. Zeb :-(

The Amiga is dead long live N900

rash.m2k 2010-05-11 15:18

Re: N900 Video focus and led light, python script
 
bumpbumpbump

m2cm2c 2010-05-11 16:15

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by brog (Post 652076)
Installed it, no dependency problems whatsoever. Still doesn't work.
Did everything in khodorhijazi's instructions but it just can't get it working.

Maybe because I'm using PR1.2?

if you've installed the latest version and still can't see the lfocus icons when you open up the lens cover then please tell me what do you get when running the following from the terminal and opening up the lens cover (not closing it) :
python /usr/lib/hildon-desktop/lfocuswi.py

Quote:

Originally Posted by zeb3dee (Post 651831)
Ah ! I'm getting Hash sum mismatch with catalogues. Zeb :-)

as for that, I don't think lfocus is related to that issue in anyway, the only thing on top of my head right now is that I think you should try cleaning up the rootfs and the package manager.

andraeseus1 2010-05-12 04:21

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by m2cm2c (Post 554803)
I might post a .deb for it later, but for now I'll wait for people to test the script and say what they think about it.

is there a way for me to download this from any of the repositories? or a simple way to install the .deb file? if so could you post instructions on how to get it and install it

andraeseus1 2010-05-12 04:24

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by brog (Post 652076)
Installed it, no dependency problems whatsoever. Still doesn't work.
Did everything in khodorhijazi's instructions but it just can't get it working.

Maybe because I'm using PR1.2?

pr1.2 is out already?

taril 2010-05-12 13:43

Re: N900 Video focus and led light, python script
 
http://www.youtube.com/watch?v=ya--gnQTukA

nikrohr 2010-05-14 08:51

Re: N900 Video focus and led light, python script
 
NICE APP!!!!!!!!!!!!! THANKS A LOT!

i made a post on my website

www.maemo.ch

m2cm2c 2010-05-14 08:52

Re: N900 Video focus and led light, python script
 
lfocus_0.514-1
Added a timer to take photos/videos using the disabled autofocus button
read the information at the beginning of the thread for more information.

Pigro 2010-05-14 09:00

Re: N900 Video focus and led light, python script
 
quick question - can I install the new version over the existing one, or do I need to uninstall existing one (0.509-1) first?

m2cm2c 2010-05-14 09:03

Re: N900 Video focus and led light, python script
 
Quote:

Originally Posted by Pigro (Post 658039)
quick question - can I install the new version over the existing one, or do I need to uninstall existing one (0.509-1) first?

it should work fine if you install the new version over the older one. but in case you have a problem installing it then uninstall the older one 1st.


All times are GMT. The time now is 00:06.

vBulletin® Version 3.8.8