Comment 17 for bug 875543

Revision history for this message
ethanay (ethan-y-us) wrote : Re: can't eject cd rom : Inappropriate ioctl for device

Step #3 in comment 5 above works for me:
3. 'sudo eject -i off'

So it seems that the drives are locking after eject for some reason? For me, this happens on Lubuntu 12.10. I can insert one CD and eject it, but then the drive is unusable again until I issue the command above.

It only happens with my DVD reader (/dev/sr0), not my DVD writer (/dev/sr1). lshw taken after issuing the command above, both drives are in fact empty.

 *-scsi:0
          physical id: 1
          logical name: scsi0
          capabilities: emulated
        *-cdrom:0
             description: DVD reader
             product: DVD-ROM GDR8161B
             vendor: HL-DT-ST
             physical id: 0.0.0
             bus info: scsi@0:0.0.0
             logical name: /dev/cdrom
             logical name: /dev/dvd
             logical name: /dev/sr0
             version: 0040
             capabilities: removable audio dvd
             configuration: ansiversion=5 status=nodisc
        *-cdrom:1
             description: DVD writer
             product: DVD-RW GSA-H11N
             vendor: HL-DT-ST
             physical id: 0.1.0
             bus info: scsi@0:0.1.0
             logical name: /dev/cdrom1
             logical name: /dev/cdrw1
             logical name: /dev/dvd1
             logical name: /dev/dvdrw1
             logical name: /dev/sr1
             version: JG03
             capabilities: removable audio cd-r cd-rw dvd dvd-r
             configuration: ansiversion=5 status=nodisc