Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Need help from programming masters (USB hub)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
dzone007  
View profile   Translate to Translated (View Original)
 More options 8 Nov, 17:07
Newsgroups: comp.arch.embedded
From: "dzone007" <joseph...@yahoo.com>
Date: Sun, 08 Nov 2009 11:07:46 -0600
Local: Sun 8 Nov 2009 17:07
Subject: Need help from programming masters (USB hub)
Hi guys!
I am just wondering if you could give some codes regarding the operation of
the USB hub. Since a USB host is capable of communicating to a single
device, I was thinking of using the USB hub as the device. The
communication is from HOST to HUB. However, I need a piece of code to
communicate to the hub to enumerate it and learn about physical bus events
like device connect/disconnect to the downstream ports, and send bus resets
out the hub ports. Some says this is simple but I dont know where to start.

Looking forward from the masters.

God Bless.
dz        

---------------------------------------        
This message was sent using the comp.arch.embedded web interface on
http://www.EmbeddedRelated.com


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leo Havmøller  
View profile   Translate to Translated (View Original)
 More options 9 Nov, 04:53
Newsgroups: comp.arch.embedded
From: Leo Havmøller <rtx...@nospam.nospam>
Date: Mon, 9 Nov 2009 05:53:03 +0100
Local: Mon 9 Nov 2009 04:53
Subject: Re: Need help from programming masters (USB hub)
"dzone007" <joseph...@yahoo.com> wrote in message

news:IuOdnUCcvuh_Z2vXnZ2dnUVZ_r6dnZ2d@giganews.com...

> Hi guys!
> I am just wondering if you could give some codes regarding the operation
> of
> the USB hub. Since a USB host is capable of communicating to a single
> device, I was thinking of using the USB hub as the device. The
> communication is from HOST to HUB. However, I need a piece of code to
> communicate to the hub to enumerate it and learn about physical bus events
> like device connect/disconnect to the downstream ports, and send bus
> resets
> out the hub ports. Some says this is simple but I dont know where to
> start.

You are basically asking for a complete USB host stack.
http://www.google.com/search?hl=da&source=hp&q=usb+host+stack&meta=&a...
There is nothing simple about it.

Leo Havmøller.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew Jackson  
View profile   Translate to Translated (View Original)
 More options 9 Nov, 08:24
Newsgroups: comp.arch.embedded
From: Andrew Jackson <a...@nospam.com>
Date: Mon, 09 Nov 2009 08:24:03 +0000
Local: Mon 9 Nov 2009 08:24
Subject: Re: Need help from programming masters (USB hub)

> I am just wondering if you could give some codes regarding the operation of
> the USB hub. Since a USB host is capable of communicating to a single
> device, I was thinking of using the USB hub as the device. The
> communication is from HOST to HUB. However, I need a piece of code to
> communicate to the hub to enumerate it and learn about physical bus events
> like device connect/disconnect to the downstream ports, and send bus resets
> out the hub ports. Some says this is simple but I dont know where to start.

Get Jan Axelson's "USB Complete" book which is a good, straightforward
introduction to all things USB.  This is much easier to deal with than
trying to plough through the USB specifications.

Enumeration of a hub is the same as that of any other USB device.
However, as Leo says, it sounds as if you need a complete host stack
which is non-trivial to write.

        Andrew


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dzone007  
View profile   Translate to Translated (View Original)
 More options 9 Nov, 14:51
Newsgroups: comp.arch.embedded
From: "dzone007" <joseph...@yahoo.com>
Date: Mon, 09 Nov 2009 08:51:27 -0600
Local: Mon 9 Nov 2009 14:51
Subject: Re: Need help from programming masters (USB hub)

Thanks for the reply.

---------------------------------------        
This message was sent using the comp.arch.embedded web interface on
http://www.EmbeddedRelated.com


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google