xbmc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| xbmc [2010/02/23 13:29] – excyle | xbmc [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== XBMC ====== | ||
| - | Installeer Ubuntu met de **minimal 9.10 ISO**, selecteer bij de installatie alleen **SSH server** | ||
| - | ===== Set IP to static ===== | ||
| - | < | ||
| - | mcedit / | ||
| - | </ | ||
| - | zet hier het volgende in, dit zal het IP automatisch zetten, en de nic op 100mbit full duplex forceren | ||
| - | < | ||
| - | auto eth0 | ||
| - | iface eth0 inet static | ||
| - | address 192.168.1.5 | ||
| - | netmask 255.255.255.0 | ||
| - | gateway 192.168.1.254 | ||
| - | pre-up / | ||
| - | up / | ||
| - | </ | ||
| - | |||
| - | ===== add the deb's to the 3rd party sources.list ===== | ||
| - | < | ||
| - | mcedit / | ||
| - | </ | ||
| - | zet hier het volgende in : | ||
| - | < | ||
| - | deb http:// | ||
| - | deb-src http:// | ||
| - | </ | ||
| - | Importeer de bijbehorende GPA keys | ||
| - | < | ||
| - | sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 64234534 | ||
| - | </ | ||
| - | |||
| - | ===== update and upgrade the latest PPA's ===== | ||
| - | < | ||
| - | sudo apt-get update | ||
| - | sudo apt-get upgrade | ||
| - | sudo apt-get install xbmc samba ethtool lirc lm-sensors mc xinit x11-xserver-utils binutils build-essential alsa unclutter powernowd usplash-theme-xbmc-spinner-black-silver | ||
| - | </ | ||
| - | |||
| - | ===== Install Nvidia Drivers ===== | ||
| - | < | ||
| - | wget http:// | ||
| - | sh NVIDIA-Linux-x86-195.30-pkg1.run | ||
| - | </ | ||
| - | maak een valid X11 config aan | ||
| - | < | ||
| - | mcedit / | ||
| - | </ | ||
| - | En zet hiet het volgende in | ||
| - | < | ||
| - | # nvidia-xconfig: | ||
| - | # nvidia-xconfig: | ||
| - | |||
| - | Section " | ||
| - | Identifier | ||
| - | Screen | ||
| - | InputDevice | ||
| - | InputDevice | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | # generated from default | ||
| - | Identifier | ||
| - | Driver | ||
| - | Option | ||
| - | Option | ||
| - | Option | ||
| - | Option | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | # generated from default | ||
| - | Identifier | ||
| - | Driver | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | Option | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | Identifier | ||
| - | VendorName | ||
| - | ModelName | ||
| - | HorizSync | ||
| - | VertRefresh | ||
| - | Option | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | Option | ||
| - | Identifier | ||
| - | Driver | ||
| - | VendorName | ||
| - | EndSection | ||
| - | |||
| - | Section " | ||
| - | Identifier | ||
| - | Device | ||
| - | Monitor | ||
| - | Option | ||
| - | DefaultDepth | ||
| - | Option | ||
| - | SubSection | ||
| - | Depth 16 | ||
| - | modes " | ||
| - | EndSubSection | ||
| - | SubSection | ||
| - | Depth 24 | ||
| - | modes " | ||
| - | EndSubSection | ||
| - | SubSection | ||
| - | Depth 32 | ||
| - | modes " | ||
| - | EndSubSection | ||
| - | EndSection | ||
| - | </ | ||
| - | |||
| - | ===== Samba Configureren ===== | ||
| - | Maak een / | ||
| - | < | ||
| - | mcedit / | ||
| - | </ | ||
| - | en zet hier het volgende in | ||
| - | < | ||
| - | # | ||
| - | [global] | ||
| - | | ||
| - | | ||
| - | | ||
| - | load printers = no | ||
| - | map to guest = Bad Password | ||
| - | map to guest = Bad User | ||
| - | guest ok = yes | ||
| - | | ||
| - | | ||
| - | |||
| - | log file = / | ||
| - | max log size = 50 | ||
| - | |||
| - | local master = no | ||
| - | os level = 2 | ||
| - | | ||
| - | | ||
| - | |||
| - | wins support = yes | ||
| - | name resolve order = wins lmhosts host bcast | ||
| - | </ | ||
| - | |||
| - | ===== Alsa Configureren ===== | ||
| - | De user XBMC audio rechten geven | ||
| - | < | ||
| - | usermod -G audio xbmc | ||
| - | </ | ||
| - | |||
| - | Stereo geluid over het " | ||
| - | < | ||
| - | mcedit / | ||
| - | </ | ||
| - | zet hier het volgende in | ||
| - | < | ||
| - | pcm.!default { | ||
| - | type plug | ||
| - | slave { | ||
| - | pcm " | ||
| - | } | ||
| - | } | ||
| - | </ | ||
| - | |||
| - | ===== LIRC Configureren ===== | ||
| - | Maak een / | ||
| - | < | ||
| - | mcedit / | ||
| - | </ | ||
| - | en zet hier het volgende in | ||
| - | < | ||
| - | # / | ||
| - | # | ||
| - | #Chosen Remote Control | ||
| - | REMOTE=" | ||
| - | REMOTE_MODULES=" | ||
| - | REMOTE_DRIVER="" | ||
| - | REMOTE_DEVICE="/ | ||
| - | REMOTE_SOCKET="" | ||
| - | REMOTE_LIRCD_CONF="/ | ||
| - | REMOTE_LIRCD_ARGS="" | ||
| - | |||
| - | #Chosen IR Transmitter | ||
| - | TRANSMITTER=" | ||
| - | TRANSMITTER_MODULES="" | ||
| - | TRANSMITTER_DRIVER="" | ||
| - | TRANSMITTER_DEVICE="" | ||
| - | TRANSMITTER_SOCKET="" | ||
| - | TRANSMITTER_LIRCD_CONF="" | ||
| - | TRANSMITTER_LIRCD_ARGS="" | ||
| - | |||
| - | #Enable lircd | ||
| - | START_LIRCD=" | ||
| - | |||
| - | #Don't start lircmd even if there seems to be a good config file | ||
| - | # | ||
| - | |||
| - | #Try to load appropriate kernel modules | ||
| - | LOAD_MODULES=" | ||
| - | |||
| - | # Default configuration files for your hardware if any | ||
| - | LIRCMD_CONF="" | ||
| - | |||
| - | #Forcing noninteractive reconfiguration | ||
| - | #If lirc is to be reconfigured by an external application | ||
| - | #that doesn' | ||
| - | #frontend can be invoked and set to parse REMOTE and TRANSMITTER | ||
| - | #It will then populate all other variables without any user input | ||
| - | #If you would like to configure lirc via standard methods, be sure | ||
| - | #to leave this set to " | ||
| - | FORCE_NONINTERACTIVE_RECONFIGURATION=" | ||
| - | START_LIRCMD="" | ||
| - | |||
| - | </ | ||
| - | |||
| - | Maak een / | ||
| - | < | ||
| - | mcedit / | ||
| - | </ | ||
| - | en zet hier het volgende in | ||
| - | < | ||
| - | #This configuration has been automatically generated via | ||
| - | #the Ubuntu LIRC package maintainer scripts. | ||
| - | # | ||
| - | #It includes the default configuration for the remote and/or | ||
| - | # | ||
| - | # | ||
| - | #Feel free to add any custom remotes to the configuration | ||
| - | #via additional include directives or below the existing | ||
| - | #Ubuntu include directives from your selected remote and/or | ||
| - | # | ||
| - | |||
| - | #No default remote configuration was included for Home-brew (16x50 UART compatible serial port) | ||
| - | #You will need to include your own custom configuration for | ||
| - | #this remote, and file a bug at https:// | ||
| - | |||
| - | begin remote | ||
| - | |||
| - | name Harmony | ||
| - | bits 16 | ||
| - | flags SPACE_ENC|CONST_LENGTH | ||
| - | eps 30 | ||
| - | aeps 100 | ||
| - | |||
| - | header 9036 4442 | ||
| - | one 610 1620 | ||
| - | zero 610 511 | ||
| - | ptrail 610 | ||
| - | repeat 9032 2187 | ||
| - | pre_data_bits 16 | ||
| - | pre_data 0x77E1 | ||
| - | gap 107881 | ||
| - | min_repeat 4 | ||
| - | toggle_bit_mask 0x0 | ||
| - | |||
| - | begin codes | ||
| - | Up 0xD069 | ||
| - | Down 0xB069 | ||
| - | Left 0x1069 | ||
| - | Right 0xE069 | ||
| - | Ok 0x2069 | ||
| - | ChannelUp 0x5079 | ||
| - | ChannelDown 0x3079 | ||
| - | VolumeUp 0x5019 | ||
| - | VolumeDown 0x3019 | ||
| - | 1 0x50E9 | ||
| - | 2 0x30E9 | ||
| - | 3 0x90E9 | ||
| - | 4 0x60E9 | ||
| - | 5 0x9019 | ||
| - | 6 0x6019 | ||
| - | 7 0x1099 | ||
| - | 8 0xE099 | ||
| - | 9 0x1059 | ||
| - | 0 0xE059 | ||
| - | Clear 0x2059 | ||
| - | Enter 0x4099 | ||
| - | Red 0x10F9 | ||
| - | Green 0xE0F9 | ||
| - | Yellow 0x20F9 | ||
| - | Blue 0x40F9 | ||
| - | Mute 0xA019 | ||
| - | Back 0xA019 | ||
| - | Exit 0x50D9 | ||
| - | Guide 0xA0B9 | ||
| - | Menu 0x4069 | ||
| - | Info 0xD099 | ||
| - | Rec 0x30D9 | ||
| - | Rew 0xD059 | ||
| - | Fwd 0xB059 | ||
| - | Pause 0xC019 | ||
| - | Play 0xC0E9 | ||
| - | Skip 0xB005 | ||
| - | Replay 0xD005 | ||
| - | Stop 0xA0E9 | ||
| - | Prev 0xB099 | ||
| - | Aspect 0x50B9 | ||
| - | F1 0x90D9 | ||
| - | F10 0x6079 | ||
| - | F11 0xA079 | ||
| - | F12 0xC079 | ||
| - | F13 0x90B9 | ||
| - | F14 0x60B9 | ||
| - | F2 0x60D9 | ||
| - | F3 0xA0D9 | ||
| - | F4 0xC0D9 | ||
| - | F5 0x1005 | ||
| - | F6 0xE005 | ||
| - | F7 0x2005 | ||
| - | F8 0x4005 | ||
| - | F9 0x9079 | ||
| - | LargeDown 0xB0F9 | ||
| - | LargeUp 0xD0F9 | ||
| - | PwrToggle 0xC0B9 | ||
| - | Queue 0x30B9 | ||
| - | Sleep 0x4059 | ||
| - | end codes | ||
| - | end remote | ||
| - | </ | ||
| - | |||
| - | Om XBMC goed te laten reageren op de lirc commando' | ||
| - | Maak een / | ||
| - | < | ||
| - | mcedit / | ||
| - | </ | ||
| - | en zet hier het volgende in | ||
| - | < | ||
| - | < | ||
| - | <remote device=" | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | </ | ||
| - | </ | ||
| - | </ | ||
| - | |||
| - | Maak een / | ||
| - | < | ||
| - | mcedit / | ||
| - | </ | ||
| - | en zet hier het volgende in | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | </ | ||
| - | </ | ||
| - | < | ||
| - | < | ||
| - | | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | </ | ||
| - | </ | ||
| - | </ | ||
| - | </ | ||
| - | |||
| - | ===== Usplash configureren ===== | ||
| - | Selecteren welk splash screen je wil hebben | ||
| - | < | ||
| - | sudo update-alternatives --config usplash-artwork.so | ||
| - | </ | ||
| - | initramfs updaten | ||
| - | < | ||
| - | update-initramfs -u | ||
| - | </ | ||
| - | |||
| - | ===== XBMC configureren ===== | ||
| - | |||
| - | ==== CPU/GPU temp ==== | ||
| - | Maak een / | ||
| - | < | ||
| - | mcedit / | ||
| - | </ | ||
| - | en zet hier het volgende in | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | </ | ||
| - | </ | ||
| - | |||
| - | ==== Eject Knop ==== | ||
| - | Maak een / | ||
| - | < | ||
| - | mcedit / | ||
| - | </ | ||
| - | en zet hier het volgende in | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | < | ||
| - | </ | ||
| - | </ | ||
| - | </ | ||
| - | </ | ||
| - | |||
| - | ==== Autostart ==== | ||
| - | Maak een / | ||
| - | < | ||
| - | mcedit / | ||
| - | </ | ||
| - | en zet hier het volgende in | ||
| - | < | ||
| - | #!/bin/bash | ||
| - | #/ | ||
| - | |||
| - | ### BEGIN INIT INFO | ||
| - | # Provides: | ||
| - | # Required-Start: | ||
| - | # Required-Stop: | ||
| - | # Default-Start: | ||
| - | # Default-Stop: | ||
| - | # Short-Description: | ||
| - | # Description: | ||
| - | ### END INIT INFO | ||
| - | |||
| - | . / | ||
| - | |||
| - | case " | ||
| - | start) | ||
| - | log_action_begin_msg " | ||
| - | |||
| - | # if usplash is running, make sure to stop it now, yes " | ||
| - | if pidof usplash > /dev/null; then | ||
| - | DO_NOT_SWITCH_VT=yes / | ||
| - | fi | ||
| - | / | ||
| - | / | ||
| - | |||
| - | log_action_end_msg 0 | ||
| - | ;; | ||
| - | stop) | ||
| - | killall Xorg xbmc | ||
| - | ;; | ||
| - | |||
| - | esac | ||
| - | |||
| - | exit 0 | ||
| - | |||
| - | </ | ||
| - | |||
| - | Maak een / | ||
| - | < | ||
| - | mcedit / | ||
| - | </ | ||
| - | en zet hier het volgende in | ||
| - | < | ||
| - | #!/bin/bash | ||
| - | |||
| - | if [ " | ||
| - | / | ||
| - | exit | ||
| - | fi | ||
| - | |||
| - | while true | ||
| - | do | ||
| - | echo "# | ||
| - | # echo "/ | ||
| - | echo "/ | ||
| - | |||
| - | echo "case \" | ||
| - | echo " | ||
| - | echo " | ||
| - | echo " | ||
| - | echo " | ||
| - | echo " | ||
| - | echo " | ||
| - | echo " | ||
| - | echo " | ||
| - | echo " | ||
| - | echo " | ||
| - | echo " | ||
| - | |||
| - | chown xbmc:xbmc / | ||
| - | |||
| - | if [ " | ||
| - | su xbmc -c " | ||
| - | else | ||
| - | startx -- -br > /dev/null 2>&1 | ||
| - | fi | ||
| - | |||
| - | if [ -e / | ||
| - | rm / | ||
| - | rm / | ||
| - | break | ||
| - | fi | ||
| - | |||
| - | # sleep 2 | ||
| - | done | ||
| - | </ | ||
| - | |||
| - | maak beide bestanden uitvoerbaar | ||
| - | < | ||
| - | chmod +x / | ||
| - | chmod +x / | ||
| - | </ | ||
| - | en zet het init.d script op autostart | ||
| - | < | ||
| - | update-rc.d xbmc defaults | ||
| - | </ | ||
xbmc.1266928148.txt.gz · Last modified: (external edit)
