[Libusbx-devel] Linux patches for 1.0.9 release

Xiaofan Chen xiaofanc at gmail.com
Tue Mar 27 09:18:18 EDT 2012


On Tue, Mar 27, 2012 at 7:10 PM, Pete Batard <pete at akeo.ie> wrote:
> On 2012.03.27 09:11, Ludovic Rousseau wrote:
>> I do not understand the problem with listdevs.
>
> It's not an actual problem. I just thought the listdevs name change
> sucked, and wanted to find out whether I was the only one in that case.

I do not like the name either. The original name lsusb also
sucks since it conflicts with usbutils package's lsusb which is
widely used under Linux.

> I also don't see prefixing with libusbx_ as a good idea. Part of the
> reason I thought the name isn't great is because it's longer than what
> we had, so I wouldn't want an extra prefix.

I agree.

> If everybody else doesn't have an issue with listdevs then we'll keep that.

I think the current listdevs example is a bit too weak, weaker than
libusb-0.1's testlibusb example anyway.
http://git.libusb.org/?p=libusb-compat-0.1.git;a=blob;f=examples/testlibusb.c;hb=HEAD;js=1

Can we just remove it and then create a libusb-1.0 version
of testlibusb? libusb-win32 also use a similar example of
testlibusb.
http://libusb-win32.svn.sourceforge.net/viewvc/libusb-win32/branches/libusb-testing/tests/testlibusb.c?revision=413&view=markup

On the other hand, xusb has similar functionality but the output
does not seem to be as nice as testlibusb.

-- 
Xiaofan



More information about the libusbx mailing list