On 2016-04-12 05:44, Brian Beattie wrote: > Hi, > I,ve built libsigrok...sigrok-cli and I'm trying to access my > Hantek6022BE. I'm having mixed success. I'm wondering if any body > could give me a few pointers on where in the code > (libsigrok/src/hardware/hantek-6xxx/api.c ?) to look, maybe I need to > reset something, or do some cleanup on exit. Even general pointers on > what might cause this problem would help. > > I run the command: > > sigrok-cli -l 5 --driver hantek-6xxx --samples 100 > > The first time it seems to complete successfully. If I run it again > and I get: > > ... > sr: [00:00.090638] hwdriver: sr_config_get(): key 30000 (samplerate) sdi > 0x1200c90 cg NULL -> uint64 8000000 > sr: [00:00.090721] hantek-6xxx: trigger > sr: [00:00.090753] hantek-6xxx: hantek_6xxx_write_control: 0xe3 0x1 > sr: [00:00.095104] hantek-6xxx: Request channel data. > sr: [00:00.095614] hantek-6xxx: data_amount 800 > sr: [00:00.095653] hantek-6xxx: Request channel data. > sr: [00:00.099660] hantek-6xxx: Failed to submit transfer: > LIBUSB_ERROR_NO_DEVICE. > > I have to disconnect the USB cable to be able to run the sigrok-cli > command again. I've tried to force a reload of the firmware to > hopefully reset every thing. According to the log it loaded the > firmware but, given the timing I don't think it actually reset the > 6022. > > Thanks. >
Did you compile and install the firmware package ? And can you post usb logs before and after you run sigrok-cli the first time ? MvH Benjamin Larson ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ sigrok-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sigrok-devel

