My camera with UMS was treated as removable medium for years and readily showed up in device notifier when plugged into USB. But suddenly that changed: The camera does no longer show up as removable medium, but is now listed as nonremovable and requires root permission to mount.
When removing the SD card from the camera and inserting it into a USB card reader everything works normal. Device Notifier pops up and mounts the card with user permissions. I am puzzled. Any idea?
Strange… from a udev perspective the attributes show that it is a removable device (as expected). Is your camera the only mass storage device behaving like this? Try with a USB stick if you have one at hand. I can’t replicate this unfortunately.
When trying to connect I inadvertently dropped the camera on the carpet floor. Upon connecting device notifier popped up. Retried connecting several times successfully. Seems to be a hardware glitch.
What I found: Attaching the Camera with the SD card removed causes the problem. In this case the internal memory is mounted. When unmounting, unpluging the camera, inserting the SD card and plugging in again, device notifier fails to detect the camera as removable device, but shows it as nonremovable.
I then blocked /dev/sdc with an USB stick. Plugging in the camera results in device notifier detecting the camera at /dev/sdd and readily mounting it without requesting authorization. Thus I think there is a bug somewhere in openSUSE.
On 10/01/2016 05:36 AM, karlmistelberger wrote:
>
> deano_ferrari;2794442 Wrote:
>> Okay, so other devices work as expected. Going back to the camera, what
>> happens if you connect and try to mount it with udisksctl (as regular
>> user)?
>>>
> Code:
> --------------------
> > > udisksctl mount -b /dev/sdc
> --------------------
>>> When trying to connect I inadvertently dropped the camera on the carpet
> floor. Upon connecting device notifier popped up. Retried connecting
> several times successfully. Seems to be a hardware glitch.
>
>
My first foreman always said “don’t force it get a bigger hammer”. LOL
–
Ken
linux since 1994
S.u.S.E./openSUSE since 1996
Needed to reboot the machine for reverting to business as usual, which is PITA. Tried restarting systemd-udevd to no avail. Will restarting udisks2 preserve the user sessions?
After taking some photos on Sunday I successfully downloaded them using digiKam. Then I unmounted the camera, unplugged it, pressed power off, removed the SD card, pressed power on and plugged it again. Device Notifier readily mounted internal memory of the camera.
Then I reverted to inserting the SD card and tried again. Now the symptoms were different from the first trial. Device Notifier showed the SD card as external drive, but repeating mount/umount ended up in killing the plasma shell. I was left with an entirely dark screen and a mouse cursor moving on the screen.
What is reproducible: Mounting the camera with the SD card removed and remounting it with the card in place again causes things to become shaky and in the end I needed to kill the user session and start again.