On Fri, 18 Jan 2013, Aaron Lu wrote: > > Aaron, have you checked whether this patch works okay when you play a > > track on an audio-only CD on the computer? The block interface looks > > okay but I'm not sure about the cdrom_device interface. > > Just verified it works OK with the whole patchset applied using 2 audio > CDs. > > After the ODD has been put into zero power state, insert an audio cd. > ODD will be resumed, gvfs will automatically mount the disc, and a > dialog titled "Audio Disc" asks me what to do. Press OK, the rhythmbox > application will get started. Press the Play button of rhythmbox, songs > will start to play, and runtime_usage is 2. Eject the disc, the ODD will > be put to zero power state some time later. What happens if you use a non-ZP drive? What happens if you're not running a desktop graphical environment, so gvfs doesn't mount the disc? Basically, I'm worried that the drive may remain suspended after sr_open() returns. What happens if you use a program other than rhythmbox? There are (or used to be) programs which would issue the PLAY AUDIO command and then exit. The drive would continue playing even while the device file was closed. Do we want to drop support for that kind of behavior? Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html