eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9679 Location: almost Mile High in the USA
|
Posted: Wed Oct 10, 2018 3:52 am Post subject: Shotwell no longer detects camera? (systemd-udev problem?) |
|
|
After some update shotwell no longer brings up my digital camera when started. I'm using shotwell-0.28.2 and the old version that was working was in 0.24.something.
Now I don't know if this is actually a udev or whatnot issue, all I do know:
- Shotwell no longer shows my camera when plugged in.
- I do see my camera being recognized in dmesg when it is plugged in.
- libgphoto2 was also updated from 2.5.14 to 2.5.16 ...
- running "gphoto2 --auto-detect" does detect my camera and appears I can list contents of my camera using gphoto -l so it probably isn't a permissions problem.
Anyone run into this?
[ EDIT:
Downgrading libgphoto2 to 2.5.14 does not help
Downgrading to shotwell 0.26.4 does not help
Upgrading to shotwell 0.28.3 does not help
Running "gphoto2 -T" DOES download thumbnails.
Something weird is going on in shotwell, I may have to revert to using gphoto2 directly to download photos. ]
[ EDIT 2:
Looks like this may still be a behavior change in the kernel which is parroted by udev/systemd, which affects not just shotwell but pretty much any library based hotplug device (libgphoto, libmtp, and apparently USB modem devices too for networkmanager).
Specifically for libgphoto, workaround is to change your udev rules though this is only temporary:
The Gentoo WORKAROUND is to edit /lib/udev/rules.d/70-libgphoto2.rules :
-ACTION!="add", GOTO="libgphoto2_rules_end"
+ACTION!="add|bind", GOTO="libgphoto2_rules_end"
I tested this and it works with the change.
The other option is to hack udev to ignore bind events from the kernel and all the old rules should work once more.
The key references:
https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/1772913 (identical/first bug report)
https://gitlab.gnome.org/GNOME/shotwell/issues/4 (It's an issue)
https://bugzilla.redhat.com/show_bug.cgi?id=1584876 (It's systemd-udev's fault for not listening to the kernel?)
https://github.com/systemd/systemd/issues/8221 (It really is systemd-udev's fault?)
] _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|