Commit 3a4b0fdd authored by aTc's avatar aTc
Browse files

remove tiler hack, use udev for nub mode

parent bc09b687
[Unit]
Description=Pyra nubs
Before=pyra-first-run
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/share/pyra/scripts/nubs.sh
[Install]
WantedBy=graphical.target
debian/tiler.service /lib/systemd/system/
debian/nubs.service /lib/systemd/system/
omapdrm.conf /etc/modules-load.d/
nubs.rules /lib/udev/rules.d/
[Unit]
Description=Tiler fix
Before=pyra-first-run.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/share/pyra/scripts/tiler.sh
[Install]
WantedBy=graphical.target
KERNELS=="input*", SUBSYSTEMS=="input", ATTRS{name}=="nub0", RUN+="/bin/sh -c 'echo mouse > /proc/pandora/nub0/mode' "
KERNELS=="input*", SUBSYSTEMS=="input", ATTRS{name}=="nub1", RUN+="/bin/sh -c 'echo mbuttons > /proc/pandora/nub1/mode' "
......@@ -22,7 +22,7 @@ amixer -c $CARD -q set "Headset Power Mode" "High-Performance"
amixer -c $CARD -q set "PLL Selection" "High-Performance"
amixer -c $CARD -q set "Headset Power Mode" "Low-Power"
amixer -c $CARD -q set "PLL Selection" "Low-Power"
amixer -c $CARD -q set "Vibra Left Playback" "Audio PDM"
amixer -c $CARD -q set "Vibra Right Playback" "Audio PDM"
amixer -c $CARD -q set "Vibra Left Playback" "Input FF"
amixer -c $CARD -q set "Vibra Right Playback" "Input FF"
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment