Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volker.armin.hemmann@××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux
Date: Tue, 30 Sep 2008 13:19:48
Message-Id: 200809301519.09658.volker.armin.hemmann@tu-clausthal.de
In Reply to: Re: [gentoo-user] Gentoo-Sources/Vanilla-Sources/Video 4 Linux by Jon Hardcastle
1 On Tuesday 30 September 2008, Jon Hardcastle wrote:
2 > > > > Jon Hardcastle wrote:
3 > > > > > > > Hi, i have spent the weekend
4 > >
5 > > trying to get
6 > >
7 > > > > my new
8 > > > >
9 > > > > > > Hauppage USB tv stick to
10 > > > > > >
11 > > > > > > > work under linux.
12 > > > > > > >
13 > > > > > > > I have been constantly perplexed
14 > >
15 > > by
16 > >
17 > > > > references to
18 > > > >
19 > > > > > > compilable kernel modules
20 > > > > > >
21 > > > > > > > I couldn't see! I assumed it
22 > >
23 > > was because
24 > >
25 > > > > they
26 > > > >
27 > > > > > > referred to old modules or
28 > > > > > >
29 > > > > > > > something.
30 > > > > > > >
31 > > > > > > > But having downloaded and booted
32 > >
33 > > into
34 > >
35 > > > > Knoppix and run
36 > > > >
37 > > > > > > make menuconfig on
38 > > > > > >
39 > > > > > > > that i have confirmed that kernel
40 > >
41 > > seems to
42 > >
43 > > > > have
44 > > > >
45 > > > > > > 10's of TV card chipset
46 > > > > > >
47 > > > > > > > drivers availible to compile
48 > >
49 > > whereas
50 > >
51 > > > > > > gentoo-sources/vanilla-sources emerged
52 > > > > > >
53 > > > > > > > on my machine have maybe 2 or 3.
54 > > > > > > >
55 > > > > > > > Can someone offer me some
56 > >
57 > > assistance as to
58 > >
59 > > > > why this
60 > > > >
61 > > > > > > might be?
62 > > > > > >
63 > > > > > > > Thank you
64 > > > > > > >
65 > > > > > > > (This is my first mailing list
66 > >
67 > > post - please
68 > >
69 > > > > be
70 > > > >
71 > > > > > > gentle!)
72 > > > > > >
73 > > > > > >
74 > > > > > > because a large part of the dvb/tv
75 > >
76 > > drivers are
77 > >
78 > > > > developed
79 > > > >
80 > > > > > > outside of the main
81 > > > > > > kernel tree. Also a large part is
82 > >
83 > > hidden under
84 > >
85 > > > > > > experimental.
86 > > > > > >
87 > > > > > > For my dvb-t stick I need to checkout a
88 > >
89 > > mercurial
90 > >
91 > > > > rep and
92 > > > >
93 > > > > > > do a make, make
94 > > > > > > install in it do get drivers that work.
95 > >
96 > > And with
97 > >
98 > > > > > > 'work' I mean: no sound on
99 > > > > > > first try, but after disconnecting the
100 > >
101 > > stick and
102 > >
103 > > > > > > reconnecting it, it suddenly
104 > > > > > > works.
105 > > > > >
106 > > > > > Hi, I went thru this process but i still
107 > >
108 > > dont have the
109 > >
110 > > > > option to add
111 > > > >
112 > > > > > support as a kernel module. Should the
113 > >
114 > > mercurial add
115 > >
116 > > > > steps to the
117 > > > >
118 > > > > > menuconfig?
119 > > > >
120 > > > > no.
121 > > > > it just installs all the drivers in the rep as
122 > >
123 > > modules. It
124 > >
125 > > > > doesn't touch any
126 > > > > configs at all.
127 > > >
128 > > > Hmmm i wonder why i have seen sooo many references to
129 > >
130 > > alot more kernel
131 > >
132 > > > options than i have in either my gentoo-sources or
133 > >
134 > > vanilla-sources.
135 > >
136 > > because they patch their kernel.
137 > >
138 > > > Is it
139 > > > possible to 'patch' the kernel source instead
140 > >
141 > > of downloading using
142 > >
143 > > > mercurial. Also how does it 'know' what kernel
144 > >
145 > > to make the modules
146 > >
147 > > > available under? I have 3 sets of kernel code on my
148 > >
149 > > machine?
150 > >
151 > > a) /usr/src/linux
152 > > b) uname -r
153 > > c) just make clean && make&& make install
154 > > for every kernel.
155 > >
156 > > Why patch at all? with the rep and make&& make
157 > > install you get all the
158 > > drivers. It is not that much 'overhead' compared to
159 > > the work of patching the
160 > > kernel. And you don't even need to worry about which
161 > > driver you need -
162 > > autoloading will do that for you ;)
163 >
164 > Hi, cheers for all your help so far. If you are sure they were patching the
165 > kernel and hence the extra options I am happy to draw a line under that
166 > line of investigation.. as i wondered if i was using the wrong kernel or
167 > something.
168 >
169 > Secondly I dont really understand the commands you have given me there. I
170 > have my 3 kernels yes at /usr/src with a symlink pointing to my active one
171 > which DOESN'T have any DVB stuff compiled in at all. I got the latest
172 > gentoo-sources kernel to experiment with and ultimately to switch over to,
173 > booted into it.. and downloaded the v4l using mercurial did the make
174 > install and it all worked grandly. but how do i know where it has put its
175 > modules, if it puts them under /usr/src/linux or gets any kernal info from
176 > there then they are in the wrong place. But if it is clever enough to know
177 > what kernel i am currently booted into and put them in the correct place
178 > accordingly then I am still stumped as i cant get this blasted card to
179 > work.
180
181 it should put the modules in the correct lib/modules/`uname -r `directory.
182 What doesn't work? Do you load the right modules? Is it sound?
183
184 >
185 > Can you also recommend some kernel debug options i can turn on? Can they be
186 > done as parameters to the kernel instead of compiled in? i have plug and
187 > play debug and some USB debug but i'd like more!
188
189 no, not really. All problems I ever had were 'it just doesn't work, use
190 external modules', 'no sound, reconnect card' and 'no sound, because I forgot
191 to unmute someone'.