On Thu, 7 Oct 2004, j d wrote:

> Hi,
> 
> I'm working on linux-2.4.19 with the USB support
> disabled. I need to communicate to the device.  I am
> able to initialize the host controller and get the
> device detect on the ports.

Why are you doing all of this with USB support disabled?  Why not simply 
enable USB support and let the kernel do the work for you?

> Now I'm trying to send the standard control request. I
> do not see any error in the USBSTS resgoster while I
> send the request from host to device. I am trying with
> GET_DEVICE_DESCRIPTOR request I do not see any
> response or data from the device. Before 
> this I have sent SET_ADDRESS request with device
> address zero. Now how can I confirm that the
> usb_set_address() has been successful.

You have to look at the Control and Status dword for your TDs.

> Now cam I send
> get_device_descriptor() to get the device descriptor
> or should I have to do anything else?

If you have a full speed device, you need to know the maxpacket size for 
endpoint 0 first.

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to