Re: floppy question of the hour

From: Kay Sievers
Date: Mon Jun 02 2008 - 06:28:23 EST


On Sun, Jun 1, 2008 at 9:00 PM, Jan Engelhardt <jengelh@xxxxxxxxxx> wrote:
>
> On Wednesday 2008-05-28 00:26, Gene Heskett wrote:
>>On Tuesday 27 May 2008, Phillip Susi wrote:
>>>Gene Heskett wrote:
>>
>>Also, does anyone know how long after a floppy is inserted before it is
>>recognized? From observation today, it appears to be something in the 5 minute
>>territory before a getfdprm returns data instead of "/dev/fd0: no such device".
>
> I have a SONY USB floppy drive which used to get read within 2s
> after inserting a new floppy. Which means it somehow signalled
> the host, probably through an USB command.
>
> Just as I tried again now (with 2.6.23.17), this does not happen
> anymore so I suspect udev or the kernel changed in some way.

There is no USB command for media change notifications. We
periodically poll USB floppies with HAL. We can do this, because
unlike legacy floppies, USB floppies seems not to spin up the drive
when polled.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/