MiniMyth 0.18.1.0rc3
Moderator: Pablo
MiniMyth 0.18.1.0rc3
MiniMyth 0.18.1.0rc3 is available for download. Thanks to a new Unichrome Pro driver, this version fixes the problem with deinterlacing using the CN400 that was still present in 0.18.1.0rc2. Assuming that there are no other problems found that can be fixed, this will be the 0.18.1.0 release.
Hi,
Please find below a new version of log.script, which allows setting a syslog server in the configuration (I redirect all syslogs to my backend server). Also, I think there is a small bug in env.conf: the MM_LOGFILE is set twice, once before reading minimyth.conf, and once after. The second one I think should be removed, as otherwise you can't set a log file without enabling debugging (as otherwise it is always reset to /dev/null).
Finally, if you could include the lirc_atiusb module in the final release, that would be great.
Regards, Herman
Please find below a new version of log.script, which allows setting a syslog server in the configuration (I redirect all syslogs to my backend server). Also, I think there is a small bug in env.conf: the MM_LOGFILE is set twice, once before reading minimyth.conf, and once after. The second one I think should be removed, as otherwise you can't set a log file without enabling debugging (as otherwise it is always reset to /dev/null).
Finally, if you could include the lirc_atiusb module in the final release, that would be great.
Regards, Herman
Code: Select all
#!/bin/sh
################################################################################
# log.script
################################################################################
[ -n "`mm_var_get MM_DEBUG`" ] && set -x
MM_SYSLOG_SERVER=`mm_var_get MM_SYSLOG_SERVER`
if [ "$MM_SYSLOG_SERVER" != "" ] ; then
MM_SYSLOG_SERVER="-R $MM_SYSLOG_SERVER"
fi
mkdir -p /var/log
syslogd $MM_SYSLOG_SERVER
klogd
-
- New Member
- Posts: 8
- Joined: Wed Dec 29, 2004 4:18 am
Hi,
For some reason my client is having problem setting the hostname. I had to patch up network.script by this:
[ -n "$HOSTNAME" ] && hostname $HOSTNAME
and then add this to the kernel command line: "HOSTNAME=MythClient1"
Is there an easy way? If doesn't look like udhcpd is setting the hostname properly.
I had to do this for all version since 17.
-Loc
For some reason my client is having problem setting the hostname. I had to patch up network.script by this:
[ -n "$HOSTNAME" ] && hostname $HOSTNAME
and then add this to the kernel command line: "HOSTNAME=MythClient1"
Is there an easy way? If doesn't look like udhcpd is setting the hostname properly.
I had to do this for all version since 17.
-Loc
I know that it works with ISC DHCP server (version 3.0.1) and the Windows 2003 Server DHCP server. do you know that your DHCP server is correctly providing the hostname?zNightLite wrote:Hi,
For some reason my client is having problem setting the hostname. I had to patch up network.script by this:
[ -n "$HOSTNAME" ] && hostname $HOSTNAME
and then add this to the kernel command line: "HOSTNAME=MythClient1"
Is there an easy way? If doesn't look like udhcpd is setting the hostname properly.
I had to do this for all version since 17.
-Loc
I will add it.ozuzo wrote:Hi,
Please find below a new version of log.script, which allows setting a syslog server in the configuration (I redirect all syslogs to my backend server).
This is by design.Also, I think there is a small bug in env.conf: the MM_LOGFILE is set twice, once before reading minimyth.conf, and once after. The second one I think should be removed, as otherwise you can't set a log file without enabling debugging (as otherwise it is always reset to /dev/null).
In order to get the maximum logging possible, MM_DEBUG can be set on the boot command line. When this is done, I wanted maximum logging (including reading the minimyth.conf file), so I set MM_LOGFILE before reading the minimyth.conf file.
Redirecting stdout and stderr to a file is only done when debugging. Otherwise, I did not want it to fill up /var/log.
LIRC now includes a userspace ATI driver (atilibusb). It is compiled into the lircd.any daemon. Have you tried it?Finally, if you could include the lirc_atiusb module in the final release, that would be great.
Regards, Herman
Code: Select all
#!/bin/sh ################################################################################ # log.script ################################################################################ [ -n "`mm_var_get MM_DEBUG`" ] && set -x MM_SYSLOG_SERVER=`mm_var_get MM_SYSLOG_SERVER` if [ "$MM_SYSLOG_SERVER" != "" ] ; then MM_SYSLOG_SERVER="-R $MM_SYSLOG_SERVER" fi mkdir -p /var/log syslogd $MM_SYSLOG_SERVER klogd
Ah - ok. I like to have the mythfrontend log somewhere, as there are sometimes still minor problems to be solved. Maybe some debug level?Pablo wrote: This is by design.
In order to get the maximum logging possible, MM_DEBUG can be set on the boot command line. When this is done, I wanted maximum logging (including reading the minimyth.conf file), so I set MM_LOGFILE before reading the minimyth.conf file.
I think I tried but got somehow confused on how to enable it. I tried again, and can't get it to work - set 'driver' to atilibusb, empty 'device' and either an empty 'kernel_module' and 'lirc_dev'. None of these work, I justLIRC now includes a userspace ATI driver (atilibusb). It is compiled into the lircd.any daemon. Have you tried it?
Code: Select all
lircd 0.7.1: couldn't find a compatible USB device
lircd 0.7.1: caught signal
Another question: would it much trouble to add es1371/analog/joydev modules? It would be nice to be able to run mythgame

Regards, Herman
O, just to clarify: due to processing order in the rc script, you need to set MM_SYSLOG_SERVER on the boot command line, as logging is enabled before the user environment is copied over...
Another question: I read somewhere that the supplied mplayer has no external codecs support compiled in. Does that have a reason other than rootfs size? I would like to add the Real cook codecs, so I can listen to the BBC radio-on-demand channels...
Herman
Another question: I read somewhere that the supplied mplayer has no external codecs support compiled in. Does that have a reason other than rootfs size? I would like to add the Real cook codecs, so I can listen to the BBC radio-on-demand channels...
Herman
I will change the init script ordering so that log.script runs after loading minimyth.conf.ozuzo wrote:O, just to clarify: due to processing order in the rc script, you need to set MM_SYSLOG_SERVER on the boot command line, as logging is enabled before the user environment is copied over...
I will compile in support for external win32 codecs. However, you will need to use minimyth.script to create the /usr/lib/win32 directory and load the win32 codecs. You can do this by adding the lineAnother question: I read somewhere that the supplied mplayer has no external codecs support compiled in. Does that have a reason other than rootfs size? I would like to add the Real cook codecs, so I can listen to the BBC radio-on-demand channels...
Code: Select all
mm_url_mount conf:codecs.tar.bz2 /usr/lib/win32
So do I. The way that I do it is by placing an xinitrc file in the conf directory on the tftp server that dumps that redirects the output of mythfrontend to a file other than MM_LOGFILE.ozuzo wrote:Ah - ok. I like to have the mythfrontend log somewhere, as there are sometimes still minor problems to be solved. Maybe some debug level?
I do not know why it does not work. Since I do not have a ATI USB remote, I cannot test it. I will add LIRC support for the atiusb driver.I think I tried but got somehow confused on how to enable it. I tried again, and can't get it to work - set 'driver' to atilibusb, empty 'device' and either an empty 'kernel_module' and 'lirc_dev'. None of these work, I justLIRC now includes a userspace ATI driver (atilibusb). It is compiled into the lircd.any daemon. Have you tried it?messages.Code: Select all
lircd 0.7.1: couldn't find a compatible USB device lircd 0.7.1: caught signal
MiniMyth does not have MythGame support. Since I do not play computer games, I do not have any joysticks. Without joysticks, it is difficult to make sure that everything (e.g. kernel modules and udev device file system) works.Another question: would it much trouble to add es1371/analog/joydev modules? It would be nice to be able to run mythgame
Do you have MythGame running on MiniMyth?
Ah - that's something I need to get more used to - retrieve very specific files with these kind of tweaks.Pablo wrote: So do I. The way that I do it is by placing an xinitrc file in the conf directory on the tftp server that dumps that redirects the output of mythfrontend to a file other than MM_LOGFILE.
I was guessing as much. Thanks. The kernel module worked in a single go, it creates a /dev/lirc0 without any hassle.I do not know why it does not work. Since I do not have a ATI USB remote, I cannot test it. I will add LIRC support for the atiusb driver.
More or less. And Mythstream. What I currently do, and I'm still searching for an ideal solution, is running CVS Myth on top of Minimyth. My rootfs is NFS mounted from the server, and I compile/install Myth on top of this rootfs (using my compiler etc on the server, works just fine). What I do next is mount the servers /usr as /usr/local in the rootfs, so I've got access to xmame, Perl (for imdb.pl, the perl scripts from Mythstream).Do you have MythGame running on MiniMyth?
Everything works as I would like it, except for two things:
- - mplayer is missing external codec support (and using mplayer from my server has depencies on /lib
- I don't have a joystick in Mythgame
I thought about that, but isn't there a chicken-egg problem then that something might want to log during retrieval of the settings?I will change the init script ordering so that log.script runs after loading minimyth.conf.
Ah cool - hadn't noticed you can mount tar filesI will compile in support for external win32 codecs. However, you will need to use minimyth.script to create the /usr/lib/win32 directory and load the win32 codecs. You can do this by adding the lineto you minimyth.script file, assuming that codecs.tar.bz2 contains the codecs and is on your tftp server.Code: Select all
mm_url_mount conf:codecs.tar.bz2 /usr/lib/win32

Herman
-
- New Member
- Posts: 8
- Joined: Wed Dec 29, 2004 4:18 am
Hi,
Regarding hostname, I use FC3 dhcp server. Here is my dhcp.conf file... It is getting the IP address fine but it doesn't set the hostname.
=====
shared-network "Engineers" {
subnet 192.168.1.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
default-lease-time 28800;
max-lease-time 86400;
# option domain-name "Engineers.com";
# option domain-name-servers 192.168.1.1;
# Used by clusterautosetup-client to find its server
# next-server 192.168.1.50;
range 192.168.1.127 192.168.1.150;
host MythClient1 {
hardware ethernet 00:40:63:d5:91:12;
fixed-address 192.168.1.125;
}
host MythClient2 {
hardware ethernet 00:40:63:cc:0c:92;
fixed-address 192.168.1.126;
}
}
}
Any comment?
-Loc
Regarding hostname, I use FC3 dhcp server. Here is my dhcp.conf file... It is getting the IP address fine but it doesn't set the hostname.
=====
shared-network "Engineers" {
subnet 192.168.1.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
default-lease-time 28800;
max-lease-time 86400;
# option domain-name "Engineers.com";
# option domain-name-servers 192.168.1.1;
# Used by clusterautosetup-client to find its server
# next-server 192.168.1.50;
range 192.168.1.127 192.168.1.150;
host MythClient1 {
hardware ethernet 00:40:63:d5:91:12;
fixed-address 192.168.1.125;
}
host MythClient2 {
hardware ethernet 00:40:63:cc:0c:92;
fixed-address 192.168.1.126;
}
}
}
Any comment?
-Loc
At a minimum, you needzNightLite wrote:Regarding hostname, I use FC3 dhcp server. Here is my dhcp.conf file... It is getting the IP address fine but it doesn't set the hostname.
Code: Select all
use-host-decl-names on;
Code: Select all
group {
use-host-decl-names on;
host MythClient1 {
hardware ethernet 00:40:63:d5:91:12;
fixed-address 192.168.1.125;
}
host MythClient2 {
hardware ethernet 00:40:63:cc:0c:92;
fixed-address 192.168.1.126;
}
}