 |
|
 |
|
Next: [gentoo-user] dev/tty1 permission denied
|
| Author |
Message |
External

Since: Mar 07, 2005 Posts: 62
|
(Msg. 1) Posted: Mon Jul 31, 2006 4:10 pm
Post subject: [gentoo-user] Subject: [gentoo-user-de] Xawtv/Scantv refuses cooperation Archived from groups: linux>gentoo>user (more info?)
|
|
|
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 RemoveThis @gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Feb 21, 2006 Posts: 935
|
(Msg. 2) Posted: Mon Jul 31, 2006 4:20 pm
Post subject: Re: [gentoo-user] Subject: [gentoo-user-de] Xawtv/Scantv refuses cooperation [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
On 7/31/06, Bertram Scharpf <lists RemoveThis @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 RemoveThis @gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Mar 07, 2005 Posts: 62
|
(Msg. 3) Posted: Tue Aug 01, 2006 5:10 pm
Post subject: Re: [gentoo-user] Subject: [gentoo-user-de] Xawtv/Scantv refuses cooperation [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Hi,
Am Montag, 31. Jul 2006, 12:13:17 -0700 schrieb Richard Fish:
> On 7/31/06, Bertram Scharpf <lists DeleteThis @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 DeleteThis @gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Sep 04, 2004 Posts: 422
|
(Msg. 4) Posted: Tue Aug 01, 2006 7:10 pm
Post subject: Re: [gentoo-user] Subject: [gentoo-user-de] Xawtv/Scantv refuses cooperation [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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.RemoveThis@gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Mar 07, 2005 Posts: 62
|
(Msg. 5) Posted: Wed Aug 02, 2006 6:40 pm
Post subject: Re: [gentoo-user] Xawtv/Scantv refuses cooperation [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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.DeleteThis@gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Sep 04, 2004 Posts: 422
|
(Msg. 6) Posted: Wed Aug 02, 2006 7:50 pm
Post subject: Re: [gentoo-user] Xawtv/Scantv refuses cooperation [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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 DeleteThis @gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Mar 07, 2005 Posts: 62
|
(Msg. 7) Posted: Thu Aug 03, 2006 3:50 pm
Post subject: Re: [gentoo-user] Xawtv/Scantv refuses cooperation [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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.DeleteThis@gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Apr 07, 2004 Posts: 1095
|
(Msg. 8) Posted: Sun Aug 06, 2006 7:20 pm
Post subject: Re: [gentoo-user] Xawtv/Scantv refuses cooperation [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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 DeleteThis @rout.co.nz>
--
gentoo-user DeleteThis @gentoo.org mailing list |
|
| Back to top |
|
 |  |
External

Since: Mar 07, 2005 Posts: 62
|
(Msg. 9) Posted: Mon Aug 07, 2006 8:50 pm
Post subject: Re: [gentoo-user] Xawtv/Scantv refuses cooperation [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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.RemoveThis@gentoo.org mailing list |
|
| Back to top |
|
 |  |
|
You can post new topics in this forum You can 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
|
|
|
|
 |
|
|