Posts

Showing posts from 2009

Setting up BandLuxe C179 on Karmic

I've recently signed up with Singtel's mobile broadband, which uses a BandLuxe C179 HSDPA USB modem. Hers's how I set it up on Ubuntu 9.10: Download Linux driver from http://www.bandrich.com. The file name of the download "C270-Eee-PC_Linux-driver.zip" suggests it's intended for C270. The product id in bandluxe.fdi is wrong, change it to: <match key="usb.vendor_id" int="0x1a8d"> <match key="usb.product_id" int="0x1009"> The kernel module option.ko that comes with the driver doesn't work with 2.6.31 kernel. And we don't need it anyway, so comment out its installation from eeepc3g.sh: #echo "Backup file option.ko" #cp -v ${MODDIR}/kernel/drivers/usb/serial/option.ko ./option-eeepc.ko #echo "Add support of Bandluxe Data Card" #cp -v option-bandluxe.ko ${MODDIR}/kernel/drivers/usb/serial/option.ko Install the driver: $ sudo ./eeepc3g.sh $ sudo modprobe option Plug in the modem. $ lsusb...

Use Relative Path in Free-form Netbeans Projects

For free-form projects, Netbeans uses absolute path for project directory in project.xml : <properties> <property name="project.dir">/Users/yili/Work/homecamera/WowzaStreaming</property> <property name="ant.script">${project.dir}/build.xml</property> <properties> All paths in project.xml are relative to the project folder, which is the folder that contains the nbproject folder. Thus changing the above to the following makes my project works on all platforms regardless where the project is located: <properties> <property name="project.dir">../../../WowzaStreaming</property> <property name="ant.script">${project.dir}/build.xml</property> <properties>

The Best Farewell

It has always been my ambition to die in harness with my head face down on a keyboard and my nose caught between two of the keys -- Isaac Asimov

Setup Audio for Windows 7 on MacBook Pro 13"

My brand new MacBook Pro 13" dual-boots on Snow Leopard and Windows 7. I used the official Snow Leopard DVD to install device drivers for Windows 7. Everything worked fine except for audio, which had a very low volume for both playback and recording. Here's how I fixed it. Run registry editor as administrator and go to: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentVersionSet\Control\Class\ {4D36E96C-E325-11CE-BFC1-08002BE10318}\0000\cs420x Make sure the following entries are present: Name Type Value ------------------------------------------------------ n0DInAmpCaps REG_DWORD 0x00270301 n02OutAmpCaps REG_DWORD 0x80017f73 n03OutAmpCaps REG_DWORD 0x80017f73 n04OutAmpCaps REG_DWORD 0x80017f73