On Sat, Mar 24, 2007 at 05:53:35PM -0700, Jeffrey W. Baker wrote:
> In my initial experiments, bcharge doesn't work on the 8700 (which is
> the only device I have at my house today).  The charge indicator on the
> device shows briefly but then disappears.  The same charge indicator
> blinks on any usb traffic such as lsusb.  With VMWare running the device
> charges steadily.

Thanks very much for your testing.


> I captured the initial traffic between windows and the device, which
> shows this control message:
> 
> usb 5-2: usbdev_ioctl: CONTROL
> usb 5-2: control read: bRequest=06 bRrequestType=80 wValue=0300 wIndex=0000 
> wLength=0004
> 
> I think that's a normal request to identify the device, no?  This is

Yes, it's a GET_DESCRIPTOR message.


> followed by a number of SUBMITURB messages.  Windows doesn't seem to
> make any other CONTROL messages, but it does manages to make the device
> charge.
> 
> The initial traffic between windows and the device follows:
> 
> usbdev_ioctl: CLAIMINTERFACE
> usbdev_ioctl: CONTROL
> usb 5-2: control read: bRequest=06 bRrequestType=80 wValue=0300 wIndex=0000 
> wLength=0004
> usbfs: USBDEVFS_CONTROL failed cmd vmware-vmx rqt 128 rq 6 len 4 ret -75
> usbdev_ioctl: SUBMITURB
> usb 5-2: control urb
> usb 5-2: submit urb
> usb 5-2: direction=IN
> usb 5-2: userurb=9ce83cf0
> usb 5-2: transfer_buffer_length=64
> usb 5-2: actual_length=0
> usb 5-2: data: 

There are two ways for the kernel to send a control message, one through
a CONTROL command, and one through a SUBMITURB.  VMWare uses SUBMITURB
for nearly everything it does.

Unfortunately older kernels (2.6.19 and older) had a bug that did not
log the control related data of these messages.  From the log here,
I suspect you're running an older kernel, is that correct?

You may wish to upgrade your kernel to 2.6.20 or higher, which contains
the needed patch.

You can also find the patch here, for 2.6.18.1, if you build your own kernels:

        http://marc.theaimsgroup.com/?l=linux-kernel&m=116625529726498&w=2

- Chris


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to