Saturday, January 28, 2012

Ubuntu Oneiric 11.10: HDMI audio out on XPS M1330 with Intel Integrated Graphics Card

1) Open Sound Settings, click on Hardware Tab, next to Profile select Digital Stereo (HDMI) Output. The Output tab should now show Connector: HDMI.
2) Open terminal, sudo alsamixer. Go to the right with the arrow keys until you find S/PDIF 1 (1, not 0 or anything else). Unmute it by pressing M. Test audio.

Tuesday, January 17, 2012

Installing asf_tools (Alaska Satellite Facility Map Ready) on Ubuntu 11.10 Oneiric Ocelot

http://www.asf.alaska.edu/downloads/software_tools

I assume the build-essential package and other basic tools are installed.

apt-get install zlib1g-dev flex bison

Edit asf_tools/src/to_sr/Makefile and asf_tools/src/fill_holes/Makefile and changes the line similar to:
$(CC) $(CFLAGS) $(LDFLAGS) -o to_sr $(OBJS) $(LIBS)
with this line
$(CC) $(CFLAGS) $(LDFLAGS) -o to_sr $(OBJS) $(LIBS) -lm
(add -lm at the end)

then do a normal configure / make / make install installation

Thursday, January 12, 2012

Mount SSH folder/directory in Ubuntu

sudo apt-get install sshfs
sshfs user@remote-server.example.com:/remote/path /local/path

Tuesday, January 03, 2012

Test Zabbix UserParameter

On local machine:
su -c "zabbix_agentd -t some_key" zabbix

On zabbix master:
zabbix_get -s slave.hostname.com -k some_key
Booting from a USB stick in VMware Player

http://theholyjava.wordpress.com/2010/06/10/booting-from-a-usb-stick-in-vmware-player/