Hello,
I just uploaded a Windows binary of OpenCBM 0.4.99.102 as a bugfix for
the problematic v0.4.99.101.
In order to use it, just download it, unpack it and run install.cmd with
your normal user account! It will automatically elevate ("UAC") in order
to get the rights!
Hint: You can use your normal user account for installation. The script
will ask for the necessary rights as soon as it is needed.
Hint: For now, I tested it on Windows 7 and 10. It requires the
Powershell, so everything after Windows 7 SP1 should work.
It can be found here:
https://spiro.trikaliotis.net/download/opencbm-0.4.99.102/opencbm-0.4.99.102.zip
While installing the USB drivers, a red alert will pop up that tells
you that we are not signed, and what bad things can happen. I cannot do
anything about it as I cannot sign the binary myself.
So, If you do not trust me, do not install OpenCBM!
Possible problems:
==================
0. You get a red alert (sorry, I only have the German text) (cf.
attachment):
"Windows Security
Der Herausgeber der Treibersoftware konnte nicht überprüft werden.
(Could not determine the manufacturer of the driver software)
--> Diese Treibersoftware nicht installieren
(--> Do not install this driver software)
[...]
--> Diese Treibersoftware trotzdem installieren
(--> Install this driver software anyway)"
This is not a problem. I cannot sign the software, so Windows insists on
this popup.
If you trust me, use option 2 ("install anyway"). If not, you cannot use
OpenCBM.
1. After installation of the driver and trying to perform an OpenCBM command
(cbmctrl, ...), you get the message:
Error loading plugin '(null)': The parameter is incorrect. (87)
Error loading plugin '(null)': The parameter is incorrect. (87)
NO PLUGIN DRIVER!: The parameter is incorrect.
It seems the installation was not done correctly. Did you get an UAC
prompt when trying to install OpenCBM? Please note that an administrator
account is not enough, you need the UAC prompt (unless it is disabled by
you, of course).
It is also possible that you did not install OpenCBM at all. It needs an
installation, or it will not work.
Please use the install.cmd script, as described above.
2. After installation of the driver and trying to perform an OpenCBM command
(cbmctrl, ...), you get the message:
error: Cannot open USB device: LIBUSB_ERROR_NOT_SUPPORTED
error: no xum1541 device found
error: Cannot open USB device: LIBUSB_ERROR_NOT_SUPPORTED
error: no xum1541 device found
libusb/xum1541:: The handle is invalid.
This happens sometimes if the device is already plugged in while
installing the driver. To solve this issue, unplug the device, wait some
2 or 3 seconds and plug it in again.
Changes w.r.t.
0.4.99.101:
==========================
- Windows:
. The USB access problem should be gone now:
- no error messages or blinking after issuing commands
. Installation failed if the path of the unzipped directory
contained a space
. Install detects if installing on Windows XP or older. In this case,
it does not try to automatically install the USB drivers, as this will
fail anyway.
. On XP and older, install will change to an administrator account
instead of trying the UAC dialog (which does not exist)
- Linux:
. Fix some wrong references to directories where the .so files are
stored
. Better integration of the nibtools build system
- Overall:
. If the command line parameters are wrong, cbmctrl sometimes output
some error message about USB access that was plain wrong. Fixed that.
. Fix libusb0 compilation
Changes of 0.4.99.101 w.r.t.
0.4.99.100:
========================================
- Remove the misleading error:
USB deconfig device error: -2 LIBUSB_ERROR_INVALID_PARAM
- the OpenCBM shell is removed on uninstall of OpenCBM
- updating an OpenCBM installation does not ask you over and over again
if you want to overwrite files
- fixed the internal path of the firmware-update.bat script, so it works
again
- remove the uninstall script from the path, so OpenCBM is not
accidentially uninstalled
- different small fixes by Martin Thierer. Thanks for these!
What is still missing for v0.5.0?
=================================
- For Windows XP and 2000, the drivers must be provided so xum1541 and
xu1541 can be installed there.
- excessive testing
- documentation updates
Regards,
Spiro.
--
Spiro R. Trikaliotis
http://spiro.trikaliotis.net/