On Thu, Feb 04, 2016 at 06:45:57PM +0300, Hiisi wrote:
Hi!
Imagine I have some device connected to USB port. Is it possible to send
some code directly to that port?
Here's what I'm trying:
# echo "0" > /dev/bus/usb/004/010
-bash: echo: write error: Invalid argument
Sort of, but not like that. I'd recommend using PyUSB:
https://walac.github.io/pyusb/
--
Matthew Miller
<mattdm(a)fedoraproject.org>
Fedora Project Leader