saa716x module no longer in kernel

Asked by John May

boss@centre:~$ modprobe saa716x
modprobe: FATAL: Module saa716x not found in directory /lib/modules/4.15.0-45-generic
boss@centre:~$

    QUESTION.

           HOW do I get it in?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you please close your other questions as duplicates.
https://answers.launchpad.net/~maihaus-bmts

Making many questions just clutters up the place

Revision history for this message
John May (maihaus-bmts) said :
#2

MY question never has changed.

However it appears that every communication I get from you people is
headed your question has changed. Apparently you're beginning to believe
it yourself.

'

On 2019-02-04 10:17 a.m., actionparsnip wrote:
> Your question #678297 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/678297
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Can you please close your other questions as duplicates.
> https://answers.launchpad.net/~maihaus-bmts
>
> Making many questions just clutters up the place
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

1.
MY question never has changed.
However it appears that every communication I get from you people is headed your question has changed. Apparently you're beginning to believe it yourself.

This must be a misinterpretation of the ways of working of Launchpad Question and Answers.
Whenever somebody does ANY modification on a question document, then an e-mail is sent out to the persons who have subscribed to that question. The person who created the question is automatically subscribed.
Changes that can trigger such "Your question … has changed" mail can be e.g. somebody pressing the "Propose Answer" or "Add Information Request" buttons on the question document on Launchpad.

2.
saa716x module no longer in kernel

A kernel module with such name has never been part of the kernel. How can it "no longer" be there if it wasn't ever there?

3.
HOW do I get it in?

Ask the manufacturer of the device to supply it.

Revision history for this message
John May (maihaus-bmts) said :
#4

Reply Manfred Hampl.

How come I was watching DVB and driving an 85 cm. dish  H to H, on
Ubnutu 12 14 and most 0f 16?

NOW YOU SEE IT!

  # lspci -v | grep --after-context=10 7160

04:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)
        Subsystem: Device 6280:0011
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at e0300000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: [40] MSI: Enable- Count=1/32 Maskable- 64bit+
        Capabilities: [50] Express Endpoint, MSI 00
        Capabilities: [74] Power Management version 2
        Capabilities: [80] Vendor Specific Information: Len=50 <?>
        Capabilities: [100] Vendor Specific Information: ID=0000 Rev=0
Len=088 <?>
        Kernel driver in use: SAA716x Budget
        Kernel modules: saa716x_budget

    You need to see the 2 following lines that show that the SAA716x
driver for the TBS TV card is loaded :

        Kernel driver in use: SAA716x Budget
        Kernel modules: saa716x_budget

NOW YOU DON"T

$  lspci -v | grep --after-context=10 7160

03:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)
     Subsystem: Device 6928:0002
     Flags: fast devsel, IRQ 11
     Memory at df200000 (64-bit, non-prefetchable) [disabled] [size=1M]
     Capabilities: [40] MSI: Enable- Count=1/32 Maskable- 64bit+
     Capabilities: [50] Express Endpoint, MSI 00
     Capabilities: [74] Power Management version 2
     Capabilities: [80] Vendor Specific Information: Len=50 <?>
     Capabilities: [100] Vendor Specific Information: ID=0000 Rev=0
Len=088<?>

No Kernel driver saa716x

QED.

On 2019-02-06 3:52 p.m., Manfred Hampl wrote:
> Your question #678297 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/678297
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> 1.
> MY question never has changed.
> However it appears that every communication I get from you people is headed your question has changed. Apparently you're beginning to believe it yourself.
>
> This must be a misinterpretation of the ways of working of Launchpad Question and Answers.
> Whenever somebody does ANY modification on a question document, then an e-mail is sent out to the persons who have subscribed to that question. The person who created the question is automatically subscribed.
> Changes that can trigger such "Your question … has changed" mail can be e.g. somebody pressing the "Propose Answer" or "Add Information Request" buttons on the question document on Launchpad.
>
> 2.
> saa716x module no longer in kernel
>
> A kernel module with such name has never been part of the kernel. How
> can it "no longer" be there if it wasn't ever there?
>
> 3.
> HOW do I get it in?
>
> Ask the manufacturer of the device to supply it.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Please look at your own output:
"... Kernel modules: saa716x_budget …"
The driver in use in your first output is not named "saa716x" but is named "saa716x_budget", probably loaded with a command "sudo modprobe saa716x_budget"

Can you please repeat these commands with a slightly modified option:
lspci -vnn | grep --after-context=10 7160
This will show the vendor ID and device ID of the cards. These IDs are crucial to identify the correct driver.

Revision history for this message
John May (maihaus-bmts) said :
#6

      Enough is enough, you seem completely unable to stick to the question.

TBS 6928 TBS 6928SE, SAA7160, SAA716x, SAA716x_budget, Nitpicking,
Nothing to do with the question.

FACT.

      I need a LINUX driver module   SAA7XXX

  QUESTION.

   Where is the repository or where can I find these driver modules  to
download?

   Will you be attempting to answer this question?

  FYI.

https://www.cyberciti.biz/faq/add-remove-list-linux-kernel-modules/

On 2019-02-09 2:52 p.m., Manfred Hampl wrote:
> Your question #678297 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/678297
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Please look at your own output:
> "... Kernel modules: saa716x_budget …"
> The driver in use in your first output is not named "saa716x" but is named "saa716x_budget", probably loaded with a command "sudo modprobe saa716x_budget"
>
> Can you please repeat these commands with a slightly modified option:
> lspci -vnn | grep --after-context=10 7160
> This will show the vendor ID and device ID of the cards. These IDs are crucial to identify the correct driver.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

I need a LINUX driver module SAA7XXX
QUESTION.
Where is the repository or where can I find these driver modules to download?

I do not know any source where you can download a module named saa7xxx (or saa716x).
Maybe the vendor of the device knows.

What I found are sources where you can download driver modules named saa716x_budget, saa716x_hybrid and saa716x_tbs-dvb.
In my opinion it would be worth trying whether one of these works with your device.

Revision history for this message
John May (maihaus-bmts) said :
#8

Great.

      So now all you have to do now is prove it.

Go to one of these sites you have found download any 'driver module' of
your choosing.

Open it up check check for .ko

Then, just for your own edification, insert it into your kernel
following the URL, I gave you, on insertion in

Linux kernels.

On 2019-02-10 10:58 a.m., Manfred Hampl wrote:
> Your question #678297 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/678297
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> I need a LINUX driver module SAA7XXX
> QUESTION.
> Where is the repository or where can I find these driver modules to download?
>
> I do not know any source where you can download a module named saa7xxx (or saa716x).
> Maybe the vendor of the device knows.
>
> What I found are sources where you can download driver modules named saa716x_budget, saa716x_hybrid and saa716x_tbs-dvb.
> In my opinion it would be worth trying whether one of these works with your device.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

This is exactly what I already wrote on January 13 in comment #17 of https://answers.launchpad.net/ubuntu/+question/676856

"2. But there are two variants being built (probably for different cards using the saa716x chips), and the commands "sudo modprobe saa716x_hybrid" and "sudo modprobe saa716x_tbs-dvb" both work and load the respective kernel modules and several other kernel modules that they depend on."

Of course inserting these modules into the kernel does not do anything useful on my system, because I do not have a DVB card that the driver could communicate with (see my initial disclaimer).

Revision history for this message
John May (maihaus-bmts) said :
#10

Reply to Manfred Hampl 19;00 Hrs. 11/2/19

Please  answer the following questions. These require a simple yes or no..

1. You claim to have located the repository for the Linux driver
modules, yes or no?

2  Have you opened this site and seen the saaxxxx modules available  for
download  yes or no?

2  Have you actually downloaded a driver module to confirm your
findings    yes or no?

3  If you have not done so please explain why not. What is your
justification?

On 2019-02-11 8:17 a.m., John May wrote:
> Your question #678297 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/678297
>
> Status: Answered => Open
>
> You are still having a problem:
> Great.
>
>      So now all you have to do now is prove it.
>
> Go to one of these sites you have found download any 'driver module' of
> your choosing.
>
> Open it up check check for .ko
>
> Then, just for your own edification, insert it into your kernel
> following the URL, I gave you, on insertion in
>
> Linux kernels.
>
>
>
> On 2019-02-10 10:58 a.m., Manfred Hampl wrote:
>> Your question #678297 on Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+question/678297
>>
>> Status: Open => Answered
>>
>> Manfred Hampl proposed the following answer:
>> I need a LINUX driver module SAA7XXX
>> QUESTION.
>> Where is the repository or where can I find these driver modules to download?
>>
>> I do not know any source where you can download a module named saa7xxx (or saa716x).
>> Maybe the vendor of the device knows.
>>
>> What I found are sources where you can download driver modules named saa716x_budget, saa716x_hybrid and saa716x_tbs-dvb.
>> In my opinion it would be worth trying whether one of these works with your device.
>>

Revision history for this message
Manfred Hampl (m-hampl) said :
#11

1. You claim to have located the repository for the Linux driver modules, yes or no?

Yes, I have located repositories with program source that allow building drivers for certain saa7160/1/2-based cards. I cannot verify whether these drivers are working for your specific device.
https://github.com/tbsdtv/linux_media/wiki
https://github.com/ljalves/linux_media/wiki/Installating

2. Have you opened this site and seen the saaxxxx modules available for download yes or no?

No, because it is not working like this.
You do not download the module from these sites, but you download a package of source files and build (compile) the module files locally on your own computer based on the source files that you have downloaded.
Look at
https://github.com/tbsdtv/linux_media/tree/latest/drivers/media/pci/saa716x
and
https://github.com/ljalves/linux_media/tree/latest/drivers/media/pci/saa716x
and you will see source files with a name saa716x_*
The build process will create driver modules from this source.

2 Have you actually downloaded a driver module to confirm your findings yes or no?

No, it does not work like this, see previous question and answer.
I have run the compilation process and I can confirm that it has created driver modules that can be loaded (=inserted) into the kernel.
see comments #15 and #17 of https://answers.launchpad.net/ubuntu/+question/676856 and comment #9 in this current question https://answers.launchpad.net/ubuntu/+question/678297

3 If you have not done so please explain why not. What is your justification?

It does not work like this, see previous questions and answers.

Revision history for this message
John May (maihaus-bmts) said :
#12

Final Reply to Manfred Hampl

    I am closing this down. Once again it has become completely
pointless. You have come a full

circle and again have confused yourself into talking about building drivers.

      What I suggest is to paste the following line into your terminal.

               cd /lib/modules/4.15.0-45-generic/kernel/drivers/media/pci

   List (ls)  The contents of pci. Note a number of saa7xxx etc. These
are Linux driver modules.

These do not appear in the kernel by magic I imagine they are loaded by
Linuxdtv when they build the V4l media folder.

     The source or repository of these modules is what you have
suppposed to be looking for all this time, but seemed to have lost sight
of from day one.

  We're done.

On 2019-02-12 3:23 a.m., Manfred Hampl wrote:
> Your question #678297 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/678297
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> 1. You claim to have located the repository for the Linux driver
> modules, yes or no?
>
> Yes, I have located repositories with program source that allow building drivers for certain saa7160/1/2-based cards. I cannot verify whether these drivers are working for your specific device.
> https://github.com/tbsdtv/linux_media/wiki
> https://github.com/ljalves/linux_media/wiki/Installating
>
> 2. Have you opened this site and seen the saaxxxx modules available
> for download yes or no?
>
> No, because it is not working like this.
> You do not download the module from these sites, but you download a package of source files and build (compile) the module files locally on your own computer based on the source files that you have downloaded.
> Look at
> https://github.com/tbsdtv/linux_media/tree/latest/drivers/media/pci/saa716x
> and
> https://github.com/ljalves/linux_media/tree/latest/drivers/media/pci/saa716x
> and you will see source files with a name saa716x_*
> The build process will create driver modules from this source.
>
> 2 Have you actually downloaded a driver module to confirm your findings
> yes or no?
>
> No, it does not work like this, see previous question and answer.
> I have run the compilation process and I can confirm that it has created driver modules that can be loaded (=inserted) into the kernel.
> see comments #15 and #17 of https://answers.launchpad.net/ubuntu/+question/676856 and comment #9 in this current question https://answers.launchpad.net/ubuntu/+question/678297
>
> 3 If you have not done so please explain why not. What is your
> justification?
>
> It does not work like this, see previous questions and answers.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#13

Again I can only attribute your answer to a misunderstanding of the ways of working of Linux drivers.

Most device drivers on Linux systems are kernel modules, stored in the /lib/modules/(version)/kernel/drivers/... directory tree.

The standard version of the Linux kernel as delivered by Ubuntu (and the stock kernel from kernel.org) do not contain kernel modules for devices with saa7160/1/2 chips. As a consequence you will not find any file with saa716x in its name in the /lib/modules/(version)/kernel/drivers/... directory tree.

Following the instructions for compiling https://github.com/tbsdtv/linux_media or https://github.com/ljalves/linux_media however, will create saa716x_(something).ko kernel modules, which work as device drivers for certain saa716x devices. The compilation process will copy them into the /lib/modules/(version)/kernel/drivers/... directory tree, and after the build process they will be there and allow the "modprobe saa716x_budget" (or similar) commands to succeed.

And as an additional comment: It seems to me that Linuxdtv does not contain any saa716x software in its V4l repository, but only saa7164.

Can you help with this problem?

Provide an answer of your own, or ask John May for more information if necessary.

To post a message you must log in.