You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(4) |
Feb
(19) |
Mar
(5) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(21) |
Aug
(27) |
Sep
|
Oct
(5) |
Nov
(4) |
Dec
(3) |
| 2002 |
Jan
(27) |
Feb
(33) |
Mar
(25) |
Apr
(40) |
May
(58) |
Jun
(25) |
Jul
(39) |
Aug
(23) |
Sep
(15) |
Oct
(26) |
Nov
(75) |
Dec
(35) |
| 2003 |
Jan
(29) |
Feb
(13) |
Mar
(24) |
Apr
(58) |
May
(27) |
Jun
(21) |
Jul
(11) |
Aug
(24) |
Sep
(6) |
Oct
(6) |
Nov
(30) |
Dec
(71) |
| 2004 |
Jan
(125) |
Feb
(47) |
Mar
(31) |
Apr
(29) |
May
(53) |
Jun
(29) |
Jul
(43) |
Aug
(19) |
Sep
(69) |
Oct
(38) |
Nov
(38) |
Dec
(37) |
| 2005 |
Jan
(59) |
Feb
(92) |
Mar
(32) |
Apr
(54) |
May
(29) |
Jun
(27) |
Jul
(34) |
Aug
(46) |
Sep
(47) |
Oct
(43) |
Nov
(63) |
Dec
(112) |
| 2006 |
Jan
(99) |
Feb
(117) |
Mar
(68) |
Apr
(59) |
May
(66) |
Jun
(32) |
Jul
(65) |
Aug
(85) |
Sep
(44) |
Oct
(113) |
Nov
(334) |
Dec
(42) |
| 2007 |
Jan
(64) |
Feb
(147) |
Mar
(245) |
Apr
(427) |
May
(229) |
Jun
(66) |
Jul
(56) |
Aug
(58) |
Sep
(82) |
Oct
(109) |
Nov
(196) |
Dec
(78) |
| 2008 |
Jan
(143) |
Feb
(79) |
Mar
(85) |
Apr
(126) |
May
(405) |
Jun
(259) |
Jul
(218) |
Aug
(118) |
Sep
(116) |
Oct
(135) |
Nov
(105) |
Dec
(79) |
| 2009 |
Jan
(196) |
Feb
(146) |
Mar
(60) |
Apr
(180) |
May
(229) |
Jun
(206) |
Jul
(126) |
Aug
(155) |
Sep
(276) |
Oct
(160) |
Nov
(120) |
Dec
(185) |
| 2010 |
Jan
(685) |
Feb
(581) |
Mar
(460) |
Apr
(650) |
May
(495) |
Jun
(567) |
Jul
(375) |
Aug
(518) |
Sep
(531) |
Oct
(487) |
Nov
(269) |
Dec
(461) |
| 2011 |
Jan
(524) |
Feb
(457) |
Mar
(385) |
Apr
(316) |
May
(229) |
Jun
(480) |
Jul
(302) |
Aug
(243) |
Sep
(411) |
Oct
(158) |
Nov
(171) |
Dec
(269) |
| 2012 |
Jan
(117) |
Feb
(177) |
Mar
(225) |
Apr
(251) |
May
(150) |
Jun
(228) |
Jul
(127) |
Aug
(74) |
Sep
(128) |
Oct
(106) |
Nov
(47) |
Dec
(73) |
| 2013 |
Jan
(83) |
Feb
(224) |
Mar
(69) |
Apr
(182) |
May
(118) |
Jun
(52) |
Jul
(180) |
Aug
(43) |
Sep
(43) |
Oct
(54) |
Nov
(18) |
Dec
(43) |
| 2014 |
Jan
(40) |
Feb
(78) |
Mar
(138) |
Apr
(85) |
May
(65) |
Jun
(81) |
Jul
(56) |
Aug
(116) |
Sep
(123) |
Oct
(60) |
Nov
(74) |
Dec
(99) |
| 2015 |
Jan
(120) |
Feb
(126) |
Mar
(176) |
Apr
(133) |
May
(124) |
Jun
(60) |
Jul
(54) |
Aug
(92) |
Sep
(134) |
Oct
(75) |
Nov
(48) |
Dec
(78) |
| 2016 |
Jan
(94) |
Feb
(89) |
Mar
(109) |
Apr
(33) |
May
(25) |
Jun
(64) |
Jul
(54) |
Aug
(26) |
Sep
(59) |
Oct
(30) |
Nov
(77) |
Dec
(16) |
| 2017 |
Jan
(37) |
Feb
(22) |
Mar
(25) |
Apr
(7) |
May
(36) |
Jun
(10) |
Jul
(64) |
Aug
(39) |
Sep
(22) |
Oct
(26) |
Nov
(27) |
Dec
(14) |
| 2018 |
Jan
(10) |
Feb
(31) |
Mar
(15) |
Apr
(35) |
May
(20) |
Jun
(13) |
Jul
(10) |
Aug
(6) |
Sep
(22) |
Oct
(13) |
Nov
(52) |
Dec
(23) |
| 2019 |
Jan
(25) |
Feb
(17) |
Mar
(30) |
Apr
(34) |
May
(12) |
Jun
(10) |
Jul
(26) |
Aug
(13) |
Sep
(24) |
Oct
(12) |
Nov
(9) |
Dec
(5) |
| 2020 |
Jan
(24) |
Feb
(12) |
Mar
(40) |
Apr
(20) |
May
(12) |
Jun
(10) |
Jul
(41) |
Aug
(20) |
Sep
(24) |
Oct
(4) |
Nov
(6) |
Dec
(38) |
| 2021 |
Jan
(34) |
Feb
(33) |
Mar
(10) |
Apr
(12) |
May
(10) |
Jun
(49) |
Jul
(49) |
Aug
(17) |
Sep
(43) |
Oct
(11) |
Nov
(2) |
Dec
(13) |
| 2022 |
Jan
(14) |
Feb
(14) |
Mar
(1) |
Apr
(6) |
May
(6) |
Jun
(10) |
Jul
|
Aug
(3) |
Sep
(6) |
Oct
(19) |
Nov
(9) |
Dec
(5) |
| 2023 |
Jan
(4) |
Feb
(9) |
Mar
(30) |
Apr
(17) |
May
(5) |
Jun
|
Jul
(39) |
Aug
(7) |
Sep
(3) |
Oct
(6) |
Nov
|
Dec
(3) |
| 2024 |
Jan
(2) |
Feb
|
Mar
(17) |
Apr
(16) |
May
(14) |
Jun
(13) |
Jul
(7) |
Aug
(3) |
Sep
(8) |
Oct
(19) |
Nov
(1) |
Dec
|
| 2025 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
|
2
(2) |
3
|
4
|
5
|
6
|
7
|
|
8
|
9
|
10
|
11
(2) |
12
(1) |
13
|
14
|
|
15
|
16
|
17
|
18
|
19
|
20
|
21
|
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
|
29
|
30
|
31
|
|
|
|
|
|
From: Hongyu L. <lai...@gm...> - 2019-12-12 03:10:48
|
I see I am not use libusb to operate the file on USB disk device, I am only use libusb to open the device, claim the interface, pass the USB transfer packets to the up-level progrems, and the other low-level communication with USB device. I can run my program successfully on Windows, but when I move the program to the macOS, I get this claim_interface error. I think the major problem is hard to detach the device from kernel USB mass storage driver, am I correct? Xiaofan Chen <xia...@gm...> 于2019年12月11日周三 下午10:18写道: > On Wed, Dec 11, 2019 at 10:54 AM Hongyu Lai <lai...@gm...> wrote: > > > > hello, > > I am trying run libusb on macOS, and I met a problem, > > I run the fxload example, try to load a USB flash disk device, and I got > this error: > > > > libusb: error [darwin_claim_interface] USBInterfaceOpen: another process > has > > device opened for exclusive access > > > > the libusb version I used is 1.0.23, > > the macOS version is 10.14.6 Mojave > > > > Is there any other ways to fix this problem? > > Please do not use a disk with a flash driver with libusb. > > If you want to learn about USB, use a proper USB demo boards from popular > MCU vendors, for example, Microchip, ST Microelectronics, etc. > > https://github.com/libusb/libusb/wiki/FAQ#Can_I_use_libusb_to_open_a_file_on_an_USB_storage_device > > Particularly for macOS, there is no practical way for you to detach the > kernel > USB mass storage driver. > > -- > Xiaofan > > > _______________________________________________ > libusb-devel mailing list > lib...@li... > https://lists.sourceforge.net/lists/listinfo/libusb-devel > |
|
From: Xiaofan C. <xia...@gm...> - 2019-12-11 14:16:26
|
On Wed, Dec 11, 2019 at 10:54 AM Hongyu Lai <lai...@gm...> wrote: > > hello, > I am trying run libusb on macOS, and I met a problem, > I run the fxload example, try to load a USB flash disk device, and I got this error: > > libusb: error [darwin_claim_interface] USBInterfaceOpen: another process has > device opened for exclusive access > > the libusb version I used is 1.0.23, > the macOS version is 10.14.6 Mojave > > Is there any other ways to fix this problem? Please do not use a disk with a flash driver with libusb. If you want to learn about USB, use a proper USB demo boards from popular MCU vendors, for example, Microchip, ST Microelectronics, etc. https://github.com/libusb/libusb/wiki/FAQ#Can_I_use_libusb_to_open_a_file_on_an_USB_storage_device Particularly for macOS, there is no practical way for you to detach the kernel USB mass storage driver. -- Xiaofan |
|
From: Hongyu L. <lai...@gm...> - 2019-12-11 02:52:00
|
hello, I am trying run libusb on macOS, and I met a problem, I run the fxload example, try to load a USB flash disk device, and I got this error: libusb: error [darwin_claim_interface] USBInterfaceOpen: another process has device opened for exclusive access the libusb version I used is 1.0.23, the macOS version is 10.14.6 Mojave Is there any other ways to fix this problem? |
|
From: Tim R. <ti...@pr...> - 2019-12-02 01:41:56
|
On Dec 1, 2019, at 4:36 PM, Michael Deng <Den...@ou...> wrote: > > I have another question building onto 3. Say I want to send a bulk_transfer() of some variable length x, what’s the best way to store a data of that variable length, before casting it into a unsigned char *? An array? Whatever is most convenient for your program. It’s exactly like reading and writing data from files. You need a buffer of some kind. The smartest way is to use something like std::vector<uint8_t>, and in that case the .data() return is already a pointer to byte; no cast is necessary. — Tim Roberts, ti...@pr... Providenza & Boekelheide, Inc. |
|
From: Michael D. <den...@ou...> - 2019-12-02 00:37:12
|
Thanks Roberts, your answers were really helpful. I have another question building onto 3. Say I want to send a bulk_transfer() of some variable length x, what’s the best way to store a data of that variable length, before casting it into a unsigned char *? An array? From: Tim Roberts<mailto:ti...@pr...> Sent: 30 November 2019 00:45 To: lib...@li...<mailto:lib...@li...> Subject: Re: [libusb] bulk_transfer always timeouts and other questions On Nov 29, 2019, at 3:34 PM, Michael Deng <Den...@ou...<mailto:Den...@ou...>> wrote: I’m using libusb in some code on a Ubuntu guest and I have some questions (code is at the very bottom): 1. When I run my code without sudo my program libusb_open() returns -3 so I have no permission. Is this fine? By default, yes. You can use udev rules to change the permissions to allow non-root access to your device. 1. I’m using Wireshark to look over my packets whilst running my code – I thought libusb_claim_interface() would send a SET_INTERFACE packet to my device but it doesn’t. Is my understanding of the function wrong or am I using it wrong? No. libusb_claim_interface is basically a lock; it gives you ownership of the interface. If you need a set interface request, use libusb_set_interface. 1. What’s the proper way to send a hexadecimal code like the one I send below through the bulk_transfer()? Currently I’m using an unsigned short then casting it into a unsigned char * in the actual bulk_transfer(), is this fine? Are there any better ways? This is generally fine, as long as the device expects the bytes in the same order that your processor stores them. If you’re using an Intel-architecture processor, as almost all of us are these days, then your processor is little-endian, which means your 0x4001 constant is stored in memory as 0x01 0x40. If that’s the order that your hardware wants, then you’re golden. If the hardware wants them in the other order, then you’re going to need to swap them. 1. When I reach the bulk_transfer() my code timeouts (or hangs when it’s 0), when would it not timeout and why does it timeout in my code? That’s a device issue; your device did not accept the command. None of us know your device. I see it’s from Netchip, but we don’t know the details. Are you sure it wants commands on the bulk output pipe? Commands like that are often sent over the control endpoint. Can it handle a short packet, or do you need to pad it out? — Tim Roberts, ti...@pr...<mailto:ti...@pr...> Providenza & Boekelheide, Inc. |