Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where to download the candleLight driver for Windows? #11

Open
boylinxing opened this issue Jan 27, 2019 · 10 comments
Open

Where to download the candleLight driver for Windows? #11

boylinxing opened this issue Jan 27, 2019 · 10 comments

Comments

@boylinxing
Copy link

Where to download the candleLight driver for Windows?
Thanks!

@march1993
Copy link

march1993 commented May 12, 2019

As far as I know, the gs-usb shows up as a generic WCID device on Windows. You don't need driver on Windows 8 or later. The packets transfered over USB wire are defined here.

@rusefillc
Copy link

@march1993 you are right but there is also https://github.com/HubertD/candle_dll/

is it that candle.dll is supposed to provide a higher level API comparing with just direct USB access?

A bit odd to see this cangaroo here not using https://github.com/HubertD/candle_dll as a git submodule but having a copy (?) of the source code?

@Elmue
Copy link

Elmue commented Oct 2, 2024

rusefillc: If you look into the sourcecode you will see that there are different versions of the code which Cangaroo uses to connect over WinUsb:

Cangaroo uses this code (compiled into the main EXE):
https://github.com/normaldotcom/cangaroo/tree/master/src/driver/CandleApiDriver/api

HubertD uses this code (compiled into Candle.dll):
https://github.com/HubertD/candle_dll/tree/master/src

And Candle.NET uses this code (compiled into Candle.dll):
https://github.com/elliotwoods/Candle.NET/tree/main/Candle

Compare them and you will see that they are all the same code with small modifications.
And Cangaroo does not use a DLL because the code is compiled into the EXE.

But the Candle.dll is not a driver.
Drivers have file extension *.SYS
The Candle.dll only forwards CAN commands to Microsoft's WinUsb.dll which communicates over a Microsoft driver with the CAN adapter. So you don't have to install a driver. The driver already comes with Windows.

@prounlocks
Copy link

Okay but in win 11 after flashing Candlelight - i have 2 unknown devices and no drivers found. Okay i used zadik to install libusbk but cangaroo-win32-ccdcb64cant find any interface now. Only with COM port scl fw working

@Elmue
Copy link

Elmue commented Dec 8, 2024

The Candle API uses WinUSB which does not need a driver. WinUSB is part of the Windows Operating System. You should be able to connect directly with Cangaroo.

@prounlocks
Copy link

STM32G431 controller.
image
here is offered FW.
After flashing
image

@prounlocks
Copy link

I have tried 7, 10, 11 windows - same result. MKS CANABLE 2.0 PRO S - can't install drivers automatically. After ZADIG tool - installed, but not working with CANGAROO

@Elmue
Copy link

Elmue commented Dec 10, 2024

This article says clearly that a driver is not required for a WinUSB device:
https://learn.microsoft.com/en-us/windows-hardware/drivers/usbcon/automatic-installation-of-winusb

Install USBLyzer from www.usblyzer.com and study the descriptor. What do you see ?

And what about the SLCAN firmware?
Does this work for you ?
You should see a COM port.

Why do you want to use the Candlelight firmware ?
SLCAN is easier.

@inonez
Copy link

inonez commented Dec 19, 2024

I have tried 7, 10, 11 windows - same result. MKS CANABLE 2.0 PRO S - can't install drivers automatically. After ZADIG tool - installed, but not working with CANGAROO

I had the same problem as you, did you solve it later? @prounlocks

@pas4ik
Copy link

pas4ik commented Jan 10, 2025

I have this problem too, cangaroo (both beta and legacy) working with slcan, but not find candlelight device (libusb / libusbK both). and what is Unknown device?

  • I try now legacy with slcan, it not find COM port. So legacy all not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants