*******************************************************************************
I mainly wanted an all-in-one stop shop fo my hardware config (Shuttle XS35GS, Rosewill remote RRC-127, an SSD drive)
*******************************************************************************
Upgrade BIOS to 1.09
Shuttle BIOS site:
http://global.shuttle.com/download03.jsp...=1423&PL=1
filename: XS35_SHB.109.zip
Build USB BIOS
http://unetbootin.sourceforge.net/
run unetbootin. setup freedos 1.0 on usb
copy directory with flash to usb
boot shuttle with usb stick into freedos live (dont install)
goto c: drive (type c
run flash program to completion (will reboot after done)
go into setup (hit del key at bootup)
enable AHCI for SATA, turn on wlan
Dowload
http://mirrors.xbmc.org/releases/live/xb...ma_rc2.iso
and use unetbootin with this as the diskimage
boot this usb on shuttle and select install option
hit continue on the no networks found screen (need to configure manually)
select "Guided - use entire disk"
after done and poweroff, remove usb and boot shuttle.
hit ctrl-alt-F1 to get linux login and login with this.
sudo su
*******************************************************************************
Wireless network:
ifconfig -a
(should see eth0,lo,wlan0)
iwconfig
(should see wlan0)
iwconfig wlan0 mode Managed
iwconfig wlan0 essid myssid
ifconfig wlan0 up
iwlist wlan0 scan
(should see your wireless ap(s))
dhclient wlan0
ifconfig
(should see you pulled an ip from your router)
nano /etc/network/interfaces
add:
auto wlan0
iface wlan0 inet dhcp
wireless-essid myssid
and then save
/etc/init.d/networking restart
*******************************************************************************
Wired network:
ifconfig -a
(should see eth0,lo,wlan0)
dhclient eth0
ifconfig
(should see you pulled an ip from your router)
nano /etc/network/interfaces
add:
auto eth0
iface eth0 inet dhcp
and then save
/etc/init.d/networking restart
*******************************************************************************
Remote Control (I have Rosewill rrc-127 from newegg):
(looking at the back, USB0 is the rightmost USB port below the network jack, plug receiver in there)
(when remote is pressed, red light on receiver 'sticks' on)
lsusb
(should see line with "Bus 002 Device 002: ID 1784:0011 TopSeed Technology Corp.")
sudo apt-get install lirc-modules-source
(should see it get source from the internet)
nano /usr/src/lirc-0.8.6/drivers/lirc_mceusb/lirc_mceusb.c
find (about 6 pages down):
/* Topseed eHome Infrared Tranceiver */
{ USB_DEVICE(VENDOR_TOPSEED, 0x000a) },
add this below it (or where you like within this struct, or even change one of the other TOPSEED to 0x0011 if you are lazy like me):
{ USB_DEVICE(VENDOR_TOPSEED, 0x0011) },
to /usr/src/lirc-0.8.6/drivers/lirc_mceusb/lirc_mceusb.c
and then save
(this is a good process to understand for all kinds of pcibus/usb hardware -- especially when you get a cheap deal on some hardware that is a rebranded something else)
dkms -m lirc -v 0.8.6 remove --all
dkms -m lirc -v 0.8.6 add
dkms -m lirc -v 0.8.6 build
dkms -m lirc -v 0.8.6 install
rmmod lirc_mceusb
rmmod lirc_dev
modprobe lirc_mceusb
modprobe lirc_dev
/etc/init.d/lirc restart
irw
(press remote, red light should not stay lit, and should see remote commands)
nano /etc/rc.local
Add this line (before 'exit 0'):
echo USB0 > /proc/acpi/wakeup
and then save
(alt-f7 back into XBMC)
System->System->Power saving->Shutdown function->(Change from Shutdown to Suspend)
(reboot for this one)
*******************************************************************************
SSD:
nano /etc/rc.local
Add these lines (before 'exit 0'):
echo noop > /sys/block/sda/queue/scheduler
echo 1 > /proc/sys/vm/swappiness
and then save
(alt-f7 back into XBMC)
System->System->Power saving->Shutdown function->(Change from Shutdown to Suspend)
(reboot for this one)
hdparm -I /dev/sda | grep TRIM
(should see line indicating TRIM supported)
nano /etc/fstab
Modify line:
UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx / ext4 errors=remount-ro 0 1
to:
UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx / ext4 noatime,discard,errors=remount-ro 0 1
save and exit
mount -oremount /
mount | grep uuid
(should see discard and noatime in options)
*******************************************************************************
Much thanks to all the contributors to these pages
http://breden.org.uk/2011/01/15/shuttle-...ve-dharma/
http://wiki.xbmc.org/?title=Enable_Wake-On-Device
http://www.linuxhomenetworking.com/wiki/...Networking
http://wiki.xbmc.org/?title=Enable_Wake-On-Device
https://help.ubuntu.com/community/Instal...%20remotes
*******************************************************************************