https://bugs.kde.org/show_bug.cgi?id=412257

--- Comment #24 from Dennis Schridde <devuran...@gmx.net> ---
(In reply to Norbert Preining from comment #2)
> Killing the kiod process that holds the lock (to be found with fuser
> /dev/libmtp...) resolves this problem, but is not optimal.

I do not have a `kiod` process on my system:
```
❯ ^ps aux | rg -i kio
 2156 USER  0:00 {.kioslave5-wrap}
/nix/store/56k6avzd8fwihzdgaq8dhzmpzyca18qn-kio-5.106.0/libexec/kf5/kioslave5
/nix/store/r0nmigm87b3psl5n83jid51fpp3910pj-plasma-workspace-5.27.6/lib/qt-5.15.9/plugins/kf5/kio/desktop.so
desktop  local:/run/user/1000/plasmashellQDMkBR.1.kioworker.socket
 2634 USER  0:00 {.kioslave5-wrap}
/nix/store/56k6avzd8fwihzdgaq8dhzmpzyca18qn-kio-5.106.0/libexec/kf5/kioslave5
/nix/store/p3283shmkk8j6zk9rm6xcbqa8xvzmdwx-baloo-5.106.0/lib/qt-5.15.9/plugins/kf5/kio/tags.so
tags  local:/run/user/1000/plasmashellZMjtuQ.2.kioworker.socket
```

And neither `lsof` nor `fuser` find a process that has the USB device opened:
```
❯ sudo lsof /dev/libmtp-9-1
❯ sudo lsof /dev/bus/usb/009/002
❯ sudo fuser /dev/libmtp-9-1
❯ sudo fuser /dev/bus/usb/009/002
```

I am on NixOS 23.05.20230721.6da4bc6:
```
Operating System: NixOS 23.05
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.4.4 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 9 6900HS with Radeon Graphics
Memory: 30,6 GiB of RAM
Graphics Processor: AMD Radeon Graphics
```

Do you have another idea how I could unblock the USB device?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to