mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #10424
[Bug 912251] Re: lirc_register_driver: dev pointer not filled in!
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).
--
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in Ubuntu.
https://bugs.launchpad.net/bugs/912251
Title:
lirc_register_driver: dev pointer not filled in!
Status in lirc package in Ubuntu:
Incomplete
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.d/lirc-sir.conf with:
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/hardware.conf
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_driver: dev pointer not filled in!
[ 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/3.0.0-12-generic/kernel/drivers/staging/lirc/lirc_sir.ko irq=3 io=0x2f8
insmod: error inserting '/lib/modules/3.0.0-12-generic/kernel/drivers/staging/lirc/lirc_sir.ko': -1 Input/output error
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_driver: sample_rate: 0
[ 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
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
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..etc.lirc.hardware.conf: 2012-01-04T19:38:28.247174
mtime.conffile..etc.lirc.lircd.conf: 2012-01-04T19:07:30.715709
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/912251/+subscriptions
References