Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac iSight Light Activates When Not Missing #30

Closed
ABruihler opened this issue Jan 29, 2014 · 26 comments
Closed

Mac iSight Light Activates When Not Missing #30

ABruihler opened this issue Jan 29, 2014 · 26 comments

Comments

@ABruihler
Copy link

I have installed the new Prey version (this is posted in the right place, right?) on my 13-inch, Mid 2009 MacBook Pro running OS X Lion 10.7.5. I have tested it by marking it as missing on the Control Panel and verifying that reports work (with photos enabled and showing in the reports). The iSight camera lights turns on when taking the photo, as I expect.

But after I have unmarked my computer as missing, the green iSight light still comes on at regular intervals. I have not timed it, but it is probably the 5 minute interval that I set reports to be sent at. I see no reason why this should be happening, and this was not occurring before I installed the new Prey client on this computer. I suspect that this is a bug.

By googling I have found references to this issue in other places. From what I understand from the threads, Prey initially receives a 404 error but by the time it sends the report (after taking a photo) it has received a 200 error.
Look here (they are all at least a year old and on Macs):
http://answers.preyproject.com/topics/marked-not-missing-but-webcam-still-taking-pictures
http://answers.preyproject.com/topics/prey-isight-issues
http://answers.preyproject.com/topics/webcam-on-all-the-time

I haven't rebooted this computer yet since installing, but this shouldn't be happening anyway (right?). I will update this after I reboot it.

This is also my first post on Github! I have no idea if I have done this the proper way, but I hope I have.
TheAwer

@tomas
Copy link
Contributor

tomas commented Jan 29, 2014

Hi @TheAwer and thanks for the bug report!

Can you send over the output of your Prey log file? You can get it by opening a terminal and running:

$ cat /var/log/prey.log

@ABruihler
Copy link
Author

Here's the log, @tomas. It's extremely long, and I have no idea how to put it in a quote, code box, or something else to shorten it. If someone will tell me, I will gladly edit it to shorten the page.

It was actually so long that i exceeded the 65535 character limit and I had to put it on Pastebin (edit: I moved it to Gist)
https://gist.github.com/TheAwer/df7018a558b825779ef3

@ABruihler
Copy link
Author

I also have a couple (unrelated) recommendations for the iOS version and the Control Panel. What should I do with those?

@tomas
Copy link
Contributor

tomas commented Jan 29, 2014

Oh my, this looks like the report is not getting canceled when it should! Will take a look at it ASAP.

Thanks again for reporting!

@tomas
Copy link
Contributor

tomas commented Jan 29, 2014

As for the recommendations, please send them over!

@tomas
Copy link
Contributor

tomas commented Jan 29, 2014

@TheAwer Would you mind running a single command on the terminal and sharing the output? It'd really help to find out the cause of the problem.

$ ps aux | grep prey

It's just to verify that only a single instance of the process is running.

@tomas
Copy link
Contributor

tomas commented Jan 29, 2014

After diving deep into the matrix, I think I know what may have happened. Did you by any chance flag your device missing twice? (One requesting reports every 2 minutes and another requesting reports every 5 minutes)?

@ABruihler
Copy link
Author

Here's the Gist for the command.
https://gist.github.com/TheAwer/15e37e068bb96d5f984e
And the short answer to your question is not to requesting reports 2 and 5 minutes. I don't have a Pro account, so I can't request reports every 2 minutes. I'll expand on what I did later.

@KAIECHI
Copy link

KAIECHI commented Jan 29, 2014

The reason is, There a big possibility U R in stolen property of mine& should notify the police & maybe they'll go easy on U, So okay man!

Date: Wed, 29 Jan 2014 05:58:30 -0800
From: [email protected]
To: [email protected]
Subject: Re: [prey-node-client] Mac iSight Light Activates When Not Missing (#30)

Here's the Gist for the command.
https://gist.github.com/TheAwer/15e37e068bb96d5f984e

And the short answer to your question is not to requesting reports 2 and 5 minutes. I don't have a Pro account, so I can't request reports every 2 minutes. I'll expand on what I did later.


Reply to this email directly or view it on GitHub.

@ABruihler
Copy link
Author

@tomas after installing the current old version (from the download on the website), and signing into the Control Panel, I received the notification about the new Prey version. I immediately downloaded and installed the new version (this one). Then I went to the Control Panel and marked my computer as missing to test prey, with reports coming every 5 minutes.

I confirmed that it was working, including taking pictures. Then I unmarked it as missing.
After that, I noticed that the camera light was turning on for about one second every few minutes (probably 5 minutes, but I didn't time it).

I went to the Control Panel, and verified that it was not marked as missing and that no reports were coming in. I also turned off the webcam module.

I saw that the light was continuing to turn on. I went to the Control Panel and set it to missing, changed the interval to 50 minutes, and saved. I then immediately set it to not missing. I did this to try to reduce how often the light flashes.

But right after that I changed my mind and decided to set it back to 5 minutes so I could keep track of this issue and try to resolve it. This was accomplished by marking it as missing, setting the interval back to 5 minutes, saving, and then turning it back to not missing.

I have no idea if those two things I tried worked, because they were marked as missing for such a short time.

So that's the story of what I've done recently. There was also an old (0.3.something I think) version on the computer that I uninstalled before I installed the new version. I did the check mode and it said that Prey was not working.

Does that help? This is what happened to the best of my memory, and I only did this two days ago.

@KAIECHI, what the heck? This computer is not stolen. And if I did indeed steal it (which I didn't), I would have uninstalled Prey and not mentioned anything about it. There is no reason a thief would leave Prey on the computer if the thief knew how to uninstall it, or even mention that to anybody. Use your head!

@KAIECHI
Copy link

KAIECHI commented Jan 29, 2014

Okay so where did U buy mac & who sold it to U? It mite stay flashing

U're cam because i'''t's probaly stolen & mine under my control with prey

project link to my mac server!

Date: Wed, 29 Jan 2014 08:55:50 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [prey-node-client] Mac iSight Light Activates When Not Missing (#30)

@tomas after installing the current old version (from the download on the website), and signing into the Control Panel, I received the notification about the new Prey version. I immediately downloaded and installed the new version (this one). Then I went to the Control Panel and marked my computer as missing to test prey, with reports coming every 5 minutes.

I confirmed that it was working, including taking pictures. Then I unmarked it as missing.
After that, I noticed that the camera light was turning on for about one second every few minutes (probably 5 minutes, but I didn't time it).

I went to the Control Panel, and verified that it was not marked as missing and that no reports were coming in. I also turned off the webcam module.

I saw that the light was continuing to turn on. I went to the Control Panel and set it to missing, changed the interval to 50 minutes, and saved. I then immediately set it to not missing. I did this to try to reduce how often the light flashes.

But right after that I changed my mind and decided to set it back to 5 minutes so I could keep track of this issue and try to resolve it. This was accomplished by marking it as missing, setting the interval back to 5 minutes, saving, and then turning it back to not missing.

I have no idea if those two things I tried worked, because they were marked as missing for such a short time.

So that's the story of what I've done recently. There was also an old (0.3.something I think) version on the computer that I uninstalled before I installed the new version. I did the check mode and it said that Prey was not working.

Does that help? This is what happened to the best of my memory, and I only did this two days ago.

@KAIECHI, what the heck? This computer is not stolen. And if I did indeed steal it (which I didn't), I would have uninstalled Prey and not mentioned anything about it. There is no reason a thief would leave Prey on the computer if the thief knew how to uninstall it, or even mention that to anybody. Use your head!


Reply to this email directly or view it on GitHub.

@ABruihler
Copy link
Author

@KAIECHI I bought it a few days ago in the black market beneath the FBI building in Antarctica. I had to wear a black trenchcoat and mask, and I passed the money to the Barack Obama beneath the table. I returned to my home on Mars through a teleportation device. When I found that the tracking software that was installed was failing to help the original owner track me, I headed right over to Github via my faster-than-light internet and started trying to resolve this issue so that original owner can find me and get me arrested.

I will be glad to give your computer back, just head on over to the tuesunidiota crater here on Mars and I will personally hand it over to you. I will also give you a account to Rosetta Stone because it seems that you need it to learn English.

In case you cannot come visit me on Mars to get the Rosetta Stone account, this website will be useful for you. www.duolingo.com It will help you learn proper English that others will be able to understand.

@KAIECHI
Copy link

KAIECHI commented Jan 30, 2014

Okay cool at what time & day is best to meat with you & how do Iget there too the tuesunida crater on mars & where is it located huh!

Date: Wed, 29 Jan 2014 13:00:56 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [prey-node-client] Mac iSight Light Activates When Not Missing (#30)

@KAIECHI I bought it a few days ago in the black market beneath the FBI building in Antarctica. I had to wear a black trenchcoat and mask, and I passed the money to the Barack Obama beneath the table. I returned to my home on Mars through a teleportation device. When I found that the tracking software that was installed was failing to help the original owner track me, I headed right over to Github via my faster-than-light internet and started trying to resolve this issue so that original owner can find me and get me arrested.

I will be glad to give your computer back, just head on over to the tuesunidiota crater here on Mars and I will personally hand it over to you. I will also give you a account to Rosetta Stone because it seems that you need it to learn English.

In case you cannot come visit me on Mars to get the Rosetta Stone account, this website will be useful for you. www.duolingo.com It will help you learn proper English that others will be able to understand.


Reply to this email directly or view it on GitHub.

@KAIECHI
Copy link

KAIECHI commented Jan 30, 2014

Oh & also can U email me the serial # too make sure it's the rightone from the police report okay pal, So that way everything will beall set in order & I'll tell the cop's to go easy on very much thank's!

From: [email protected]
To: [email protected]
Subject: RE: [prey-node-client] Mac iSight Light Activates When Not Missing (#30)
Date: Wed, 29 Jan 2014 19:33:02 -0500

Okay cool at what time & day is best to meat with you & how do Iget there too the tuesunida crater on mars & where is it located huh!

Date: Wed, 29 Jan 2014 13:00:56 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [prey-node-client] Mac iSight Light Activates When Not Missing (#30)

@KAIECHI I bought it a few days ago in the black market beneath the FBI building in Antarctica. I had to wear a black trenchcoat and mask, and I passed the money to the Barack Obama beneath the table. I returned to my home on Mars through a teleportation device. When I found that the tracking software that was installed was failing to help the original owner track me, I headed right over to Github via my faster-than-light internet and started trying to resolve this issue so that original owner can find me and get me arrested.

I will be glad to give your computer back, just head on over to the tuesunidiota crater here on Mars and I will personally hand it over to you. I will also give you a account to Rosetta Stone because it seems that you need it to learn English.

In case you cannot come visit me on Mars to get the Rosetta Stone account, this website will be useful for you. www.duolingo.com It will help you learn proper English that others will be able to understand.


Reply to this email directly or view it on GitHub.

@KAIECHI
Copy link

KAIECHI commented Jan 30, 2014

Oh & to meat what do U look like, what will U be whering & U'rename of course! & where exactly do U want too meat huh pal?

From: [email protected]
To: [email protected]
Subject: RE: [prey-node-client] Mac iSight Light Activates When Not Missing (#30)
Date: Wed, 29 Jan 2014 20:01:49 -0500

Oh & also can U email me the serial # too make sure it's the rightone from the police report okay pal, So that way everything will beall set in order & I'll tell the cop's to go easy on very much thank's!

From: [email protected]
To: [email protected]
Subject: RE: [prey-node-client] Mac iSight Light Activates When Not Missing (#30)
Date: Wed, 29 Jan 2014 19:33:02 -0500

Okay cool at what time & day is best to meat with you & how do Iget there too the tuesunida crater on mars & where is it located huh!

Date: Wed, 29 Jan 2014 13:00:56 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [prey-node-client] Mac iSight Light Activates When Not Missing (#30)

@KAIECHI I bought it a few days ago in the black market beneath the FBI building in Antarctica. I had to wear a black trenchcoat and mask, and I passed the money to the Barack Obama beneath the table. I returned to my home on Mars through a teleportation device. When I found that the tracking software that was installed was failing to help the original owner track me, I headed right over to Github via my faster-than-light internet and started trying to resolve this issue so that original owner can find me and get me arrested.

I will be glad to give your computer back, just head on over to the tuesunidiota crater here on Mars and I will personally hand it over to you. I will also give you a account to Rosetta Stone because it seems that you need it to learn English.

In case you cannot come visit me on Mars to get the Rosetta Stone account, this website will be useful for you. www.duolingo.com It will help you learn proper English that others will be able to understand.


Reply to this email directly or view it on GitHub.

@ABruihler
Copy link
Author

@KAIECHI can you please stop spamming this now?

And it's annoying when there's a bunch of extra stuff in your comment.

@tomas
Copy link
Contributor

tomas commented Jan 30, 2014

Yes @KAIECHI you're not really helping out.

@TheAwer I think the issue is now solved -- we'll be pushing an update tomorrow morning (PST) so this behaviour should no longer happen.

@tomas
Copy link
Contributor

tomas commented Jan 30, 2014

Ok @KAIECHI I will remove any further non constructive comments.

@KAIECHI
Copy link

KAIECHI commented Jan 30, 2014

U sure U wanna go out like this I'm trying too help U, cop's won't!

Date: Wed, 29 Jan 2014 20:50:52 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [prey-node-client] Mac iSight Light Activates When Not Missing (#30)

Ok @KAIECHI I will remove any further non constructive comments.


Reply to this email directly or view it on GitHub.

@ABruihler
Copy link
Author

@tomas is 1.0.7 the new version? My Mac is still on that version according to the old Control Panel, even though I've set updating to on under configuration (I don't have a Pro account, but that should still work, right?).

And it's still blinking.

@tomas
Copy link
Contributor

tomas commented Feb 2, 2014

Hi @TheAwer, sorry for not getting back to you. 1.0.8 is the latest version (pushed two days ago), but you need to restart your laptop for the client to get updated. Please let me know if that fixes the problem or not.

@ABruihler
Copy link
Author

@tomas, I have restarted my computer twice, and the Control Panel still says it is on 1.0.7. However, the green light has stopped turning on.

@KAIECHI
Copy link

KAIECHI commented Feb 2, 2014

Yea I don't think thats the problem. The only reason you're notgetting those green flashes with cam is cause like i told you ihave control over my missing mac & turn its prey off in inbox, So!

Date: Sat, 1 Feb 2014 19:34:32 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [prey-node-client] Mac iSight Light Activates When Not Missing (#30)

Hi @TheAwer, sorry for not getting back to you. 1.0.8 is the latest version (pushed two days ago), but you need to restart your laptop for the client to get updated. Please let me know if that fixes the problem or not.


Reply to this email directly or view it on GitHub.

@tomas
Copy link
Contributor

tomas commented Feb 2, 2014

Glad to know the green light stopped flashing, but the client should have updated to 1.0.8. I'll contact you directly during the week in order to take a deeper look into this and get it fixed.

@KAIECHI
Copy link

KAIECHI commented Feb 2, 2014

Okay what ever but it doesn't flash cause i don't want too keepgetting prey inbox thats why i have remove my missing mac flash!

Date: Sun, 2 Feb 2014 12:46:39 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [prey-node-client] Mac iSight Light Activates When Not Missing (#30)

Glad to know the green light stopped flashing, but the client should have updated to 1.0.8. I'll contact you directly during the week in order to take a deeper look into this and get it fixed.


Reply to this email directly or view it on GitHub.

@tomas
Copy link
Contributor

tomas commented Sep 23, 2014

Hey guys,

I'm closing this issue since this bug has long been closed. Feel free to reopen any issues if you encounter any other problems. Thanks again!

@tomas tomas closed this as completed Sep 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants