Difference between revisions of "User:Polly"

From LinuxMCE
Jump to: navigation, search
(Let's go)
(Broadcom BCM57765 ethernet tg3-driver install)
 
(29 intermediate revisions by 3 users not shown)
Line 15: Line 15:
  
  
 +
I used Snapshot '''LMCE-1004-20120701130826149.iso'''
  
 
== Let's go ==
 
== Let's go ==
 
  
 
* Drop in DVD and boot from cdrom
 
* Drop in DVD and boot from cdrom
Line 31: Line 31:
 
After install boot again from DVD
 
After install boot again from DVD
  
- Drop in DVD and boot from cdrom
+
* Drop in DVD and boot from cdrom
- in grub select "Install"
+
* in grub select "Install"
- TAB to set boot options and add nomodeset
+
* TAB to set boot options and add nomodeset
- HDD needs to be mounted and we need to change some mount points temporarily. Do following steps:
+
* HDD needs to be mounted and we need to change some mount points temporarily. Do following steps:
  
 
   mount HDD Kubuntu is installed on
 
   mount HDD Kubuntu is installed on
Line 63: Line 63:
  
 
Now you should be able to boot without getting a black screen and you are also able to reboot, but hold on for a few more minutes
 
Now you should be able to boot without getting a black screen and you are also able to reboot, but hold on for a few more minutes
 
  
 
== auto install NVIDIA 320M ==
 
== auto install NVIDIA 320M ==
  
 +
'''Does work now! THX L3top'''
  
Should work in the new Snapshot
 
 
Basic Steps to make it work automatically:
 
Basic Steps to make it work automatically:
  
Line 89: Line 88:
 
   sudo /root/NVIDIA-Linux-x86-290.10.run --uninstall
 
   sudo /root/NVIDIA-Linux-x86-290.10.run --uninstall
 
   sudo reboot
 
   sudo reboot
 
  
 
== Broadcom BCM57765 ethernet tg3-driver install ==
 
== Broadcom BCM57765 ethernet tg3-driver install ==
Line 102: Line 100:
 
   make
 
   make
 
   make install
 
   make install
 
 
Edit /etc/network/interfaces, replace address and gateway with yours
 
 
  iface eth0 inet static
 
      address 192.168.0.xx
 
      netmask 255.255.255.0
 
      gateway 192.168.0.xx
 
      pre-up sysctl -q -e -w  net.ipv6.conf.eth0.disable_ipv6=1
 
 
Restart Network
 
 
  /etc/init.d/networking restart
 
 
or (this is recommended by Shell)
 
 
  service networking top
 
  service networking start
 
 
 
  reboot
 
 
NOTE: Make sure you disabled DHCP in lmce-admin web interface if you are running LMCE behind a router which is already using DHCP
 
 
  
 
== Public Key Error medibuntu ==
 
== Public Key Error medibuntu ==
Line 166: Line 141:
 
   make: *** [all] Fehler 2
 
   make: *** [all] Fehler 2
  
FIX
+
'''FIX'''
  
 
   change CONFIG_DVB_FIREDTV=m to CONFIG_DVB_FIREDTV=y
 
   change CONFIG_DVB_FIREDTV=m to CONFIG_DVB_FIREDTV=y
Line 175: Line 150:
  
 
Kernel versions earlier than „2.6.32-41-generic“ i used to install the dvb device like described here
 
Kernel versions earlier than „2.6.32-41-generic“ i used to install the dvb device like described here
 
  
 
=== Download and copy ngene to /lib/firmware (no idea if it is really needed) ===
 
=== Download and copy ngene to /lib/firmware (no idea if it is really needed) ===
Line 187: Line 161:
  
 
http://www.linuxtv.org/wiki/index.php/Mystique_SaTiX-S2_Dual#Firmware
 
http://www.linuxtv.org/wiki/index.php/Mystique_SaTiX-S2_Dual#Firmware
 +
 
http://www.linuxtv.org/wiki/index.php/Linux4Media_cineS2_DVB-S2_Twin_Tuner#Firmware
 
http://www.linuxtv.org/wiki/index.php/Linux4Media_cineS2_DVB-S2_Twin_Tuner#Firmware
  
Line 198: Line 173:
 
   reboot
 
   reboot
  
 +
== VDR ==
  
== MythTV ==
+
just worked ...
 
+
 
+
By following the advice at LMCE-Forum i manually installed mythtv
+
 
+
sudo apt-get install mythtv
+
In my case pluto-mythtv-plugin was not found. So i decided to run myth-setup via a X session.
+
 
+
Remote login using ssh (on Mac you can use the Terminal-App)
+
 
+
  ssh user@192.168.80.1 -X
+
 
+
 
+
=== Start mythtv-setup ===
+
 
+
  sudo mythtv-setup
+
 
+
I used these instructions to setup my usb tv tuner.
+
 
+
  Astra 19.2E scan settings
+
  freq: 12551500
+
  pol: horizontal/vertical (scan for both)
+
  symbol rate: 22000000
+
  fec: auto
+
 
+
 
+
=== Restart "mythbackend" after each reboot ===
+
 
+
'''Descripton'''
+
 
+
Running mythtv frontend after reboot gave me random errors e.g. „already using all available inputs“
+
 
+
'''Solution'''
+
 
+
Edit rc.local
+
 
+
  sudo nano -w /etc/rc.local
+
 
+
add „killall mythbackend“ right before „exit 0“
+
 
+
  ...
+
  killall mythbackend
+
  mythtvbackend
+
  exit 0
+
 
+
'''Related Links'''
+
 
+
http://www.mythtvtalk.com/solution-having-restart-mythbackend-reboot-11530/
+
https://bugs.launchpad.net/mythbuntu/+bug/182746
+
 
+
== mythweb ==
+
 
+
mythweb white page
+
 
+
If you get a white page on mythweb, a possible reason is wrong settings for mysql connection.
+
 
+
Make sure you set the right mysql values in /etc/apache2/sites-enabled/mythweb.conf
+
 
+
  setenv db_server        "localhost"
+
  setenv db_name          "mythconverg"
+
  setenv db_login        "mythtv"
+
  setenv db_password      "PASSWORD"
+
 
+
=== Can't save settings ===
+
 
+
Maybe you can't save channel settings. This happens because of apache and suhosin settings. Check your apache log
+
 
+
  tail -f /var/log/apache2/error.log
+
 
+
If you get an error like this:
+
 
+
.. PHP Warning:  Unknown: Input variables exceeded 5000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0, referer: http://dcerouter/mythweb/settings/tv/channels
+
 
+
Increase the values in /etc/php5/apache2/php.ini as follows
+
 
+
  max_input_vars = 15000;
+
  [suhosin]
+
  suhosin.post.max_vars = 15000
+
  suhosin.request.max_vars = 15000
+
 
+
The value to set depends on the number of channels listed
+
  
 
== iPad, iPhone 3GS Orbiter ==
 
== iPad, iPhone 3GS Orbiter ==
Line 287: Line 183:
 
== CUPS and Airprint ==
 
== CUPS and Airprint ==
  
Someone wrote a nice python script to generate a *.service file for avahi
+
CUPS worked out of the box on the latest 12.04 install
 
+
Install required packages
+
 
+
  sudo apt-get install git-core python python-cups
+
 
+
Download script using git
+
 
+
  git clone https://github.com/tjfontaine/airprint-generate.git
+
 
+
go to the downloaded folder, Execute command to generate *.service file of existing printers
+
 
+
  cd airport-generate/
+
  python airprint-generate.py
+
  Copy *.service files to /etc/avahi/services/
+
 
+
  cp *.service /etc/avahi/services/
+
 
+
Edit /etc/cups/cupsd.conf
+
 
+
  sudo nano -w /etc/cups/cupsd.conf
+
 
+
Add this line
+
 
+
  # CUPS AIRPRINT
+
  ServerAlias *
+
  
edit /etc/cups/printers.conf and comment out „AllowUser“ line. This allows every computer in the network to print! It was required for Airprint to work because of permission problems
+
== Network Boot from MacMini 2006 ==
  
  #AllowUser USER
+
Howto utilize your USB to PXE boot a Mac:
 +
[[Mac_MediaDirector]]
  
restart cups
+
== Things to come... ==
  
  sudo service cups restart
+
* AirPlay does not work. Bugreport
 +
* Control my Samsung Plasma TV. 2 ways possible. Either use HDMI or Network...
 +
* Find a way to change the volume. Currently using S/PDIF, i guess no chance to change volume within LinuxMCE

Latest revision as of 17:41, 23 November 2013

Hardware

  • MacMini 2010 - Model 4,1
    • Intel Core 2 Duo - 2.66GHz
    • 8GB RAM
    • S/PDIF audio
  • Teufel Concept E 300 "5.1-Set"
  • DVB-S Device: TT-Connect S2 3650CI
  • Remote: WII Mote Plus
  • External HDD (2x 2TB): ICY BOX
  • iPad2
  • iPhone 3GS
  • Cups Printer: Canon IP5300


I used Snapshot LMCE-1004-20120701130826149.iso

Let's go

  • Drop in DVD and boot from cdrom
  • in grub select "Install"
  • TAB to set boot options and add nomodeset
  • hit ENTER to run installer
  • Wait till it completely bootet…
  • Follow the nice looking installer (If you can't figure out how to do this, go home! ;-) )

Update grub to enable reboot and graphics

After install boot again from DVD

  • Drop in DVD and boot from cdrom
  • in grub select "Install"
  • TAB to set boot options and add nomodeset
  • HDD needs to be mounted and we need to change some mount points temporarily. Do following steps:
 mount HDD Kubuntu is installed on
 mount --bind /dev/ /media/YOUR-DISK/dev/
 mount --bind /proc/ /media/YOUR-DISK/proc/
 mount --bind /sys/ /media/YOUR-DISK/sys/
 chroot /media/YOUR-DISK/

edit

 nano -w /etc/default/grub

and verify that GRUB_CMDLINE_LINUX_DEFAULT contains nomodeset and reboot=pci Possibly its the best to add these values at the end

e.g.

 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset reboot=pci"

Whats going on ..

  • nomodeset fixes black screen after boot
  • reboot=pci enables reboot, if not set it won't reboot

To apply the new settings to grub run

 update-grub
 reboot

Now you should be able to boot without getting a black screen and you are also able to reboot, but hold on for a few more minutes

auto install NVIDIA 320M

Does work now! THX L3top

Basic Steps to make it work automatically:

Check NVIDIA Card

 sudo apt-cache policy nvidia-glx-260 | grep -i Installed
 sudo lspci -nn | grep VGA
 Update pciid
 sudo update-pciids
 lspci -nn | grep VGA

Get pciid

 lspci -nn | grep -vi "non-vga" | grep "VGA" | sed 's/.*://;s/\].*//' 

add pciid in nvidia-install.sh. Add it to both lines DRIVER_260_SUPPORTED and VDPAU_REV_C_SUPPORTED

 sudo nano -w /usr/pluto/bin/nvidia-install.sh
 sudo /root/NVIDIA-Linux-x86-290.10.run --uninstall
 sudo reboot

Broadcom BCM57765 ethernet tg3-driver install

Download Driver

http://www.broadcom.com/support/license.php?file=570x/linux-3.122g.zip

Go to dir and install

 cd tg3-3.116j/
 make
 make install

Public Key Error medibuntu

By making sure that the LinuxMCE is up to date i had trouble doing „apt-get update“.

Error

 W: GPG error: http://packages.medibuntu.org lucid

Fix

 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2EBC26B60C5A2783


Install TT-connect 3650 S2 DVB receiver

Kernel update may harm your dvb driver!!!!

If this happend make sure you cleaned your dvb drivers:

 sudo rm -rf /lib/modules/2.6.32-41-generic/kernel/drivers/media/dvb/dvb-usb/*

S2API

 mkdir 3650
 cd 3650
 hg clone http://mercurial.intuxication.org/hg/s2-liplianin
 cd s2-liplianin
 make
 make install

ISSUE

 /root/3650/s2-liplianin/v4l/firedtv-1394.c:298: error: implicit declaration of function 'hpsb_unregister_protocol'
 make[3]: *** [/home/jochen/3650/s2-liplianin/v4l/firedtv-1394.o] Error 1
 make[2]: *** [_module_/home/jochen/3650/s2-liplianin/v4l] Error 2
 make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-33-generic'
 make[1]: *** [default] Fehler 2
 make[1]: Verlasse Verzeichnis '/root/3650/s2-liplianin/v4l'
 make: *** [all] Fehler 2

FIX

 change CONFIG_DVB_FIREDTV=m to CONFIG_DVB_FIREDTV=y

in

 ./3650/s2-liplianin/v4l/.config

Kernel versions earlier than „2.6.32-41-generic“ i used to install the dvb device like described here

Download and copy ngene to /lib/firmware (no idea if it is really needed)

 wget http://l4m-daten.de/downloads/firmware/dvb-s2/linux/all/ngene_15.fw
 cp ngene_15.fw /lib/firmware/
 wget http://l4m-daten.de/downloads/firmware/dvb-s2/linux/all/ngene_18.fw
 sudo cp ngene_18.fw /lib/firmware

Related Links

http://www.linuxtv.org/wiki/index.php/Mystique_SaTiX-S2_Dual#Firmware

http://www.linuxtv.org/wiki/index.php/Linux4Media_cineS2_DVB-S2_Twin_Tuner#Firmware

Set options for splitting twin tuners. If i got it right, there is some trouble with twin tuners detecting each tuner as a single device.

 options ngene one_adapter=1
 options ngene one_adapter=0

When these option are not set maybe an error occur in mythtv setting up the TV card

 reboot

VDR

just worked ...

iPad, iPhone 3GS Orbiter

http://wiki.linuxmce.org/index.php/Web_Orbiter_2.0

CUPS and Airprint

CUPS worked out of the box on the latest 12.04 install

Network Boot from MacMini 2006

Howto utilize your USB to PXE boot a Mac: Mac_MediaDirector

Things to come...

  • AirPlay does not work. Bugreport
  • Control my Samsung Plasma TV. 2 ways possible. Either use HDMI or Network...
  • Find a way to change the volume. Currently using S/PDIF, i guess no chance to change volume within LinuxMCE