lirc_register_driver: dev pointer not filled in!
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-lts-xenial (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Lirc package installed on a Dell Latitude d600 with builtin infrared port and configured for "SIR IrDA (built-in IR ports)" on /dev/ttyS1 (io=0x2f8, irq=3). BIOS is configured with IrDA on COM2.
Created /etc/modprobe.
install lirc_sir setserial /dev/ttyS1 uart none; modprobe --ignore-install lirc_sir irq=3 io=0x2f8
Starting lirc gives the following error:
# /etc/init.d/lirc start
* Loading LIRC modules [ OK ]
* Unable to load LIRC kernel modules. Verify your
* selected kernel modules in /etc/lirc/
and the following kernel messages:
[ 23.184985] lirc_dev: IR Remote Control driver registered, major 251
[ 23.192510] init: apport pre-start process (867) terminated with status 1
[ 23.222720] lirc_sir: module is from the staging directory, the quality is unknown, you have been warned.
[ 23.229006] lirc_register_
[ 23.229083] lirc_sir: init_chrdev() failed.
The lirc_sir module is not loaded and lirc doesn't work. Trying to manually load the module with the following commands gives the same error:
# setserial /dev/ttyS1 uart none
# insmod /lib/modules/
insmod: error inserting '/lib/modules/
Compiling lirc version 0.9.1-git from the lirc git repository and manually loading the new modules works fine and I can then succesfully start lircd and test my remote with irw:
[ 2354.994042] lirc_dev: IR Remote Control driver registered, major 251
[ 2380.204606] lirc_dev: lirc_register_
[ 2380.204797] lirc_sir: I/O port 0x02f8, IRQ 3.
[ 2380.204815] lirc_sir: Installed.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lirc 0.9.0-0ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Thu Jan 5 13:42:56 2012
InstallationMedia: Xubuntu 11.04 "Natty Narwhal" - Release i386 (20110426.1)
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: lirc
UpgradeStatus: Upgraded to oneiric on 2011-10-31 (66 days ago)
mtime.conffile.
mtime.conffile.
This is clearly a kernel bug (media subsystem) and should be reassigned to the kernel. lirc is not involved in this (the lirc_sir module belongs despite it's name to the kernel).