User:PolluX

From Wzdftpd

Jump to: navigation, search

Contents


Links

Blog

I use this section like a blog ...

2006.09.03 Setting up a Dart Dashboard

One of the cool advantages of cmake is that it can be used to automake testing, configuring, building, etc. and send result to a Dash dashboard system. I'm trying to setup a dashboard on a local machine.

2006.09.03 Migration to cmake

The migration to cmake is now almost complete.

2006.07.16 Me vs alsa

I have two sound cards .. such a pain with Linux. I am now used to discover that the hardware detection just swaps them from card 0 to card 2 (don't know why card1 is not used) depending on the weather, but nervermind, I keep trying to use it.

Now I am trying to get NeverWinter Nights play on a specific card, and that's not easy ! I'm trying to use http://alsa.opensrc.org/?page=MultipleCards, but that's a no go for now. That sucks.

update: got it working !

The libSDL provided with NWN has no support for ALSA, so the solution is to use the system one. I edited the nwn script and set:

# If you do not wish to use the SDL library included in the package, remove
# ./lib from LD_LIBRARY_PATH
#export LD_LIBRARY_PATH=./lib:./miles:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=./miles:$LD_LIBRARY_PATH

export SDL_AUDIODRIVER=alsa
export AUDIODEV="hw:2,0"

./nwmain $@

2006.07.12 Vmware and 2.6.17

After upgrading to 2.6.17, vmware fails to build:

  CC [M]  /tmp/vmware-config1/vmnet-only/smac_linux.x386.o
  LD [M]  /tmp/vmware-config1/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST
*** Warning: "/tmp/vmware-config1/vmnet-only/vmnet.o" failed to load: Not a kernel module, lacks modinfo section

Here's how I fixed it:

  • unpack vmnet.tar from /usr/lib/vmware/modules/source to another place (e.g. /tmp)
  • add MODULE_AUTHOR("VMWare"); to driver.c before
#ifdef VMW_HAVE_SK_ALLOC_WITH_PROTO

(near line 115)

  • pack the archive again:
    tar cvf vmnet.tar vmnet-only
  • Move the old archive and put the fresh made archive on this place
    cp vmnet.tar /usr/lib/vmware/modules/source
  • Compile VMWare normally
    vmware-config.pl
Personal tools
documentation