LinHES Forums
http://forums.linhes.org/

R5F27's patcher
http://forums.linhes.org/viewtopic.php?f=3&t=16709
Page 2 of 3

Author:  stevetv [ Fri Nov 16, 2007 5:03 pm ]
Post subject:  Re: R5F27's patcher

ayourk wrote:
Human wrote:
...

3: Fix XMLTV bug by upgrading it
Code:
cd /root
wget http://internap.dl.sourceforge.net/sourceforge/xmltv/xmltv-0.5.48.tar.bz2
tar xjf xmltv-0.5.48.tar.bz2
cd xmltv-0.5.48/
perl Makefile.PL PREFIX=/usr --default
make
make install
cd /usr/share/perl5
/bin/mv -f XMLTV XMLTV.orig
/bin/mv -f XMLTV.pm XMLTV.pm.orig

...


Why not use the xmltv, xmltv-gui, & xmltv-util debs from unstable/main? They are up to version 0.5.50 now.

As for i2c-id.h, you may want to grab the version from:

http://linuxtv.org/hg/v4l-dvb/raw-file/ ... x/i2c-id.h, or better yet:

Code:
if [ ! -x /root/v4l-dvb-1387dc197077 ]; then
    cd /root
    wget http://linuxtv.org/hg/v4l-dvb/archive/1387dc197077.tar.bz2
    tar -jxf 1387dc197077.tar.bz2
fi


worked for me

Author:  TVBox [ Mon Nov 19, 2007 4:43 am ]
Post subject: 

ayourk wrote:
Quote:
Code:
if [ ! -x /root/v4l-dvb-1387dc197077 ]; then
cd /root
wget http://linuxtv.org/hg/v4l-dvb/archive/1 ... 77.tar.bz2
tar -jxf 1387dc197077.tar.bz2
fi

This worked for me too.
Code:
cd /root
wget http://linuxtv.org/hg/v4l-dvb/archive/1387dc197077.tar.bz2
tar -jxf 1387dc197077.tar.bz2


It corrected the i2c-id.h plus the other 11 dead links
out of the 12 links I followed 4 of them to the files in V4l-dvb-1387dc197077 and 4 out of 4 where correct. Thanks avourk

And Thanks Human this patcher is one of the best features KM has got. Look at the time saved by 100 people not having to fix the same problem. Also when they build R6?? it is a place to look for those small issues that have got missed in the previous build.
Good Work!
TVBox

Author:  ayourk [ Mon Nov 19, 2007 6:53 pm ]
Post subject:  v4l-dvb-1387dc197077

If I may be so bold; why not include 1387dc197077.tar.bz2 as v4l-dvb-1387dc197077.tar.bz2 on ftp.knoppmyth.net ? This would save any extra load on linuxtv.org's server.

Also, why isn't this topic "Sticky"?

Author:  TVBox [ Wed Dec 12, 2007 3:34 am ]
Post subject: 

This is just another tid-bit to promote the removal of the i2c-id.h section that I had you add and replace it with the v4l-dvb. Ceil makes a comment here
http://www.knoppmyth.net/phpBB2/viewtopic.php?p=104432#104432

Quote:
cecil wrote:
Get the tip of v4l/dvb and make kernel-links. I've a lot on my plate at the moment, but I'll try and remember this for future releases. You can find the "tip" here: http://linuxtv.org/hg/v4l-dvb/archive/tip.tar.bz2

TVBox

Author:  Human [ Fri Dec 21, 2007 10:54 pm ]
Post subject: 

Sorry I've been away from the patcher for a while. I've been working on a new program and architecture called Tweaker which should debut in R6.

I'm glad the patcher has been so useful :) Patches will be a part of R6, too, although they will work in a different way.

I can move the tarfile to knoppmyth.net if Cecil or Dale says it's ok. It's always going to use someone's bandwidth...

Author:  TVBox [ Tue Dec 25, 2007 7:48 am ]
Post subject:  Biostar TF7050 , Realtek ALC888 , Sound problem

Human
Just so you know about it the script for "On board audio for Biostar TF7025/7050 and other motherboards that needs Realtek ALSA drivers" dos not function. I have two Biostar TF7050 that I have did auto installs on numerous times and have never been successfully. Your script detects the hardware Ok but is the following statement suppose to be a move or remove?
Code:
 /bin/mv /lib/modules/2.6.18.chw-13/updates/alsa .

This line of code dos not work as it sits. If it is move doesn't it need a destination? I don't see that this step was necessary anyway. In the 50+ pages of verbose the Realtek install seems to be doing that just fine anyway. The problem as I see it right now is the the Realtek install program dos not install the snd-hda-intel module properly. Realtek just released a new driver.
    realtek-linux-audiopack-4.07a/alsa-driver-rt20071002

Installing 4.07a after installing 4.06b produces failure. If I install 4.07a before patcher runs, when I reboot patcher runs and installs the old version over top of the new one. My only question here is how do you stop Patcher from running?

TVBox

Author:  tjc [ Tue Dec 25, 2007 10:21 am ]
Post subject: 

FWIW - The move does have a destination. Presumably it's being run from roots home directory /root and since "." (pronounced "dot") here is shorthand for the current directory this is equivalent to:
Code:
/bin/mv /lib/modules/2.6.18.chw-13/updates/alsa /root

Reading Unix scripts is not all that hard, but it does presume that you understand certain conventions like this. If you see punctuation characters in a script or example command they generally mean something, and that meaning may even change depending on what part of the command they're in.

Author:  Human [ Wed Dec 26, 2007 10:20 am ]
Post subject: 

As tjc said, the syntax is valid. The problem is that the URL for the drivers has changed. Looks like they have a new version (counter-intuitively named 4.06a, even though 4.06b was the old version) here: ftp://202.65.194.211/pc/audio/realtek-l ... 6a.tar.bz2

Replace the 'wget' line in the code to grab this one instead. Let me know if it works, please, and I'll change patcher to use this URL instead.

EDIT: Hold off on that for now. I looked at Realtek's FTP server and see that they still do have 4.06b, but they don't link to it from their website. How odd.

EDIT2: Please try with each of these URLs and let me know the latest version that works:
ftp://202.65.194.211/pc/audio/realtek-l ... 6b.tar.bz2
ftp://202.65.194.211/pc/audio/realtek-l ... 6c.tar.bz2
ftp://202.65.194.211/pc/audio/realtek-l ... 7a.tar.bz2

Author:  Das Hammer [ Wed Jan 30, 2008 11:03 am ]
Post subject: 

I see there is a 4.07b now available from BioStar.

Was anyone ever able to get something working for this by modifying the wget line to point to the new version then running the patcher?

Author:  rollit12 [ Wed Feb 06, 2008 1:37 pm ]
Post subject:  Adding TERM=(somethingsane) to mythtv-backend startup script

Not sure if this is a candidate for the patcher, but I found that if you don't change the mythtv-backend startup script to include some sort of setting for the TERM variable, the myth2ipod feature doesn't work.

Author:  Human [ Thu Feb 07, 2008 10:36 am ]
Post subject:  Re: Adding TERM=(somethingsane) to mythtv-backend startup sc

rollit12 wrote:
Not sure if this is a candidate for the patcher, but I found that if you don't change the mythtv-backend startup script to include some sort of setting for the TERM variable, the myth2ipod feature doesn't work.

I just tried myth2ipod on a stock R5F27 installation on 1080i content, and I got the right results. Perhaps there's some other root cause preventing it from working for you? Please look into it in a separate thread, and if there's a resolution that I can add to the patcher, please let me know.

Author:  steeve [ Mon Mar 17, 2008 10:35 pm ]
Post subject: 

Das Hammer wrote:
I see there is a 4.07b now available from BioStar.

Was anyone ever able to get something working for this by modifying the wget line to point to the new version then running the patcher?


I just did a R5F27 install on an ASUS P1-AH2 and fought the good fight trying to get S/PDIF to work. The cure was to update the Realtek drivers using the commands in LivePatch.sh. S/PDIF now works!!! Yay!!!! These are the commands I followed as root:

Code:
# cd /tmp
# /bin/mv /lib/modules/2.6.18.chw-13/updates/alsa /tmp
# wget ftp://209.216.61.149/pc/audio/realtek-linux-audiopack-<current-driver-name>.tar.bz2
# tar xfj realtek-linux-audiopack-<current-driver-name>.tar.bz2
# cd realtek-linux-audiopack-<current-driver-name>
# sed -i "s/^\(alsaconf\)/#\1/g" install
# ./install
reboot


The driver as of 03/17/08 is 5.01. I let the "./install" process run and do its magic and was pleasantly surprised..no, wait, scratch that, I was f***ing astounded!!!...er, sorry...that it worked after I had spent two days hammering on it to get it to work.

Hope this helps someone!

-sTv :D

Author:  sniffton [ Tue Jun 24, 2008 2:43 pm ]
Post subject: 

Does anyone know an alternate url for tp://209.216.61.149/pc/audio/realtek-li ... 6b.tar.bz2


it keeps on stalling


tia,

N

Author:  Human [ Tue Jun 24, 2008 3:08 pm ]
Post subject: 

Latest is at ftp://66.104.77.130/pc/audio/LinuxPkg_5.04.tar.bz2

Author:  sniffton [ Tue Jun 24, 2008 3:38 pm ]
Post subject: 

could you add it to the patcher? (that's what started me down this road)



btw great work on the patcher, I think the concept is really cool


thnx


N

Page 2 of 3 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/