On Sunday 16 March 2008 10:27:44 am Phil Dibowitz wrote:
> but I'm wondering if
> maybe the remote doesn't ACK the write because it's rebooting already or
> something...

I think thats probably the case.  

When I do the reset, the usb device goes offline and gets a new address when it 
comes back up:

usb 2-1: new full speed USB device using ohci_hcd and address 10
PM: Adding info for usb:2-1
PM: Adding info for No Bus:usbdev2.10_ep00
usb 2-1: configuration #1 chosen from 1 choice
PM: Adding info for usb:2-1:1.0
PM: Adding info for No Bus:usbdev2.10_ep81
PM: Adding info for No Bus:usbdev2.10_ep02
PM: Removing info for No Bus:usbdev2.10_ep81
PM: Removing info for No Bus:usbdev2.10_ep02
PM: Adding info for No Bus:usbdev2.10_ep81
PM: Adding info for No Bus:usbdev2.10_ep02
usb 2-1: USB disconnect, address 10
PM: Removing info for No Bus:usbdev2.10_ep81
PM: Removing info for No Bus:usbdev2.10_ep02
PM: Removing info for usb:2-1:1.0
PM: Removing info for usb:2-1
PM: Removing info for No Bus:usbdev2.10_ep00
usb 2-1: new full speed USB device using ohci_hcd and address 11
PM: Adding info for usb:2-1
PM: Adding info for No Bus:usbdev2.11_ep00
usb 2-1: configuration #1 chosen from 1 choice
PM: Adding info for usb:2-1:1.0
PM: Adding info for No Bus:usbdev2.11_ep81
PM: Adding info for No Bus:usbdev2.11_ep02

Maybe the thing to do is just ignore the return code from usb_interrupt_write, 
and instead check that the same device (identify by serial number?) comes back 
online.

-Zach


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
concordance-devel mailing list
concordance-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to