On Sun, 19 Nov 2017 18:34:13 +0100 Anders <[email protected]> wrote: > I had a tethred session today, and during the shooting, the cable was > disconnected from my camera. Putting it in again, darktable was not > able to make things work again. The camera could be found, but pressing > at "tethered shooting" button made it say it created a new session, but > the photos dissapeared. I rekon it may have worked had I restarted > darktable, but I ended up keeping the photos in the camera for the rest > of the session - not so nice I believe. > When you disconnect your camera the way you describe the session is never terminated which means the kernel thinks a camera is using the port meaning the device reference stays in the file system. When you then connect your camera once again a new session will be created which creates another device reference in the file system. Since DT obviously was continuing using the old reference nothing showed up in DT.
Possible solutions (I have never used tethering so I do not know whether my solutions are already implemented in DT): 1) You should do a complete reset of tethering in DT 2) You should restart DT after creating a new device reference 3) You should forcefully terminate the broken session in your OS before reconnecting your camera which should drop the device reference and notifying user land applications like DT about the termination -- Hilsen/Regards Michael Rasmussen Get my public GnuPG keys: michael <at> rasmussen <dot> cc http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E mir <at> datanom <dot> net http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C mir <at> miras <dot> org http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917 -------------------------------------------------------------- /usr/games/fortune -es says: Sigmund Freud is alleged to have said that in the last analysis the entire field of psychology may reduce to biological electrochemistry.
pgpAwAvxilSuc.pgp
Description: OpenPGP digital signature
