Linux: disbale USB without disabling power
Posted
by
Ergot
on Super User
See other posts from Super User
or by Ergot
Published on 2014-06-09T14:20:27Z
Indexed on
2014/06/09
15:30 UTC
Read the original article
Hit count: 257
TLDR
I want toggle between the following usages of a usb-port via the terminal:
- use like a normal usb-port
- only supply energy to charge
Story
I recently got me something like a magna doodle that can save your drawings to pdf, which can be moved to your computer via usb afterwards.
Now the thing is that you can't save anything while it's plugged in.
Because it's the only way to charge it, it bugs me that I can't find a software solution and laziness I want to keep it plugged in and toggle the connection to the computer only when needed.
I noticed that it's charging and usable when it is plugged in and the computer is shut down or suspened. So I guess that there's a way to do it.
Tech info
- computer: ThinkPad X201
- Linux Kernel: 3.14.5-1-ARCH
- "Magna doodle": Boogie Board Sync
© Super User or respective owner