[PLUG-AV] dvgrab insanity
Leon Wright
techman83 at gmail.com
Mon Dec 23 03:09:40 UTC 2013
Yo,
Thanks, solution from your inspiration:
https://github.com/lukejohnosmahi/eventstreamr/commit/1cd68526c7da9e31bf90f8203652129a03660de5
Leon
--
DRM 'manages access' in the same way that jail 'manages freedom.'
# cat /dev/mem | strings | grep -i cats
Damn, my RAM is full of cats... MEOW!!
On Sun, Dec 22, 2013 at 11:14 PM, Euan de Kock <euan at dekock.net> wrote:
> Hi Leon,
>
> I've attached a bash script that does waht you're trying to acheive (sort
> of, you'll need to cut to size...)
>
> This just watches the list of FW devices as reported, and reports whether
> our specific device is available or not.
>
> It requires one command parameter, the GUID of the device.
>
> Regards,
>
> Euan.
>
>
>
> On 12/22/2013 06:46 PM, Leon Wright wrote:
>
> All,
>
> I've come up with something that at least triggers a restart of the
> camera when it's plugged back in. I'd like to know that it's gone, but this
> will have to do for now.
>
>
> https://github.com/lukejohnosmahi/eventstreamr/blob/dev/station/bin/station-dvmon.pl
>
> Regards,
>
> Leon
>
> --
> DRM 'manages access' in the same way that jail 'manages freedom.'
>
> # cat /dev/mem | strings | grep -i cats
> Damn, my RAM is full of cats... MEOW!!
>
>
> On Sun, Dec 22, 2013 at 11:17 AM, Leon Wright <techman83 at gmail.com> wrote:
>
>> All,
>>
>> I've done a bit of poking around and have yet to find a way I can use to
>> detect when a camera drops out. DVgrab kindly persists (even with
>> dvsource-firewire + tally light) and fails to carry on when you replug the
>> camera.
>>
>> I thought about using inotify to watch the sys paths, however it doesn't
>> appear to be able to monitor these paths. I also pondered watching the
>> syslog, but it doesn't log anything on disconnect.
>>
>> I imagine there would be a kernel event I could hook into, but that's a
>> little beyond my current skillset and available time to figure out.
>>
>> If anyone has some ideas, I'd love to hear them!
>>
>> Leon
>>
>> --
>> DRM 'manages access' in the same way that jail 'manages freedom.'
>>
>> # cat /dev/mem | strings | grep -i cats
>> Damn, my RAM is full of cats... MEOW!!
>>
>
>
>
> _______________________________________________
> AV mailing listAV at plug.org.auhttp://lists.plug.org.au/mailman/listinfo/av
>
>
>
> _______________________________________________
> AV mailing list
> AV at plug.org.au
> http://lists.plug.org.au/mailman/listinfo/av
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/av/attachments/20131223/7fd8cb58/attachment-0001.html>
More information about the AV
mailing list