[linux-dvb] af9005, remote with lircd

Matthäus Janiczek jama-mj at gmx.de
Mon Jan 29 22:09:23 CET 2007

Luca Olivetti wrote:

>BTW, if you're fine with the remote provided with the card, it should 
>already work. If it doesn't it means that it generates different codes 
>than the 2 remotes I know (1 mine and 1 from another user, download a 
>fresh copy of the source in case you have an old table with just one 
>remote), so I'd ask you to load the dvb-usb-af9005-remote module with 
>debug=1 and check in the log the "raw codes", check that they're 
>repeatable (i.e., pressing the same key you should get the same code) 
>and send me the mapping key->code so I can add your remote to the table 
>(if it suits the model).


/Sorry for not replied earlier but i had to bought an new battery to be sure that the remote gets power :)
So, i tried
/sudo rmmod dvb-usb-af9005-remote
sudo modprobe dvb-usb-af9005-remote debug=1

/and /

///sudo rmmod dvb-usb-af9005-remote
sudo modprobe dvb-usb-af9005-remote debug=1 > raw_code_log//

to load the module with debug=1 but nothing happend :(/
/So I tried to prepare everything for lirc, I followed the instruction.
after made 
/patch -p1 < af9005-config.diff
/in the v4l-dvb-kernel Directory i got this:
patching file linux/drivers/media/dvb/dvb-usb/Kconfig
Hunk #1 succeeded at 168 (offset -12 lines).
patching file linux/drivers/media/dvb/dvb-usb/Makefile
Hunk #1 FAILED at 42.
1 out of 1 hunk FAILED -- saving rejects to file linux/drivers/media/dvb/dvb-usb/Makefile.rej

/I've send the Makefile.rej and the modified Makefile as attachments 

Now going on with "make" and "make install" and trying to load the dvb-usb-af9005-lirc with 
/sudo modprobe dvb-usb-af9005-lirc
/I get

/FATAL: Module dvb_usb_af9005_lirc not found.

/Did I forget anythin essential?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.rej
Type: application/x-reject
Size: 643 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070129/e259c3fc/Makefile.bin
-------------- next part --------------
dvb-usb-objs = dvb-usb-firmware.o dvb-usb-init.o dvb-usb-urb.o dvb-usb-i2c.o dvb-usb-dvb.o dvb-usb-remote.o usb-urb.o
obj-$(CONFIG_DVB_USB) += dvb-usb.o

dvb-usb-vp7045-objs = vp7045.o vp7045-fe.o
obj-$(CONFIG_DVB_USB_VP7045) += dvb-usb-vp7045.o

dvb-usb-vp702x-objs = vp702x.o vp702x-fe.o
obj-$(CONFIG_DVB_USB_VP702X) += dvb-usb-vp702x.o

dvb-usb-gp8psk-objs = gp8psk.o gp8psk-fe.o
obj-$(CONFIG_DVB_USB_GP8PSK) += dvb-usb-gp8psk.o

dvb-usb-dtt200u-objs = dtt200u.o dtt200u-fe.o
obj-$(CONFIG_DVB_USB_DTT200U) += dvb-usb-dtt200u.o

dvb-usb-dibusb-common-objs = dibusb-common.o

dvb-usb-a800-objs = a800.o
obj-$(CONFIG_DVB_USB_A800) += dvb-usb-dibusb-common.o dvb-usb-a800.o

dvb-usb-dibusb-mb-objs = dibusb-mb.o
obj-$(CONFIG_DVB_USB_DIBUSB_MB) += dvb-usb-dibusb-common.o dvb-usb-dibusb-mb.o

dvb-usb-dibusb-mc-objs = dibusb-mc.o
obj-$(CONFIG_DVB_USB_DIBUSB_MC) += dvb-usb-dibusb-common.o dvb-usb-dibusb-mc.o

dvb-usb-nova-t-usb2-objs = nova-t-usb2.o
obj-$(CONFIG_DVB_USB_NOVA_T_USB2) += dvb-usb-dibusb-common.o dvb-usb-nova-t-usb2.o

dvb-usb-umt-010-objs = umt-010.o
obj-$(CONFIG_DVB_USB_UMT_010) += dvb-usb-dibusb-common.o dvb-usb-umt-010.o

dvb-usb-digitv-objs = digitv.o
obj-$(CONFIG_DVB_USB_DIGITV) += dvb-usb-digitv.o

dvb-usb-cxusb-objs = cxusb.o
obj-$(CONFIG_DVB_USB_CXUSB) += dvb-usb-cxusb.o

dvb-usb-dib0700-objs = dib0700_core.o dib0700_devices.o
obj-$(CONFIG_DVB_USB_DIB0700) += dvb-usb-dib0700.o

dvb-usb-af9005-lirc-objs = af9005-lirc.o
obj-m += dvb-usb-af9005-lirc.o

EXTRA_CFLAGS = -Idrivers/media/dvb/dvb-core/ -Idrivers/media/dvb/frontends/ -I/usr/src/lirc-0.8.1/

More information about the linux-dvb mailing list