public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Subject: [gentoo-user-de] Xawtv/Scantv refuses cooperation
@ 2006-07-31 19:07 Bertram Scharpf
  2006-07-31 19:13 ` Richard Fish
  2006-08-01 22:04 ` Hemmann, Volker Armin
  0 siblings, 2 replies; 10+ messages in thread
From: Bertram Scharpf @ 2006-07-31 19:07 UTC (permalink / raw
  To: gentoo-user

Hi,

on my system Xawtv is installed with USE="zvbi", so that I
have `scantv' enclosed. Anyway, it doesn't work:

  # scantv
  [...]
  vbi: open failed [/dev/vbi]
  open /dev/vbi: Invalid argument
  #

I wonder how this error message could arise because of the
following:

  # dd if=/dev/vbi bs=8 count=1 | od -x
  1+0 records in
  1+0 records out
  8 Bytes (8 B) copied, 0.099231 seconds, 0.1 kB/s
  0000000 374d 1620 341e 544a
  0000010
  #

I had a look at the source code but I found the open call
parameters okay.

Any clue what could be wrong there?

Thanks in advance,

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Subject: [gentoo-user-de] Xawtv/Scantv refuses cooperation
  2006-07-31 19:07 [gentoo-user] Subject: [gentoo-user-de] Xawtv/Scantv refuses cooperation Bertram Scharpf
@ 2006-07-31 19:13 ` Richard Fish
  2006-07-31 19:13   ` Richard Fish
  2006-08-01 20:01   ` Bertram Scharpf
  2006-08-01 22:04 ` Hemmann, Volker Armin
  1 sibling, 2 replies; 10+ messages in thread
From: Richard Fish @ 2006-07-31 19:13 UTC (permalink / raw
  To: gentoo-user, gentoo-user

On 7/31/06, Bertram Scharpf <lists@bertram-scharpf.de> wrote:
> Hi,
>
> on my system Xawtv is installed with USE="zvbi", so that I
> have `scantv' enclosed. Anyway, it doesn't work:
>
>   # scantv
>   [...]
>   vbi: open failed [/dev/vbi]
>   open /dev/vbi: Invalid argument

"strace -e open scantv" might give more info.

-Richard
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Subject: [gentoo-user-de] Xawtv/Scantv refuses cooperation
  2006-07-31 19:13 ` Richard Fish
@ 2006-07-31 19:13   ` Richard Fish
  2006-08-01 20:01   ` Bertram Scharpf
  1 sibling, 0 replies; 10+ messages in thread
From: Richard Fish @ 2006-07-31 19:13 UTC (permalink / raw
  To: gentoo-user, gentoo-user

On 7/31/06, Bertram Scharpf <lists@bertram-scharpf.de> wrote:
> Hi,
>
> on my system Xawtv is installed with USE="zvbi", so that I
> have `scantv' enclosed. Anyway, it doesn't work:
>
>   # scantv
>   [...]
>   vbi: open failed [/dev/vbi]
>   open /dev/vbi: Invalid argument

"strace -e open scantv" might give more info.

-Richard
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Subject: [gentoo-user-de] Xawtv/Scantv refuses cooperation
  2006-07-31 19:13 ` Richard Fish
  2006-07-31 19:13   ` Richard Fish
@ 2006-08-01 20:01   ` Bertram Scharpf
  1 sibling, 0 replies; 10+ messages in thread
From: Bertram Scharpf @ 2006-08-01 20:01 UTC (permalink / raw
  To: gentoo-user

Hi,

Am Montag, 31. Jul 2006, 12:13:17 -0700 schrieb Richard Fish:
> On 7/31/06, Bertram Scharpf <lists@bertram-scharpf.de> wrote:
> >on my system Xawtv is installed with USE="zvbi", so that I
> >have `scantv' enclosed. Anyway, it doesn't work:
> >
> >  # scantv
> >  [...]
> >  vbi: open failed [/dev/vbi]
> >  open /dev/vbi: Invalid argument
> 
> "strace -e open scantv" might give more info.

I larded the source code with printf statements and
recompiled it. Sorry, it's not `open' but
`vbi_capture_v4l2_new' that fails.

In the meantime I upgraded zvbi to version 0.2.22; the error
remains.

Thanks anyway.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Subject: [gentoo-user-de] Xawtv/Scantv refuses cooperation
  2006-07-31 19:07 [gentoo-user] Subject: [gentoo-user-de] Xawtv/Scantv refuses cooperation Bertram Scharpf
  2006-07-31 19:13 ` Richard Fish
@ 2006-08-01 22:04 ` Hemmann, Volker Armin
  2006-08-02 21:37   ` [gentoo-user] " Bertram Scharpf
  1 sibling, 1 reply; 10+ messages in thread
From: Hemmann, Volker Armin @ 2006-08-01 22:04 UTC (permalink / raw
  To: gentoo-user

On Monday 31 July 2006 21:07, Bertram Scharpf wrote:
> Hi,
>
> on my system Xawtv is installed with USE="zvbi", so that I
> have `scantv' enclosed. Anyway, it doesn't work:
>
>   # scantv
>   [...]
>   vbi: open failed [/dev/vbi]
>   open /dev/vbi: Invalid argument
>   #
>
> I wonder how this error message could arise because of the
> following:
>
>   # dd if=/dev/vbi bs=8 count=1 | od -x
>   1+0 records in
>   1+0 records out
>   8 Bytes (8 B) copied, 0.099231 seconds, 0.1 kB/s
>   0000000 374d 1620 341e 544a
>   0000010
>   #
>
> I had a look at the source code but I found the open call
> parameters okay.
>
> Any clue what could be wrong there?
>
> Thanks in advance,

and what are the rights on /dev/vbi / /dev/vbi0 ?

And where does it point (I bet, it is just a symlink ;) )
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Xawtv/Scantv refuses cooperation
  2006-08-01 22:04 ` Hemmann, Volker Armin
@ 2006-08-02 21:37   ` Bertram Scharpf
  2006-08-02 22:48     ` Hemmann, Volker Armin
  0 siblings, 1 reply; 10+ messages in thread
From: Bertram Scharpf @ 2006-08-02 21:37 UTC (permalink / raw
  To: gentoo-user

Hi,

Am Mittwoch, 02. Aug 2006, 00:04:52 +0200 schrieb Hemmann, Volker Armin:
> On Monday 31 July 2006 21:07, Bertram Scharpf wrote:
> >   # scantv
> >   [...]
> >   vbi: open failed [/dev/vbi]
> >   open /dev/vbi: Invalid argument
> >   #
> >
> >   # dd if=/dev/vbi bs=8 count=1 | od -x
> >   1+0 records in
> >   1+0 records out
> >   8 Bytes (8 B) copied, 0.099231 seconds, 0.1 kB/s
> >   0000000 374d 1620 341e 544a
> >   0000010
> >   #
> 
> and what are the rights on /dev/vbi / /dev/vbi0 ?
> And where does it point (I bet, it is just a symlink ;) )

It definitely is; I created it myself.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Xawtv/Scantv refuses cooperation
  2006-08-02 21:37   ` [gentoo-user] " Bertram Scharpf
@ 2006-08-02 22:48     ` Hemmann, Volker Armin
  2006-08-03 18:47       ` Bertram Scharpf
  0 siblings, 1 reply; 10+ messages in thread
From: Hemmann, Volker Armin @ 2006-08-02 22:48 UTC (permalink / raw
  To: gentoo-user

On Wednesday 02 August 2006 23:37, Bertram Scharpf wrote:
> Hi,
>
> Am Mittwoch, 02. Aug 2006, 00:04:52 +0200 schrieb Hemmann, Volker Armin:
> > On Monday 31 July 2006 21:07, Bertram Scharpf wrote:
> > >   # scantv
> > >   [...]
> > >   vbi: open failed [/dev/vbi]
> > >   open /dev/vbi: Invalid argument
> > >   #
> > >
> > >   # dd if=/dev/vbi bs=8 count=1 | od -x
> > >   1+0 records in
> > >   1+0 records out
> > >   8 Bytes (8 B) copied, 0.099231 seconds, 0.1 kB/s
> > >   0000000 374d 1620 341e 544a
> > >   0000010
> > >   #
> >
> > and what are the rights on /dev/vbi / /dev/vbi0 ?
> > And where does it point (I bet, it is just a symlink ;) )
>
> It definitely is; I created it myself.
>
> Bertram
>

it is a symlink? and does it point to the right device?

I never created anything - I let udev do it for me... 
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Xawtv/Scantv refuses cooperation
  2006-08-02 22:48     ` Hemmann, Volker Armin
@ 2006-08-03 18:47       ` Bertram Scharpf
  2006-08-06 22:15         ` Nick Rout
  0 siblings, 1 reply; 10+ messages in thread
From: Bertram Scharpf @ 2006-08-03 18:47 UTC (permalink / raw
  To: gentoo-user

Hi,

Am Donnerstag, 03. Aug 2006, 00:48:25 +0200 schrieb Hemmann, Volker Armin:
> On Wednesday 02 August 2006 23:37, Bertram Scharpf wrote:
> > Am Mittwoch, 02. Aug 2006, 00:04:52 +0200 schrieb Hemmann, Volker Armin:
> > > On Monday 31 July 2006 21:07, Bertram Scharpf wrote:
> > > >   # scantv
> > > >   [...]
> > > >   vbi: open failed [/dev/vbi]
> > > >   open /dev/vbi: Invalid argument
> > > >
> > > >   # dd if=/dev/vbi bs=8 count=1 | od -x
> > > >   1+0 records in
> > >
> > > and what are the rights on /dev/vbi / /dev/vbi0 ?
> > > And where does it point (I bet, it is just a symlink ;) )
> >
> > It definitely is; I created it myself.
> 
> it is a symlink? and does it point to the right device?
> I never created anything - I let udev do it for me... 

Another time to prevent any further link, symlink or access
rights discussion:

  $ su -
  Password:
  # ls -la /dev/v4l/vbi0
  crw-rw---- 1 root video 81, 224  1. Aug 19:50 /dev/v4l/vbi0
  # mknod /tmp/myvbi c 81 224
  # chmod a+rwx /tmp/myvbi
  # ls -la /tmp/myvbi
  crwxrwxrwx 1 root root 81, 224  3. Aug 20:36 /tmp/myvbi
  # scantv -n PAL -f europe-west -C /tmp/myvbi
  [...]
  vbi: open failed [/tmp/myvbi]
  open /tmp/myvbi: Invalid argument
  # dd if=/tmp/myvbi bs=8 count=1 2>/dev/null | wc -c
  8
  #

AleVT works without complaint.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Xawtv/Scantv refuses cooperation
  2006-08-03 18:47       ` Bertram Scharpf
@ 2006-08-06 22:15         ` Nick Rout
  2006-08-07 23:43           ` Bertram Scharpf
  0 siblings, 1 reply; 10+ messages in thread
From: Nick Rout @ 2006-08-06 22:15 UTC (permalink / raw
  To: gentoo-user


On Thu, 3 Aug 2006 20:47:24 +0200
Bertram Scharpf wrote:

> Hi,
> 
> Am Donnerstag, 03. Aug 2006, 00:48:25 +0200 schrieb Hemmann, Volker Armin:
> > On Wednesday 02 August 2006 23:37, Bertram Scharpf wrote:
> > > Am Mittwoch, 02. Aug 2006, 00:04:52 +0200 schrieb Hemmann, Volker Armin:
> > > > On Monday 31 July 2006 21:07, Bertram Scharpf wrote:
> > > > >   # scantv
> > > > >   [...]
> > > > >   vbi: open failed [/dev/vbi]
> > > > >   open /dev/vbi: Invalid argument
> > > > >
> > > > >   # dd if=/dev/vbi bs=8 count=1 | od -x
> > > > >   1+0 records in
> > > >
> > > > and what are the rights on /dev/vbi / /dev/vbi0 ?
> > > > And where does it point (I bet, it is just a symlink ;) )
> > >
> > > It definitely is; I created it myself.
> > 
> > it is a symlink? and does it point to the right device?
> > I never created anything - I let udev do it for me... 
> 
> Another time to prevent any further link, symlink or access
> rights discussion:
> 
>   $ su -
>   Password:
>   # ls -la /dev/v4l/vbi0
>   crw-rw---- 1 root video 81, 224  1. Aug 19:50 /dev/v4l/vbi0
>   # mknod /tmp/myvbi c 81 224
>   # chmod a+rwx /tmp/myvbi
>   # ls -la /tmp/myvbi
>   crwxrwxrwx 1 root root 81, 224  3. Aug 20:36 /tmp/myvbi
>   # scantv -n PAL -f europe-west -C /tmp/myvbi
>   [...]
>   vbi: open failed [/tmp/myvbi]
>   open /tmp/myvbi: Invalid argument
>   # dd if=/tmp/myvbi bs=8 count=1 2>/dev/null | wc -c
>   8
>   #
> 
> AleVT works without complaint.
> 
> Bertram
> 

What exactly is scantv scanning for when it scans the vbi device? Does
it find the teletext channels or something?

If you are looking to scan for tv channels then i think you want the
video device, not the vbi device, like

scantv -n PAL -f europe-west  -c /dev/video0


-- 
Nick Rout <nick@rout.co.nz>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-user] Xawtv/Scantv refuses cooperation
  2006-08-06 22:15         ` Nick Rout
@ 2006-08-07 23:43           ` Bertram Scharpf
  0 siblings, 0 replies; 10+ messages in thread
From: Bertram Scharpf @ 2006-08-07 23:43 UTC (permalink / raw
  To: gentoo-user

Hi,

Am Montag, 07. Aug 2006, 10:15:31 +1200 schrieb Nick Rout:
> 
> On Thu, 3 Aug 2006 20:47:24 +0200
> Bertram Scharpf wrote:
> >   $ su -
> >   Password:
> >   # ls -la /dev/v4l/vbi0
> >   crw-rw---- 1 root video 81, 224  1. Aug 19:50 /dev/v4l/vbi0
> >   # mknod /tmp/myvbi c 81 224
> >   # chmod a+rwx /tmp/myvbi
> >   # ls -la /tmp/myvbi
> >   crwxrwxrwx 1 root root 81, 224  3. Aug 20:36 /tmp/myvbi
> >   # scantv -n PAL -f europe-west -C /tmp/myvbi
> >   [...]
> >   vbi: open failed [/tmp/myvbi]
> >   open /tmp/myvbi: Invalid argument
> >   # dd if=/tmp/myvbi bs=8 count=1 2>/dev/null | wc -c
> >   8
> >   #
> > 
> > AleVT works without complaint.
> 
> What exactly is scantv scanning for when it scans the vbi device? Does
> it find the teletext channels or something?
> 
> If you are looking to scan for tv channels then i think you want the
> video device, not the vbi device, like
> 
> scantv -n PAL -f europe-west  -c /dev/video0

As far as I understand it, the vbi device is needed to read
the channel names from teletext. I suppose the scanning
would work perfectly if only the vbi access could be
skipped. 

This seems to be a Gentoo specific problem as the scan
used to work on my old Debian. As I mentioned AleVT works,
too.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-08-07 23:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-31 19:07 [gentoo-user] Subject: [gentoo-user-de] Xawtv/Scantv refuses cooperation Bertram Scharpf
2006-07-31 19:13 ` Richard Fish
2006-07-31 19:13   ` Richard Fish
2006-08-01 20:01   ` Bertram Scharpf
2006-08-01 22:04 ` Hemmann, Volker Armin
2006-08-02 21:37   ` [gentoo-user] " Bertram Scharpf
2006-08-02 22:48     ` Hemmann, Volker Armin
2006-08-03 18:47       ` Bertram Scharpf
2006-08-06 22:15         ` Nick Rout
2006-08-07 23:43           ` Bertram Scharpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox