how about

you plug in your USB widget & identify the device node (/dev/sdc1, for
example).

say your src data is in /tmp/junk

# dd if=/tmp/junk of=/devsdc1    [any other args you might want to shape
the write and some error handing ( i think, it was a long time ago...)]

man dd    {for more options}

hth,....


On Thu, Feb 4, 2016 at 7:45 AM, Hiisi <hi...@fedoraproject.org> 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
> --
> Hiisi.
> Registered Linux User #487982. Be counted at: https://linuxcounter.net/
> --
> Spandex is a privilege, not a right.
>
> --
> 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
>
>
-- 
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