-
Notifications
You must be signed in to change notification settings - Fork 293
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
CANtact support #238
Comments
SavvyCAN supports socketcan so if you're running candlelight then you can
use socketcan. Slcan should work as well as that's also socketcan.
…On Tue, Aug 11, 2020, 4:39 PM Romain ***@***.***> wrote:
Is there a plan to support the CANtact / CANable / CANable Pro interfaces
running the stock slcan firmware (serial) or the candleLight firmware?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#238>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQLWZP4FKBL4XNJBI3VPHTSAGUBTANCNFSM4P3Q2HLQ>
.
|
Using the candleLight firmware (flashed here https://canable.io/updater/) the port list is empty. Testing on Windows 10 btw. |
Oh sorry, I should have been more clear. SocketCAN interfaces only work on LINUX. I don't think the candlelight firmware will do much for you on Windows. For supporting cantact devices on Windows I will have to more directly target the CANtact communications protocol. I do think that would be worthwhile for me to do. Otherwise your options on Windows for that hardware pretty much boil down to Busmaster. That program is very feature rich but not the features people tend to actually need. It's more for large automotive companies that are doing internal testing of their hardware. So, I do think that CANtact/CANable users could use some more options. |
Romain, use Linux in a VM with the Candlelight firmware + canable if you're
needing a Windows based solution..
Candlelight will work with socketcan natively without using slcand
commands. (sudo ip link set up can0 type can bitrate #######)
Then pull up the needed interface in Linux VM on windows.
…On Wed, Aug 12, 2020, 3:05 AM Romain ***@***.***> wrote:
Using the candleLight firmware (flashed here https://canable.io/updater/)
the port list is empty.
I tried passthrucan, peakcan, systeccan, tinycan (shows a can0.0 anyway)
and vectorcan.
Testing on Windows 10 btw.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#238 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI62NLWNLPSKGCPAIIX5XQ3SAJEMLANCNFSM4P3Q2HLQ>
.
|
Using a VM sucks, though. I give my +1 to this feature request. I guess an implementation of the candleInterface can be found here Edit: fix typos |
Hmmm, interesting, yes that does appear to be a Windows driver for the candlelight API. I will look into supporting that. |
I realise this is an old issue, but has there been any further investigation on supporting these devices in SavvyCAN under Windows? |
I never did look into it. I just went to that link and bookmarked it. I'll see what I can do. |
Windows has candlelight support out of the box with no driver install needed. I also give +1 to this request, and im hoping you atleast looked into it. Its annoying to flash a different firmware in my can tool just for savvycan |
Meanwhile: WSL2 + Custom kernel (to include can-bus stuff) + usbipd-win. And then just use savvycan on the wsl |
is support likely to get added for this? |
Someday, probably. But, as covered above, CANTact support works fine through the socketcan interface on Linux so using WSL could work. It's certainly not ideal. I really should implement actual support in Windows one of these days. |
could always port the pcan code to the cantact.
…On Sat, Jan 14, 2023, 7:06 PM Collin Kidder ***@***.***> wrote:
Someday, probably. But, as covered above, CANTact support works fine
through the socketcan interface on Linux so using WSL could work. It's
certainly not ideal. I really should implement actual support in Windows
one of these days.
—
Reply to this email directly, view it on GitHub
<#238 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI62NLVFODR4H3USVQRNI6TWSNEQZANCNFSM4P3Q2HLQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Came here from Google search looking for the same thing, support for CANable in Windows. Would be nice if this was done. |
Direct windows support would be just awesome |
this doesn't help macOS users, though. |
You need to compile your own WSL kernel for that to work, and i never got that running. The SLCAN serial FW doesnt allow you to set different can bus speeds, like 95kbps as far as im aware. So the only option for me seems to be to install a full linux VM. |
I've got some spare time now so will look at implementing this. I'll create a PR once complete and link back here. |
This is one of the most epic comebacks of 2024 |
I've had a chance to get some initial code working. If anybody in this thread has a chance, it'd be great if you could also test. I would like to do some more testing before I create the PR but will hopefully have a PR up in the next month. This work was also ontop of another modification that adds support for opening Wireshark socketCAN files. I'll create a PR for that first. There are currently some restrictions with the code:
I still need to test:
Also please note that candle_dll is licensed under the LGPL. This is fine, as it's compiled separately and dynamically linked. But if you're wondering why the driver isn't just compiled into SavvyCAN, that's the reason. Any final Windows release containing the dll will need to contain a note regarding the dll license and where the code can be found - but this is trivial. Also for transparency, please note that I'm the developer of a new product (not yet released) called CAN Bus Debugger. Code is available here; https://github.com/BennyEvans/SavvyCAN/tree/gs_usb_support |
Update on this: I've been away but plan to get back to testing soon. I've just creted PR #790 to add support for SocketCAN PCAP files and once that PR has been merged and I've finished testing I'll create the PR for gs_usb (candle) support. |
PR #790 has just been merged, so I'll work towards creating the next PR to add support for gs_usb (candle). I have something working, but would like to tweak a couple things and as I now have two devices, would like to ensure it can operate with multiple devices attached. |
I've just created the next PR #835 that adds support for these devices on Windows. Hopefully we can soon mark this issue as complete 🎉 |
Is there a plan to support the CANtact / CANable / CANable Pro interfaces running the stock slcan firmware (serial) or the candleLight firmware?
The text was updated successfully, but these errors were encountered: