User Tools

Site Tools


knus:knus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
knus:knus [2007/12/26 11:27] devaknus:knus [2009/11/26 21:28] (current) deva
Line 1: Line 1:
 =====Knus===== =====Knus=====
 +//Date: 26th of December 2007//
 +
 ====Project goals==== ====Project goals====
   * Make a computer look like a media player.   * Make a computer look like a media player.
Line 8: Line 10:
 TODO TODO
   * Figure out how to use cvidix (nVidia console output).   * Figure out how to use cvidix (nVidia console output).
-  * Figure out how to use ''splashy'' or equals to remove texbootscreen+  * Figure out how to use ''splashy'' or equals to remove text boot screen
-  * Look at ''setterm'' command (-blank 0) for diabling the blanking of the screen during playback.+  * Look at ''setterm'' command (-blank 0) for disabling the blanking of the screen during playback.
   * Use Qingy for login (autologin)   * Use Qingy for login (autologin)
 +  * Parse and play on-demand tv. 
 +  * Use mplayer menu for program browsing. 
 +  * Create image viewer 
 +  * Make DVD menus work. (http://wonkabar.org/archives/405) 
 +  * Make 'save checkpoint' function (http://www.mplayerhq.hu/DOCS/HTML/en/edl.html)
 ====Links==== ====Links====
   * http://gentoo-wiki.com/HOWTO_gensplash   * http://gentoo-wiki.com/HOWTO_gensplash
Line 17: Line 23:
  
 ====Kernel==== ====Kernel====
 +I'm using the gentoo modified kernel version 2.6.23.
 +
 +====uvesafb====
 +  * http://dev.gentoo.org/~spock/projects/uvesafb/
 +  * http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/fb/uvesafb.txt
 +
 ===Framebuffer=== ===Framebuffer===
 First of all we must make sure we have framebuffer support. My box is running with an nVidia GF4 MX card, so I'll be using the nVidia framebuffer driver alongside the VESA one. First of all we must make sure we have framebuffer support. My box is running with an nVidia GF4 MX card, so I'll be using the nVidia framebuffer driver alongside the VESA one.
Line 43: Line 55:
 Furthermore I'll be using a graphical boot splash screen, so I'll need RAM disk support (initrd) for gensplash to work properly. Furthermore I'll be using a graphical boot splash screen, so I'll need RAM disk support (initrd) for gensplash to work properly.
 <code> <code>
 +General setup  --->
 +   [*] Initial RAM filesystem and RAM disk (initramfs/initrd) support
 +   (4096) Initramfs source file(s)
 +   (0)     User ID to map to 0 (user root) (NEW)
 +   (0)     Group ID to map to 0 (group root) (NEW)
 +
 Device Drivers  ---> Device Drivers  --->
    [*] Block devices  --->    [*] Block devices  --->
Line 105: Line 123:
 </code> </code>
  
 +Connect mplayer and irc with commands like this:
 +<code>
 +begin
 +     button = VolUp
 +     prog = mplayer
 +     config = volume 1
 +     repeat = 1
 +end
 +</code>
 +See lirc capable events in [[http://www.mplayerhq.hu/DOCS/tech/slave.txt]].
 +
 +====Autologin====
 +Autologin with mingetty.
 +<code>
 +emerge -va mingetty
 +</code>
 +
 +Change the ''/etc/inittab'' to
 +<code>
 +# TERMINALS
 +#c1:12345:respawn:/sbin/agetty 38400 tty1 linux
 +c1:12345:respawn:/sbin/mingetty --noclear --autologin root tty1
 +c2:2345:respawn:/sbin/agetty 38400 tty2 linux
 +c3:2345:respawn:/sbin/agetty 38400 tty3 linux
 +c4:2345:respawn:/sbin/agetty 38400 tty4 linux
 +c5:2345:respawn:/sbin/agetty 38400 tty5 linux
 +c6:2345:respawn:/sbin/agetty 38400 tty6 linux
 +</code>
 +
 +====irexec====
 +To be able to use the ir when not in mplayer, use and start the irexec service (comes with the lirc package). This is a dummy host that can be use to trigger events just like any other app.\\
 +This example cathes the key ''One'' and runs the script ''dr1''.
 +<code>
 +begin
 +   prog = irexec
 +   button = One
 +   repeat = 0
 +   config = dr1
 +end
 +</code>
 +
 +====Speed down cdrom/dvd drive====
 +When playing a movie or some music a high speed cdrom/dvd drive ca be pretty annoying.\\
 +A simple ''eject -x 4 /dev/cdrom'' will try to set the speed of the drive after a mount has occurred. If no medium is present, the command will fail.
 +
 +====Remote control mapping====
  
 +====VLC for DVD menus====
 +http://wiki.videolan.org/How_to_Use_Lirc
knus/knus.1198664865.txt.gz · Last modified: 2007/12/26 11:27 by deva