Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dvd_drives [2013/07/13 21:52] – beandog | dvd_drives [2018/03/28 20:45] (current) – beandog | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== DVD Drives ====== | ====== DVD Drives ====== | ||
- | Polling DVD drives to see if it is closed or not is a real pain to do in Linux. | + | * [[dvd_drive_status]] |
+ | * [[dvd_eject]] | ||
+ | * [[regionset]] | ||
+ | * [[trayopen]] | ||
+ | |||
+ | ==== Polling a Drive: Is Open / Has Media ==== | ||
+ | |||
+ | Polling DVD drives to see if it is closed or not is a real pain to do in Linux. | ||
I highly recommend reading [[http:// | I highly recommend reading [[http:// | ||
Line 18: | Line 25: | ||
Ideally, this would work perfectly fine. However, the problem happens after step #3, closing the tray. The device becomes available **before** it is actually ready to read from. This is particularly annoying with DVD drives because some firmware (most of them, that I've seen) for the devices will freak out if you are trying to access the data encrypted by CSS. | Ideally, this would work perfectly fine. However, the problem happens after step #3, closing the tray. The device becomes available **before** it is actually ready to read from. This is particularly annoying with DVD drives because some firmware (most of them, that I've seen) for the devices will freak out if you are trying to access the data encrypted by CSS. | ||
- | The best solution I've found to work around this mess? Close the DVD tray and wait 30 seconds for the device to finish polling. | + | The best solution I've found to work around this mess? Close the DVD tray and wait 30 seconds for the device to finish polling. Seriously. |
You can duplicate the scenario if you like, like this: | You can duplicate the scenario if you like, like this: |