Hi,
I'm currently using 2.4.5 kernel on an Assabet like board. While the host
controller (ohci) and root hub seem to initialize correctly, I have problems
connecting devices to the hub. I receive errors 32 and 110 (EPIPE,
ETIMEDOUT) when hub.c tries to attach a new device (usb_new_device()) and
set the device address (usb_set_address(), from usb.c):
"USB device not accepting new address=xx"
I'm trying to duplicate the functionality of the funtion pointed to by
submit_urb() (from struct usb_operations) but am not sure where (or how)
it's implemented. Is there a way to manually send package and send URBs to
test if I can read some control reg or something like that?
Thanks,
Neil
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 12:20 PM
To: Greg KH
Cc: [EMAIL PROTECTED]
Subject: Re: [linux-usb-devel] Timeouts sending 1024 byte control
messages in userspace
> On Thu, Jun 28, 2001 at 08:11:38PM +0200, [EMAIL PROTECTED]
wrote:
> > I've written a small program to download firmware to a device (according
> > to the USB DFU specs).
>
> I don't think this has anything to do with your problem, but shouldn't
> the firmware file to be downloaded contain the DFU file suffix on it?
> If so, you need to do a little more work than just reading in the entire
> file into memory and then transferring it down. A nice checksum to make
> sure the file is valid might be nice :)
Of course, but at this time that's not that important. I know the firmware
file is correct, and want to test the upload part first. I'll get into the
nitty gritty after that's working. :)
> Just a thought,
And a good one. I'm just not that far yet, I want to get rid of those
timeouts first. I'll get that checksum after that... :) It hasn't got the
complete DFU state machine yet either.
Thanks for the input,
Bas Vermeulen
--
"God, root, what is difference?"
-- Pitr, User Friendly
"God is more forgiving."
-- Dave Aronson
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel