|
From: Renaud C. <ren...@gm...> - 2017-04-18 15:02:44
|
It looks like email with attachments are filtered out, so here's a copy using pastebins. My adapter is on /dev/bus/usb/003/062 - but we can see that there's no SYS_OPEN to that device which confirms my `hid_enumerate()` observations: https://pastebin.com/af5j4JtR https://pastebin.com/RVkN003K The hidapi version is the 0.7.0 On Tue, Apr 18, 2017 at 10:56 AM Renaud Cerrato <ren...@gm...> wrote: > Not sure you received my previous email with the attachments? > > On Tue, Apr 18, 2017 at 10:02 AM Renaud Cerrato <ren...@gm...> > wrote: > >> Sure, here it is (launched with sudo), along with the lsusb output. My >> adapter is on /dev/bus/usb/003/062 - but we can see that there's no >> SYS_OPEN to that device which confirms my `hid_enumerate()` observations. >> >> hidapi is the 0.7.0 >> > >> >> On Tue, Apr 18, 2017 at 8:20 AM Paul Fertser <fer...@gm...> wrote: >> >>> On Tue, Apr 18, 2017 at 12:16:47PM +0000, Renaud C. wrote: >>> > Yes, I'm 100% sure this is not a permission issue as stated in the >>> gnuarmeclipse >>> > issue: >>> > [1]https://github.com/gnuarmeclipse/openocd/issues/12 >>> > I did some debug, and the `hid_enumerate()` doesn't returns that >>> adapter when >>> > using the libusb backend. Switching to the hidraw backend fixed it. I >>> didn't >>> > noticed anything wrong on the build script: >>> >>> Can you please provide strace log for the libusb backend? And HIDAPI >>> version. I can try to reproduce on my system here. >>> >>> -- >>> Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! >>> mailto:fer...@gm... >>> >> > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > OpenOCD-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openocd-devel > |