[mythtv-users] Looking for Jarod's 'rc.sysinit-mm.diff' patch

Allan Risk arisk at hamster.foxhollow.ca
Sat Apr 16 00:49:11 UTC 2005


Here I am, responding to my own question, but perhaps it will help someone in the future.

Jarods site is operational now.  I had tried several times throughout the day, but perhaps after work he looked into it.
Thanks Jarod.

I looked at the file and noted that line 4 had a tab that wasn't in the previous post.
I believe it was just a formatting issue with the email.
This likely was the issue I had with my copy and paste attempt.

For future reference here is the file contents:

----------------------------------------------BEGIN BELOW
--- /etc/rc.d/rc.sysinit-orig 2004-11-01 12:31:10.000000000 -0800
+++ /etc/rc.d/rc.sysinit 2005-02-21 15:13:58.344675000 -0800
@@ -206,7 +206,17 @@
  load_module $module
 done
 
-echo -n $" audio"
+# video4linux capture drivers
+for module in `/sbin/modprobe -c | awk '/^alias[[:space:]]+char-major-81-[[:digit:]]+[[:space:]]/ { print $3 }'`; do
+ load_module $module
+done
+
+# lirc drivers
+for module in `/sbin/modprobe -c | awk '/^alias[[:space:]]+char-major-61+[[:space:]]/ { print $3 }'`; do
+ load_module $module
+done
+
+echo -n $" multimedia"
 
 # Everything else (duck and cover)
 for module in $other ; do
--------------------------------------------------------------------- END ABOVE

and also in hex in case things get lost with formatting

--------------------------------------------------------------------- BEGIN BELOW
00000000h: 2D 2D 2D 20 2F 65 74 63 2F 72 63 2E 64 2F 72 63 ; --- /etc/rc.d/rc
00000010h: 2E 73 79 73 69 6E 69 74 2D 6F 72 69 67 09 32 30 ; .sysinit-orig.20
00000020h: 30 34 2D 31 31 2D 30 31 20 31 32 3A 33 31 3A 31 ; 04-11-01 12:31:1
00000030h: 30 2E 30 30 30 30 30 30 30 30 30 20 2D 30 38 30 ; 0.000000000 -080
00000040h: 30 0D 0A 2B 2B 2B 20 2F 65 74 63 2F 72 63 2E 64 ; 0..+++ /etc/rc.d
00000050h: 2F 72 63 2E 73 79 73 69 6E 69 74 09 32 30 30 35 ; /rc.sysinit.2005
00000060h: 2D 30 32 2D 32 31 20 31 35 3A 31 33 3A 35 38 2E ; -02-21 15:13:58.
00000070h: 33 34 34 36 37 35 30 30 30 20 2D 30 38 30 30 0D ; 344675000 -0800.
00000080h: 0A 40 40 20 2D 32 30 36 2C 37 20 2B 32 30 36 2C ; .@@ -206,7 +206,
00000090h: 31 37 20 40 40 0D 0A 20 09 6C 6F 61 64 5F 6D 6F ; 17 @@.. .load_mo
000000a0h: 64 75 6C 65 20 24 6D 6F 64 75 6C 65 0D 0A 20 64 ; dule $module.. d
000000b0h: 6F 6E 65 0D 0A 20 0D 0A 2D 65 63 68 6F 20 2D 6E ; one.. ..-echo -n
000000c0h: 20 24 22 20 61 75 64 69 6F 22 0D 0A 2B 23 20 76 ;  $" audio"..+# v
000000d0h: 69 64 65 6F 34 6C 69 6E 75 78 20 63 61 70 74 75 ; ideo4linux captu
000000e0h: 72 65 20 64 72 69 76 65 72 73 0D 0A 2B 66 6F 72 ; re drivers..+for
000000f0h: 20 6D 6F 64 75 6C 65 20 69 6E 20 60 2F 73 62 69 ;  module in `/sbi
00000100h: 6E 2F 6D 6F 64 70 72 6F 62 65 20 2D 63 20 7C 20 ; n/modprobe -c | 
00000110h: 61 77 6B 20 27 2F 5E 61 6C 69 61 73 5B 5B 3A 73 ; awk '/^alias[[:s
00000120h: 70 61 63 65 3A 5D 5D 2B 63 68 61 72 2D 6D 61 6A ; pace:]]+char-maj
00000130h: 6F 72 2D 38 31 2D 5B 5B 3A 64 69 67 69 74 3A 5D ; or-81-[[:digit:]
00000140h: 5D 2B 5B 5B 3A 73 70 61 63 65 3A 5D 5D 2F 20 7B ; ]+[[:space:]]/ {
00000150h: 20 70 72 69 6E 74 20 24 33 20 7D 27 60 3B 20 64 ;  print $3 }'`; d
00000160h: 6F 0D 0A 2B 09 6C 6F 61 64 5F 6D 6F 64 75 6C 65 ; o..+.load_module
00000170h: 20 24 6D 6F 64 75 6C 65 0D 0A 2B 64 6F 6E 65 0D ;  $module..+done.
00000180h: 0A 2B 0D 0A 2B 23 20 6C 69 72 63 20 64 72 69 76 ; .+..+# lirc driv
00000190h: 65 72 73 0D 0A 2B 66 6F 72 20 6D 6F 64 75 6C 65 ; ers..+for module
000001a0h: 20 69 6E 20 60 2F 73 62 69 6E 2F 6D 6F 64 70 72 ;  in `/sbin/modpr
000001b0h: 6F 62 65 20 2D 63 20 7C 20 61 77 6B 20 27 2F 5E ; obe -c | awk '/^
000001c0h: 61 6C 69 61 73 5B 5B 3A 73 70 61 63 65 3A 5D 5D ; alias[[:space:]]
000001d0h: 2B 63 68 61 72 2D 6D 61 6A 6F 72 2D 36 31 2B 5B ; +char-major-61+[
000001e0h: 5B 3A 73 70 61 63 65 3A 5D 5D 2F 20 7B 20 70 72 ; [:space:]]/ { pr
000001f0h: 69 6E 74 20 24 33 20 7D 27 60 3B 20 64 6F 0D 0A ; int $3 }'`; do..
00000200h: 2B 09 6C 6F 61 64 5F 6D 6F 64 75 6C 65 20 24 6D ; +.load_module $m
00000210h: 6F 64 75 6C 65 0D 0A 2B 64 6F 6E 65 0D 0A 2B 0D ; odule..+done..+.
00000220h: 0A 2B 65 63 68 6F 20 2D 6E 20 24 22 20 6D 75 6C ; .+echo -n $" mul
00000230h: 74 69 6D 65 64 69 61 22 0D 0A 20 0D 0A 20 23 20 ; timedia".. .. # 
00000240h: 45 76 65 72 79 74 68 69 6E 67 20 65 6C 73 65 20 ; Everything else 
00000250h: 28 64 75 63 6B 20 61 6E 64 20 63 6F 76 65 72 29 ; (duck and cover)
00000260h: 0D 0A 20 66 6F 72 20 6D 6F 64 75 6C 65 20 69 6E ; .. for module in
00000270h: 20 24 6F 74 68 65 72 20 3B 20 64 6F 0D 0A       ;  $other ; do..
--------------------------------------------------------------------- END ABOVE


  ----- Original Message ----- 
  From: Allan Risk 
  To: mythtv-users at mythtv.org 
  Sent: Friday, April 15, 2005 5:52 PM
  Subject: [mythtv-users] Looking for Jarod's 'rc.sysinit-mm.diff' patch


  I'm looking for the patch file Jarod has at https://svn.wilsonet.com/svn/mythtvology/trunk/rc.sysinit-mm.diff.
  The link appears not be working currently.
  I assume Jarod is aware.  As svn.wilsonet.com appears to also be how I would inform him of the problem, it's a catch 22.

  I found a post in the archive (Feb. 23, 2005) where someone also experienced this issue.
  The contents of the file were posted, but if I create a file with those contents I get an error stating "malformed patch at line 4".

  Either some guidance on my error or a source of the file would be helpful.
  Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20050415/c8238ccc/attachment.htm


More information about the mythtv-users mailing list