Comment 10 for bug 281335

Revision history for this message
Sergiu Bivol (sergiu-bivol) wrote :

Tested on Karmic - it doesn't work. Debug output:

root@dell:/lib/udev# ./modem-modeswitch -v 0x19d2 -p 0x2000 -t option-zerocd -d
D: Found mass storage device:
D: Endpoints: 2
D: Class: 0x8
D: SubClass: 0x6
D: Protocol: 0x50
D: Found modem mass storage device '005'
D: 005: found already attached driver 'usb-storage'
D: 005: REZERO command sent.

It does something to the CD-ROM, causing it to disappear, but nothing else. The modem itself does not switch. Replugging the modem and doing 'eject sr1' Just Works (tm).

I suppose it'd be easier to use the simple and tested 'eject' command instead of debugging 'modem-modeswitch' and trying to figure out other alternative ways of ejecting a CD :)