Re: [Libusbx-devel] [Libusb-devel] libusb is dead - long live libusbx!

2012-04-23 Thread Tim Roberts
Jose Pablo wrote: I think Vincent is right. I am pretty sure you guys have a lot of good ideas for the library but if you keep that attitude you will not get it serious. It seen you guys are taking the project by force I think that's the intent, yes. -- Tim Roberts, t...@probo.com

Re: [Libusbx-devel] usbclerk: Windows service for signing and installing usb device drivers

2012-05-01 Thread Tim Roberts
? If you were able to install it that way, yes. You might also need to dink with the UpperFilters and LowerFilters values in the registry, too. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Live Security

Re: [Libusbx-devel] usbclerk: Windows service for signing and installing usb device drivers

2012-05-01 Thread Tim Roberts
,\ 43,00,38,00,42,00,33,00,7d,00,00,00,00,00 34c38 ActiveService=USBSTOR --- ActiveService=WinUSB You'd need to add the DeviceInterfaceGUIDs key so WinUSB knows which device interface to register. Perhaps this is a bit too much magic just to save a little bit of effort. -- Tim Roberts, t

Re: [Libusbx-devel] USB port number

2012-05-04 Thread Tim Roberts
? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can

Re: [Libusbx-devel] [PATCH] Add topology calls

2012-05-11 Thread Tim Roberts
concept mean in a VM environment? You're depending on interfaces that are system-specific but not promised by contract. Are you sure the mechanisms you need will still be there in three years? However, you're fully entitled to set policy, so I won't say any more on the topic. -- Tim Roberts, t

Re: [Libusbx-devel] libusbx, xusb and ST-Link V2

2012-05-21 Thread Tim Roberts
, right? / is what you get when a device fails to enumerate at the hardware level. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Live Security Virtual Conference Exclusive live event will cover all

Re: [Libusbx-devel] New to libusbx ... possibly idiot question

2012-05-25 Thread Tim Roberts
, the USB team at Microsoft sent out a blast saying We will add this if you have a legitimate use case for it. Let us know. No one has let them know, or at least no one that matters. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] interrupt transfer linux

2012-05-25 Thread Tim Roberts
. Also, if you want 42 bytes, you should ask for 42 bytes, not 10. In general, you should ALWAYS ask for a multiple of the endpoint's packet size. That's a HID endpoint. Are you certain there will be HID traffic waiting for you, and that you don't need to send a report request first? -- Tim

Re: [Libusbx-devel] libusb_control_transfer() stalls

2012-06-12 Thread Tim Roberts
0x4000. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers

Re: [Libusbx-devel] libusb_control_transfer() stalls

2012-06-13 Thread Tim Roberts
to have 512kB, so it shouldn't be an issue. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape

Re: [Libusbx-devel] libusb_control_transfer() stalls

2012-06-14 Thread Tim Roberts
. Their GUI is a little more video-game-like than I prefer, but it does the job. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Live Security Virtual Conference Exclusive live event will cover all the ways

Re: [Libusbx-devel] libusbx v1.0.12 has been released

2012-06-18 Thread Tim Roberts
to write a filter driver for usbport.sys on the existing operating systems to provide this same functionality. Did anyone ever undertake that project? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Live

Re: [Libusbx-devel] libusbx v1.0.12 has been released

2012-06-18 Thread Tim Roberts
as Windows 8 in terms of detecting and automatically installing drivers? You're right. I hadn't thought that through sufficiently. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Live Security Virtual

Re: [Libusbx-devel] Question about libusb_get_pollfds?

2012-06-22 Thread Tim Roberts
the endpoint6? If this is correct what is the other POLLIN file descriptor? If timerfd is available on your system, to manage timer expirations through a file descriptor, that's added to the POLLIN list. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] Question about libusb_get_pollfds?

2012-07-02 Thread Tim Roberts
? Why would you need to? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed

Re: [Libusbx-devel] libusb_get_string_descriptor_ascii always fail.

2012-07-16 Thread Tim Roberts
is well on his way to having a solution for you. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat

Re: [Libusbx-devel] Map DeviceIoControl calls to libusb_control_transfer

2012-07-16 Thread Tim Roberts
,// size reinterpret_castUCHAR*(pszAssNum));// buffer bmRequestType = 0xC2 bRequest = VR_I2C_COMMAND wValue = c_usDeviceId wIndex = c_usOffset length = c_uiLength You should be able to figure the parameters out from that. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] Map DeviceIoControl calls to libusb_control_transfer

2012-07-20 Thread Tim Roberts
Vendor other, incoming All other values of bmRequestType are invalid. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's

Re: [Libusbx-devel] Async API question:

2012-07-24 Thread Tim Roberts
. libusb_clear_halt(devh, 0x06); libusb_clear_halt(devh, 0x88); Why do you call clear_halt here? In virtually every case, that's unnecessary superstition. Are you sure your device has queued up data to send? What is it that tells your device to put data in the FX2 FIFO? -- Tim Roberts, t

Re: [Libusbx-devel] Access garmin devices using libusb on linux and windows

2012-07-24 Thread Tim Roberts
the exact interface to the Garmin DLL. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape

Re: [Libusbx-devel] Access garmin devices using libusb on linux and windows

2012-07-25 Thread Tim Roberts
formats produced by their devices. Their driver is not very complicated -- it mostly just passes requests straight through to the device. YOU ought to be able to figure out from that document what the data is you are receiving from USB. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] Access garmin devices using libusb on linux and windows

2012-07-26 Thread Tim Roberts
. We don't know more about that than you do. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat

Re: [Libusbx-devel] [PATCH] Windows CE backend and driver

2012-08-06 Thread Tim Roberts
the amd64 name embedded throughout. I assume this irritates Intel every time they see it, and so they keep having guys in nice suits whisper in the ears of Microsoft management that it would really be more fair and accurate if you dropped the amd64 name. That's gradually happening over time. -- Tim

Re: [Libusbx-devel] [PATCH] Windows CE backend and driver

2012-08-07 Thread Tim Roberts
and actually managed to set the course for mainstream 64 bit adoption. Karma's a bitch ain't it? ;) -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Live Security Virtual Conference Exclusive live event

Re: [Libusbx-devel] Handles for Windows WaitForXXX API?

2012-08-09 Thread Tim Roberts
, but it is not allowed to put anything on the wire until it gets an IN token from the host, and that will only happen if the host controller driver has a pending request from you. If you don't ask for it, the device is never given the opportunity to send. -- Tim Roberts, t...@probo.com Providenza

Re: [Libusbx-devel] More Windows/Linux discrepancies: reading from EP1IN

2012-09-06 Thread Tim Roberts
packet size of 512. That's required by the spec. Because the FX2 only has a 64-byte buffer for endpoint 1, that presents a philosophical problem, and the FX2 data sheet points this out. You have to report it as 512 bytes, but make sure you never try to do a packet larger than 64. -- Tim Roberts

Re: [Libusbx-devel] asynchronous code in mufti-threading app

2012-09-12 Thread Tim Roberts
you see? Is there an error, or does it simply never return? How many bytes are you trying to read? What is the value of endpoint? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Live Security Virtual

Re: [Libusbx-devel] Trouble with USB communication Windows

2012-09-12 Thread Tim Roberts
= libusb_claim_interface(dev_handle, interface_number);//Returns -12 for interfaces 0 and 1, Interfaces 0 and 1 are CDC (communication class). It's possible those interfaces are already being claimed by a virtual COM port driver. How did you install the libbusb driver? -- Tim Roberts, t

Re: [Libusbx-devel] asynchronous code in mufti-threading app

2012-09-12 Thread Tim Roberts
running single thread, I am serialize the call) it takes 4-5 calls for libusb_handle_events_timeout to call the callback and exit the loop. this is the case even when 0 byte is read. Well, when 0 bytes are read, it should time out. Right? -- Tim Roberts, t...@probo.com Providenza

Re: [Libusbx-devel] asynchronous code in mufti-threading app

2012-09-12 Thread Tim Roberts
, but there's not much we can do without seeing the whole code, and I'm not sure you really want to do that. You need to think about what order things are happening, remembering that asynchronous operations will always arrive at the most inconvenient time. -- Tim Roberts, t...@probo.com Providenza

Re: [Libusbx-devel] LibUSB bulkread always got a TIMEOUT

2012-09-21 Thread Tim Roberts
expected. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http

Re: [Libusbx-devel] asynchronous code in multi-threading app

2012-10-15 Thread Tim Roberts
, basically, you aren't measuring what you think you are measuring. For example, it looks like you might have a fixed delay of 2.5 seconds somewhere between your start and your stop. You can't measure throughput if you are blocking in your timing code. -- Tim Roberts, t...@probo.com Providenza

Re: [Libusbx-devel] Selecting a composite device interface?

2012-10-19 Thread Tim Roberts
requests on the bus do not include an interface number. Claiming an interface just grants you ownership of the endpoints within that interface. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Everyone hates

Re: [Libusbx-devel] Help needed with deployment issues on Windows

2012-10-26 Thread Tim Roberts
silently and does not require the normal PnP installation process, although the device has to be restarted or unplugged/replugged. I don't believe any of the libusbx back-ends operate as a filter driver. However, I thought that the libusb-win32 COULD act as a filter. Am I wrong? -- Tim Roberts, t

Re: [Libusbx-devel] Help needed with deployment issues on Windows

2012-10-29 Thread Tim Roberts
commands the disk firmware expects, and there's no good way to find out. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- The Windows 8 Center - In partnership with Sourceforge Your idea - your app - 30 days

Re: [Libusbx-devel] libusbx and Windows 8 and Windows 8 RT

2012-11-01 Thread Tim Roberts
it is worth looking at how to get it work there. WinUSB apparently works under Windows RT. The only way to use USB is through the WinRT runtime. That runtime uses WinUSB. At this point, there is no other way to do it. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] Which removable drive matches which USB device?

2012-11-13 Thread Tim Roberts
USBSTORE. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP

Re: [Libusbx-devel] libusb_claim_interface() error with usbK driver

2012-11-20 Thread Tim Roberts
an interface number at all), then you only need one driver. But if you don't register for the composite device, the system supplies one (usbccgp), which creates N separate subdevices, each of which starts crying for its own driver. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] problem reading configuration descriptor, win xp, selfmade usb device

2012-11-27 Thread Tim Roberts
library is interrupt-driven, and with an 80 MHz core, it ought to be able to keep up, unless you are intercepting the GetDescriptor request in some way. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Keep

Re: [Libusbx-devel] problem reading configuration descriptor, win xp, selfmade usb device

2012-11-28 Thread Tim Roberts
tightly coupled to Windows. This page might help you: http://www.linux-usb.org/usbtest/ -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Keep yourself connected to Go Parallel: INSIGHTS What's next

Re: [Libusbx-devel] Asynchronous transfers without C-callbacks

2012-12-05 Thread Tim Roberts
you could do the same thing yourself with a small C module. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs

Re: [Libusbx-devel] [libusbx] persisting LIBUSB_ERROR_NO_MEM on burst condition

2012-12-11 Thread Tim Roberts
, at the next millisecond boundary. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant

Re: [Libusbx-devel] libusbx and Windows 8 and Windows 8 RT

2012-12-31 Thread Tim Roberts
... This is a nice summary of the situation. I'm especially fond of your phrase going all Apple -- I will have to work that into a New Year's Eve party conversation. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] Isochronous test problem

2013-01-10 Thread Tim Roberts
a protocol violation. I guess that implicates the firmware. Have you done an lsusb to make sure the descriptors match what you expect? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Master HTML5, CSS3

Re: [Libusbx-devel] WinUSB Pipe Policy ALLOW_PARTIAL_READS and USBD_SHORT_TRANSFER_OK

2013-01-24 Thread Tim Roberts
on Linux, or presumably on other platforms. I don't see any reason why libusb or libusbx should support it. I agree. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Master Visual Studio, SharePoint, SQL

Re: [Libusbx-devel] WinUSB Pipe Policy ALLOW_PARTIAL_READS and USBD_SHORT_TRANSFER_OK

2013-01-25 Thread Tim Roberts
Xiaofan Chen wrote: On Fri, Jan 25, 2013 at 2:40 AM, Tim Roberts t...@probo.com wrote: In Microsoft's defense, this is implemented in the WinUSB wrapper DLL, not at the USB kernel level. It's a convenience. The DLL turns this into spec-compliant requests at the kernel level

Re: [Libusbx-devel] Windows: libusb_claim_interface fails on 1.0.13 and higher

2013-02-01 Thread Tim Roberts
to use the same code base (or close to it) across platforms was also an enticing factor. Let me know if you think I am off base with this. How are you going to avoid specifying a COM port across platforms? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] Windows: libusb_claim_interface fails on 1.0.13 and higher

2013-02-04 Thread Tim Roberts
to accomplish what I want using bulk transfers via Libusbx. Are there major issues with this that I'm not aware of? I'm with Alan. If it works for you, bulk traffic is the most common kind. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] Problem with Vendor class

2013-02-13 Thread Tim Roberts
with alternate setting 1. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free

Re: [Libusbx-devel] Problem with Vendor class

2013-02-18 Thread Tim Roberts
to set the alternate setting number if you have more than one, and you will (almost) never have more than one unless you have isochronous pipes. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- The Go

Re: [Libusbx-devel] Problem with Vendor class

2013-02-25 Thread Tim Roberts
setting function sends the EXACT SAME REQUEST. There's just one field that identifies the alternate setting to enable. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Everyone hates slow websites. So do we

Re: [Libusbx-devel] Problem with Vendor class

2013-02-26 Thread Tim Roberts
is unpredictable. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http

Re: [Libusbx-devel] OT driver signing in Win7 / Win8

2013-02-27 Thread Tim Roberts
a CAT file for all driver packages. Look up the inf2cat tool. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download

Re: [Libusbx-devel] OT driver signing in Win7 / Win8

2013-02-27 Thread Tim Roberts
Xiaofan Chen wrote: On Thu, Feb 28, 2013 at 2:32 AM, Tim Roberts t...@probo.com wrote: Note that Windows 8 now requires a CAT file for all driver packages. Does this cat file needs to be signed? Where is this documented? I couldn't find it written down. I learned it empirically. I find

Re: [Libusbx-devel] libftdi async transfer

2013-03-01 Thread Tim Roberts
in that code that serializes read requests. If not, then what could be the problem? That FTDI code does set the default read buffer size to 4096. That's settable, using ftdi_read_data_set_chunksize. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] Problem with Vendor class

2013-03-07 Thread Tim Roberts
should be able to do exactly 64kB/s. I have a question: is ISO transfer works with libusbx or not? Yes. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Symantec Endpoint Protection 12 positioned

Re: [Libusbx-devel] Feature request: plug-in notification.

2013-03-13 Thread Tim Roberts
an application-specific process. This is why hotplug has not already been added to libusb/libusbx. You have suggested a mechanism that would work for your application, but it's not at all clear that it is the right solution for every application. It's a very tricky problem. -- Tim Roberts, t

Re: [Libusbx-devel] Samples: Add FX3 firmware upload support for fxload

2013-03-14 Thread Tim Roberts
and connector tolerances are a LOT less forgiving at 5 GHz than they are at 480 MHz. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Everyone hates slow websites. So do we. Make your web apps faster

Re: [Libusbx-devel] [PATCH] Fix HID descriptor creation code in Windows backend

2013-03-22 Thread Tim Roberts
Form. Why not just advance the pointer in place? ed = (struct libusb_endpoint_descriptor *)((unsigned char *)ed + LIBUSB_DT_ENDPOINT_SIZE); -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Everyone

Re: [Libusbx-devel] OT Right clickable .inf file for usbser.sys on Win7

2013-04-01 Thread Tim Roberts
files, create services, and create registry entries, but it will not associate your driver with the device you're trying to drive. Right-click installs can be used for so-called legacy drivers, but it doesn't do anything that can't also be done with a batch script or a trivial C program. -- Tim

Re: [Libusbx-devel] How libusb(x) know which interface to talk to

2013-04-01 Thread Tim Roberts
an interface number in them. All they get are an endpoint number. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's

Re: [Libusbx-devel] Strange warning when enumerating device

2013-04-09 Thread Tim Roberts
Pete Batard wrote: On 2013.04.08 19:12, Tim Roberts wrote: For example, in this snippet: Opening device 0403:CFF8... libusbx: error [init_device] device '\\.\USB#VID_0403PID_CFF8MI_01#6222886B8 1' is no longer connected! the MI_01 implies that you have a separate driver for each

Re: [Libusbx-devel] [RFC] Windows event handling improvements

2013-04-11 Thread Tim Roberts
on was absolutely insignificant when compared to the overhead of user/kernel transitions and user event processing. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Precog is a next-generation analytics

Re: [Libusbx-devel] [RFC] Windows event handling improvements

2013-04-12 Thread Tim Roberts
of the problem that, even if you completely eliminated all of the libusbx overhead, you would have improved the overall performance so slightly that it makes no difference. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] winusb, can't open device

2013-04-18 Thread Tim Roberts
is below. What does the configuration descriptor look like? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured

Re: [Libusbx-devel] Bulk transfer queueing order problem

2013-05-24 Thread Tim Roberts
. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full

Re: [Libusbx-devel] RFC: Add libusb_get_vendor_n_product_string function

2013-05-28 Thread Tim Roberts
lookup should go do the lookup. Beyond that, this becomes a maintenance headache. However, I may not be in the majority. I also think the project will come to regret the introduction of libusb_strerror. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] Bulk transfer queueing order problem

2013-05-28 Thread Tim Roberts
how this could happen. If you don't SEND the second buffer until you have RECEIVED the first result, how could you even get the first result unless the first buffer was already gone? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] RFC: Add libusb_get_vendor_n_product_string function

2013-05-28 Thread Tim Roberts
can't judge that. I am, admittedly, a minimalist. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your

Re: [Libusbx-devel] Improved logging v2

2013-06-27 Thread Tim Roberts
this instead: fputs(str, stderr); -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev

Re: [Libusbx-devel] libusb_open_device_with_vid_pid fails on Windows 7 on USB 3.0 ports

2013-07-25 Thread Tim Roberts
with it because of forgiving USB 2 implementations, but USB 3 is stricter. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility

Re: [Libusbx-devel] LitteWire libusb library help

2013-08-06 Thread Tim Roberts
are starting from scratch, then it might be worth considering an upgrade. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free

Re: [Libusbx-devel] Accessing composite devices using interface association

2013-08-13 Thread Tim Roberts
a PDO for MI_00. You'll only get one driver, and that driver is assigned ownership of all three interfaces. There will never be an opportunity to load MI_01 and MI_02, because it won't create those PDOs. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] Accessing composite devices using interface association

2013-08-14 Thread Tim Roberts
, the PDO will be created for MI_03, but the rewritten configuration descriptor only includes interfaces 3, 4 and 5. You don't need the IAD, because you can enumerate the interfaces you got. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] Accessing composite devices using interface association

2013-08-18 Thread Tim Roberts
usbccgp.sys or any other driver associated with the composite parent. Hmm. That would, in fact, bypass the composite parent rewriting. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Get 100% visibility

Re: [Libusbx-devel] [libusbx] Windows: hotplug/unplug support (#9)

2013-09-20 Thread Tim Roberts
. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012

Re: [Libusbx-devel] How to access multiple interfaces on windows is different to linux?

2013-09-26 Thread Tim Roberts
transfers would be exactly identical to the same device with 9 interfaces. The interfaces are only there to allow the operating system drivers to manage ownership. The bus doesn't care. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] [libusbx] Windows: hotplug/unplug support (#9)

2013-10-08 Thread Tim Roberts
something here Google is your friend. That's the ID of the internal USB hub in Dell's port replicator. -- Tim Roberts, t...@probo.commailto:t...@probo.com Providenza Boekelheide, Inc. -- October Webinars: Code for Performance

Re: [Libusbx-devel] Problems running libusbx on nonrooted Android

2013-10-24 Thread Tim Roberts
using Java code to call android.hardware.usb.UsbManager to request the permission you need. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- October Webinars: Code for Performance Free Intel webinars can help

Re: [Libusbx-devel] [libusbx] Report error for bogus string descriptors (#156)

2013-11-04 Thread Tim Roberts
to return exactly what it got. I do agree that the convenience wrapper (libusb_get_string_descriptor_ascii) can have a more sophisticated policy, but I don't think you should be lying in the lower-level interface. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] [libusbx] Report error for bogus string descriptors (#156)

2013-11-05 Thread Tim Roberts
, unless the user has requested interpretation (that is, the _ascii version). In that case, we can be free to reject bad data. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- November Webinars for C, C

Re: [Libusbx-devel] [libusbx] libusb_interrupt_transfer Segmentation fault. (#160)

2013-11-20 Thread Tim Roberts
. I'm confused by this. If you are using the HID backend, which it seems you are, you should never see ERROR_OPERATION_ABORTED. The HID backend uses CancelIo in case of a timeout, not AbortPipe. Are you specifying a timeout? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] [libusbx] libusb_interrupt_transfer Segmentation fault. (#160)

2013-11-21 Thread Tim Roberts
in hid_copy_transfer_data. Is libusbx still being maintained, or is all the energy focused on the great rejoining? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Shape the Mobile Experience: Free

Re: [Libusbx-devel] DFU Mode

2013-12-02 Thread Tim Roberts
Liang Zhu wrote: I would like to know how to ensure my usb device to be programmed comes up in DFU mode. That's entirely up to your device. It is your device that decides whether to expose its regular working interface, or its DFU interface. -- Tim Roberts, t...@probo.com Providenza

Re: [Libusbx-devel] ceusbkwrapper driver and HID driver

2013-12-06 Thread Tim Roberts
back up with its normal (e.g., HID) interface. Two entirely separate personalities. Sometimes, both interfaces are exposed all of the time. In that case, you will still drop off the bus after firmware loading and re-enumerate. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] [libusbx] Windows: field wIndex in SETUP packet always 0 (#161)

2013-12-09 Thread Tim Roberts
Kerdo Link wrote: Shouldn't 3 be 0x03? because of uint16_t? You don't honestly think there is any difference between 3 and 0x03, do you? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Sponsored

Re: [Libusbx-devel] [libusbx] Windows: field wIndex in SETUP packet always 0 (#161)

2013-12-09 Thread Tim Roberts
are you trying to send here? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http

Re: [Libusbx-devel] [libusbx] Windows: field wIndex in SETUP packet always 0 (#161)

2013-12-09 Thread Tim Roberts
in WinUSB that libusbx does not properly handle. When you send a control request, libusbx finds the first valid interface handle in its list and uses that. That does not work for INTERFACE requests. It would have to search for the MATCHING interface handle. -- Tim Roberts, t...@probo.com Providenza

Re: [Libusbx-devel] [libusbx] Windows: field wIndex in SETUP packet always 0 (#161)

2013-12-09 Thread Tim Roberts
ccier wrote: And libusbx handles this situation differently if libusbK is used? libusbx does not handle the situation at all. That's the issue. This is a WinUSB feature that libusbK does not have and libusbx did not anticipate. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc

Re: [Libusbx-devel] [libusbx] Fix super-speed isoc packet size (#163)

2013-12-12 Thread Tim Roberts
not contain any isochronous endpoints at all. Having an endpoint with a max packet size of 0 is silly. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Rapidly troubleshoot problems before they affect your business

Re: [Libusbx-devel] vendor specific control requests failing, error 87

2013-12-26 Thread Tim Roberts
request to an endpoint. If the second parameter is Request, then you are sending to endpoint 3. To do that, Windows requires that you actually own the interface that contains endpoint 3. Have you already done that? It looks like you claimed interface 1. Does that hold endpoint 3? -- Tim Roberts

Re: [Libusbx-devel] vendor specific control requests failing, error 87

2013-12-27 Thread Tim Roberts
bRequest for your own purposes, then you should use a vendor request to the device, which is 0x40 instead of 0x42. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Rapidly troubleshoot problems before

Re: [Libusbx-devel] sending data containig 0xFFFF results in crc error

2014-01-06 Thread Tim Roberts
and halted the pipe, and that the actual data you used here is irrelevant. Do you have any visibility into the device to see its status at this point? -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Rapidly

Re: [Libusbx-devel] Get file description and call sync transfer functions after a poll/select.

2014-01-06 Thread Tim Roberts
there is a pending request. A USB device cannot send data on its own, and it cannot signal that it is ready to receive. Everything starts with the host application/driver. What the poll lets you do is learn when a previously-submitted asynchronous request has completed. -- Tim Roberts, t...@probo.com

Re: [Libusbx-devel] 3 warnings in git master from Xcode

2014-01-20 Thread Tim Roberts
there must be at least two elements. Thus, your change is safe, although superfluous. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More

Re: [Libusbx-devel] 3 warnings in git master from Xcode

2014-01-21 Thread Tim Roberts
Nathan Hjelm wrote: Ah. Ok. Wasn't aware of that case. The code is question is ISO C89 to support MSVC. Do you know if the C89 standard also guarantees the rest of the struct is zeroed? Yes. That C99 wording was copied from the C89 spec, section 3.5.7. -- Tim Roberts, t...@probo.com

Re: [Libusbx-devel] 3 warnings in git master from Xcode

2014-01-21 Thread Tim Roberts
Tim Roberts wrote: Nathan Hjelm wrote: Ah. Ok. Wasn't aware of that case. The code is question is ISO C89 to support MSVC. Do you know if the C89 standard also guarantees the rest of the struct is zeroed? Yes. That C99 wording was copied from the C89 spec, section 3.5.7. HAVING SAID ALL

Re: [Libusbx-devel] Major problems using libusbx on CentOS 5

2014-01-27 Thread Tim Roberts
to mention it here, but it's not really all that hard to code directly to the usbfs ioctls, and that way you have complete control over your destiny. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- CenturyLink

Re: [Libusbx-devel] [libusb] Clarification of LibusbK windows driver architecture.

2014-03-27 Thread Tim Roberts
behind the handle. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- ___ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net

Re: [Libusbx-devel] Isochronous packets request result in 8byte garbage at the end of accumulated packets

2014-06-02 Thread Tim Roberts
difficult to imagine how anything below your application could cause this. -- Tim Roberts, t...@probo.com Providenza Boekelheide, Inc. -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new

  1   2   >