Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error opening MBA SuperDrive "/dev/sr0" #4

Open
shurikenZ22 opened this issue Mar 11, 2021 · 1 comment
Open

Error opening MBA SuperDrive "/dev/sr0" #4

shurikenZ22 opened this issue Mar 11, 2021 · 1 comment

Comments

@shurikenZ22
Copy link

shurikenZ22 commented Mar 11, 2021

Trying to compile this in Linux Mint 20.1, I get this issue:

gcc -o superdriveEnabler superdriveEnabler.c
superdriveEnabler.c: In function ‘superdriveEnabler’:
superdriveEnabler.c:37:9: warning: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration]
   37 |         close(fd);
      |         ^~~~~
      |         pclose

I tried executing it anyway and it resulted in this:

/superdriveEnabler /dev/sr0
Error opening MBA SuperDrive "/dev/sr0".

My SuperDrive has a disc inserted, but doesn't activate with this.

Edit: Seems it does work however you must execute it right away after connecting the SuperDrive to the computer.
Edit2: It seems the change is not permanent. Once you unplug it, superdrive-enabler needs to be executed again next time you want to use the SuperDrive

@DolleDries
Copy link

Can't get it working on Ubuntu 20.04. When I insert a disc it spins but doesnot shown anything. On the macbook (2009) it came from the drive works perfectly... Just on that macbook though. Could i be that the drive is too old???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants