https://bugs.winehq.org/show_bug.cgi?id=54575
Bug ID: 54575 Summary: False positive detection of mmc reader as hard drive since kernel 6.1 Product: Wine Version: 8.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: busko.lukasz@pm.me Distribution: ---
Since kernel 6.1 wine interprets mmc reader as valid /dev/sda device.
Problem is that kernel instead of /dev/mmc created /dev/sda... However its easy to fix in wine. Please just detect device class type and problem never appear again.
Reproduction steps install fusion360 https://github.com/str0g/Autodesk-Fusion360-Linux or https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux
1.Open project 2.Modify something 3.leave it for 30minuts (don't know if screen saver is important or not) 4.add additional modification 5.try to save.
Expected outcome Error: D:\Stage\workspace\protein\release\2021.10.R2023\protein\src\libs\protein4\archiveadaptor.cpp(210)stream can not open!!
Additional information: winprefixes/ d:: -> /dev/sda
Actual mmc device... ❯ dmesg |grep sda [ 3.455870] sd 0:0:0:0: [sda] Media removed, stopped polling [ 3.456045] sd 0:0:0:0: [sda] Attached SCSI removable disk [99954.410598] sd 0:0:0:0: [sda] 250085376 512-byte logical blocks: (128 GB/119 GiB) [99954.411058] sda: detected capacity change from 0 to 250085376 [99954.411675] sda: sda1
when sd card is in slot winprefixes/ d:: -> /dev/sda1 e:: -> /dev/sda