[frameworks-solid] [Bug 476973] HDDs conected to plug-in SATA card classified by Dolphin as Removable Devices rather than Devices
Stefan Brüns
bugzilla_noreply at kde.org
Thu Nov 30 10:43:55 GMT 2023
https://bugs.kde.org/show_bug.cgi?id=476973
Stefan Brüns <stefan.bruens at rwth-aachen.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stefan.bruens at rwth-aachen.d
| |e
--- Comment #13 from Stefan Brüns <stefan.bruens at rwth-aachen.de> ---
The "removable" classification is done by the kernel (based on flags set by the
hardware), and forwarded via udisks2 to solid.
http://storaged.org/doc/udisks2-api/latest/gdbus-org.freedesktop.UDisks2.Drive.html#gdbus-property-org-freedesktop-UDisks2-Drive.Removable
> Note that this is only a guess.
But as this is a somewhat common problem, it is possible to override it, and
already for 12 years now:
https://bugs.freedesktop.org/show_bug.cgi?id=22879#c9
Please try adding a file "/etc/udev/rules.d/70-fixup-removable.conf" with the
following contents (without the "---"):
---
# PCI SATA misclassified all drives as removable (probably eSATA), mark as
internal
SUBSYSTEMS=="pci", ENV{PCI_SLOT_NAME}=="0000:03:00.1",
ENV{UDISKS_SYSTEM_INTERNAL}="1"
# Probably better, use vendor/product ID of SATA expansion card:
# SUBSYSTEMS=="pci", ATTR{vendor}=="0x0123", ATTR{device}=="0xabcd",
ENV{UDISKS_SYSTEM_INTERNAL}="1"
---
Afterwards, reload the udev configuration:
$> sudo udevadm control --reload
In case this does not work, please provide the output of:
$> udevadm info --export-db
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list