Bug 697597

Summary: usb floppy not recognized, if plugged in without media
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: kdelibsAssignee: Lukáš Tinkl <ltinkl>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: jgrulich, jreznik, kevin, ltinkl, rdieter, rnovacek, ry, smparrish, than
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-16 21:31:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 657002    

Description Rex Dieter 2011-04-18 17:52:11 UTC
Got a few folks using usb floppies, which used to work with kde-4.5.x+hal, and not so much anymore with kde-4.6.x.

Comment 1 Rex Dieter 2011-04-18 17:55:39 UTC
OK, crazy, works on some machines and not others.  

An office colleague f14 desktop:  didn't work
my f14 desktop: works? device notifier pops up: "External Floppy Drive"
my f15 laptop: didn't work

Comment 2 Rex Dieter 2011-04-18 17:59:26 UTC
More testing:  seems the drive gets recognized ok, if it is plugged in with media inserted.  else, not.  Inserting media after the fact doesn't change anything.

Comment 3 Rex Dieter 2011-04-18 18:03:15 UTC
adjusting summary, but at least seem to have a workaround for now.

Comment 4 Kevin Kofler 2011-04-19 05:11:19 UTC
I think this is a direct consequence of udisks' "no polling" design. Floppy disk insertion can generally only be detected by polling, which udisks upstream refuses to do. We'd need an additional (optional) polling daemon (we could call it "upolld" or something) or polling inside KDE (ugh) to support floppies properly.

The reason this works when you plug in the USB device with a floppy already inserted is because then you get a USB "device connected" event, and when handling that event, udisks sees that there's media inserted and offers you to mount it. But of course that workaround doesn't work for internal floppy drives, and it's a bit silly even for USB ones.

The way this worked in HAL is that the hal-storage-daemon polled removable devices.

Comment 5 Lukáš Tinkl 2011-04-19 10:31:15 UTC
No, I believe it's a similar problem to what I fixed for some mobile phones, see https://bugs.kde.org/show_bug.cgi?id=262808; unfortunately I have no (USB) floppy drive to test with

Comment 6 Lukáš Tinkl 2011-09-09 07:31:47 UTC
Ping, does it still happen in F15/F16?

Comment 7 Fedora End Of Life 2012-08-16 21:31:19 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping