So as anyone that uses vagcom and Linux knows, rosstech refuse to port vagcom to mac or Linux. If you have the old serial version then you can use this DIY http://forums.vwvortex.com/showthread.php?2725554 but if you have the usb version then you are stuck with either duel booting xp, or using VirtualBox. If you use mac then go to virtualbox.org and download the mac version, I have not done this under mac, So i dont know how much is relevant, but if you cant get it working this might be worth a read. anyway, here we go:
Ok so I got this going a few weeks ago on my eee as part of an ongoing carpc project, then today I really didnt feel like studying, so opened a bottle of scotch and did the write up. I know it dosnt get asked often, but I cant stand windows and im know there are people around that are the same, so here it goes:
Installing vagcom with USB onto a debian based Linux machine, using virtualbox and xp.
NOTE: By using sudo bash then you may have to start VirtualBox up in root every time you want to use it, or you may not, in my case I have to, but this may only be because of my permission settings.
You do not need to do this, instead of using sudo bash you can just type sudo before every command in this tutorial.
sudo bash
“enter password”
pico is my command line text editor, yours may be something else such as emacs, just replace pico with the command for your text editor.
pico /etc/apt/sources.list
If you use ubuntu 10.04 (or an ubuntu 10.04 based destro) add the line below, or if you use a different destro a full list of versions can be found at: http://www.virtualbox.org/wiki/Linux_Downloads:
add this line to the bottom of sources.list, for non 10.04 then simply change the “lucid” to the name of your particular version from the list above.
deb http://download.virtualbox.org/virtualbox/debian lucid non-free
Just use the appropriate version for your deb install. It is most likely to be lucid (10.0.4) unless you have been using it for a long time and not upgraded, or you have installed the newest version as of 10th October 2010, or you are reading this and its not 2010 anymore. Or if you use more customised deb install, such as deb with openbox window manager etc. On my eee701 that I used to do this then I have a cruncheee system which is still using the 2.6.28 kernel so I used the Jaunty package, It should be noted that on this particular kernel (the eeepc lean 2.6.28 kernel) then some of the dependencies are missing causing a number of errors, the way to fix this is to install the 2.6.27 lean eeepc headers and then upgrade back to the 2.6.28 headers, this leaves some packages which were not included in the 2.6.28 lean kernel. In other destros then then a similar issue may occur, I would either recompile the kernel using a generic kernel, or try to install the missing dependencies manually.
Next use wget as follows:
wget -q http://download.virtualbox.org/virtu...racle_vbox.asc -O- | sudo apt-key add -
(in theory you dont need to edit your sources.list file but I did before I used wget anyway.)
then:
apt-get update
apt-get install virtualbox-3.2
then it will download, this shouldn't take to long
Note: you must do this method, do not skip the 1st part or you will install the OSE version which does not have usb support. You must use the PUEL version, this is what gets it, hence the need to wget the key.
As long as no errors were encountered during the install then you can start virtual box:
type: VirtualBox
otherwise if there was then you may need to dkms,
apt-get install dkms
or you may be missing other packages due to the particular desto you are using not coming with them as described above. The fix is either to try to install all of the packages manually or to change to a different kernel.
Once VirtualBox is started then the next thing to do is install windows xp, This is what I did however due to the limited space on the 4gb ssd drive on the eee I am going to try and change to 98SE after exams are finished. I will update this when I do that.
Now to install windows XP (horrible OS I know but its the choice):
So scroll to the bottom of the licence agreement and click agree, then click new, and follow the instructions, I gave it about 367mb of memory or something as equally as random, dont use less than 128, xp wont run, I would recommend at lest 256, and then I would use dynamically expanding storage, that way it only takes up what its using. I would give it at lest 5gb if you have the space to, you can get away with less, down to around 2.5gb without nliteing xp, but I wouldn't recommend it. Nlite could be used to make xp smaller, I have tried to use it in the past but I find it dosnt work very well.
now click finish and then start the new machine, a wizard will pop up for setting up the xp install:
follow it through, it may default to your cd drive, if you have a windows cd then put it in the drive and if its not there already then add it, otherwise if you are using an iso then add the iso:
follow the rest of the wizard through, then windows will install normally.
Once we have XP installed now we get the usb pass through working.
Make sure you exit virtualbox.
There are a number of ways that work for different systems, this way worked on both my eee and my desktop:
go to system>administration>users and groups
click manage groups, scroll down to vboxusers click properties, tick your user name and click ok, you may have to authenticate it at some point, you will either be prompted for your password or there will be a button saying authenticate on it, click it and enter your password.
there are other ways of doing it by editing your /etc/fstab file, first I would try adding
none /proc/bus/usb usbfs auto,busgid=108,busmode=0775,devgid=108,devmode=06 64 0 0
mount -a
where 108 is your virtual box group id
to get your id: code:
grep vboxusers /etc/group
and then replace 108 with the number it spits back in the fstab file.
Now start XP and install vag-com and the drivers. You might have to give the VB access to where the vagcom program is, in my case the CD drive. Right click on the CD icon at he bottom right of the window and click on your cd drive.
Install everything inc the driver and restart the XP again. Now plug in the vagcom cable, right click on the little usb icon at the bottom right hand corner of the VB window and click vag-com Hex cable or whatever it says, the ebay cables probably say “unknown devise” or something like that, this shouldn't matter, just click the box to enable the pass through. Then let xp install it, (you may have to restart again after the hardware install). Start vagcom, click the test button and it should show:
All done!
It does work in the car, I just took all the screen shots on my desktop so couldnt really plug it in.
I am by no mean a Linux or vag-com expert, this is just how I have made vagcom work on my machines. Feel free to PM me or post in this tread with any questions you have, I will try my best to answer them, and to distribute this guide among other vag forums, and to add information to it whenever new information is found.
Bookmarks