xawtv doesn't work anymore: can't open /dev/video0: No such device

xawtv doesn't work anymore: can't open /dev/video0: No such device

Post by segus » Sat, 03 Aug 2002 07:14:01



Hello everybody,

I have just discovered another problem due to the fact that I have
recompiled the kernel downgrading it to 2.4.16 :-)

When I try to launch xawtv (which used to work ok), now I get the following
message:

This is xawtv-3.73, running on Linux/i686 (2.4.16)
can't open /dev/video0: No such device
v4l2: open /dev/video0: No such device
v4l: open /dev/video0: No such device
no video grabber device available

What does it mean?

Thank you very much for your patience. :-)

Maurizio

 
 
 

xawtv doesn't work anymore: can't open /dev/video0: No such device

Post by Lee J. Moor » Sat, 03 Aug 2002 07:58:11



Quote:

> Hello everybody,

> I have just discovered another problem due to the fact that I have
> recompiled the kernel downgrading it to 2.4.16 :-)

> When I try to launch xawtv (which used to work ok), now I get the following
> message:

> This is xawtv-3.73, running on Linux/i686 (2.4.16)
> can't open /dev/video0: No such device
> v4l2: open /dev/video0: No such device
> v4l: open /dev/video0: No such device
> no video grabber device available

> What does it mean?

It means you haven't compiled V4L and I2C support into the
kernel.  Enable the following:

        Character Devices -> I2C Support -> I2C Support (*)
        Character Devices -> I2C Support -> I2C bit-banging interfaces (*)
        Character Devices -> I2C Support -> I2C device interface (*)
        Character Devices -> I2C Support -> I2C /proc interface (*)
        Multimedia Devices -> Video For Linux (*)
        Multimedia Devices -> Video For Linux -> V4L information in proc filesystem (*)
        Multimedia Devices -> Video For Linux -> BT848 Video For Linux (*)
        Multimedia Devices -> Video For Linux -> SAA5249 Teletext processor (*)

That should be enough I think.  SAA5249 is required for European
Teletext.

--
Lee J. Moore
http://www.leej.dsl.pipex.com
----------------------------------
Powered by Gentoo (Portage 2.0.23)

 
 
 

xawtv doesn't work anymore: can't open /dev/video0: No such device

Post by nos.. » Sun, 04 Aug 2002 09:19:26




>> Hello everybody,

>> I have just discovered another problem due to the fact that I have
>> recompiled the kernel downgrading it to 2.4.16 :-)

>> When I try to launch xawtv (which used to work ok), now I get the
>> following message:

>> This is xawtv-3.73, running on Linux/i686 (2.4.16)
>> can't open /dev/video0: No such device
>> v4l2: open /dev/video0: No such device
>> v4l: open /dev/video0: No such device
>> no video grabber device available

>> What does it mean?

I got the same problem here with 2.4.18.

- Show quoted text -

Quote:

> It means you haven't compiled V4L and I2C support into the
> kernel.  Enable the following:

> Character Devices -> I2C Support -> I2C Support (*)
> Character Devices -> I2C Support -> I2C bit-banging interfaces (*)
> Character Devices -> I2C Support -> I2C device interface (*)
> Character Devices -> I2C Support -> I2C /proc interface (*)
> Multimedia Devices -> Video For Linux (*)
> Multimedia Devices -> Video For Linux -> V4L information in proc
> filesystem (*) Multimedia Devices -> Video For Linux -> BT848 Video For
> Linux (*) Multimedia Devices -> Video For Linux -> SAA5249 Teletext
> processor (*)

> That should be enough I think.  SAA5249 is required for European
> Teletext.

All of these options are present as loadable modules on my setup - I can
load the i2c and videodev stuff just fine - when ever I try to load
bttv.o I get the same errors. Any thoughts on what may be responsible?

TIA,

-lag

 
 
 

xawtv doesn't work anymore: can't open /dev/video0: No such device

Post by Lee J. Moor » Sun, 04 Aug 2002 19:08:23



[..]

Quote:> All of these options are present as loadable modules on my setup - I can
> load the i2c and videodev stuff just fine - when ever I try to load
> bttv.o I get the same errors. Any thoughts on what may be responsible?

Well I know it solved seguso's problem because he emailed me.
So you are getting the same "cannot find /dev/v4l" "cannot find
/dev/video" errors when you modprobe bttv?
--
Lee J. Moore
http://www.leej.dsl.pipex.com
----------------------------------
Powered by Gentoo (Portage 2.0.23)
 
 
 

xawtv doesn't work anymore: can't open /dev/video0: No such device

Post by nos.. » Sun, 04 Aug 2002 20:35:19




> [..]

>> All of these options are present as loadable modules on my setup - I can
>> load the i2c and videodev stuff just fine - when ever I try to load
>> bttv.o I get the same errors. Any thoughts on what may be responsible?

> Well I know it solved seguso's problem because he emailed me.
> So you are getting the same "cannot find /dev/v4l" "cannot find
> /dev/video" errors when you modprobe bttv?

Cool -  I would appreciate any help/advice :)
I'm running into sort of the same sort of problem; though I have
never seen the /dev/v4l error - just the /dev/video: no such file..

here's some info I posted to another newsgroup about this issue:

 The stumbling block seems to be the /dev/video device which is
 never recognized by the kernel. For example, here is the output
 from xawtv:

   This is xawtv-3.72, running on Linux/i686 (2.4.18-64GB-SMP)
   can't open /dev/video0: No such device
   v4l-conf had some trouble, trying to continue anyway
   v4l2: open /dev/video0: Permission denied
   v4l: open /dev/video0: Permission denied
   no video grabber device available

 I suspect that the "no such device" error is somewhat inaccurate
 because the character device does exist in /dev, prolly some
 module that's supposed to provide the functionality that's not there.

 %% ls -l /dev/video
 lrwxrwxrwx    1 root     root            6 Aug  1 23:10 /dev/video ->
 video0 %% ls -l /dev/video0
 crw-rw----    1 root     root      81,   0 Aug  1 23:10 /dev/video0
 %% file /dev/video0
 /dev/video0: character special (81/0)

 But when I check with /proc:

 %% ls /proc/video/dev/

ie no device there - btw, I know that videodev is doing something because
without videodev the /proc/video/ directory does not appear.

some pertinant info:

 /etc/modules.conf:
 ------------------
 alias char-major-81 videodev
 alias char-major-81-0 bttv
 options bttv card=63 tuner=21 # have also tried just card=64 but no luck.

 (limited) Output from "lsmod":
 ------------------------------

   autarch:~ # lsmod
   Module                  Size  Used by    Not tainted
   [...]
   i2c-core               12288   0
   videodev                4768   0  (autoclean)
   [...]

 (that is, videodev is unused)

 I tried to manually load bttv (which too proved to be invain):

   autarch:~ # modprobe bttv
   /lib/modules/2.4.18-64GB-SMP/kernel/drivers/media/video/bttv.o:
   init_module: No such device
   Hint: insmod errors can be caused by incorrect module parameters,
   including invalid IO or IRQ parameters
   /lib/modules/2.4.18-64GB-SMP/kernel/drivers/media/video/bttv.o: insmod
   /lib/modules/2.4.18-64GB-SMP/kernel/drivers/media/video/bttv.o failed
   /lib/modules/2.4.18-64GB-SMP/kernel/drivers/media/video/bttv.o: insmod
   bttv failed

 However, the following are also seen /var/log/messages:

   Aug  2 00:02:08 localhost kernel: i2c-algo-bit.o: i2c bit algorithm
   module version 2.6.2 (20011118)
   Aug  2 00:02:08 localhost kernel: bttv: driver version 0.7.83 loaded
   Aug  2 00:02:08 localhost kernel: bttv: using 2 buffers with 2080k
   (4160k total) for capture
   Aug  2 00:02:08 localhost kernel: bttv: Host bridge is PCI device
   8086:2530
  01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 PF/PRO
AGP 4x TMDS

And the X11 version:

  XFree86 Version 4.2.0 / X Window System
  (protocol Version 11, revision 0, vendor release 6600)
  Release Date: 23 January 2002
          If the server is older than 6-12 months, or if your card is
          newer than the above date, look for a newer version before
          reporting problems.  (See http://www.XFree86.Org/)
  Build Operating System: SuSE Linux [ELF] SuSE
  Module Loader present

Since the above, I've played around with loading i2c-core, i2c-algo-bit
and enabling "v4l" support in my XF86Config but each time, I get the
"/dev/video: No such file.." error and bttv never seems to load.

-lag

 
 
 

xawtv doesn't work anymore: can't open /dev/video0: No such device

Post by Lee J. Moor » Sun, 04 Aug 2002 20:41:00



Quote:

[..]
>    This is xawtv-3.72, running on Linux/i686 (2.4.18-64GB-SMP)
>    can't open /dev/video0: No such device
>    v4l-conf had some trouble, trying to continue anyway
>    v4l2: open /dev/video0: Permission denied
>    v4l: open /dev/video0: Permission denied
>    no video grabber device available

>  I suspect that the "no such device" error is somewhat inaccurate
>  because the character device does exist in /dev, prolly some
>  module that's supposed to provide the functionality that's not there.

>  %% ls -l /dev/video
>  lrwxrwxrwx    1 root     root            6 Aug  1 23:10 /dev/video ->
>  video0 %% ls -l /dev/video0
>  crw-rw----    1 root     root      81,   0 Aug  1 23:10 /dev/video0
>  %% file /dev/video0
>  /dev/video0: character special (81/0)

Shouldn't /dev/video0 have root.video ownership as opposed to
root.root?  Either set in /etc/devfsd.conf or manually?

--
Lee J. Moore
http://www.leej.dsl.pipex.com
----------------------------------
Powered by Gentoo (Portage 2.0.23)

 
 
 

xawtv doesn't work anymore: can't open /dev/video0: No such device

Post by nos.. » Mon, 05 Aug 2002 03:50:07




> [..]
>>    This is xawtv-3.72, running on Linux/i686 (2.4.18-64GB-SMP)
>>    can't open /dev/video0: No such device
>>    v4l-conf had some trouble, trying to continue anyway
>>    v4l2: open /dev/video0: Permission denied
>>    v4l: open /dev/video0: Permission denied
>>    no video grabber device available

>>  I suspect that the "no such device" error is somewhat inaccurate
>>  because the character device does exist in /dev, prolly some
>>  module that's supposed to provide the functionality that's not there.

>>  %% ls -l /dev/video
>>  lrwxrwxrwx    1 root     root            6 Aug  1 23:10 /dev/video ->
>>  video0 %% ls -l /dev/video0
>>  crw-rw----    1 root     root      81,   0 Aug  1 23:10 /dev/video0
>>  %% file /dev/video0
>>  /dev/video0: character special (81/0)

> Shouldn't /dev/video0 have root.video ownership as opposed to
> root.root?  Either set in /etc/devfsd.conf or manually?

hmm... done. But still no go - same errors as before.

-lag

 
 
 

xawtv doesn't work anymore: can't open /dev/video0: No such device

Post by Lee J. Moor » Mon, 05 Aug 2002 04:43:41



Quote:

[..]
>> Shouldn't /dev/video0 have root.video ownership as opposed to
>> root.root?  Either set in /etc/devfsd.conf or manually?

> hmm... done. But still no go - same errors as before.

Does your username belong to the video group?
--
Lee J. Moore
http://www.leej.dsl.pipex.com
----------------------------------
Powered by Gentoo (Portage 2.0.23)
 
 
 

xawtv doesn't work anymore: can't open /dev/video0: No such device

Post by nos.. » Mon, 05 Aug 2002 05:51:42




> [..]
>>> Shouldn't /dev/video0 have root.video ownership as opposed to
>>> root.root?  Either set in /etc/devfsd.conf or manually?

>> hmm... done. But still no go - same errors as before.

> Does your username belong to the video group?

yes - Actually, I've tried both root and user.

btw, I did get xawtv to work - but that was only after installing
the GATOs updates.

-lag

 
 
 

xawtv doesn't work anymore: can't open /dev/video0: No such device

Post by Madhusudan Sing » Mon, 05 Aug 2002 07:02:34






>> [..]
>>>> Shouldn't /dev/video0 have root.video ownership as opposed to
>>>> root.root?  Either set in /etc/devfsd.conf or manually?

>>> hmm... done. But still no go - same errors as before.

>> Does your username belong to the video group?

> yes - Actually, I've tried both root and user.

> btw, I did get xawtv to work - but that was only after installing
> the GATOs updates.

> -lag

Reproduce your /etc/modules.conf and o/p of /sbin/lsmod.
 
 
 

1. PPP doesn't die, it just doesn't work anymore

I have a communications server that's been giving us fits for a few
months now.  I can't seem to locate the problem.  I've been searching
DejaNews for analogous problem, but it looks like it's either something
I'm doing wrong, or I can't find it from the keywords I'm using.

    The machine will call the ISP on startup and work just fine, using a
static IP, BTW.  After a few hours it simply gets 'clogged' and won't
ping in either direction anymore.  The machine is pinging a couple of
times a minute in order to defeat the idelout on the terminal server,
but despite the inability to ping, it still doesn't hang up.  This
usually happens after several hours of no non-ping activity, like
overnight.

    So we have a site that won't communicate and won't hang up either.
It's running 4.2 (for now) but in desperation, I intend to 'flush and
fill' 5.0 on it this weekend, though I'd rather not.

    It's too old a pppd to support "nomagic" and similar options...is
there anything that anyone has seen like this so far?

    Brian

--------------------------------------------------------------------------------
Brian Fahrlander                       Problem Solver, Technomad, and
Linux-head
Evansville, IN
ICQ:5119262                                    
http://dynasty.net/users/kilroy
--------------------------------------------------------------------------------
  Treason? "It's not wether it happened, but the seriousness of the
charge."
                                                         -- Right, Mr.
Gingrich?

2. Print queue flooded with 'finished printing' zombies...

3. Cannot open master raw device '/dev/rawctl' (No such device)

4. Solaris Upgrades help please

5. Removing LILO

6. /dev/audio doesn't work anymore

7. apache protected directory problem

8. sox: Can't open output file '/dev/dsp': No such device

9. tape: can't open '/dev/rStp0': No such device or address

10. Even 'cat file >/dev/lp0' doesn't work

11. TOSS_OUTPUT=' >/dev/null' doesn't work

12. svgalib's 3d demo doesn't work anymore