Debian Linux Success

   #2  

Uwe

Benevolent Dictator
Administrator
Joined
Jan 29, 2014
Messages
62,712
Reaction score
43,076
Location
USA
VCDS Serial number
HC100001
   #3  

Eric

Active Member
Staff member
Ross-Tech Employee
Joined
Jan 29, 2014
Messages
5,386
Reaction score
8,352
Location
Lansdale, PA, USA
VCDS Serial number
HC800000
I hadn't found this until now, but it certainly seems worth a try for USB:
 
  • Like
Reactions: Uwe
   #4  

Uwe

Benevolent Dictator
Administrator
Joined
Jan 29, 2014
Messages
62,712
Reaction score
43,076
Location
USA
VCDS Serial number
HC100001
I hadn't found this until now, but it certainly seems worth a try for USB:
We just tried it on Katie's desktop that runs Mint.

$ lsusb finds the HEX-V2 with the vendor and product ID shown at the above link (0483/a0cb).

We created the new udev rule as documented at the above link -- a mildly frustrating experience for Linux n00bs.

We tried refreshing udev as documented at the above link
- No joy VCDS doesn't find the HEX-V2.

We tried rebooting the computer.
- No joy VCDS doesn't find the HEX-V2.

:(

-Uwe-
 
   #5  

Katie Ross

Professional Lurker
Ross-Tech Employee
Joined
May 16, 2015
Messages
421
Reaction score
529
Location
USA
VCDS Serial number
HN1-000276
Unfortunately just built this PC a couple months ago and still spend most of my day at work on a Win 11 PC- so learning has been slow!
 
  • Like
Reactions: Uwe
   #7  

Eric

Active Member
Staff member
Ross-Tech Employee
Joined
Jan 29, 2014
Messages
5,386
Reaction score
8,352
Location
Lansdale, PA, USA
VCDS Serial number
HC800000
Took me two hours, but I finally got it working with Ubuntu 24.04. It's definitely not as simple as under the VWVortex OS they're using. Quick notes, not sure which of all this is necessary:

To make the HID accessible to all:
sudo nano /etc/udev/rules.d/99-wine-hid.rules
Code:
ACTION=="add", KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a0cb", MODE="0666", TAG+="uaccess"
ACTION=="add", KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a00f", MODE="0666", TAG+="uaccess"
(then ctrl+o, enter, ctrl+x)
sudo udevadm control --reload-rules && sudo udevadm trigger

To install latest Wine (10.20):
Code:
sudo dpkg --add-architecture i386
sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources
sudo apt update
sudo apt install --install-recommends winehq-staging

To install more wine USB/HID stuff:
Code:
sudo apt install libhidapi-hidraw0 libusb-1.0-0

Then if you don't have the GUI for Wine, it should be as simple as downloading VCDS in Firefox then calling:
Code:
wine ~/Downloads/VCDS-Beta-25.12.0-Installer.exe
Use the default installer options, and then
Code:
 cd ~/.wine/drive_c/Ross-Tech/VCDS-Beta/
wine ./VCDS.exe
You can pin VCDS to the toolbar while it's running.

k2GDzrB.png


I'd still need to wipe and reinstall U24.04 and start from scratch to make sure this is working without additional steps, but not tonight ;)
I also want to see if it's possible to copy an installed VCDS x64 and run it without all those i386 Wine files.
 
   #10  

golfi_vend

Verified VCDS User
Verified
Joined
Apr 9, 2014
Messages
2,583
Reaction score
2,519
Location
Tartu, Estonia
VCDS Serial number
C?ID=195131
Now somebody test ODIS and let's make 2026 year of Linux Desktop :eek:
 
  • Haha
Reactions: Uwe
   #12  

Eric

Active Member
Staff member
Ross-Tech Employee
Joined
Jan 29, 2014
Messages
5,386
Reaction score
8,352
Location
Lansdale, PA, USA
VCDS Serial number
HC800000
Update: Mono (offered on Wine-staging first run) and libhidapi-hidraw0 libusb-1.0-0 are not needed.
A fresh ubuntu 24.04 install works with just the remaining steps from the previous post.
 
  • Like
Reactions: Uwe
   #13  

grant@gendan

VCDS Distributor
VCDS Distributor
Joined
Sep 9, 2014
Messages
509
Reaction score
465
Location
UK
We've put together a tutorial video for a Linux install. Here's a link:

 
   #14  

McSpreader

New Member
Joined
Jan 17, 2026
Messages
1
Reaction score
0
Location
UK
VCDS Serial number
C?ID=73210 (NRRT)
I have been trying to get an older Hex-USB+CAN dongle to play nice by modding the added udev rules using the different vendor and product ids but no success so far. Is this a forlorn hope? TBH I have a rugged laptop running Win10 IOT so it's no big deal but its always good to be different.
Currently running x64 VCDS 25.3 via WINE 11.0 on Mint 22.3.
 
Last edited:
   #17  

Uwe

Benevolent Dictator
Administrator
Joined
Jan 29, 2014
Messages
62,712
Reaction score
43,076
Location
USA
VCDS Serial number
HC100001
I have been trying to get an older Hex-USB+CAN dongle to play nice by modding the added udev rules using the different vendor and product ids but no success so far. Is this a forlorn hope?
I think you would need native Linux drivers for it. It looks like FTDI has D2XX drivers for Linux now:
https://ftdichip.com/drivers/d2xx-drivers/
But you would need to modify them for the PID/VID in the HEX+CAN and I have no idea what's involved in doing that.

-Uwe-
 
   #18  

Mike@Gendan

VCDS Distributor
VCDS Distributor
Joined
Jun 24, 2014
Messages
1,047
Reaction score
1,276
Location
Swansea, UK
VCDS Serial number
C?ID=57030
Translation: I still scan cars, try new linux things, and photoshop images when my loving father asks. :p
Quickly scanning through this thread, I read that as "I still steal cars..." :facepalm:
 
  • Haha
Reactions: Uwe
   #19  

UCyborg

Verified VCDS User
Verified
Joined
Nov 5, 2022
Messages
32
Reaction score
9
Location
Slovenia
VCDS Serial number
C?ID=520018
Recently installed VCDS on Wine 11.0 (the stable version), also successfully updated the HEX-V2 interface:

zEnuEhr.png


It shouldn't even be necessary to run the installer from command line, certainly one shouldn't use sudo for invoking WINE, Windows applications will see all possible permissions as is, running WINE as root may dirty up permission on Linux host. Though I've seen one distro (Puppy Linux) where things generally just run as root as is.

Anyway, at least on Ubuntu based distros, you typically get the option to run the file through WINE in file manager's right-click context menu. The only specialties, at least for HEX-V2 and HEX-NET interfaces is setting up udev rule and during setup, the only checkboxes you may want ticked in the installer are the ones for shortcuts.

Personally, I put the file named 01-ross-tech.rules in /etc/udev/rules.d with just the following:

Code:
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0483", MODE="0666"

If I got the Linux conventions right, this is supposed to be the folder where the administrator puts their own rules. I don't know if there's any specific convention on numbering rules.

The program is a bit slower on WINE, on Windows 10, auto-scan of my 2022 Polo is done in exactly 1 min (or 59 s) on my machine while on WINE, takes 20 seconds longer. Some windows take noticeably longer to populate.
 
   #20  

waldo22

Verified VCDS User
Verified
Joined
Jun 23, 2024
Messages
13
Reaction score
17
Location
Carrboro, NC, USA
VCDS Serial number
C?ID=30246
FYI with the current Debian Testing (Debian 14 "Forky", and presumably anything with wine 10.18 and up), the i386 packages are no longer necessary.

See here:

All I did was add the WineHQ keys:
Code:
wget -O - https://dl.winehq.org/wine-builds/winehq.key | sudo gpg --dearmor -o /etc/apt/keyrings/winehq-archive.key -

Add the WineHQ repo:
Code:
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/forky/winehq-forky.sources

Install Wine:
Code:
sudo apt install --install-recommends winehq-stable

Configure Wine:
Code:
wine winecfg
(I accepted the defaults)

Install VCDS:
Code:
wine Downloads/VCDSxxxx.exe

The only other thing I did was add @UCyborg's changes above to the udev rules:
Code:
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0483", MODE="0666"

Everything installed and worked the first time, pretty great!
 
Back
Top