linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Hotplug: Reset/Reload of a  USB-device using EZ-USB
@ 2004-12-01 18:31 Per-Arne Söderkvist
  0 siblings, 0 replies; 2+ messages in thread
From: Per-Arne Söderkvist @ 2004-12-01 18:31 UTC (permalink / raw)
  To: linux-hotplug

Hello!

"We" are new into this and have now a question in this subject.

We have managed to add hotplug "scripts/files" to load the hex-file to a
USB-device using EZ-USB, it works most of the time. But sometimes something
goes wrong (can't communicate correct with the device) and we want to
reset/reload the device, similar what happens if the USB-cable is
disconnected/connected to the computer. I.e. how to do this from a program?

PS.
  We uses Fedora Core 2 with kernel 2.6.5-1.358
DS.


Best Regards,

Per-Arne Söderkvist with friends;)



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Hotplug: Reset/Reload of a  USB-device using EZ-USB
@ 2005-01-11  4:04 David Brownell
  0 siblings, 0 replies; 2+ messages in thread
From: David Brownell @ 2005-01-11  4:04 UTC (permalink / raw)
  To: linux-hotplug

On Wednesday 01 December 2004 10:31 am, Per-Arne Söderkvist wrote:
> Hello!
> 
> "We" are new into this and have now a question in this subject.
> 
> We have managed to add hotplug "scripts/files" to load the hex-file to a
> USB-device using EZ-USB, it works most of the time. But sometimes something
> goes wrong (can't communicate correct with the device) and we want to
> reset/reload the device, similar what happens if the USB-cable is
> disconnected/connected to the computer. I.e. how to do this from a program?

You should be able to do this just by running fxload against the
device, assuming your firmware forces re-enumeration.

- Dave



> 
> PS.
>   We uses Fedora Core 2 with kernel 2.6.5-1.358
> DS.
> 
> 
> Best Regards,
> 
> Per-Arne Söderkvist with friends;)
> 
> 



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-11  4:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-11  4:04 Hotplug: Reset/Reload of a USB-device using EZ-USB David Brownell
  -- strict thread matches above, loose matches on Subject: below --
2004-12-01 18:31 Per-Arne Söderkvist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).