LinHES Forums http://forum.linhes.org/ |
|
lirc8 / MCE2 USB http://forum.linhes.org/viewtopic.php?f=14&t=13058 |
Page 1 of 1 |
Author: | sithlord39 [ Thu Dec 21, 2006 3:17 pm ] |
Post subject: | lirc8 / MCE2 USB |
Hi all. I am attempting to get my mce version 2 remote working. I am following the instructions over here http://www.mythtv.org/wiki/index.php/MCE_Remote. This part went well: Code: cd /usr/src wget http://prdownloads.sourceforge.net/lirc/lirc-0.8.0.tar.bz2 bunzip lirc-0.8.0.tar.bz2 tar -xvf lirc-0.8.0.tar cd lirc-0.8.0 I then tried the automated installation script: Code: ./setup.sh After loading the appropriate drivers Code: Menu Option # (1) - Driver Configuration (enter) Menu Option # (8) - USB Devices (enter) Menu Option # (h) - Windows Media Center Remotes (new version, Philips et al.) (enter) I pressed enter to Code: Menu Option # (3) - Save your configuration and run configure (enter) I received the following error: Code: configure: error: *** you need to have the Linux kernel source installed for this driver However I saw that the wiki said the following: Quote: If you get an error message that the "kernel source is required", it actually means the kernel headers. On my system this Ubuntu package was linux-kernel-headers-2.9.12-9-386 to match the version returned by the uname -a command. Installing the right version of the headers to match your kernel version is esssential. You may also need to install the gcc compiler. So I entered the following command: Code: uname -a and received the following output: Quote: Linux mythtv 2.6.15-chw-2 #1 SMP PREEMPT Thu Jan 5 08:10:40 UTC 2006 i686 GNU/Linux
I'm not sure where to go from here. Thanks in advance |
Author: | adoute [ Thu Dec 21, 2006 5:47 pm ] |
Post subject: | |
If you have an Nvidia based video card, the kernel source should have already been extracted in /usr/src/linux. If the kernel source has not been extracted yet, it's easy to do. As root, cd to /usr/src Type: Code: tar jxvf kernel-source-2.6.15-chw-2.tar.bz2 (or do it the easy way - type tar jxvf kern then hit tab and the rest of the filename should be completed).
Hope that helps. Allan |
Author: | sithlord39 [ Thu Dec 21, 2006 7:49 pm ] |
Post subject: | |
ah no dice. BTW I have an ATI card which I managed to get working. Anyways heres what happened when I entered Code: cd /usr/src tar jxvf kernel-source-2.6.15-chw-2.tar.bz2 It went through a whole bunch of things and ended with the following: Code: kernel-source-2.6.15-chw-2/arch/i386/boot/.setup.cmd
kernel-source-2.6.15-chw-2/arch/i386/boot/vmlinux.bin kernel-source-2.6.15-chw-2/arch/i386/boot/.vmlinux.bin.cmd kernel-source-2.6.15-chw-2/arch/i386/boot/bzImage bzip2: Compressed file ends unexpectedly; perhaps it is corrupted? *Possible* reason follows. bzip2: Inappropriate ioctl for device Input file = (stdin), output file = (stdout) It is possible that the compressed file(s) have become corrupted. You can use the -tvv option to test integrity of such files. You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files. tar: Read 3592 bytes from kernel-source-2.6.15-chw-2.tar.bz2 tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now Any ideas? Do you need me to post the complete output? Thanks for the help so far. Also, I upgraded bzip2 today, could that be causing the problem? |
Author: | adoute [ Fri Dec 22, 2006 5:53 am ] |
Post subject: | |
I vaguely remember seeing a similar message when my root partition was full. Try running Code: df -h and post the results.
If your root partition is full, there are several posts which deal with the mysql log getting too large and how to fix it - this is (in my experience) the leading cause of a full root partition. |
Author: | sithlord39 [ Fri Dec 22, 2006 9:52 am ] |
Post subject: | |
Here is the result: Code: root@mythtv:~# df -h
Filesystem Size Used Avail Use% Mounted on /dev/hda1 4.7G 2.6G 1.9G 58% / /dev/hda3 107G 84G 24G 78% /myth tmpfs 132M 0 132M 0% /dev/shm Also weirdly my tv shows aren't showing up but they are there; however that is a separate topic. Any ideas? |
Author: | slowtolearn [ Fri Dec 22, 2006 10:11 am ] |
Post subject: | |
What does Code: bunzip2 -tvv kernel-source-2.6.15-chw-2.tar.bz2 produce? You may very well have a corrupted file, as the errors suggest.
|
Author: | sithlord39 [ Fri Dec 22, 2006 10:41 am ] |
Post subject: | |
slowtolearn, Code: bunzip2 -tvv kernel-source-2.6.15-chw-2.tar.bz2 produces the following: Code: bunzip2: Can't open input kernel-source-2.6.15-chw-2.tar.bz2: No such file or directory.
|
Author: | slowtolearn [ Fri Dec 22, 2006 10:48 am ] |
Post subject: | |
Ummm, you'll either need to be in the /usr/src directory, or add the /usr/src path: Code: bunzip2 -tvv /usr/src/kernel-source-2.6.15-chw-2.tar.bz2
|
Author: | sithlord39 [ Fri Dec 22, 2006 10:56 am ] |
Post subject: | |
sorry ![]() ok here is what that yields: Code: root@mythtv:~# bunzip2 -tvv /usr/src/kernel-source-2.6.15-chw-2.tar.bz2
/usr/src/kernel-source-2.6.15-chw-2.tar.bz2: [1: huff+mtf rt+rld] [2: huff+mtf rt+rld] [3: huff+mtf rt+rld] [4: huff+mtf rt+rld] [5: huff+mtf rt+rld] [6: huff+mtf rt+rld] [7: huff+mtf rt+rld] [8: huff+mtf rt+rld] [9: huff+mtf rt+rld] [10: huff+mtf rt+rld] [11: huff+mtf rt+rld] [12: huff+mtf rt+rld] [13: huff+mtf rt+rld] [14: huff+mtf rt+rld] [15: huff+mtf rt+rld] [16: huff+mtf rt+rld] [17: huff+mtf rt+rld] [18: huff+mtf rt+rld] [19: huff+mtf rt+rld] [20: huff+mtf rt+rld] [21: huff+mtf rt+rld] [22: huff+mtf rt+rld] [23: huff+mtf rt+rld] [24: huff+mtf rt+rld] [25: huff+mtf rt+rld] [26: huff+mtf rt+rld] [27: huff+mtf rt+rld] [28: huff+mtf rt+rld] [29: huff+mtf rt+rld] [30: huff+mtf rt+rld] [31: huff+mtf rt+rld] [32: huff+mtf rt+rld] [33: huff+mtf rt+rld] [34: huff+mtf rt+rld] [35: huff+mtf rt+rld] [36: huff+mtf rt+rld] [37: huff+mtf rt+rld] [38: huff+mtf rt+rld] [39: huff+mtf rt+rld] [40: huff+mtf rt+rld] [41: huff+mtf rt+rld] [42: huff+mtf rt+rld] [43: huff+mtf rt+rld] [44: huff+mtf rt+rld] [45: huff+mtf rt+rld] [46: huff+mtf rt+rld] [47: huff+mtf rt+rld] [48: huff+mtf rt+rld] [49: huff+mtf rt+rld] [50: huff+mtf rt+rld] [51: huff+mtf rt+rld] [52: huff+mtf rt+rld] [53: huff+mtf rt+rld] [54: huff+mtf rt+rld] [55: huff+mtf rt+rld] [56: huff+mtf rt+rld] [57: huff+mtf rt+rld] [58: huff+mtf rt+rld] [59: huff+mtf rt+rld] [60: huff+mtf rt+rld] [61: huff+mtf rt+rld] [62: huff+mtf rt+rld] [63: huff+mtf rt+rld] [64: huff+mtf rt+rld] [65: huff+mtf rt+rld] [66: huff+mtf rt+rld] [67: huff+mtf rt+rld] [68: huff+mtf rt+rld] [69: huff+mtf rt+rld] [70: huff+mtf rt+rld] [71: huff+mtf rt+rld] [72: huff+mtf rt+rld] [73: huff+mtf rt+rld] [74: huff+mtf rt+rld] [75: huff+mtf rt+rld] [76: huff+mtf rt+rld] [77: huff+mtf rt+rld] [78: huff+mtf rt+rld] [79: huff+mtf rt+rld] [80: huff+mtf rt+rld] [81: huff+mtf rt+rld] [82: huff+mtf rt+rld] [83: huff+mtf rt+rld] [84: huff+mtf rt+rld] [85: huff+mtf rt+rld] [86: huff+mtf rt+rld] [87: huff+mtf rt+rld] [88: huff+mtf rt+rld] [89: huff+mtf rt+rld] [90: huff+mtf rt+rld] [91: huff+mtf rt+rld] [92: huff+mtf rt+rld] [93: huff+mtf rt+rld] [94: huff+mtf rt+rld] [95: huff+mtf rt+rld] [96: huff+mtf rt+rld] [97: huff+mtf rt+rld] [98: huff+mtf rt+rld] [99: huff+mtf rt+rld] [100: huff+mtf rt+rld] [101: huff+mtf rt+rld] [102: huff+mtf rt+rld] [103: huff+mtf rt+rld] [104: huff+mtf rt+rld] [105: huff+mtf rt+rld] [106: huff+mtf rt+rld] [107: huff+mtf rt+rld] [108: huff+mtf rt+rld] [109: huff+mtf rt+rld] [110: huff+mtf rt+rld] [111: huff+mtf rt+rld] [112: huff+mtf rt+rld] [113: huff+mtf rt+rld] [114: huff+mtf file ends unexpectedly You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files. |
Author: | slowtolearn [ Fri Dec 22, 2006 1:41 pm ] |
Post subject: | |
Looks like your source tarball is corrupt. I don't know of any way to extract a fresh copy from the CD, sorry. Hopefully someone else here will have an idea... |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |