[linux-dvb] Five dvb cards linux 2.6.11 + UDEV 053

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kenneth Aafl?y wrote:
> This is with a recompiled udev after I changed the macros in
> /usr/include/sys/sysmacros.h.
> 
> version 054
> looking at '/class/dvb/dvb4.frontend0'
> opened class_dev->name='dvb4.frontend0'
> configured rule in '/etc/udev/rules.d/udev.rules[55]' applied, 'dvb4.frontend0' becomes '%c'
> creating device node '/dev/dvb/adapter4/frontend0', major = '212', minor = '259', mode = '0660', uid = '0', gid = '44'
> 
> But even after recompiling dvb-utils (szap), it can't find the device.
> ls lists the devices on adapter 4 as 212:0..8 though.

Hmm, next bug...

You could try
$ perl -e '@s=stat("/dev/dvb/adapter0/demux0"); print "@s\n";'
12 6884 8624 1 0 44 54276 0 1110142423 1110142423 1110142423 4096 0

The 54276 is the dev_t number, see new_decode_dev() from kdev_t.h.

> I think a recompile of glibc is needed to completly fix this,
> but I do not plan on doing this, since I only have two cards :)

Hm, my Debian udev sources have "USE_KLIBC = true" commented
out in the Makefile. That explains the broken makedev().

Johannes



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux