Re: Power frequency detection.

2010-12-19 Thread Theodore Kilgore
On Sun, 19 Dec 2010, Andy Walls wrote: > On Sun, 2010-12-19 at 18:13 -0600, Theodore Kilgore wrote: > > > > On Sun, 19 Dec 2010, Andy Walls wrote: > > > > The Software for our Sakar branded Jeilin camera was a little smarter. > > > > Oh. So _you_ had a Sakar branded camera. This was one of th

Re: Power frequency detection.

2010-12-19 Thread Andy Walls
On Sun, 2010-12-19 at 18:13 -0600, Theodore Kilgore wrote: > > On Sun, 19 Dec 2010, Andy Walls wrote: > > The Software for our Sakar branded Jeilin camera was a little smarter. > > Oh. So _you_ had a Sakar branded camera. This was one of the things that > causes problems recently. In gspca.txt

Re: Power frequency detection.

2010-12-19 Thread Andy Walls
On Sun, 2010-12-19 at 18:21 -0600, Theodore Kilgore wrote: > If the controls are locked while the workqueue is doing the streaming, > then probably that does fix the problem? Most likely, that is the simplest > thing to do. Drivers are allowed to return -EBUSY per the V4L2 spec. http://linuxt

Re: Power frequency detection.

2010-12-19 Thread Theodore Kilgore
On Sun, 19 Dec 2010, Adam Baker wrote: > On Sunday 19 Dec 2010, Theodore Kilgore wrote: > > Finally, one concern that I have in the back of my mind is the question of > > control settings for a camera which streams in bulk mode and requires the > > setup of a workqueue. The owner of the camera

Re: Power frequency detection.

2010-12-19 Thread Adam Baker
On Sunday 19 Dec 2010, Theodore Kilgore wrote: > Finally, one concern that I have in the back of my mind is the question of > control settings for a camera which streams in bulk mode and requires the > setup of a workqueue. The owner of the camera says that he has > "encountered no problems" wit

Re: Power frequency detection.

2010-12-19 Thread Theodore Kilgore
On Sun, 19 Dec 2010, Andy Walls wrote: > On Sun, 2010-12-19 at 14:51 -0600, Theodore Kilgore wrote: > > > > On Sun, 19 Dec 2010, Andy Walls wrote: > > > > > Theodore, > > > > > > Aside from detect measurment of the power line, isn't a camera the best > > > sort of sensor for this measurment

Re: Power frequency detection.

2010-12-19 Thread Andy Walls
On Sun, 2010-12-19 at 17:00 -0500, Andy Walls wrote: > On Sun, 2010-12-19 at 14:51 -0600, Theodore Kilgore wrote: Just a few more details... > So I might not be able to provide too much help. I have 2 ideas for you > coming from the perspective of me being a USB idiot: > > > 1. Since the jlj_d

Re: Power frequency detection.

2010-12-19 Thread Andy Walls
On Sun, 2010-12-19 at 14:51 -0600, Theodore Kilgore wrote: > > On Sun, 19 Dec 2010, Andy Walls wrote: > > > Theodore, > > > > Aside from detect measurment of the power line, isn't a camera the best > > sort of sensor for this measurment anyway? > > > > Just compute the average image luminosity

Re: Power frequency detection.

2010-12-19 Thread Theodore Kilgore
On Sun, 19 Dec 2010, Andy Walls wrote: > On Sun, 2010-12-19 at 13:21 -0500, Andy Walls wrote: > > Theodore, > > Gah. I need to learn how to type or wear my glasses more often. > > > Aside from detect measurment of the power line, isn't a camera the > ^ >

Re: Power frequency detection.

2010-12-19 Thread Andy Walls
On Sun, 2010-12-19 at 13:21 -0500, Andy Walls wrote: > Theodore, Gah. I need to learn how to type or wear my glasses more often. > Aside from detect measurment of the power line, isn't a camera the ^ direct measurement > best sort of sensor for this me

Re: Power frequency detection.

2010-12-19 Thread Theodore Kilgore
On Sun, 19 Dec 2010, Andy Walls wrote: > Theodore, > > Aside from detect measurment of the power line, isn't a camera the best sort > of sensor for this measurment anyway? > > Just compute the average image luminosity over several frames and look for > (10 Hz ?) periodic variation (beats), i

Re: Power frequency detection.

2010-12-19 Thread Andy Walls
Theodore, Aside from detect measurment of the power line, isn't a camera the best sort of sensor for this measurment anyway? Just compute the average image luminosity over several frames and look for (10 Hz ?) periodic variation (beats), indicating a mismatch. Sure you could just ask the user,

Re: Power frequency detection.

2010-12-19 Thread Theodore Kilgore
On Sun, 19 Dec 2010, Paulo Assis wrote: > Hi, > > 2010/12/18 Theodore Kilgore : > > > > Does anyone know whether, somewhere in the kernel, there exists a scheme > > for detecting whether the external power supply of the computer is using > > 50hz or 60hz? > > > > The reason I ask: > > > > A cer

Re: Power frequency detection.

2010-12-19 Thread Paulo Assis
Hi, 2010/12/18 Theodore Kilgore : > > Does anyone know whether, somewhere in the kernel, there exists a scheme > for detecting whether the external power supply of the computer is using > 50hz or 60hz? > > The reason I ask: > > A certain camera is marketed with Windows software which requests the