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
<mat...@fedoraproject.org>
Fedora Project Leader
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to