em28xx WinTV dualHD in Raspbian
Quoted 5 lines
Based on this log:
Oct 18 23:08:01 mediapi kernel: [ 7590.369200] em28xx_dvb: disagrees about version of symbol dvb_dmxdev_init Oct 18 23:08:01 mediapi kernel: [ 7590.369228] em28xx_dvb: Unknown symbol dvb_dmxdev_init (err -22)it seems you messed the modules install or you have the V4L2 stack compiled builtin with a different version.
How to fix this?
- I reinstalled the current firmware and kernel on the raspberry.
- I installed the headers with sudo apt-get install raspberrypi-kernel-headers
- Then I have cloned, build and installed the modules:
git clone git://linuxtv.org/media_build.git
cd media_build
./build
sudo make install
But the same errors appear again.
Thanks,
Patrick
Em Wed, 19 Oct 2016 20:50:09 +0200
<[email protected]> escreveu:
Quoted 12 lines
Quoted 5 lines
Based on this log:
Oct 18 23:08:01 mediapi kernel: [ 7590.369200] em28xx_dvb: disagrees about version of symbol dvb_dmxdev_init Oct 18 23:08:01 mediapi kernel: [ 7590.369228] em28xx_dvb: Unknown symbol dvb_dmxdev_init (err -22)it seems you messed the modules install or you have the V4L2 stack compiled builtin with a different version.
How to fix this?
- I reinstalled the current firmware and kernel on the raspberry.
- I installed the headers with sudo apt-get install raspberrypi-kernel-headers
- Then I have cloned, build and installed the modules:
Quoted 6 lines
git clone
git://linuxtv.org/media_build.git
cdmedia_build
./build
sudo make installBut the same errors appear again.
There are 3 options:
1) If the V4L core is builtin on your Kernel [1], then you'll need recompile the Kernel yourself and be sure that V4L will be disabled. Then, you can build V4L2 using the media_build tree. You'll likely need to fix the DRM driver dependencies through, by modifying the Kernel source code (actually, some Kconfig file).
2) To use the em28xx driver that came at the RPi Kernel, instead of using media_build.git. You'll also need to recompile the RPi proprietary Kernel from its sources;
3) use the upstream Kernel. If I remember correctly, the VC4 driver (needed for GPU support) was added on Kernel 4.7. If you're not using a camera sensor connected to your RPi, the VC4 driver should be enough for your needs.
[1] If you're using the RPi proprietary Kernel, I bet you have the V4L2 core built in. I remember I found the same issue last year, while playing with RPi proprietary Kernel - part of their GPU driver was depending on CONFIG_MEDIA - I think - for no good reason. I used to have a patch fixing it somewhere, but I was unable to find it.
Quoted 8 lines
Thanks,
Patrick--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Thanks,
Mauro
I gave up and compiled an 4.7 Kernel (Option 3) - now it works out of the box.
Hopefully some driver expert can get the second tuner working, that would be awesome
Thanks,
Patrick
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Mauro Carvalho Chehab
Gesendet: Mittwoch, 19. Oktober 2016 21:14
An: [email protected]
Cc: [email protected]
Betreff: Re: em28xx WinTV dualHD in Raspbian
Em Wed, 19 Oct 2016 20:50:09 +0200
<[email protected]> escreveu:
Quoted 8 lines
Quoted 8 lines
Based on this log:
Oct 18 23:08:01 mediapi kernel: [ 7590.369200] em28xx_dvb: disagreesabout version of symbol
dvb_dmxdev_initOct 18 23:08:01 mediapi
kernel: [ 7590.369228]em28xx_dvb: Unknown symboldvb_dmxdev_init(err -22)it seems you messed the modules install or you have the V4L2 stack
compiled builtin with a different version.
Quoted 8 lines
How to fix this?
- I reinstalled the current firmware and kernel on the raspberry.
- I installed the headers with sudo apt-get install raspberrypi-kernel-headers
- Then I have cloned, build and installed the modules:
Quoted 4 lines
git clone
git://linuxtv.org/media_build.gitcdmedia_build./build sudo make installBut the same errors appear again.
There are 3 options:
1) If the V4L core is builtin on your Kernel [1], then you'll need recompile the Kernel yourself and be sure that V4L will be disabled. Then, you can build V4L2 using the media_build tree.
You'll likely need to fix the DRM driver dependencies through, by modifying the Kernel source code (actually, some Kconfig file).
2) To use the em28xx driver that came at the RPi Kernel, instead of using media_build.git. You'll also need to recompile the RPi proprietary Kernel from its sources;
3) use the upstream Kernel. If I remember correctly, the VC4 driver (needed for GPU support) was added on Kernel 4.7. If you're not using a camera sensor connected to your RPi, the VC4 driver should be enough for your needs.
[1] If you're using the RPi proprietary Kernel, I bet you have the V4L2 core built in. I remember I found the same issue last year, while playing with RPi proprietary Kernel - part of their GPU driver was depending on CONFIG_MEDIA - I think - for no good reason. I used to have a patch fixing it somewhere, but I was unable to find it.
Quoted 8 lines
Thanks,
Patrick--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Thanks,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Quoted 2 lines · On Sat, Oct 22, 2016 at 07:36:13PM +0200, [email protected] wrote:
Hopefully some driver expert can get the second tuner working, that would be awesome
What's the problem? I don't see it described in this discussion thread.
Hi Andrey,
When I submitted the original patch to add support for this device I stated that it only supports the first tuner. The em28xx driver is not built with dual-tuner support in mind and I had not enough interest to start changing it (the driver supports like 100 devices and is quite massive). There should not be many issues in using the second tuner itself on this device, it's just another I2C bus...
Cheers,
-olli
Quoted 9 lines · Andrey Utkin
Quoted 2 lines · On Sat, Oct 22, 2016 at 07:36:13PM +0200, [email protected] wrote:
Hopefully some driver expert can get the second tuner working, that would be awesome
What's the problem? I don't see it described in this discussion thread. --
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Andrey and Olli,
sorry, didn't described that, it's written down in the patch (here: https://patchwork.linuxtv.org/patch/33811/).
I never have written drivers before so I think I shouldn't start with it now because I have to ask too many questions... So hopefully olli or someone else can rewrite the driver to support this device. If I can help with anything, just ask.
The dualHD is a great device to insert dvb signals in home environments because it's small and not very expensive. E.g. together with and RPI and SATPI you can put it in a wall-mounted media box if you have such one for your home network.
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Olli Salonen
Gesendet: Sonntag, 23. Oktober 2016 12:14
An: Andrey Utkin
Cc: [email protected]; Mauro Carvalho Chehab; linux-media
Betreff: Re: em28xx WinTV dualHD in Raspbian
Hi Andrey,
When I submitted the original patch to add support for this device I stated that it only supports the first tuner. The em28xx driver is not built with dual-tuner support in mind and I had not enough interest to start changing it (the driver supports like 100 devices and is quite massive). There should not be many issues in using the second tuner itself on this device, it's just another I2C bus...
Cheers,
-olli
Quoted 9 lines · Andrey Utkin
Quoted 2 lines · On Sat, Oct 22, 2016 at 07:36:13PM +0200, [email protected] wrote:
Hopefully some driver expert can get the second tuner working, that would be awesome
What's the problem? I don't see it described in this discussion thread. --
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Olli,
Quoted 5 lines · Olli Salonen
When I submitted the original patch to add support for this device I stated that it only supports the first tuner. The em28xx driver is not built with dual-tuner support in mind and I had not enough interest to start changing it (the driver supports like 100 devices and is quite massive).
have you seen http://www.spinics.net/lists/linux-media/msg105939.html?
The guy is offering USD$200 for working dual tuner support of the ATSC version. The ATSC version has different tuners, but maybe it is no big deal. Would that be a little motivation for you? Or what could motivate you? Do you like German beer? ;-)
Dual tuner support would be awesome. The device is perfect for building a low-power VDR client or streaming server using a Raspberry Pi/Banana Pi.
Best,
Christian
Wow, interesting offer from this guy! Hopefully this is a motivation for Olli. Maybe I also can offer beer or sth. else or help to test a new version of the driver.
With single tuner support it works great since june 24/7 (except my last upgrade of the rpi with mismatched modules...)
Cheers,
Patrick
-----Ursprüngliche Nachricht-----
Von: Christian Steiner [mailto:[email protected]]
Gesendet: Donnerstag, 3. November 2016 21:46
An: Olli Salonen
Cc: Andrey Utkin; [email protected]; Mauro Carvalho Chehab; linux-media
Betreff: Re: em28xx WinTV dualHD in Raspbian
Hi Olli,
Quoted 5 lines · Olli Salonen
When I submitted the original patch to add support for this device I stated that it only supports the first tuner. The em28xx driver is not built with dual-tuner support in mind and I had not enough interest to start changing it (the driver supports like 100 devices and is quite massive).
have you seen http://www.spinics.net/lists/linux-media/msg105939.html?
The guy is offering USD$200 for working dual tuner support of the ATSC version. The ATSC version has different tuners, but maybe it is no big deal. Would that be a little motivation for you? Or what could motivate you? Do you like German beer? ;-)
Dual tuner support would be awesome. The device is perfect for building a low-power VDR client or streaming server using a Raspberry Pi/Banana Pi.
Best,
Christian