[mythtv] ati rf remote

Rick Warner mythtv-dev@snowman.net
Fri, 27 Dec 2002 23:12:30 -0500


You may already have this fixed by now, but if not, read on-

download a clean vanilla kernel source from ftp.kernel.org (2.4.20 is the 
latest stable and is quite good- just make sure your fstab doesn't have 
"data=journal" as a mount option for your ext3 partitions- 2.4.20 has a bug 
with ext3) and save it to /usr/src

go to /usr/src and move the old redhat stuff to a different 
directory(ex-/usr/src/linux-redhat), untar the new kernel source, make a link 
/usr/src/linux to /usr/src/linux-2.4.20 with "ln -s linux-2.4.20 linux", cd 
into linux, run make mrproper, run make menuconfig

You'll want to go through each menu and enable/disable your needed things.
Looking at the output of "dmesg" or "lspci -vv |less" can be helpful in 
figuring out which drivers you need.

run "make dep bzImage modules modules_install install"
after that, you'll need to build the other modules used for your system too.
looks like you'll need to rebuild the nvidia driver and alsa drivers.

to do this, reboot into single user mode (if using grub as i assume) by 
selecting the new kernel form the menu at boot, hit e to edit boot string, 
and add "single" to the end, hit enter, and then b to boot

then do your thing to rebuild nvidia and alsa--
rpm --rebuild NVIDIA_kernel......src.rpm
rpm -e --nodeps NVIDIA_kernel
rpm -i --nodeps /usr/src/redhat/RPMS/i386/NVIDIA_kern.....rpm


Unsure of how you did alsa drivers.. is that rh8 stock?


On Saturday 14 December 2002 05:20 pm, Cedar McKay wrote:
> I'm trying to get the ATI radio frequency remote control working with
> mythtv. I already have lirc set up, but I'd like to banish my roaring
> beast of a machine to the closet, and rf lets me do that. I'm mailing
> this list because a) it is more responsive than the gatos list and b) I
> think I recall some people mentioning that they got it working with mythtv.
>
>
> When I follow the (very simple) instructions on the gatos website and I
> type make test I get this:
>
> [root@localhost ati_remote]# make test
> sync
> insmod ./ati_remote.o
> ./ati_remote.o: unresolved symbol usb_deregister
> ./ati_remote.o: unresolved symbol usb_set_idle
> ./ati_remote.o: unresolved symbol usb_register
> ./ati_remote.o: unresolved symbol usb_string
> ./ati_remote.o: unresolved symbol usb_submit_urb
> ./ati_remote.o: unresolved symbol usb_unlink_urb
> make: *** [test] Error 1
> [root@localhost ati_remote]#
>
>
> this happens regardless of whether I use make test or install the
> modules with 'make install' then do insmod manually. The gatos website
>
> has this to say about requirements:
> > Turn on USB and "input" support in the kernel.
> > For Linux 2.4.x you need the following modules: input.o, mousedev.o,
> > keybdev.o, hid.o. Make sure to compile hid.o with input support
> > enabled - there is a separate control specifically for hid.o
>
> I recompiled my kernel (for other reasons) and I think I have all these
> things, but I'm not too experienced so maybe not. Here are possibly
> relevent details:
>
> My board is an Asus A7N266-VM nforce based board.
> I'm running RH8 with a custom kernel (basically the RH defaults but
> compiled for athlon).
>
> This is my modules.conf file:
> ########################################
> alias char-major-61  lirc_serial
> ########################################
> alias parport_lowlevel parport_pc
> alias char-major-81 bttv
> #alias eth0 nvnet
> alias char-major-195 NVdriver
> #################################
> alias char-major-116 snd
> alias snd-card-0 snd-intel8x0
> # module options should go here
> # OSS/Free portion
> alias char-major-14 soundcore
> alias sound-slot-0 snd-card-0
> # card #1
> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-1 snd-seq-oss
> alias sound-service-0-3 snd-pcm-oss
> alias sound-service-0-8 snd-seq-oss
> alias sound-service-0-12 snd-pcm-oss
>
> ###################################################
> alias eth0 nvnet
> alias sound-slot-1 nvaudio
> alias usb-interface usb-ohci
>
>
>
>
>
> Here are the relevant sections which I think might have something to do
> with input.o, mousedev.o, keybdev.o and hid.o from my kernel .config
> file. At least I hope so. I coundn't find the string 'input.o' in my
> .config file, yet I seem to have an input.o module at
> /lib/modules/2.4.18-18.8.0custom/kernel/drivers/input/input.o
> same with mousedev.o
> /lib/modules/2.4.18-18.8.0custom/kernel/drivers/input/mousedev.o
> and keybdev.o
> /lib/modules/2.4.18-18.8.0custom/kernel/drivers/input/keybdev.o
> Anyway:
>
> # Input core support
> #
> CONFIG_INPUT=m
> CONFIG_INPUT_KEYBDEV=m
> CONFIG_INPUT_MOUSEDEV=m
> CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
> CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
> CONFIG_INPUT_JOYDEV=m
> CONFIG_INPUT_EVDEV=m
>
>
> and for hid.o
> # USB Human Interface Devices (HID)
> #
> CONFIG_USB_HID=m
> CONFIG_USB_HIDINPUT=y
> CONFIG_USB_HIDDEV=y
> # CONFIG_USB_KBD is not set
> # CONFIG_USB_MOUSE is not set
> CONFIG_USB_WACOM=m
>
>
>
>
> and for you hard core folks
> I have attatched the entire kernel .config file that I used to compile
> with.