Difference between revisions of "User:Polly"

From LinuxMCE
Jump to: navigation, search
(LinuxMCE 1004 DVD Installer)
(Broadcom BCM57765 ethernet tg3-driver install)
 
(47 intermediate revisions by 3 users not shown)
Line 1: Line 1:
====== My LinuxMCE Setup on MacMini 4,1 ======
+
== 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

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