Skip to content
Open
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
6 changes: 3 additions & 3 deletions kvmapp/system/init.d/S03usbdev
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ start_usb_dev(){
then
echo 1 > functions/hid.GS0/subclass
fi
if [ ! -e /boot/usb.notwakeup ]
if [ -e /boot/usb.wakeup ]
then
echo 1 > functions/hid.GS0/wakeup_on_write
fi
Expand All @@ -69,7 +69,7 @@ start_usb_dev(){
then
echo 1 > functions/hid.GS1/subclass
fi
if [ ! -e /boot/usb.notwakeup ]
if [ -e /boot/usb.wakeup ]
then
echo 1 > functions/hid.GS1/wakeup_on_write
fi
Expand All @@ -84,7 +84,7 @@ start_usb_dev(){
then
echo 1 > functions/hid.GS2/subclass
fi
if [ ! -e /boot/usb.notwakeup ]
if [ -e /boot/usb.wakeup ]
then
echo 1 > functions/hid.GS2/wakeup_on_write
fi
Expand Down
6 changes: 3 additions & 3 deletions kvmapp/system/init.d/S03usbhid
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ start_usb_dev(){
# keyboard
mkdir functions/hid.GS0
echo 1 > functions/hid.GS0/subclass
if [ ! -e /boot/usb.notwakeup ]
if [ -e /boot/usb.wakeup ]
then
echo 1 > functions/hid.GS0/wakeup_on_write
fi
Expand All @@ -51,7 +51,7 @@ start_usb_dev(){
# mouse
mkdir functions/hid.GS1
echo 1 > functions/hid.GS1/subclass
if [ ! -e /boot/usb.notwakeup ]
if [ -e /boot/usb.wakeup ]
then
echo 1 > functions/hid.GS1/wakeup_on_write
fi
Expand All @@ -63,7 +63,7 @@ start_usb_dev(){
# touchpad
mkdir functions/hid.GS2
echo 1 > functions/hid.GS2/subclass
if [ ! -e /boot/usb.notwakeup ]
if [ -e /boot/usb.wakeup ]
then
echo 1 > functions/hid.GS2/wakeup_on_write
fi
Expand Down