Hi Joel,

> That error looks interesting. The reason we deleted the old saleae-logic
driver was so that we could get a wider audience of testers for this new
driver, so this is helpful information.

;-)


> You seem to have found a problem with my CMD_GET_FW_VERSION command. I
noticed something the other day in the firmware that might be relevant,
and
> I made a patch which I will submit soon.

I'm happy to test patches and supply extra info.


> You do have the git head fx2lafw installed, right? Does this problem
occur on all machines? Do you have more than one type of host controller
in your machine? Do these make a difference?

Yes, it's all the latest and greatest from git.

It may be good to know that during testing the device was behind an usb
hub. (it is working fine with the latest saleae software using this hub).

I just removed the hub and connected the device directly to the pc. And
now I am getting other errors:

[1]

sr: initializing fx2lafw driver
sr: ezusb: uploading firmware to device on 1.23
sr: ezusb: setting CPU reset mode on...
sr: ezusb: Uploading firmware at
/usr/local/share/libsigrok/firmware/fx2lafw-saleae-logic.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: dev: sr_dev_has_hwcap: requesting hwcap 2
sr: dev: sr_dev_has_hwcap: found hwcap 2
sr: dev: sr_dev_has_hwcap: requesting hwcap 2
sr: dev: sr_dev_has_hwcap: hwcap 2 not found
sr: dev: sr_dev_has_hwcap: requesting hwcap 2
sr: dev: sr_dev_has_hwcap: found hwcap 2
sr: dev: sr_dev_has_hwcap: requesting hwcap 2
sr: dev: sr_dev_has_hwcap: hwcap 2 not found
libusb:error [op_open] open failed, code -1 errno 19
sr: fx2lafw: Failed to open device: -1.
sr: fx2lafw: Unable to open device.
sr: session: sr_session_dev_add: dev_open failed (-1)
Failed to use device.


[2]

sr: initializing fx2lafw driver
sr: ezusb: uploading firmware to device on 1.24
sr: ezusb: setting CPU reset mode on...
sr: ezusb: Uploading firmware at
/usr/local/share/libsigrok/firmware/fx2lafw-saleae-logic.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: dev: sr_dev_has_hwcap: requesting hwcap 2
sr: dev: sr_dev_has_hwcap: found hwcap 2
sr: dev: sr_dev_has_hwcap: requesting hwcap 2
sr: dev: sr_dev_has_hwcap: hwcap 2 not found
sr: dev: sr_dev_has_hwcap: requesting hwcap 2
sr: dev: sr_dev_has_hwcap: found hwcap 2
sr: dev: sr_dev_has_hwcap: requesting hwcap 2
sr: dev: sr_dev_has_hwcap: hwcap 2 not found
libusb:error [__open_sysfs_attr] open
/sys/bus/usb/devices/(null)/descriptors failed ret=-1 errno=2
sr: fx2lafw: Failed to retrieve device list (-1)
sr: fx2lafw: Unable to open device.
sr: session: sr_session_dev_add: dev_open failed (-1)
Failed to use device.


[3]

sr: initializing fx2lafw driver
sr: ezusb: uploading firmware to device on 1.25
sr: ezusb: setting CPU reset mode on...
sr: ezusb: Uploading firmware at
/usr/local/share/libsigrok/firmware/fx2lafw-saleae-logic.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: dev: sr_dev_has_hwcap: requesting hwcap 2
sr: dev: sr_dev_has_hwcap: found hwcap 2
sr: dev: sr_dev_has_hwcap: requesting hwcap 2
sr: dev: sr_dev_has_hwcap: hwcap 2 not found
sr: dev: sr_dev_has_hwcap: requesting hwcap 2
sr: dev: sr_dev_has_hwcap: found hwcap 2
sr: dev: sr_dev_has_hwcap: requesting hwcap 2
sr: dev: sr_dev_has_hwcap: hwcap 2 not found
sr: fx2lafw: Unable to get version info: -4.
sr: fx2lafw: Failed to retrieve firmware version information.
sr: fx2lafw: Unable to open device.
sr: session: sr_session_dev_add: dev_open failed (-1)
Failed to use device.
sr: fx2lafw: Closing device 0 on 1.25 interface 0.

The -4 (LIBUSB_ERROR_NO_DEVICE) error occurs most often, with the hub it
is always -99.


> I'm having a busy couple of weeks, so I don't have much time to look at the
> problem for a few days. But hopefully we can track down the problem in
the next few days.

Hope so too.

Thanks.

-- Martin






------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to