MiniMyth rel-0.17beta1

Announce/Discuss projects you are working on for MiniMyth

Moderator: Pablo

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: Howto load new kernel modules ...

Post by Pablo »

cyrus007 wrote:From the perspective of end users, without messing with the gar build system or the existing rootfs system, is there a way to add kernel modules ? I know we can add applications/packages using the EXTRAS_URL method and I wanted to see if we can extend that functionality to custom kernel drivers (the rootfs being a read-only fs). That way I can get just the .config, add my extra modules and move those modules only.
-cyrus
While it may be possible to do this, I am not sure that it is the best idea. Kernels like to have kernel shipped modules compiled with the same compiler.

Are the certain kernel shipped modules that you need? If so, it is easy to add them to the official release. Already, we have added kernel modules to support extrenal USB DVD drives and certain CD-ROM/DVD file formats.
MartinE75
Member
Posts: 33
Joined: Sat May 08, 2004 2:48 pm
Location: AUSTRIA

Post by MartinE75 »

I have another problem:
I have an lightgrey pinnacle systems remote (former homebrew2 config). I extraced the lircrc and lircd.conf files from the last minimyth version and placed it in the conf directory but the remote doesn't work.
When i try to startup lircd.any through telnet, the program complains about missing remote control definitions.

My tftp log shows:
Serving PXEClient/conf//lircd.conf to ...
Serving PXEClient/conf//lircrc to ...

Any ideas - maybe this could be something for the docu thread.

Martin
Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo »

MartinE75 wrote:I have another problem:
I have an lightgrey pinnacle systems remote (former homebrew2 config). I extraced the lircrc and lircd.conf files from the last minimyth version and placed it in the conf directory but the remote doesn't work.
When i try to startup lircd.any through telnet, the program complains about missing remote control definitions.

My tftp log shows:
Serving PXEClient/conf//lircd.conf to ...
Serving PXEClient/conf//lircrc to ...

Any ideas - maybe this could be something for the docu thread.

Martin
On your frontend, when you cat or vi the files /etc/lircd.conf and /etc/lircrc, do they look correct?

When you start lircd.any, what arguments do you provide?

Did you load the necessary kernel modules for your IR receiver?
cyrus007
Member
Posts: 28
Joined: Fri May 21, 2004 8:22 pm
Location: Dallas, TX
Contact:

Re: Howto load new kernel modules ...

Post by cyrus007 »

Pablo wrote:While it may be possible to do this, I am not sure that it is the best idea. Kernels like to have kernel shipped modules compiled with the same compiler.

Are the certain kernel shipped modules that you need? If so, it is easy to add them to the official release. Already, we have added kernel modules to support extrenal USB DVD drives and certain CD-ROM/DVD file formats.
Then it will bloat the rootfs as shipped. The idea is to keep the official kernel and rootfs as small/minimal as possible and add the other packages/modules as add ons based on individual preferences. We want to reduce bootup time as well. That way you can even replace mplayer with another program, say vlc (one has to change the settings accordingly) but the possibility will be there. The idea is to extend the /etc/file -> /tmp/etc/file concept to other aspects of the system as well.
BTW, are there decodes for mplayer which can play the newer .wmv files ? My VLC can play them flawlessly but not my mplayer.
-cyrus
Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: Howto load new kernel modules ...

Post by Pablo »

cyrus007 wrote:Then it will bloat the rootfs as shipped.
A few extra drivers will not make a noticable difference in the size.
The idea is to keep the official kernel and rootfs as small/minimal as possible and add the other packages/modules as add ons based on individual preferences. We want to reduce bootup time as well. That way you can even replace mplayer with another program, say vlc (one has to change the settings accordingly) but the possibility will be there. The idea is to extend the /etc/file -> /tmp/etc/file concept to other aspects of the system as well.
Using the MM_EXTRAS_URL, you can replace add/replace programs and libraries. It is only kernel modules that cannot be added.

As I mentioned, kernel modules can be more difficult. Often they need you to use the same compiler. After installing them, you should run depmod which needs write access to the kernel modules directory.
BTW, are there decodes for mplayer which can play the newer .wmv files ? My VLC can play them flawlessly but not my mplayer.
-cyrus
MiniMyth contains the latest version of MPLayer, but it does not include any codecs not included with MPlayer. MPlayer can use binary W*ndows codecs. However, this has not been configured in the MiniMyth version of MPlayer. Is VLC using binary W*ndows codecs?
MartinE75
Member
Posts: 33
Joined: Sat May 08, 2004 2:48 pm
Location: AUSTRIA

Post by MartinE75 »

Pablo wrote: On your frontend, when you cat or vi the files /etc/lircd.conf and /etc/lircrc, do they look correct?

When you start lircd.any, what arguments do you provide?

Did you load the necessary kernel modules for your IR receiver?
1) lircd.conf && lircrc
The files you mentioned are emtpy. This would mean that something with tftp is not working or i just used the wrong directory - although my minimyth.conf residing in /var/tftp/PXEClient/conf is used.
There is a strange thing since the tftp logs show:

Code: Select all

Mar  8 08:44:39 hulk tftpd[17067]: Serving PXEClient/pxelinux.0 to 192.168.5.25:2070
Mar  8 08:44:39 hulk tftpd[17068]: Serving PXEClient/pxelinux.0 to 192.168.5.25:2071
Mar  8 08:44:39 hulk tftpd[17069]: Serving PXEClient/pxelinux.cfg/01-00-40-63-c4-d9-b2 to 192.168.5.25:57089
Mar  8 08:44:39 hulk tftpd[17070]: Serving PXEClient/messages to 192.168.5.25:57090
Mar  8 08:44:40 hulk tftpd[17071]: Serving PXEClient/kernel-minimyth-0.17.0.0beta1.c3 to 192.168.5.25:57091
Mar  8 08:44:40 hulk tftpd[17072]: Serving PXEClient/rootfs-minimyth-0.17.0.0beta1.c3 to 192.168.5.25:57092
Mar  8 08:44:55 hulk tftpd[17074]: Serving PXEClient/conf/(none)//minimyth.conf to 192.168.5.25:32768
Mar  8 08:44:55 hulk tftpd[17075]: Serving PXEClient/conf//minimyth.conf to 192.168.5.25:32768
Mar  8 08:44:55 hulk tftpd[17076]: Serving PXEClient/conf/(none)//minimyth.script to 192.168.5.25:32768
Mar  8 08:44:55 hulk tftpd[17077]: Serving PXEClient/conf//minimyth.script to 192.168.5.25:32768
Mar  8 08:44:55 hulk tftpd[17078]: Serving PXEClient/conf/(none)//loadmods.script to 192.168.5.25:32768
Mar  8 08:44:55 hulk tftpd[17079]: Serving PXEClient/conf//loadmods.script to 192.168.5.25:32768
Mar  8 08:44:55 hulk tftpd[17080]: Serving PXEClient/conf/(none)//localtime to 192.168.5.25:32768
Mar  8 08:44:55 hulk tftpd[17081]: Serving PXEClient/conf//localtime to 192.168.5.25:32768
Mar  8 08:44:55 hulk tftpd[17082]: Serving PXEClient/conf/(none)//xinitrc to 192.168.5.25:32768
Mar  8 08:44:55 hulk tftpd[17083]: Serving PXEClient/conf//xinitrc to 192.168.5.25:32768
Mar  8 08:44:55 hulk tftpd[17084]: Serving PXEClient/conf/(none)//xorg.conf to 192.168.5.25:32768
Mar  8 08:44:55 hulk tftpd[17085]: Serving PXEClient/conf//xorg.conf to 192.168.5.25:32768
Mar  8 08:44:55 hulk tftpd[17086]: Serving PXEClient/conf/(none)//lircd.conf to 192.168.5.25:32768
Mar  8 08:44:55 hulk tftpd[17087]: Serving PXEClient/conf//lircd.conf to 192.168.5.25:32768
Mar  8 08:44:55 hulk tftpd[17088]: Serving PXEClient/conf/(none)//lircrc to 192.168.5.25:32768
Mar  8 08:44:55 hulk tftpd[17089]: Serving PXEClient/conf//lircrc to 192.168.5.25:32768
Mar  8 08:44:56 hulk tftpd[17090]: Serving /PXEClient/extras-minimyth-0.17.0.0beta1.c3.tar.bz2 to 192.168.5.25:32768
Why does it show "//" for the config files? Could this be a problem?

2) lircd.any call
I call: lircd.any --device=/dev/lirc0 --driver=pinsys
But since the lircrc and lircd.conf is empty, this doesn't matter at this level...

3) kernel modules
The module "lirc_serial" is loaded, /dev/lirc0 exists.
Eduardo
Contributor
Posts: 212
Joined: Thu Mar 04, 2004 6:30 pm
Location: Winnipeg, Canada

Post by Eduardo »

I think conf may be in the wrong place...

"conf" should be in the TFTPROOT which on your system lookslike /var/tftp

To troubleshoot tftp I added the verbose flag "-v -v" to the "server_args" section of the tftp server startup (/etc/xinetd.d/tftp).

Code: Select all

service tftp
{
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/sbin/in.tftpd
        server_args             = -v -v -s /tftpboot
        disable                 = no
        per_source              = 11
        cps                     = 100 2
        flags                   = IPv4
}
Note: my tftproot is /tftpboot
Eduardo
-- M10000-Ezra 512M minimyth-0.19 / AMD 1.1 GHz 512M PVR350 w/tvout Myth 0.19 knoppmyth.R5B7
MartinE75
Member
Posts: 33
Joined: Sat May 08, 2004 2:48 pm
Location: AUSTRIA

Post by MartinE75 »

Eduardo wrote: "conf" should be in the TFTPROOT which on your system lookslike /var/tftp
The path was o.k., the file permissions were the problem - solved so far. Now i have to find the correct driver/device settings :-))

A small step for mankind but a big step for me!
MartinE75
Member
Posts: 33
Joined: Sat May 08, 2004 2:48 pm
Location: AUSTRIA

SOLVED: remote problems

Post by MartinE75 »

Finally i solved my remote problems.

My minimyth.conf section:

Code: Select all

MM_LIRC_DRIVER=pinsys
MM_LIRC_DEVICE=/dev/ttyS0
MM_LIRC_KERNEL_MODULE=8250
The lircd.conf and lircrc can be provided on request...

Thanks a lot!
MartinE75
Member
Posts: 33
Joined: Sat May 08, 2004 2:48 pm
Location: AUSTRIA

new problem with german "Umlaute"

Post by MartinE75 »

Hi,

having running the frontend just fine, i encountered a new problem.

I recorded a show with the German name "Enterprise - D
Eduardo
Contributor
Posts: 212
Joined: Thu Mar 04, 2004 6:30 pm
Location: Winnipeg, Canada

Post by Eduardo »

I installed my backend using RPM's maintained by Axel Thimm (ATRPMS), but t my daily cron job showed that there was a new release out and my system flagged it for updates. I didn't notice any new official releases at mythtv.org...

Does anyone know what the change was and is there any value for changing the frontend?

Also has any noticed that when using commercial skip, that the last skip always seems to jump to the end of the clip?
Eduardo
-- M10000-Ezra 512M minimyth-0.19 / AMD 1.1 GHz 512M PVR350 w/tvout Myth 0.19 knoppmyth.R5B7
Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo »

Eduardo wrote:I installed my backend using RPM's maintained by Axel Thimm (ATRPMS), but t my daily cron job showed that there was a new release out and my system flagged it for updates. I didn't notice any new official releases at mythtv.org...

Does anyone know what the change was and is there any value for changing the frontend?
If everything works for you now, I see no reason why you should update. Since the original 0.17 RPMs, some firewire patches and spec file support for nvidia xvmc has been added. In addition, bleeding currently has a version that adds support for running on epia hardware, which is not compatible with nvidia support.
Also has any noticed that when using commercial skip, that the last skip always seems to jump to the end of the clip?
On the MythTV mailing list, people have reported problems with bad behavior at the end of recorded shows, but I have not seen any fix. I have seen what your are describing. In addition, I have seen short freezes at the end of the show.
Eduardo
Contributor
Posts: 212
Joined: Thu Mar 04, 2004 6:30 pm
Location: Winnipeg, Canada

Post by Eduardo »

Pablo wrote:On the MythTV mailing list, people have reported problems with bad behavior at the end of recorded shows, but I have not seen any fix. I have seen what your are describing. In addition, I have seen short freezes at the end of the show.
Well at least it's not some weird bug on my recordings... Thanks for the advice.
Eduardo
-- M10000-Ezra 512M minimyth-0.19 / AMD 1.1 GHz 512M PVR350 w/tvout Myth 0.19 knoppmyth.R5B7
MartinE75
Member
Posts: 33
Joined: Sat May 08, 2004 2:48 pm
Location: AUSTRIA

irexec

Post by MartinE75 »

Hi,

could we integrate IREXEC in the final build. I want to attach an "suspend to ram" script to one of my remotes buttons.

Is there another way to do this?

BTW: forget my post about German special characters, i found the problem and everything is o.k. now
Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: irexec

Post by Pablo »

MartinE75 wrote:could we integrate IREXEC in the final build.
Yes, I will add it.
Post Reply