: When an unknown key code is received (from another remote, like the receiver's or the TV's), it is not eaten and the module keeps yelling about it. This patch stops the yelling.

−

: ''Jonas Anden, Thu Aug 2 00:28:17 CEST 2007''

−

: This patch is not cleanly applicable, but it is an easy one-liner to do by hand.

−

: This patch is regarded as not really being the proper fix; it just limits the effect of bad behaviour.

−

:

−

; NOTE If you don't use the remote at all, and want to not have "unknown key code" messages in the log, the RC polling can be disabled by putting "options dvb_usb disable_rc_polling=1" in /etc/modprobe.conf

−

</div>

−

}}

−

−

=== Kernel modules ===

−

−

dvb_usb_dib0700 38152 0

−

dib7000p 23560 2 dvb_usb_dib0700

−

dib7000m 22404 1 dvb_usb_dib0700

−

dvb_usb 27020 1 dvb_usb_dib0700

−

dvb_core 82388 2 dvb_usb

−

dib3000mc 20232 1 dvb_usb_dib0700

−

dibx000_common 11780 3 dib7000p,dib7000m,dib3000mc

−

dib0070 15236 2 dvb_usb_dib0700

+

{{Making-it-work:dvb-usb-dib0700}}

=== Specific to the model ===

=== Specific to the model ===

Line 108:

Line 83:

Supported in v4l-dvb as of 18 August 2007. The 70001 version has an IR sensor, and the 70009 version is listed by Wikipedia as having one. It works with Hauppauge's 45-button remote control and will handle signals from similar remote controls.

Supported in v4l-dvb as of 18 August 2007. The 70001 version has an IR sensor, and the 70009 version is listed by Wikipedia as having one. It works with Hauppauge's 45-button remote control and will handle signals from similar remote controls.

August 29,2008 - Issues with Firmware 1.20. Some issues have been found with the latest version of the firmware. Users may wish to continue to use 1.10 unless they have patched their v4l-dvb code with dib0700_new_i2c_api.patch.

November 15,2008 - Issues with Firmware 1.20.

The above mentioned dib0700_new_12c_api.patch is not available discretely but is now rolled into the mercurial drivers

dvb-usb-dib0700-1.20.fw firmware file is now stable for reception, but remote control functionality is broken; any key press is repeated until the next key is pressed. The only way to get remote control functionality presently is to roll back to 1.10 firmware and suffer the occasional disconnect.

The mercurial drivers have been changed so they now load 1.20 firmware. To revert to 1.10 firmware you need to rename your firmware file to dvb-usb-dib0700-1.20.fw or provide a link of that name.

To avoid spurious remote control signals with 1.20 firmware, you need to edit /etc/modprobe.d/options or from Ubuntu onwards /etc/modprobe.d/options.confand add:

options dvb_usb disable-rc-polling=1

November 28,2008 - i2c errors.
Changes were made to the remote control drivers on November 16,2008 to correct the repeat key problem. The card is generally stable for dual tuner reception and remote control function with Firmware 1.20.

November 10,2009 - mt2060 I2C write failed.
Possible regression of a driver bug raised against Ubuntu running 2.6.27-14 and 2.6.31-2.17 causing mt2060 I2C errors in MythTV useage with firmware 1.20.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/397696
Recommend check the kernel extensions listed here for Low Noise Activation and rc_polling are loaded with correct config file name for your distribution, EIT listings information is turned off until a suitable delay (500ms-1000ms)is added to a single card (not both) and the card has correctly been added to the database as two tuners (no additional NULL entries) in the mythtv recordcard table.

dibx000_common

Remote control support

Using evdev

As long as the evdev module is loaded, a remote that is recogniced as hid device will be treated as a usb keyboard and this means that you can avoid using lirc.

However, many of the keys on your remote may generate keycodes which are not mapped to anything, by default.

In X you can use xev to find the keycodes and xmodmap to map them to useful symbols.
Unfortunately, some keys may generate keycodes that X doesn't recognize at all and the device does not support keymaps, or this would be easy to fix.

Using LIRC

Usually remote controls in linux are managed by the lirc software collection.

To get lirc up and running you need to configure some things.

Settings for the hardware

Where does lirc get its input from? aka. the DEVICE. E.g. /dev/input/event3

LIRC will use it without needing a special kernel module. use the dev/input (or devinput. Check this with the command "lircd --device=help".) driver and specify the input event device in /etc/lirc/hardware.conf

# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS=""
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD=false
#Try to load appropriate kernel modules
LOAD_MODULES=true
# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="dev/input"
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
REMOTE_DEVICE="/dev/input/by-path/pci-4-1--event-ir"
MODULES=""
# Default configuration files for your hardware if any
LIRCD_CONF="/etc/lirc/lircd.conf"
LIRCMD_CONF=""

If you have REMOTE and TRANSMITTER sections in your hardware.conf file, they should look like this:

Remote key setup

Sample .lircrc

Keys repeated twice

But there is still the problem of the key repeats for it, so that each keypress will be repeated twice. The patches, as mentioned above, may not work, but a workaround is possilbe. It is described in http://ubuntuforums.org/showthread.php?p=4253678

Simply add config = echo " > /dev/null before the main config in .mythtv/lircrc or .lircrc

So each 2nd keypress will be suppressed. This works in some application but not others (e.g. vlc).

Alternatively there is a patch for the kernel driver that solves it, it can be found here.

Finally if that doesn't work and you have the silver remote (A415-HPG-WE-A
) then changing the lircd.conf line as follows can prevent the duplicate key presses. This has the side-effect of disabling key repeats for the remote entirely. Change
toggle_bit_mask 0x80000000
to
toggle_bit_mask 0x00000000

Note: do not try to comment out (using #) any line in this file, or lirc won't work anymore.

Do NOT do this:

#toggle_bit_mask 0x80000000
toggle_bit_mask 0x00000000

Replace the original line instead.

Specific to the model

Supported in v4l-dvb as of 18 August 2007. The 70001 version has an IR sensor, and the 70009 version is listed by Wikipedia as having one. It works with Hauppauge's 45-button remote control and will handle signals from similar remote controls.