Gentoo Archives: gentoo-user

From: "W.Kenworthy" <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cannot get TV Card to work
Date: Tue, 19 Jul 2005 05:40:43
Message-Id: 1121751343.6484.30.camel@localhost
In Reply to: Re: [gentoo-user] Cannot get TV Card to work by Jamie Dobbs
1 The problem is almost sure to be the tuner card. Try v4ctl with debug
2 set to check for errors when tuning. (you will need xawtv installed)
3
4 rattus ~ # v4lctl -v 1 setchannel 2 /dev/v4l/video0
5 vid-open: trying: v4l2-old...
6 vid-open: failed: v4l2-old
7 vid-open: trying: v4l2...
8 v4l2: open
9 v4l2: device info:
10 bttv 0.9.15 / BT848 video (MIRO PCTV) @ PCI:0000:00:06.0
11 vid-open: ok: v4l2
12 freq: reading /usr/share/xawtv/Index.map
13 v4l2: tuner cap:
14 v4l2: tuner rxs: MONO
15 v4l2: tuner cur: MONO
16 cmd: "setchannel" "2" "/dev/v4l/video0"
17 v4l2: freq: 0.000
18 v4l2: close
19 rattus ~ # qpkg -f `which v4lctl`
20 media-tv/xawtv *
21 rattus ~ #
22
23 (Note that I cant check the full args as I only have ssh access at work)
24
25 BillK
26
27
28 On Tue, 2005-07-19 at 16:49 +1200, Jamie Dobbs wrote:
29 > > Jamie. we seem to be following each other around the mailing lists. CLUG,
30 > > mythtv, now here.
31 >
32 > True, and I always appreciate the help you offer :-)
33 >
34 > > You seem to have all the modules loaded, what is not working?
35 >
36 > I cannot tune in to any channels
37 >
38 > > is there a /dev/video/video0?
39 >
40 > Yes:
41 >
42 > jamie@Gir ~ $ ls -lah /dev/video0
43 > lrwxrwxrwx 1 root root 10 Jul 19 14:00 /dev/video0 -> v4l/video0
44 > jamie@Gir ~ $ ls /dev/v4l/video0 -lah
45 > crw-rw---- 1 root video 81, 0 Jul 19 14:00 /dev/v4l/video0
46 > jamie@Gir ~ $
47 >
48 > (the permissions on /dev/v4l/video0 don't look right to me and I do get an
49 > error that /dev/video0 is not accessible when trying to run xawtv as any
50 > user other than root)
51 >
52 > > does xawtv -c /dev/video/video0 give any output?
53 >
54 > I will try this later tonight when I get home.
55 >
56 > >
57 > > On Tue, 19 Jul 2005 14:20:48 +1200 (NZST)
58 > > Jamie Dobbs wrote:
59 > >
60 > >> I've been working on this for several days but do not seem to make any
61 > >> progress.
62 > >> I have a Pinnacle PCTV Stereo card which is based on the Philips saa7134
63 > >> chip. I have recomipled my kernel (2.6.12-gentoo-r6) to include the
64 > >> saa7134 module and i2c support as a module.
65 > >>
66 > >> lsmod output :
67 > >>
68 > >> Module Size Used by
69 > >> tda9887 13144 0
70 > >> saa7134 102996 0
71 > >> tuner 26920 0
72 > >> video_buf 17924 1 saa7134
73 > >> v4l2_common 5184 1 saa7134
74 > >> v4l1_compat 14084 1 saa7134
75 > >> ir_common 6660 1 saa7134
76 > >> videodev 7808 1 saa7134
77 > >>
78 > >> Relevant entries added to my /etc/modules.conf after modules-update is
79 > >> run:
80 > >> (I am in New Zealand and know that card number and tuner number are
81 > >> correct as I have had this card working in Mandrake 10.1 a week or so
82 > >> ago)
83 > >>
84 > >> ### modules-update: start processing /etc/modules.d/saa7134
85 > >> options saa7134 card=26 tuner=5 oss=1
86 > >>
87 > >> ### modules-update: end processing /etc/modules.d/saa7134
88 > >>
89 > >> ### modules-update: start processing /etc/modules.d/tda9887
90 > >> options tda9887 qss=0
91 > >>
92 > >> ### modules-update: end processing /etc/modules.d/tda9887
93 > >>
94 > >> My Kernel .config file can be found at
95 > >> http://drgnfire.orcon.net.nz/kernel_config
96 > >>
97 > >> I'd appreciate any feedback on what I might be doing wrong that is
98 > >> causing
99 > >> the TV Card not to work.
100 > >>
101 > >> Once I have the card working my aim is to build a MythTV box using this
102 > >> card, so any pointers on this would also be appreciated (especially from
103 > >> anyone in New Zealand who has experience in this area).
104 > >>
105 > >> Thanks
106 > >>
107 > >> Jamie
108 > >>
109 > >>
110 > >> --
111 > >> gentoo-user@g.o mailing list
112 > >
113 > > --
114 > > Nick Rout
115 > >
116 > > --
117 > > gentoo-user@g.o mailing list
118 > >
119 > >
120 > >
121 > >
122 >
123 >
124
125 --
126 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Cannot get TV Card to work Jamie Dobbs <jamie.dobbs@×××××××××.nz>