On Tue, Oct 30, 2012 at 6:31 PM, Xiaofan Chen wrote:
> On Wed, Oct 31, 2012 at 9:29 AM, Xiaofan Chen wrote:
>> On Wed, Oct 31, 2012 at 2:25 AM, David Grant wrote:
>>> Could someone with write access to the libusbx wiki add this to the
>>> "Can I run Linux l
On Tue, Oct 30, 2012 at 3:29 PM, Peter Stuge wrote:
> David Grant wrote:
>> Rebooting is necessary for the "add user to group" change to take effect.
>
> Once the user has been added to the group, it's very easy to "upgrade"
> a running shell to use the
On Tue, Oct 30, 2012 at 2:43 PM, Tormod Volden wrote:
> On Tue, Oct 30, 2012 at 7:25 PM, David Grant wrote:
>> Could someone with write access to the libusbx wiki add this to the
>> "Can I run Linux libusbx applications without root privilege?"
>> section?
>>
On Tue, Oct 30, 2012 at 2:43 PM, Tormod Volden wrote:
> On Tue, Oct 30, 2012 at 7:25 PM, David Grant wrote:
>> cp $SCRIPT_DIR/10-libusb.rules /etc/udev/rules.d/
>> echo "In order for these changes to take effect you must restart your
>> computer"
>
> No, re
Could someone with write access to the libusbx wiki add this to the
"Can I run Linux libusbx applications without root privilege?"
section?
Example udev rules file, call it "10-libusb.rules"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="libusbusers", MODE="0664"
Example script "setup.sh" i
On Thu, Oct 25, 2012 at 12:49 AM, Markus wrote:
> Hi list,
>
> I'm having a device here, that amongst others, features some
> descriptors within the configuration descriptor, that are not
> explicitely available via the libusbx API. These are:
>
> - Interface Association Descriptor
> - Device Clas
We are looking at IADs in our code I think. And someone else at work also
wrote some descriptor parsing code in Python... I'll have a look and let
you know...
On Oct 25, 2012 1:10 AM, "Markus" wrote:
> Hi list,
>
> I'm having a device here, that amongst others, features some
> descriptors within
On Sep 19, 2012 6:35 PM, "Chuck Cook" wrote:
>
> I am having problems compiling a program against RC2. I may have used
> the wrong options when building or installing the library.
> Could somebody list the correct ./configure , make & make install
> options for a Fedora 17 x64 machine?
Can you
On Sun, Sep 16, 2012 at 9:39 AM, Pete Batard wrote:
> RC2 it is then... Please see:
> https://sourceforge.net/projects/libusbx/files/releases/1.0.13/source/
> API doc has been updated too.
>
>
I've tested mass storage and isochronous with our product in Linux and it
works great. I hope to quickly
On Sat, Sep 15, 2012 at 11:35 PM, John Chen wrote:
> Oops! I forgot attache the trace file, here it is.
>
>
> On Sat, Sep 15, 2012 at 9:31 PM, John Chen wrote:
>
>> Question: Does libusbx supports hotplug on Linux?? that's very import to
>> us. I dot not have to support hot plug in windows, but
On Fri, Sep 14, 2012 at 4:05 PM, Pete Batard wrote:
> On 2012.09.14 02:14, Xiaofan Chen wrote:
> >
> > It should work. Please try again.
> > http://sourceforge.net/p/libusbk/tickets/
> >
> > You need to log in to create a new ticket. This is to prevent spam.
> >
> > Once you log in, click "Creat
On Wed, Sep 12, 2012 at 8:49 PM, John Chen wrote:
> This approach just crash the app:
>
> DWORD WINAPI LibUSBDevice::LoopEvent(void* lpParam)
> {
> while (RunLoopCode)
> {
> try
> {
> Sleep(100);
> struct timeval tv = { 1, 0 };
> int completed =0;
> //cout << "before libusb_handle_events_timeo
On Wed, Sep 12, 2012 at 4:50 PM, John Chen wrote:
> Oops! I was not understand " running multiple simultaneous event loops"
> right, I thought in multi-threading app, of course you are running event
> multiple time.
>
> Anyway, I created a new thread and it sees to fix the problem, but now I
> am
On Wed, Sep 12, 2012 at 2:35 PM, John Chen wrote:
> Tim,
>
> If I call the same code with one thread, it works without any problem. so
> I believe it has something to do with how libusb work in multi-threading
> code.
>
> Do you have any sample code how to handle multi-threading for libusb
> asyn
On Tue, Sep 11, 2012 at 8:45 PM, John Chen wrote:
> Hi,
> My app needs be able to read & write (to different enpoint) at same time,
> and my code is not working. but if I change the call to Synchronous
> , everything works fine, could any one tell me what I did wrong here?
> thx
>
> CallBackData
On Tue, Aug 28, 2012 at 5:01 PM, Pete Batard wrote:
> I have of course now been able to confirm this, by commenting out the
> disabling of ALLOW_PARTIAL_READS in libusbx, and verifying that it lets
> K complete the mass storage test where it previously failed.
>
I removed the line that disables
On Thu, Sep 6, 2012 at 5:22 PM, John Chen wrote:
> Hi,
>
> The device I am working right now demanding sending and receiving data in
> unsigned int, and every bit has to be in exact position, in windows it is
> easy as the DeviceIoContorl takes a void pointer, but in libusb, both
> libusb_bulk_tr
On Wed, Sep 5, 2012 at 9:32 AM, Anthony Clay wrote:
>
>> It's actually *very* simple ...if you take the time to look at what it's
> doing, before declaring it as complex. Code that isn't immediately
> self-documenting is commented. Just because the entire file is 1000 lines
> doesn't make it comp
On Fri, Aug 31, 2012 at 3:13 AM, Xiaofan Chen wrote:
> If it is possible, please test with some USB Composite device
> as well. Thanks.
>
>
Sure, we have some webcams and such. I should probably start trying out
xusb, we haven't used it here yet.
Dave
---
On Sat, Aug 25, 2012 at 3:03 AM, Xiaofan Chen wrote:
> [ 0.518200] [11a8] libusbx: debug [winusbx_submit_bulk_transfer]
> matched end
> point 81 with interface 0
> [ 0.518200] [11a8] libusbx: debug [winusbx_submit_bulk_transfer]
> reading 36
> bytes
> [ 0.519200] [11a8] libusbx: debug
On Mon, Aug 27, 2012 at 2:42 PM, Pete Batard wrote:
> On 2012.08.27 21:56, David Grant wrote:
> > We use Visual Studio 2008 here. Would a patch to add support for
> > Visual Studio 2008 support be accepted?
> >
> > Sorry, I should have said "considered&qu
On Mon, Aug 27, 2012 at 1:56 PM, David Grant wrote:
> We use Visual Studio 2008 here. Would a patch to add support for Visual
> Studio 2008 support be accepted?
>
>
Sorry, I should have said "consider
We use Visual Studio 2008 here. Would a patch to add support for Visual
Studio 2008 support be accepted?
Dave
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat la
On Thu, Aug 23, 2012 at 1:31 PM, Pete Batard wrote:
> Be mindful that what's currently missing in libwdi is not due
> to the developers thinking that it may be too complex to implement.
> Instead, it's just the usual matter of priorities.
> Uninstallation/restore has just been (and still is) low
On Thu, Aug 23, 2012 at 1:06 PM, David Grant wrote:
> all I have to do is right-click on the file and select "uninstall" and
> when the dialog pops-up select a checkbox that says something like "delete
> driver files as well". Then I just had to "scan f
On Fri, Aug 17, 2012 at 5:56 PM, Pete Batard wrote:
>
> Now, due to time constraints as well as other considerations
> (removing/deleting anything needs to be carefully considered), libwdi
> doesn't support restoring the original driver, so unless you also embed
> the driver to restore in the lib
On Wed, Aug 22, 2012 at 5:00 PM, Xiaofan Chen wrote:
> Please take note VirutalBox's USB support is not Open Source.
> You need the extension pack which is under non-open-source
> license.
> https://www.virtualbox.org/wiki/Downloads
> https://www.virtualbox.org/manual/ch01.html#intro-installing
>
On Wed, Aug 22, 2012 at 3:06 PM, Pete Batard wrote:
> On 2012.08.22 18:55, David Grant wrote:
> > It just seems like the driver swapping is the main
> > issue we need to resolve.
>
> Well, if you want to contribute a driver swapping/removal patch to
> libwdi, I&
On Tue, Aug 21, 2012 at 10:14 PM, Xiaofan Chen wrote:
> On Wed, Aug 22, 2012 at 8:04 AM, David Grant wrote:
> > Thanks for the detailed response Pete.
> >
> > So the big missing feature seems to be how to remove libusbK.sys and
> replace
> > it with the original
On Fri, Aug 17, 2012 at 5:56 PM, Pete Batard wrote:
>
>
> Well, libwdi can already perform the first part of silently switching an
> existing USB driver to libusbK: you could create a service based on
> libwdi (with libusbK embedded in the library), and use the libwdi silent
> installation facilit
On Fri, Aug 17, 2012 at 3:49 PM, David Grant wrote:
> On Wed, Aug 15, 2012 at 7:28 PM, Xiaofan Chen wrote:
>
>> On Thu, Aug 16, 2012 at 5:32 AM, David Grant
>> wrote:
>> > Ok, so that sounds promising. I guess the next question is: is it
>> possible
>&
On Wed, Aug 15, 2012 at 7:28 PM, Xiaofan Chen wrote:
> On Thu, Aug 16, 2012 at 5:32 AM, David Grant wrote:
> > Ok, so that sounds promising. I guess the next question is: is it
> possible
> > to use libwdi to install a filter driver for a device, or to replace that
> &g
On Wed, Aug 15, 2012 at 2:07 PM, David Grant wrote:
> On Linux we use libusb to access any that the user plugs in (except
> keyboard/mouse/hub). We just detach the kernal driver from the device and
> then claim the device and then send transfers to the device with
> libusb_submit_tra
? I've looked at using libusb-win32 as a filter driver but it
seems I can only install it as a filter driver for all classes of the
devices that are already plugged in. It sounds like WinUSB would do that
job except that it doesn't support isochronous devices.
Thanks,
D
On Fri, Aug 10, 2012 at 6:13 PM, Pete Batard wrote:
> Hi David,
>
> On 2012.08.11 00:18, David Grant wrote:
> > We may start testing very soon at my work (Teradici).
>
> Great. Please let us know how it goes.
>
I guess I should have mentioned a bit about what we are do
expect in terms of mass storage support? Were
you able to transfer files or just have the device show up in device
manager or in Windows Explorer as well?
Thanks,
David Grant
--
Live Security Virtual Conference
Exclusive liv
Hi Pete,
On Thu, Apr 19, 2012 at 5:49 PM, Pete Batard wrote:
> Hi David,
>
> On 2012.04.20 01:13, David Grant wrote:
> > Is it possible to make 1.0.9 available for download here?
> > https://github.com/pbatard/libusbx/downloads
>
> The github repository, which
Is it possible to make 1.0.9 available for download here?
https://github.com/pbatard/libusbx/downloads
Thanks,
David Grant
--
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You
On Thu, Apr 19, 2012 at 3:00 AM, Pete Batard wrote:
> All,
>
> To "celebrate" the 2 year anniversary of the last public release of
> libusb, which we think is proof enough that libusb is a dead project,
> even more so as far as the general public is concerned, quite a few of
> us (Segher, Vitali
39 matches
Mail list logo