Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lirc device missing with updated udev
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
rkidder
n00b
n00b


Joined: 16 Jul 2004
Posts: 14

PostPosted: Thu Feb 02, 2006 3:33 am    Post subject: lirc device missing with updated udev Reply with quote

After an emerge -u world, udev no longer creates the device files for lirc. At least I think it's udev to blame. I upgraded from 070-r1 to 079-r1.

Prior to upgrading, the device was created at /dev/lirc/0 and a socket was created at /dev/lircd. The socket is still created (by the init script), and the lircd daemon is running with the arguement '-d /dev/lirc/0' just as it had before. Of course as soon as something tries to read an event from lirc, lircd crashes with an error that it can't read from /dev/lirc/0.

udev does appear to detect the modules loading. Running udevmonitor, I get the following output when I load 'lirc_dev':
Code:
UEVENT[1138848975.951288] add@/module/lirc_dev


and when I load 'lirc_i2c' (I'm using a Hauppauge remote), I get the following:

Code:
UEVENT[1138849007.384068] add@/module/lirc_i2c
UEVENT[1138849007.384119] add@/bus/i2c/drivers/i2c ir driver


I tried downgrading udev back to the previous version, but that didn't help. Also, I verified my udev rules are:
Code:
KERNEL="lirc[0-9]*",    NAME="lirc/%n"


and that my modprobe.conf contains:
Code:
alias char-major-61-* lirc_i2c


I'm running 2.6.14-gentoo-r2, but got the exact same results when I upgraded to 2.6.15-gentoo-r1.

Anyone have any other suggestions?
Back to top
View user's profile Send private message
rkidder
n00b
n00b


Joined: 16 Jul 2004
Posts: 14

PostPosted: Thu Feb 02, 2006 1:11 pm    Post subject: Reply with quote

Made a little progress on this (if you could call it that). I recompiled the ivtv module. I noticed it wasn't loading before and surmised that's why the device wasn't being created, because it depended on the ivtv device. Now, when I load the lirc module, it segfaults:

Code:
lirc_dev: IR Remote Control driver registered, at major 61
lirc_i2c: chip found @ 0x18 (Hauppauge IR)
lirc_dev: lirc_register_plugin: sample_rate: 10
Unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:
c01e9042
*pde = 00000000
Oops: 0000 [#1]
PREEMPT
Modules linked in: lirc_i2c lirc_dev ivtv snd_via82xx snd_mpu401_uart snd_rawmidi
CPU:    0
EIP:    0060:[<c01e9042>]    Not tainted VLI
EFLAGS: 00010216   (2.6.15-gentoo-r1)
EIP is at vsnprintf+0x7a/0x49c
eax: 00000000   ebx: c9121af0   ecx: 00000000   edx: 000000d0
esi: ced9dd68   edi: c9121b80   ebp: d1088920   esp: ced9dd10
ds: 007b   es: 007b   ss: 0068
Process modprobe (pid: 26588, threadinfo=ced9c000 task=cf37fa10)
Stack: 00000286 00000084 00000000 c9121b03 c9121a80 fffffff4 c9121b80 d1088920
c025b6db c9121af0 00000014 00000000 ced9dd68 c141cc20 00000000 c141c570
d1086577 c9121b80 03d00000 00000000 d10876e9 00000000 00000000 00000000
Call Trace:
[<c025b6db>] class_device_create+0x6f/0x8d
[<d1086577>] lirc_register_plugin+0x312/0x3da [lirc_dev]
[<d108a980>] ir_attach+0x269/0x276 [lirc_i2c]
[<d108aa6d>] ir_probe+0xb4/0x2d3 [lirc_i2c]
[<c0110ec4>] activate_task+0x58/0x67
[<c02e653a>] i2c_add_driver+0x90/0xa7
[<d108acc1>] init_module+0x32/0x38 [lirc_i2c]
[<c012a45d>] sys_init_module+0xb5/0x1ad
[<c0102b9d>] syscall_call+0x7/0xb
Code: 24 24 8b 44 24 28 8d 44 03 ff 89 44 24 0c 89 d8 48 39 44 24 0c 73 10 89 da c7 44 24 0c ff ff ff ff f7 da 89 54 24 28 8b 44 24 2c <80> 38 00 0f 84 f2 03 00 00 8b 44 24 2c 0f b6 00 3c 25 74 11 3b
Back to top
View user's profile Send private message
vert
Apprentice
Apprentice


Joined: 07 May 2002
Posts: 214
Location: Delft, The Netherlands

PostPosted: Mon Feb 20, 2006 10:18 am    Post subject: Reply with quote

Same problem here.
Also discussed in https://forums.gentoo.org/viewtopic-t-430345.html
_________________
Myth on Gentoo :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum