Posts

Showing posts from 2009

JTA with Maven

Spring has a transitive dependency with the Sun’s JTA classes, but the JTA jar can’t be inserted in the Maven repository because the Sun’s Binary License. For solving this dependency you have to download the jta-1_0_1B-classes.zip file from the Sun’s site and install it into your local repository using the following command: mvn install:install-file \ -Dfile=./jta-1_0_1B-classes.zip \ -DgroupId=javax.transaction \ -DartifactId=jta -Dversion=1.0.1B \ -Dpackaging=jar

CoreMIDI.framework keeps bouncing

Due to my Protools 8.0.3pr installation when i start Logic Pro 9 the CoreMIDI.framework keeps bouncing. What is did was i removed the unneeded midi drivers in: HD/Library/Audio/MIDI Drivers/ and delete digidiomididriver.plugin

iPhoto '09 share library

Finally, in iPhoto '09 you can share your library in shared folders...look at: http://db.tidbits.com/article/10204 and http://tech.kateva.org/2009/04/apple-idiocy-iphoto-09s-biggest-feature.html

Rename files without extention to one with extention (Linux)

find . -type f | awk '{print "mv \""$0"\" \""$0".wav\""}' | /bin/sh

RSA 7.5 on OpenSUSE 11.2

with gnomesu launchpad.sh and before the install libstdc++33-32bit

Maven 2.2.1 on OpenSUSE

download and unpack mavenin ~/apache-maven-2.2.1 make a symbolic link maven that points to version 2.2.1 -> ln -s apache-maven-.2.2.1 maven edit ~/.profile and add these 2 lines: MAVEN_HOME=/home/jeroen/maven PATH=$MAVEN_HOME/bin:$PATH

OpenSUSE tips

#zypper dup : perform a distribution upgrade

64 bit flash plugin for Firefox (OpenSUSE 11.2)

Download flashplayer 10 64-bit linux from http://labs.adobe.com/downloads/flashplayer10.html In a terminal, as a user: wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.d21.1.linux-x86_64.so.tar.gz tar -zxvf libflashplayer-10.0.d21.1.linux-x86_64.so.tar.gz mkdir ~/.mozilla/plugins cp libflashplayer.so ~/.mozilla/plugins Check it with 'about:plugins' in FireFox

DSDT patch in kernel for Compaq 8510p

On OpenSUSE 11.2 M8 i have to patch the kernel....these steps i've taken: iasl -tc DSTL.dls generates a DSTL.hex make oldconfig cp .config .config_old make clean make mrproper make menuconfig with menuconfig i've patched the kernel to use /etc/acpi/DSTL.hex CONFIG_ACPI_CUSTOM_DSDT_FILE="/etc/acpi/DSDT.hex" CONFIG_ACPI_CUSTOM_DSDT=y see http://www.lesswatts.org/projects/acpi/overridingDSDT.php make -j3 make modules make modules_install make bzImage cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.31-10-desktop cp System.map /boot/System.map-2.6.31-10-desktop vi /boot/grub/menu.lst and adding the proper entry copying from the others mkinitrd -i /boot/initrd-2.6.31-10-desktop -k /boot/vmlinuz-2.6.31-10-desktop result: [    0.000000] ACPI: Override [DSDT-   8510x], this is unsafe: tainting kernel [    0.000000] ACPI: DSDT @ 0x000000007ffc84c0 Table override, replaced with: [    0.000000] ACPI: DSDT ffffffff...

a bad and a good day...

tryed OpenSUSE 11.2 M8....finally the updated RT2500 drivers are in the kernel, so my WiFi card is working !!!! But, i have a fan problem on my Compaq 8510p....i have to patch the DSDT, as you can read is my previous post. On 11.2 M8 you have to do ik via mkinitrd, nice! But it doesn't work...bummer!! I raised a bug at Novell...look at https://bugzilla.novell.com/show_bug.cgi?id=533555

Compaq 8510p ACPI Fan fix for Linux (OpenSUSE 11.1)

With this fix the fan is not constant blowing on linux. We have to fix the temparature values to a new DSDT file and let the kernel use it. It realy works!! ** Copy the binary DSDT to your home directory: # cat /proc/acpi/dsdt > /home/jim/dsdt.dat ** Disassemble the DSDT file (you just copied) /usr/bin/iasl -d /home/jim/dsdt.dat this tool produces a text file called: dsdt.dsl   ** Edit the dsdt.dsl file and change the temperature values. You can find then near row 14498 and change them to these values: Name(xxx, Package(0x6) { 0x64, 0x4b, 0x32, 0x1E, 0x14, 0x0 }) or when it is still not enough, you can use these: Name(xxx, Package(0x6) { 0x64, 0x4b, 0x23, 0x1E, 0x14, 0x0 }) ** Compile the changed dsdt.dsl ./iasl -tc dsdt.dsl this tool is producing a dsdt.aml. This file is going to be used by the kernel for the better values. For that you need a scipt. On OpenSuse 11.1 i needed to install the kernel sources. ** Install the kerne...

Netbeans 6.7.1 on OpenSuse 11.1

I needed to do these steps to install Netbeans 6.7.1 on OpenSUSE 11.1 Install these packages java-1_6_0-sun java-1_6_0-sun-alsa java-1_6_0-sun-devel java-1_6_0-sun-jdbc java-1_6_0-sun-plugin as root run the 'update-alternatives' command #update-alternatives --config java and choose the sun jre and not the default openjdk!! + 1 /usr/lib64/jvm/jre-1.6.0-openjdk/bin/java 2 /usr/lib64/jvm/jre-1.5.0-gcj/bin/java * 3 /usr/lib64/jvm/jre-1.6.0-sun/bin/java That's it...download the linux versioin of Netbeans and run it!

Share an iPhoto library among multiple users

ACL support aan: sudo fsaclctl -p / -e De juiste rechten toekennen aan iedereen: sudo chmod +a "Username allow delete,chown,list,search,add_file,add_subdirectory,delete_child,file_inherit,directory_inherit" /Users/Shared/Fotos
Vandaag OSX opnieuw installeren...na 3 jaar loopt mijn iMac wat minder soepel. Ik maak een volledige backup van mijn disk naar een externe drive... #sudo cp -Rpv / /Volumes/BigBackup/backup/heledisk/ maar voor dat ik dat doe, haal ik eerst Xcode eraf: sudo /Developer/Library/uninstall-devtools - -mode=all