Glam Prestige Journal

Bright entertainment trends with youth appeal.

Maybe it sounds strange to use a USB-CD Drive nowadays. However, I need to get an old data from a CD and the only available CD-Drive was my old Apple's SuperDrive. Thus, I did the following steps:

  1. First connect the SuperDrive.

  2. Then, install the sg3-utils by:

    $ sudo apt-get install sg3-utils
  3. Then, to identify where the SuperDrive is use:

    $ ls -lt | less | grep sr brw-rw----+ 1 root cdrom 11, 1 jun 26 09:55 sr1 lrwxrwxrwx 1 root root 3 jun 26 09:32 cdrw -> sr0 lrwxrwxrwx 1 root root 3 jun 26 09:32 dvdrw -> sr0 lrwxrwxrwx 1 root root 3 jun 26 09:32 cdrom -> sr0 lrwxrwxrwx 1 root root 3 jun 26 09:32 dvd -> sr0 brw-rw----+ 1 root cdrom 11, 0 jun 26 09:32 sr0

    choose that with a b in the details of file, in my case is sr1

  4. Then you need to have a CD or DVD ready on the device, please do not push the CD if you try it the Drive will not allowed, the send this code to initialize the Super Drive

    $ g_raw /dev/sr1 EA 00 00 00 00 00 01 

    and magically the SuperDrive will introduce the CD and the drive can be used.

However, this procedure has to be repeated after you boot the system again.
Is there a method or procedure to do it easier ???

2 Answers

You can create a udev rule file to run this automatically. Create this as /etc/udev/rules.d/90-mac-superdrive.rules:

#
# Apple SuperDrive initialization rule
#
# See:
ACTION=="add", ATTRS{idProduct}=="1500", ATTRS{idVendor}=="05ac", DRIVERS=="usb", RUN+="/usr/bin/sg_raw %r/sr%n EA 00 00 00 00 00 01"

Read for detailed explaination:

A tiny typo from the initial post, s missing for sg_raw:
should read
$ sg_raw /dev/sr1 EA 00 00 00 00 00 01

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy