Re: Fwd: Re: Fwd: DVB-T and Linux updated.

2013-11-28 Thread Oleg Goldshmidt
geoffrey mendelson geoffreymendel...@gmail.com writes:

 Is it possible to install the kernel module from 3.11 on an older
 kernel (say 3.8)? If so how, the last time I compiled a kernel module,
 I had to compile the entire kernel.

Hi Geoff,

You can try and compile the module against an older version of the
kernel, assuming you have the kernel headers and config files used to
build the target kernel installed. Depending on your distro, the headers
may be in a separate package, not bundled with the kernel package
itself.  They normally live under /lib/modules/`uname -r`/build, at
least that's what I am used to. In any case, compiling the whole kernel
is not needed.

The how is in Documentation/kbuild/modules.txt in the kernel sources
(you can use LXR if the documentation is not installed on your system).
It should boil down to

make -C /lib/modules/`uname -r`/build M=`pwd`

or equivalent (then repeat with modules_install target).

In principle, there is no guarantee that it will build or work
correctly, but you know that.
 
-- 
Oleg Goldshmidt | p...@goldshmidt.org

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Re: Fwd: DVB-T and Linux updated.

2013-11-28 Thread Shlomi Fish
Hi Geoffrey,


On Thu, Nov 28, 2013 at 8:46 AM, geoffrey mendelson 
geoffreymendel...@gmail.com wrote:




 On 11/25/2013 4:16 PM, Erez D wrote:

 you can get the r820T version. on eithed dx.com or ebay for around 13 usd.



 Is it possible to install the kernel module from 3.11 on an older kernel
 (say 3.8)? If so how, the last time
 I compiled a kernel module, I had to compile the entire kernel.


You can try backporting its source, but note that the Linux kernel does not
maintain backward-compatibility for internal kernel APIs (including those
used
for writing drivers) between kernel versions, so it may a bit of work.

It is possible to build a kernel module standalone using some GNU make
tricks,
maybe see:

http://mxhaard.free.fr/download.html

Or:

https://bitbucket.org/shlomif/ip-noise/src/5283225de39338345cba5372607cc26d3766d1d5/C/ker_ipq/Makefile?at=default

(The latter was written by my partner and by me and may be out of date.)

Regards,

Shlomi Fish

-- 
--
Shlomi Fish http://www.shlomifish.org/

Electrical Engineering studies. In the Technion. Been there. Done that.
Forgot a lot. Remember too much.

Please reply to list if it's a mailing list post - http://shlom.in/reply .
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Fwd: Re: Fwd: DVB-T and Linux updated.

2013-11-27 Thread geoffrey mendelson




On 11/25/2013 4:16 PM, Erez D wrote:
you can get the r820T version. on eithed dx.com http://dx.com or 
ebay for around 13 usd.





Is it possible to install the kernel module from 3.11 on an older kernel 
(say 3.8)? If so how, the last time

I compiled a kernel module, I had to compile the entire kernel.

TIA.

Geoff.

--
Geoffrey S. Mendelson 4X1GM/N3OWJ
Jerusalem Israel.



___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Fwd: DVB-T and Linux updated.

2013-11-25 Thread Erez D
you can get the r820T version. on eithed dx.com or ebay for around 13 usd.


On Sun, Nov 24, 2013 at 6:43 AM, Baruch Siach bar...@tkos.co.il wrote:

 Hi geoffrey,

 On Sat, Nov 23, 2013 at 06:56:35PM +0200, geoffrey mendelson wrote:
  The third is a TerraTec Cinergy +, which uses an RTL2382U chipset and an
  Elonics E4000 receiver.
  These used to be available for as little as $10 on eBay.
 
  It is supported in the 3.8 Kernel.
 
  These are now very hard to get. The TerraTec ones are over $40 on eBay,
 but
  there are ones that claim to have E4000 receivers,
  for around $15. Many of them are listed as E4000 upgrade version and
  really have (it's in the fine print) R820T tuners.
 
  THESE STICKS ARE NOT SUPPORTED IN LINUX. There is a working Kernel module
  for them available, but you have to compile it yourself.
  It is scheduled to be included in the 3.10 Kernel.

 It seems that support for the R820T tuner has been added in kernel version
 3.11. See http://git.kernel.org/linus/a80abc58f.

 baruch

 --
  http://baruch.siach.name/blog/  ~. .~   Tk Open
 Systems
 =}ooO--U--Ooo{=
- bar...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

 ___
 Linux-il mailing list
 Linux-il@cs.huji.ac.il
 http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Fwd: DVB-T and Linux updated.

2013-11-23 Thread geoffrey mendelson




This has been a long standing question and I have an answer. It may not
be the only answer, but here is one that worked for me with a minimum of
effort.

I have spent more time, and here is more (hopefully useable) information.


I am using Zorin 7 x86 version. (It's an UBUNTU derivative) running Kernel 3.8.

I had two old sticks. One was an APEX (Geniatech) T328B. It worked under 
Windows,
but I was never able to get it to work under Linux. It uses an AF9015 chipset.

I found on the Geniatech website the latest Windows drivers for it which load 
the proper
firmware into the stick. There is a driver for it in the 3.8 Kernel, but 
nowhere is there
the proper firmware for it, so it is unusable under Linux.

I tried all available firmware versions. If someone wants to try and strip the 
firmware
from the windows drivers, or knows whom to contact, I can forward you the link,
contact me off list.

The second one just says Nikom on it. It works with the same Geniatech 
driver, but it turns
out it has an AF9035 chipset in it. The 3.8 Kernel has a driver for it, and the 
latest version
of available firmware works fine in it.

The third is a TerraTec Cinergy +, which uses an RTL2382U chipset and an 
Elonics E4000 receiver.
These used to be available for as little as $10 on eBay.

It is supported in the 3.8 Kernel.

These are now very hard to get. The TerraTec ones are over $40 on eBay, but 
there are ones that claim to have E4000 receivers,
for around $15. Many of them are listed as E4000 upgrade version and really 
have (it's in the fine print) R820T tuners.

THESE STICKS ARE NOT SUPPORTED IN LINUX. There is a working Kernel module for 
them available, but you have to compile it yourself.
It is scheduled to be included in the 3.10 Kernel.




Geoff.

--
Geoffrey S. Mendelson 4X1GM/N3OWJ
Jerusalem Israel.




___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Fwd: DVB-T and Linux updated.

2013-11-23 Thread Baruch Siach
Hi geoffrey,

On Sat, Nov 23, 2013 at 06:56:35PM +0200, geoffrey mendelson wrote:
 The third is a TerraTec Cinergy +, which uses an RTL2382U chipset and an 
 Elonics E4000 receiver.
 These used to be available for as little as $10 on eBay.
 
 It is supported in the 3.8 Kernel.
 
 These are now very hard to get. The TerraTec ones are over $40 on eBay, but 
 there are ones that claim to have E4000 receivers,
 for around $15. Many of them are listed as E4000 upgrade version and 
 really have (it's in the fine print) R820T tuners.
 
 THESE STICKS ARE NOT SUPPORTED IN LINUX. There is a working Kernel module 
 for them available, but you have to compile it yourself.
 It is scheduled to be included in the 3.10 Kernel.

It seems that support for the R820T tuner has been added in kernel version 
3.11. See http://git.kernel.org/linus/a80abc58f.

baruch

-- 
 http://baruch.siach.name/blog/  ~. .~   Tk Open Systems
=}ooO--U--Ooo{=
   - bar...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il