mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
lirc: add initial xbox remote support, needs some more work, this partly fixes #783
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
9c4f79bbb8
commit
a673f122ff
@ -36,6 +36,10 @@ ENV{ID_VENDOR_ID}=="0fe9", ENV{ID_MODEL_ID}=="9010", \
|
||||
ENV{lircd_driver}="dvico", \
|
||||
ENV{lircd_conf}="/etc/lirc/lircd.conf"
|
||||
|
||||
ENV{ID_VENDOR_ID}=="045e", ENV{ID_MODEL_ID}=="0284", \
|
||||
ENV{lircd_driver}="default", \
|
||||
ENV{lircd_conf}="/etc/lirc/lircd.conf.xbox"
|
||||
|
||||
# Enable wake-on-usb for the USB remotes.
|
||||
ENV{lircd_driver}=="?*", ENV{lircd_conf}=="?*", RUN+="wakeup_enable"
|
||||
|
||||
|
@ -39,9 +39,12 @@ cd $PKG_BUILD
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-sandboxed \
|
||||
--with-gnu-ld \
|
||||
--without-x \
|
||||
--with-driver=userspace \
|
||||
--with-driver=xbox \
|
||||
--with-syslog=LOG_DAEMON \
|
||||
--with-kerneldir=$(kernel_path) \
|
||||
$DEBUG_CONFIG
|
||||
|
@ -22,13 +22,18 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
VER=`ls $BUILD/linux*/modules/lib/modules`
|
||||
|
||||
# LIRC kernel driver
|
||||
mkdir -p $INSTALL/lib/modules/$VER/lirc
|
||||
cp $PKG_BUILD/drivers/lirc_*/*.ko $INSTALL/lib/modules/$VER/lirc
|
||||
|
||||
mkdir -p $INSTALL/usr/sbin
|
||||
cp $PKG_BUILD/daemons/lircd $INSTALL/usr/sbin
|
||||
cp $PKG_BUILD/daemons/lircmd $INSTALL/usr/sbin # do we need this?
|
||||
|
||||
mkdir -p $INSTALL/etc/lirc
|
||||
cp $PKG_BUILD/remotes/mceusb/lircd.conf.mceusb $INSTALL/etc/lirc/lircd.conf
|
||||
cp $PKG_BUILD/remotes/devinput/lircd.conf.devinput $INSTALL/etc/lirc
|
||||
cp $PKG_BUILD/remotes/xbox/lircd.conf.xbox $INSTALL/etc/lirc
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/tools/.libs/ircat $INSTALL/usr/bin # do we need this?
|
||||
|
1169
packages/sysutils/remote/lirc/patches/lirc-0.9.0-021-lirc_xbox.patch
Normal file
1169
packages/sysutils/remote/lirc/patches/lirc-0.9.0-021-lirc_xbox.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user