Ive been working on implimenting a gadget toggle for my kobo using a glag file
```
menu_item : main : Toggle USB OTG : cmd_output : 500 : quiet : test -e /tmp/otg_enabled
chain_success : skip : 4
chain_always : cmd_spawn : quiet: touch /tmp/otg_enabled
chain_always : cmd_spawn : quiet: mount -t debugfs none /sys/kernel/debug
chain_always : cmd_spawn : quiet: echo host > /sys/kernel/debug/ci_hdrc.0/role
chain_always : dbg_toast : USB OTG IS ENABLED
chain_failure : skip : 3
chain_always : cmd_spawn : quiet: rm /tmp/otg_enabled
chain_always : cmd_spawn : quiet: echo gadget > /sys/kernel/debug/ci_hdrc.0/role
chain_always : dbg_toast : USB OTG IS DISABLED
```
here are the commands to do that
https://www.mobileread.com/forums/sh...d.php?t=340418
Can somebody fix this for me? i tried