Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-26 Thread Juan Lang
2013/8/26 Xiaofan Chen > On Sat, Aug 24, 2013 at 10:30 AM, Juan Lang wrote: > > It's not as scary as it looks, but I thought I'd first send one big > patch to > > show where it's headed. If it's easier I can break it up into several > > different patches, something like: > > 1. Move initializing

Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-26 Thread Xiaofan Chen
On Sat, Aug 24, 2013 at 10:30 AM, Juan Lang wrote: > It's not as scary as it looks, but I thought I'd first send one big patch to > show where it's headed. If it's easier I can break it up into several > different patches, something like: > 1. Move initializing a device from a USB_NODE_CONNECTION_

Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-23 Thread Juan Lang
2013/8/23 Xiaofan Chen > On Sat, Aug 24, 2013 at 12:44 AM, Juan Lang wrote: > > 2013/8/22 Xiaofan Chen > >> Again I agree with you. On the other hand, I think it is still good > >> if Juan can come out a version for review. I do not mind review and > >> carry out some testing myself. > > > > Th

Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-23 Thread Xiaofan Chen
On Sat, Aug 24, 2013 at 12:44 AM, Juan Lang wrote: > 2013/8/22 Xiaofan Chen >> Again I agree with you. On the other hand, I think it is still good >> if Juan can come out a version for review. I do not mind review and >> carry out some testing myself. > > Thanks Xiaofan. Is emailing a diff to the

Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-23 Thread Juan Lang
2013/8/22 Xiaofan Chen > >> I have a hack that works for me by falling back to WinUsb when these > >> ioctls fail, but it's pretty hacky since I don't actually know (in > >> GEN_PASS) whether the device is a WinUsb device or not. I'll work on > >> postponing the ioctls until DEV_PASS to have some

Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-22 Thread Xiaofan Chen
On Fri, Aug 23, 2013 at 9:30 AM, Pete Batard wrote: > On 2013.08.22 19:29, Juan Lang wrote: > Now, considering that it's very likely that once you upgrade your > Renesas drivers, as you should have done long ago, you will also confirm > that your issue disappears, and that I can't help but have so

Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-22 Thread Xiaofan Chen
On Fri, Aug 23, 2013 at 2:29 AM, Juan Lang wrote: > 2013/8/21 Xiaofan Chen >> >> I think in the past we have fixed a few issues for some of the Renesas >> and Intel issues. Could you give more details of the USB host >> controllers you are seeing the problems? And you may want to >> list the driv

Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-22 Thread Pete Batard
On 2013.08.22 19:29, Juan Lang wrote: > Renesas uPD720201/uPD720202 (dev 0194), driver version 2.0.32.0. (I'm > not certain which chip, I haven't looked at the board to identify.) If you're using driver version 2.0.32.0 then your chip is a uPD720200/uPD720200A. uPD720201/uPD720202 would use driv

Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-22 Thread Juan Lang
2013/8/21 Xiaofan Chen > I think in the past we have fixed a few issues for some of the Renesas > and Intel issues. Could you give more details of the USB host > controllers you are seeing the problems? And you may want to > list the driver version you are using. Maybe the vendors have > already

Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-21 Thread Xiaofan Chen
On Thu, Aug 22, 2013 at 10:51 AM, Xiaofan Chen wrote: > On Thu, Aug 22, 2013 at 10:37 AM, Juan Lang wrote: >>> Have your reported the bug to the vendor and have you try to >>> upgrade your driver to the latest version? >> >> >> No, and yes. I've seen this across a variety of hardware: >> >>> You

Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-21 Thread Xiaofan Chen
On Thu, Aug 22, 2013 at 10:37 AM, Juan Lang wrote: >> Have your reported the bug to the vendor and have you try to >> upgrade your driver to the latest version? > > > No, and yes. I've seen this across a variety of hardware: > >> You mentioned that you have problem with a TI controller and >> an I

Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-21 Thread Juan Lang
Thanks Xiaofan, 2013/8/21 Xiaofan Chen > On Thu, Aug 22, 2013 at 6:54 AM, Juan Lang wrote: > > Hi folks, > > this is a followup to my earlier query about USB 3 ports failing on > Windows > > 7. I've confirmed that the failures I see are due to bugs in the USB 3 > port > > drivers, which don't s

Re: [Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-21 Thread Xiaofan Chen
On Thu, Aug 22, 2013 at 6:54 AM, Juan Lang wrote: > Hi folks, > this is a followup to my earlier query about USB 3 ports failing on Windows > 7. I've confirmed that the failures I see are due to bugs in the USB 3 port > drivers, which don't support the > IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_E

[Libusbx-devel] Reading device descriptor and config descriptor from WinUsb

2013-08-21 Thread Juan Lang
Hi folks, this is a followup to my earlier query about USB 3 ports failing on Windows 7. I've confirmed that the failures I see are due to bugs in the USB 3 port drivers, which don't support the IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX or IOCTL_USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION ioctls. I