Package: ir-keytable
Version: 0.8.4-2
Severity: normal

I have two DVB-C cards, on full featured older "Fujitsu/Siemens DVB-C
card rev1.5" and a newer budget "Technotrend Systemtechnik GmbH DVB
C-1500", which also has a IR-receiver.

04:06.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)
        Subsystem: Technotrend Systemtechnik GmbH DVB C-1500
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (3750ns min, 9500ns max)
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at febffc00 (32-bit, non-prefetchable) [size=512]
        Kernel driver in use: budget_ci dvb
04:07.0 0480: 1131:7146 (rev 01)
        Subsystem: 110a:0000
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
        Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64 (3750ns min, 9500ns max)
        Interrupt: pin A routed to IRQ 17
        Region 0: Memory at febff800 (32-bit, non-prefetchable) [size=512]
        Kernel driver in use: av7110

During InitRamFs or somewhere else very early during boot the IR input
device on the budget card is detected and the udev rules tries to load
the key mapping, which failes because it is not yet available.
/var/log/dmesg contains the following lines:

...
Unpacking initramfs...
Freeing initrd memory: 4200k freed
...
udevd[823]: starting version 170
...
saa7146: register extension 'budget_ci dvb'.
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 18
budget_ci dvb 0000:04:06.0: PCI INT A -> Link[LNKA] -> GSI 18 (level, low) -> 
IRQ 18
saa7146: found saa7146 @ mem ffffc900102e4c00 (revision 1, irq 18) 
(0x13c2,0x1010).
saa7146 (0): dma buffer size 192512
DVB: registering new adapter (TT-Budget-C-CI PCI)
adapter has MAC addr = 00:d0:5c:68:39:61
IR keymap rc-tt-1500 not found
Registered IR keymap rc-empty
input: Budget-CI dvb ir receiver saa7146 (0) as 
/devices/pci0000:00/0000:00:10.0/0000:04:06.0/rc/rc0/input7
rc0: Budget-CI dvb ir receiver saa7146 (0) as 
/devices/pci0000:00/0000:00:10.0/0000:04:06.0/rc/rc0
saa7146: register extension 'av7110'.
DVB: registering adapter 0 frontend 0 (ST STV0297 DVB-C)...
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 17
av7110 0000:04:07.0: PCI INT A -> Link[LNKB] -> GSI 17 (level, low) -> IRQ 17
saa7146: found saa7146 @ mem ffffc900101f2800 (revision 1, irq 17) 
(0x110a,0x0000).
DVB: registering new adapter (Fujitsu Siemens DVB-C)
adapter has MAC addr = 00:d0:5c:01:83:6c
ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 22
HDA Intel 0000:00:10.1: PCI INT B -> Link[LAZA] -> GSI 22 (level, low) -> IRQ 22
hda_intel: Disable MSI for Nvidia chipset
HDA Intel 0000:00:10.1: setting latency timer to 64
dvb-ttpci: gpioirq unknown type=0 len=0
dvb-ttpci: info @ card 1: firm f0240009, rtsl b0250018, vid 71010068, app 
80002622
dvb-ttpci: firmware @ card 1 supports CI link layer interface
dvb-ttpci: DVB-C analog module @ card 1 detected, initializing MSP3400
nvidia: module license 'NVIDIA' taints kernel.
Disabling lock debugging due to kernel taint
saa7146_vv: saa7146 (1): registered device video0 [v4l2]
saa7146_vv: saa7146 (1): registered device vbi0 [v4l2]
DVB: registering adapter 1 frontend 0 (VLSI VES1820 DVB-C)...
input: DVB on-card IR receiver as 
/devices/pci0000:00/0000:00:10.0/0000:04:07.0/input/input8
dvb-ttpci: found av7110-0.
...
EXT3-fs (sda1): using internal journal
Adding 10485756k swap on /dev/mapper/scout-swap.  Priority:-1 extents:1 
across:10485756k 
EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (dm-1): using internal journal
EXT3-fs (dm-1): mounted filesystem with writeback data mode
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (dm-3): using internal journal
EXT3-fs (dm-3): mounted filesystem with writeback data mode
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (dm-4): using internal journal
EXT3-fs (dm-4): mounted filesystem with writeback data mode
...

sda1 is my / device.
Currently I have to invoke "ir-keytable -s rc0 -v -w
/lib/udev/rc_keymaps/tt_1500 >/dev/null" from /etc/rc.local to work
around this and to get IR working.

I think that ir-keymap should either provide some
/usr/share/initramfs-tools/hooks/ scripts to copy the needed files into
the InitRamFs, or it should be patched to only load the keymap files as
soon as the file systems are mounted.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39.1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ir-keytable depends on:
ii  libc6                         2.13-7     Embedded GNU C Library: Shared lib

Versions of packages ir-keytable recommends:
ii  udev                          171-1      /dev/ and hotplug management daemo

ir-keytable suggests no packages.

-- Configuration Files:
/etc/rc_maps.cfg changed:
*       rc-tt-1500               tt_1500


-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to