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

Apple Superdrive support for playing CDs #566

Open
fiftysomethingguy opened this issue Sep 3, 2024 · 2 comments
Open

Apple Superdrive support for playing CDs #566

fiftysomethingguy opened this issue Sep 3, 2024 · 2 comments

Comments

@fiftysomethingguy
Copy link

Is your feature request related to a problem? Please describe.
USB Apple Superdrive is not supported for playing CDs

Describe the solution you'd like
USB Apple superdrive support to be added

Describe alternatives you've considered
Using another CD drive but they're not as cool

Additional context
@bweston6 The USB slot loading Apple Superdrive requires a bytestring sent to it before it will wake up and do anything - it won't even suck in a disc without it. Macs do this automatically. It would require the sg3_utils package to be installed and an sg_raw write command issued. This can be done by adding a rule to udev that detects the manufacturer and device ID when it is plugged in.

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"

The Superdrive also has no eject button. CDs are ejected on Mac by dragging them to the Trash can. The HiFiBerry UI would need an eject button.

@bweston6
Copy link

bweston6 commented Sep 3, 2024

Thanks! I'll have a look at this at the end of the week

@bweston6
Copy link

@hifiberry looks like this would need hifiberry/create#16 to be merged if you could take a look please. I think it would be best to put the eject button on that source page, unless you'd want it on the now playing screen somewhere.

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

No branches or pull requests

3 participants