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

Add Superdrive Support for CD Playback #574

Draft
wants to merge 4 commits into
base: development
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildroot/package/beocreate/beocreate.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
################################################################################

BEOCREATE_VERSION = 7d1f48805d9efd698e50fe0d290c378faabab2ed
BEOCREATE_VERSION = 9a90d083c26601ef0fe792e7e6616d1539cd7127
BEOCREATE_SITE = $(call github,hifiberry,create,$(BEOCREATE_VERSION))

BEOCREATE_DEPENDENCIES += nodejs
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ACTION=="add", ATTRS{idProduct}=="1500", ATTRS{idVendor}=="05ac", DRIVERS=="usb", RUN+="/usr/bin/sg_raw /dev/$kernel EA 00 00 00 00 00 01"
3 changes: 3 additions & 0 deletions buildroot/package/hifiberry-mpd-cd-autoplay/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ config BR2_PACKAGE_HIFIBERRY_MPD_CD_AUTOPLAY
depends on BR2_PACKAGE_HIFIBERRY_BASE
select BR2_PACKAGE_HIFIBERRY_MPD
select BR2_PACKAGE_PYTHON_DISCID
select BR2_PACKAGE_SG3_UTILS
select BR2_PACKAGE_SG3_UTILS_PROGS
select BR2_PACKAGE_UTIL_LINUX_EJECT
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
#
################################################################################

HIFIBERRY_MPD_CD_AUTOPLAY_VERSION = 0.0.1
HIFIBERRY_MPD_CD_AUTOPLAY_VERSION = 0.0.2
HIFIBERRY_MPD_CD_AUTOPLAY_LICENSE = GPL-3.0+
HIFIBERRY_MPD_CD_AUTOPLAY_LICENSE_FILES = COPYING
HIFIBERRY_MPD_CD_AUTOPLAY_INSTALL_TARGET = YES
HIFIBERRY_MPD_CD_AUTOPLAY_SOURCE=

define HIFIBERRY_MPD_CD_AUTOPLAY_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0644 $(BR2_EXTERNAL_HIFIBERRY_PATH)/package/hifiberry-mpd-cd-autoplay/60-apple-superdrive.rules \
$(TARGET_DIR)/etc/udev/rules.d/60-apple-superdrive.rules
$(INSTALL) -D -m 0644 $(BR2_EXTERNAL_HIFIBERRY_PATH)/package/hifiberry-mpd-cd-autoplay/80-mpd-cd-autoplay.rules \
$(TARGET_DIR)/etc/udev/rules.d/80-mpd-cd-autoplay.rules
$(INSTALL) -D -m 0755 $(BR2_EXTERNAL_HIFIBERRY_PATH)/package/hifiberry-mpd-cd-autoplay/mpd-cd-autoplay.sh \
Expand Down