Seems a lot of people are finding themselves with this error. It's just a architecture mismatch.
See my post on ddrescue on how to compile with the correct architecture.
Thursday, September 6, 2012
Tuesday, August 7, 2012
Volkswagen Passat Battery Drain RCD510
Just some general information that I gathered on upgrading 3C Passat Head Unit's to a RCD510/RNS510
VW Passats built before 2009 were not designed to take the RCD510 RNS510 RCD310 etc head units. The issue is the Passat 3C gateway 3c0 475 530 C firmware version 40.
When you plug the unit into your car, you will be able to here a clicking noise coming from the passenger side dash board, it is a relay switching on and off and is causing the battery to drain because your current gateway is not compatible with the head unit.
The easiest solution is to replace your can gateway with a revision N and above model.
There is not a lot of information on the Chinese RCD510 units that are easily found on eBay China. Model 5ND 035 195. These too will cause the battery issue. The only models that won't are very early revision RNS510's that have the old software, as soon as they are upgraded they will fail.
Please note that you should NOT use a gateway from another model car, because they cannot interact with the electronic column lock in the Passat which will throw an error.
If you know somebody with the right equipment, you can upgrade your gateway to version 048 which doesn't exhibit the issue. Do this with a VAS5051a and the latest VAG flash disk.
Last, you can do a "hack" fix, that essentially removes power to the head unit when you turn off the car, this requires some soldering in your fuse box. However if you do this, you will lose any settings every time you power off.
Leave a comment if you are in need of some more information, regarding this or anything golf/passat related.
VW Passats built before 2009 were not designed to take the RCD510 RNS510 RCD310 etc head units. The issue is the Passat 3C gateway 3c0 475 530 C firmware version 40.
When you plug the unit into your car, you will be able to here a clicking noise coming from the passenger side dash board, it is a relay switching on and off and is causing the battery to drain because your current gateway is not compatible with the head unit.
The easiest solution is to replace your can gateway with a revision N and above model.
There is not a lot of information on the Chinese RCD510 units that are easily found on eBay China. Model 5ND 035 195. These too will cause the battery issue. The only models that won't are very early revision RNS510's that have the old software, as soon as they are upgraded they will fail.
Please note that you should NOT use a gateway from another model car, because they cannot interact with the electronic column lock in the Passat which will throw an error.
If you know somebody with the right equipment, you can upgrade your gateway to version 048 which doesn't exhibit the issue. Do this with a VAS5051a and the latest VAG flash disk.
Last, you can do a "hack" fix, that essentially removes power to the head unit when you turn off the car, this requires some soldering in your fuse box. However if you do this, you will lose any settings every time you power off.
Leave a comment if you are in need of some more information, regarding this or anything golf/passat related.
Lens Correction Data for Hugin Canon EFS 18-55
Not sure where I got this from, but it has been usesful time and time again for correcting lens issues in Hugin
begin lens
group: canonEfsSLR
multiplier: 1.6
menu_lens: Canon EF-S 18-55mm f/3.5-5.6 IS
cal_abc: 18 0.019790 -0.062160 0.026920
cal_abc: 20 0.014900 -0.049280 0.022310
cal_abc: 23 0.004790 -0.015730 -0.001540
cal_abc: 24 0.004580 -0.015960 0.003120
cal_abc: 27 0.009520 -0.033940 0.028040
cal_abc: 29 -0.000860 0.003140 -0.007490
cal_abc: 32 0.001500 0.002710 -0.000900
cal_abc: 34 -0.005300 0.021650 -0.027590
cal_abc: 37 -0.003750 0.014320 -0.015210
cal_abc: 42 -0.000680 0.003890 -0.002440
cal_abc: 44 0.003570 -0.011600 0.016250
cal_abc: 47 -0.003060 0.012940 -0.011730
cal_abc: 49 -0.003380 0.013120 -0.011020
cal_abc: 55 -0.003110 0.012090 -0.009080
end
begin lens
group: canonEfsSLR
multiplier: 1.6
menu_lens: Canon EF-S 18-55mm f/3.5-5.6 IS
cal_abc: 18 0.019790 -0.062160 0.026920
cal_abc: 20 0.014900 -0.049280 0.022310
cal_abc: 23 0.004790 -0.015730 -0.001540
cal_abc: 24 0.004580 -0.015960 0.003120
cal_abc: 27 0.009520 -0.033940 0.028040
cal_abc: 29 -0.000860 0.003140 -0.007490
cal_abc: 32 0.001500 0.002710 -0.000900
cal_abc: 34 -0.005300 0.021650 -0.027590
cal_abc: 37 -0.003750 0.014320 -0.015210
cal_abc: 42 -0.000680 0.003890 -0.002440
cal_abc: 44 0.003570 -0.011600 0.016250
cal_abc: 47 -0.003060 0.012940 -0.011730
cal_abc: 49 -0.003380 0.013120 -0.011020
cal_abc: 55 -0.003110 0.012090 -0.009080
end
OSX VPN Add route on connection
On OSX, you can automatically add a route when the VPN is connected:
In the terminal:
sudo nano /etc/ppp/ip-up
Add the lines:
#!/bin/sh
/sbin/route add 10.0.1.0/24 -interface $1
WHERE,
Add as many routes as required.
Save and exit
sudo chmod a+x /etc/ppp/ip-up
Connect to your VPN, and you route should be created.
In the terminal:
sudo nano /etc/ppp/ip-up
Add the lines:
#!/bin/sh
/sbin/route add 10.0.1.0/24 -interface $1
WHERE,
10.0.1.0/24is the subnet you want to route to. The $1 will automatically be populated with the correct interface name.
Add as many routes as required.
Save and exit
sudo chmod a+x /etc/ppp/ip-up
Connect to your VPN, and you route should be created.
Friday, May 11, 2012
JASPERREPORTS - Sum a variable once per group
Say you have a jasper report, the you have grouped twice,
You raw SQL data looks like
Description, Line_Group, Line_Total, Grand_Group_Total
And you want to get the total sum of Grand_Group_Total.
Create a variable with the following:
Calculation: Sum
Increment Type: Group
Increment Group: Line_Group
If this is nest again into another group, you can in the variable set
Reset Type: Group
Reset Group: Name of top level group.
Feel free to comment to get some more specific help
You raw SQL data looks like
Description, Line_Group, Line_Total, Grand_Group_Total
And you want to get the total sum of Grand_Group_Total.
Create a variable with the following:
Calculation: Sum
Increment Type: Group
Increment Group: Line_Group
If this is nest again into another group, you can in the variable set
Reset Type: Group
Reset Group: Name of top level group.
Feel free to comment to get some more specific help
Wednesday, March 7, 2012
SimpleSAMLphp & Active Directory
For various reasons, the LDAP driver in simpleSAMLphp doesn't have referrals enabled, which causes an LDAP search to fail if your search base isn't the exact tree your users are in, i.e. searching 'dc=example,dc=com'
In the file:
/simplesamlphp/lib/SimpleSAML/Auth/LDAP.php
Add
@ldap_set_option($this->ldap, LDAP_OPT_REFERRALS,0);
After the ldap_connect() line
If this has been helpful to anyone, let me know and I'll post some more SimpleSAMLphp tutorials
In the file:
/simplesamlphp/lib/SimpleSAML/Auth/LDAP.php
Add
@ldap_set_option($this->ldap, LDAP_OPT_REFERRALS,0);
After the ldap_connect() line
If this has been helpful to anyone, let me know and I'll post some more SimpleSAMLphp tutorials
Tuesday, March 6, 2012
Vufind + Koha 3.4
Trying to integrate Koha 3.4 and Vufind?
I had an issue that the Koha driver bundled with vufind wouldn't pick up the ILS holding information.
Requires 1 fix,
In import/marc_local.properties
Add the line
id = 999c, first
That will correct the metadata lookup in the MARC field to correspond with the correct field from Koha MARC export.
I had an issue that the Koha driver bundled with vufind wouldn't pick up the ILS holding information.
Requires 1 fix,
In import/marc_local.properties
Add the line
id = 999c, first
That will correct the metadata lookup in the MARC field to correspond with the correct field from Koha MARC export.
Subscribe to:
Posts (Atom)