Thanks Joel,
I will give it a try - might take me a few minutes to get acquainted with it -
never used it before. However, I am not on European time (which I think most
of you are, given E-mail addresses and names) - I am in California (PST = GMT
- 8h). So as far as you guys are concerned, I am pretty much nocturnal :-)
At any rate, please let me know how I can help you help me get that thing
rolling.
Ekkehard
On Thursday, December 06, 2012 11:04:14 AM Joel Holdsworth wrote:
Hi Ekkehard,
What you're experiencing sounds odd. Last I knew the SX was easy to support.
You may be stumbling on bugs, at the very least our documentation needs to be
clearer I think.
My suggestion would be join us at #sigrok on freenode IRC channel. Then we can
try things more rapidly. If you're on europe time, there will probably be
intermittent chatter throughout the day. If you say hello, someone will
probably respond in less than 1hour.
biot, uwe_: Do either one of you have an SX that you could attempt to
reproduce this issue? I guess I could use my AX-clone, but I'm not going to
have much time for a few days.
Joel
On 05 December 2012 at 22:24 "W. Ekkehard Blanz" <ekkehard.blanz@...>
wrote:
Nope - of course I did not install fx2lafw :-) - I'm a newbee - did not know I
had to...
Did that now.
I also copied the udev rules file (thanks Joel and Alex!!). Just a thought:
Could the make install of e.g. sigrok-cli take care of that?
Upon inspection of the rules file, I even made sure that I am a member of
group plugdev ;-)
After that: Success!! :-) Well, sort of...
$ sigrok-cli --list-devices
sr: Failed to get device descriptor: -1. (Bug?)
The following devices were found:
Demo device with 8 probes: 0 1 2 3 4 5 6 7
CWAV USBee SX with 8 probes: 0 1 2 3 4 5 6 7
$
but the short form -D works better (not if executed right away though, see
below):
$ sigrok-cli -D
The following devices were found:
Demo device with 8 probes: 0 1 2 3 4 5 6 7
CWAV USBee SX with 8 probes: 0 1 2 3 4 5 6 7
$
No more error messages. One problem left here: The device ID is not printed as
in the example output on the wiki page. (Bug or Feature?)
That was cool - but only once :-( When I tried it again, the process was "disk
sleep" forever (I thought it had crashed), then came back after a minute or so
and did not show the USBee SX anymore:
$ sigrok-cli -D
The following devices were found:
Demo device with 8 probes: 0 1 2 3 4 5 6 7
$
Turns out the USBee SX is gone from the list of USB devices after the first
execution of sigrok-cli; in other words, lsusb doesn't show it anymore.
Unplugging and re-plugging the USBee SX fixes that - but only for one more
execution of sigrok-cli. Then I have to do the unplug/re-plug thing again.
To probe furhter: When I try to capture 10 samples while the SX is present as
a USB device, I get
$ sigrok-cli -l 5 --samples 10
sr: libsigrok loglevel set to 5.
srd: libsigrokdecode loglevel set to 5.
sr: Sanity-checking all drivers.
sr: tondaj-sl-814: Couldn't determine connection options.
sr: la8: Probing for VID/PID 0403:6001.
sr: la8: Probing for VID/PID 0403:8867.
sr: ezusb: uploading firmware to device on 2.64
sr: ezusb: setting CPU reset mode on...
sr: ezusb: Uploading firmware at /usr/local/share/sigrok-firmware/fx2lafw-
cwav-usbeesx.fw
sr: ezusb: Uploaded 4096 bytes
sr: ezusb: Uploaded 4096 bytes
sr: ezusb: Uploaded 4096 bytes
sr: ezusb: Uploaded 4024 bytes
sr: ezusb: Firmware upload done
sr: ezusb: setting CPU reset mode off...
sr: serial-dmm: Selected 'digitek-dt4000zc' subdriver.
sr: serial-dmm: Selected 'tekpower-tp4000zc' subdriver.
sr: serial-dmm: Selected 'metex-me31' subdriver.
sr: serial-dmm: Selected 'peaktech-3410' subdriver.
sr: serial-dmm: Selected 'mastech-mas345' subdriver.
sr: serial-dmm: Selected 'va-va18b' subdriver.
sr: serial-dmm: Selected 'metex-m3640d' subdriver.
sr: serial-dmm: Selected 'peaktech-4370' subdriver.
sr: serial-dmm: Selected 'pce-pce-dm32' subdriver.
sr: serial-dmm: Selected 'radioshack-22-168' subdriver.
sr: serial-dmm: Selected 'radioshack-22-812' subdriver.
sr: uni-t-dmm: Selected 'uni-t-ut61d' subdriver.
sr: usb: Extracted VID 0x1a86.
sr: usb: Extracted PID 0xe008.
sr: usb: Trying to find USB device with VID:PID = 1a86:e008.
sr: usb: VID:PID = 1d6b:0002 (1.1) doesn't match.
sr: usb: VID:PID = 1d6b:0002 (2.1) doesn't match.
sr: usb: VID:PID = 1d6b:0002 (3.1) doesn't match.
sr: usb: VID:PID = 1d6b:0001 (4.1) doesn't match.
sr: usb: VID:PID = 1d6b:0001 (5.1) doesn't match.
sr: usb: VID:PID = 1d6b:0001 (6.1) doesn't match.
sr: usb: VID:PID = 1d6b:0001 (7.1) doesn't match.
sr: usb: VID:PID = 1d6b:0002 (8.1) doesn't match.
sr: usb: VID:PID = 1d6b:0003 (9.1) doesn't match.
sr: usb: VID:PID = 046d:081b (1.3) doesn't match.
sr: usb: VID:PID = 4971:ce17 (1.4) doesn't match.
sr: usb: VID:PID = 04f9:002b (2.2) doesn't match.
sr: usb: VID:PID = 046d:c215 (4.3) doesn't match.
sr: usb: VID:PID = 8054:0001 (4.4) doesn't match.
sr: usb: VID:PID = 047d:2043 (4.5) doesn't match.
sr: usb: VID:PID = 045e:008c (4.6) doesn't match.
sr: usb: VID:PID = 058f:9410 (4.7) doesn't match.
sr: usb: Found 0 device(s).
sr: uni-t-dmm: Selected 'voltcraft-vc820' subdriver.
sr: usb: Extracted VID 0x1a86.
sr: usb: Extracted PID 0xe008.
sr: usb: Trying to find USB device with VID:PID = 1a86:e008.
sr: usb: VID:PID = 1d6b:0002 (1.1) doesn't match.
sr: usb: VID:PID = 1d6b:0002 (2.1) doesn't match.
sr: usb: VID:PID = 1d6b:0002 (3.1) doesn't match.
sr: usb: VID:PID = 1d6b:0001 (4.1) doesn't match.
sr: usb: VID:PID = 1d6b:0001 (5.1) doesn't match.
sr: usb: VID:PID = 1d6b:0001 (6.1) doesn't match.
sr: usb: VID:PID = 1d6b:0001 (7.1) doesn't match.
sr: usb: VID:PID = 1d6b:0002 (8.1) doesn't match.
sr: usb: VID:PID = 1d6b:0003 (9.1) doesn't match.
sr: usb: VID:PID = 046d:081b (1.3) doesn't match.
sr: usb: VID:PID = 4971:ce17 (1.4) doesn't match.
sr: usb: VID:PID = 04f9:002b (2.2) doesn't match.
sr: usb: VID:PID = 046d:c215 (4.3) doesn't match.
sr: usb: VID:PID = 8054:0001 (4.4) doesn't match.
sr: usb: VID:PID = 047d:2043 (4.5) doesn't match.
sr: usb: VID:PID = 045e:008c (4.6) doesn't match.
sr: usb: VID:PID = 058f:9410 (4.7) doesn't match.
sr: usb: Found 0 device(s).
sigrok-cli only supports one device for capturing.
$
Am I reading that right?
It loses the device right after the firmware is loaded ("uploading firmware to
device on 2.64" - 2.64 was the correct Bus/Device combination, BTW). The
sigrok-cli long output then shows that it is going through every single USB
device on my machine, but the USBee SX appears to be already gone from that
list by that time. I cannot spot the VID:PID combination from the USBee SX
(08a9:0009) anywhere in the output of sigrok-cli.
Please tell me what I am still missing... Something else I didn't install???
Thanks for your patience!!!
Ekkehard
|