{"id":287,"date":"2012-04-30T11:18:19","date_gmt":"2012-04-30T11:18:19","guid":{"rendered":"https:\/\/mh-svr.de\/blog\/?p=287"},"modified":"2012-04-30T11:48:02","modified_gmt":"2012-04-30T11:48:02","slug":"studiosoftware-fur-d-slr-mit-linux","status":"publish","type":"post","link":"https:\/\/mh-svr.de\/blog\/studiosoftware-fur-d-slr-mit-linux\/","title":{"rendered":"Foto-Shooting-Software f\u00fcr D-SLR mit Linux"},"content":{"rendered":"<p><a href=\"http:\/\/www.gphoto.org\/\">gPhoto2<\/a> ist schon prima, leider funktioniert alles nur auf der Kommandozeile.<\/p>\n<pre>yum install gphoto2<\/pre>\n<p>Was ich m\u00f6chte ist meine D200 mit USB-Kabel an de Linux Laptop anschlie\u00dfen und dann direkt nach dem Ausl\u00f6sen das Bild auf dem Monitor begutachten.<\/p>\n<p>Die Idee ist, das alles mit PHP zu machen und den Browser als GUI zu nutzen. Dazu habe ich ein Frontend und ein Backend geschrieben. Das Frontend ist AJAX (jquery) und frag das Backend an, welches mit der Kamera \u00fcber gphoto2 kommuniziert.<\/p>\n<p>Leider hat SELinux mal wieder was dagegen:<br \/>\n<tt>kernel: [11661.093831] type=1400 audit(1335782588.420:652): avc:\u00a0 denied\u00a0 { search } for\u00a0 pid=5730 comm=\"gphoto2\" scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:sysctl_fs_t:s0 tclass=dir<\/tt> &#8230;<br \/>\nIch muss nun testen, welches Flag es ist: <a href=\"http:\/\/docs.fedoraproject.org\/en-US\/Fedora\/13\/html\/Managing_Confined_Services\/sect-Managing_Confined_Services-The_Apache_HTTP_Server-Booleans.html\">Flag-Doku<\/a> &#8212; ist aber diffiziler, da es diverse SE Probleme gibt: fast 10. Daher letzte Rettung:<\/p>\n<p><tt>echo 0 > \/selinux\/enforce<\/tt><\/p>\n<p>Jetzt klappt es. Nun gilt es das letzte Bild zu ermitteln, in der Session zu pr\u00fcfen, ob das im Browser gezeigte noch aktuell ist, wenn nicht diese updaten.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>gPhoto2 ist schon prima, leider funktioniert alles nur auf der Kommandozeile. yum install gphoto2 Was ich m\u00f6chte ist meine D200 mit USB-Kabel an de Linux Laptop anschlie\u00dfen und dann direkt nach dem Ausl\u00f6sen das Bild auf dem Monitor begutachten. Die Idee ist, das alles mit PHP zu machen und den Browser als GUI zu nutzen.&hellip; <a class=\"more-link\" href=\"https:\/\/mh-svr.de\/blog\/studiosoftware-fur-d-slr-mit-linux\/\">Continue reading <span class=\"screen-reader-text\">Foto-Shooting-Software f\u00fcr D-SLR mit Linux<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0},"categories":[4,7],"tags":[],"_links":{"self":[{"href":"https:\/\/mh-svr.de\/blog\/wp-json\/wp\/v2\/posts\/287"}],"collection":[{"href":"https:\/\/mh-svr.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mh-svr.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mh-svr.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mh-svr.de\/blog\/wp-json\/wp\/v2\/comments?post=287"}],"version-history":[{"count":8,"href":"https:\/\/mh-svr.de\/blog\/wp-json\/wp\/v2\/posts\/287\/revisions"}],"predecessor-version":[{"id":295,"href":"https:\/\/mh-svr.de\/blog\/wp-json\/wp\/v2\/posts\/287\/revisions\/295"}],"wp:attachment":[{"href":"https:\/\/mh-svr.de\/blog\/wp-json\/wp\/v2\/media?parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mh-svr.de\/blog\/wp-json\/wp\/v2\/categories?post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mh-svr.de\/blog\/wp-json\/wp\/v2\/tags?post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}