You are not logged in.
I just have bought a Leadtech Winfast 2000 XP RM tvtuner, and accordig to this official howto i need ir_kbd_gpio and btaudio modules to use the remote and the dsp of the card, but they arent avalible:
[root@robotkurva lirc]# modprobe ir_kbd_gpio
FATAL: Module ir_kbd_gpio not found.
[root@robotkurva lirc]# modprobe btaudio
FATAL: Module btaudio not found.
Offline
shall i submit a bugreport instead?
Offline
As far as I can see, those modules are not in the official Linux kernel. But if someone finds them there, they could be added.
Offline
As far as I can see, those modules are not in the official Linux kernel. But if someone finds them there, they could be added.
so i have to compille my own kernel? or is there any way to have these modules in the official kernel26 package?
Offline
so i have to compille my own kernel? or is there any way to have these modules in the official kernel26 package?
Compiling your own kernel isn't necessary. You can easily compile any external module. As these modules are (afaik) not part of the Linux kernel, you have to find the source first.
Offline
btaudio isn't in the Arch kernel because it's an OSS module. Try the ALSA equivalent, snd_bt87x.
Offline
btaudio isn't in the Arch kernel because it's an OSS module. Try the ALSA equivalent, snd_bt87x.
don't work:(
in ubuntu edgy the "btaudio" module is present, and works for me.
no way to include in the arch kernel? (why is it a problem being an OSS module?)
Offline
i've installed the previous version of mandrake on a separate partition, and it has the ir_kbd_gpio kernel module, and i was able to use my remote!!!
so i must find a way to have that module in arch...
it is here in the madriva's kernel.RPM:
./lib/modules/2.6.12-12mdk/kernel/drivers/media/video/ir-kbd-gpio.ko.gz
Offline
Can you post the kernel config from that Mandriva install?
Offline
Can you post the kernel config from that Mandriva install?
Sure! Posted on the paste-bin: LINK
Offline
It's incomplete. Post from '# Pseudo filesystems' to the end again.
Offline
It's incomplete. Post from '# Pseudo filesystems' to the end again.
paste-bin can handle only this size of text, so here is the rest of the config (prom Pseudo...):
LINK
Offline
I got the following answer on video4linux-list for my problem:
"This module is merged into bttv currently, you don't need to load
anything else for remote, just bttv. But it seems that particulary
winfast card is broken in recent kernel. You need the following patch
http://marc.theaimsgroup.com/?l=linux-v … 716390&w=2
To merge this patch into kernel, you need to identify the card and find
the reason why wrong values were included previously."
here is the patch:
--- bttv-input.c.orig 2006-10-15 18:57:11.000000000 +0300
+++ bttv-input.c 2006-10-15 18:28:08.000000000 +0300
@@ -65,6 +65,8 @@
(ir->mask_keyup && (0 == (gpio & ir->mask_keyup)))) {
ir_input_keydown(ir->dev,&ir->ir,data,data);
} else {
+
+ if (btv->c.type == BTTV_BOARD_WINFAST2000) ir_input_keydown(ir->dev,&ir->ir,data,data);
ir_input_nokey(ir->dev,&ir->ir);
}
@@ -313,7 +315,7 @@
case BTTV_BOARD_WINFAST2000:
ir_codes = ir_codes_winfast;
- ir->mask_keycode = 0x1f8;
+ ir->mask_keycode = 0x0f8;
break;
case BTTV_BOARD_MAGICTVIEW061:
case BTTV_BOARD_MAGICTVIEW063:
How to apply it to the arch kernel the most elegant way?
Offline
If you look at the last 200 lines or so of that config, you will see a heading "Unofficial 3rd party kernel additions". Everything below that is not part of the official sources from kernel.org i.e. various external modules for additional functionality - ndiswrapper, acx100, rt2500, etc. Most relevant, though, is LIRC, and you will see the line CONFIG_LIRC_GPIO=m in that section, which is probably responsible for your ir_kbd_gpio module.
Unlike Mandriva, Arch provides these 3rd party modules separately, as they should be, and although I can't be 100% certain without running that particular kernel, I reckon you need to install the lirc package, and use the lirc_gpio module that it provides.
Getting back to btaudio, OSS is deprecated in favour of ALSA, and is therefore not supported by the Arch kernel packages. It is still provided in the kernel source, however, so you could reinstate it by compiling your own kernel.
<edit>
And all of that is now irrelevant, thanks to that patch you found.
To use it, have a look at the kernel26 PKGBUILD to see how patches are handled.
Offline
the patch needed a little bit modification in order to use with Arch's 2.6.18.2 kernel, now it needs to be placed in the kernel26 directory in abs, and can be applied with 'patch -Np0 -i bttv-input.patch' in the PKGBUILD.
bttv-input.patch:
*** drivers/media/video/bt8xx/bttv-input.c~ 2006-11-15 12:30:05.000000000 +0100
--- drivers/media/video/bt8xx/bttv-input.c 2006-11-15 12:40:56.000000000 +0100
***************
*** 65,70 ****
--- 65,71 ----
(ir->mask_keyup && (0 == (gpio & ir->mask_keyup)))) {
ir_input_keydown(ir->dev,&ir->ir,data,data);
} else {
+ if (btv->c.type == BTTV_BOARD_WINFAST2000) ir_input_keydown(ir->dev,&ir->ir,data,data);
ir_input_nokey(ir->dev,&ir->ir);
}
now my Leadtek Winfast TV2000 XP RM remote control works as an input event with lirc (using input event lirc.conf from bttv FAQ)
Offline