[linux-dvb] dnt Euro Stick DVB-T -- FATAL: FE_GET_INFO failed: 22 Invalid argument

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

 



On Sun, Dec 11, 2005 at 09:28:09AM +0100, Michael Hanke wrote:
> On Sat, Dec 10, 2005 at 10:55:51PM +0100, Johannes Stezenbach wrote:
> > On Sat, Dec 10, 2005, Michael Hanke wrote:
> > > using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
> > > main:1885: FATAL: FE_GET_INFO failed: 22 Invalid argument
> > > 
> > > But this time I discovered an additional error message in the dmesg
> > > output when the scan attempt fails:
> > > 
> > > ioctl32(scan:5694): Unknown cmd fd(3) cmd(80a86f3d){00} arg(08050260) on
> > > /dev/dvb/adapter0/frontend0
> > > 
> > > What does that mean?
> > > 
> > > There might be one thing that could be a problem. I'm using an AMD64
> > > kernel but the userspace is all 32bit. This was no problem for any part
> > > of the system till now, but I don't now whether it is one for the issue.
> > 
> > The error message is emitted from
> > linux/fs/compat.c:compat_ioctl_error().
> > 
> > However, AFAIK there are no 32/64bit problems in DVB ioctl
> > definitions (otherwise we'd have to define compat_ioctl
> > translation hooks).
> > 
> > Are you sure your devices nodes are properly defined?
> > 
> > $ l /dev/dvb/adapter0/frontend0
> > crw-rw---- 1 root video 212, 3 Dec  5 13:14 /dev/dvb/adapter0/frontend0
> I think the nodes are ok:
> 
> $ ll /dev/dvb/adapter0/
> insgesamt 0
> crw-rw----  1 root video 212, 4 2005-12-11 09:20 demux0
> crw-rw----  1 root video 212, 5 2005-12-11 09:20 dvr0
> crw-rw----  1 root video 212, 3 2005-12-11 09:20 frontend0
> crw-rw----  1 root video 212, 7 2005-12-11 09:20 net0
> 
> I'm still trying, but made no progress so far. Am I right to assume
> that anyone has this device running (or that it should be possible).
> I'm asking, because I still have the option to send this thing back 
> and get a different one. But I would prefer to keep it.

This error isn't hardware dependent.
Try to add a printk() to dvb_frontend.c:dvb_frontend_ioctl()
in front of the big switch statement, to see if we get there,
and print the value of cmd to compare with the value of
the compat_ioctl_error() print.

BTW, what does /proc/devices say about char major 212?

What kernel version?


Johannes


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

  Powered by Linux