Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB tuner Realtek RTL2838 DVB-T #55

Open
florian987 opened this issue Jan 16, 2023 · 9 comments
Open

USB tuner Realtek RTL2838 DVB-T #55

florian987 opened this issue Jan 16, 2023 · 9 comments

Comments

@florian987
Copy link

Hello,

I am trying to get my USB tuner working on my Synology NAS. I first tried the drivers provided in this repo but no luck.

Using my laptop, I found out the needed driver was this one:
dvb-usb-rtl28xxu.ko

I found an article explaining how to cross-compile drivers, and tried using these toolchain and source:

But it is still not working, here is the dmesg outpout, after doing an insmod:
[49083.649640] dvb_usb_rtl28xxu: version magic '4.4.180 SMP mod_unload ' should be '4.4.180+ SMP mod_unload '

Seems the linux version is not correct, but cannot find the right one on Synology.

Here is my NAS version:
Linux naz 4.4.180+ #42962 SMP Wed Sep 21 10:56:47 CST 2022 x86_64 GNU/Linux synology_apollolake_218+

Any help on getting this working would be greatly appreciated!

Thanks

@robertklep
Copy link
Owner

Not sure why the version magic is different, I've never come across that issue myself.

But aside from that, my guess is that you're going to need more modules than just dvb-usb-rtl28xxu.ko to get it working (like dvb_usb_core and possibly others). You can check which dependencies the module has on your laptop:

lsmod | grep rtl28xxu

FWIW, this repo only contains USB serial drivers.

@florian987
Copy link
Author

Thanks for you hints, I managed to cross compile this driver!

@bfg100k
Copy link

bfg100k commented Mar 2, 2023

Hi @florian987, did you manage to get the tuner working? I'm also after the same thing. Are you able to share some tips on how you managed to compile the driver and install it in DSM 7.1?

@florian987
Copy link
Author

Not yet, I solved the issue concerning magic numbers, forcing them with an env variable during compilation.

For cross-compilation I used this article (it's in French, use translate):
https://benjamin-balet.info/multimedia/synology/compiler-un-driver-pour-le-synology/

I am willing to give more details, or even the compiled drivers, but not sure this repo is the right place. I understand they have serial drivers only. But searching on Github, I could not find any other initiatives for our use case.

Regarding the tuner driver itself, it has a lot of dependencies, and I am kind of stuck right now (and reaching my knowledge limit regarding these topics), so if you have any hints, it would be greatly appreciated!

@IamMattM
Copy link

@florian987 : I would be interested to try out your compiled "dvb-usb-rtl28xxu.ko" for DSM7 if it was possible to share it ?

@Mikei386
Copy link

Mikei386 commented Sep 9, 2023

I would be very very interested as well to get my RTL USB Dongle to work.
Would you like to share your driver or at least a guid how exactly you have done it?

Thank you very much.

@Koky05
Copy link

Koky05 commented Sep 11, 2023

For RTL drivers look into: bb-qq

@Mikei386
Copy link

Thanks for your suggestion. The device mentioned here is a DVB-T dongle, not an Ethernet device.
So I think it’s not the correct solution for this instance. (Or am I missing something?)

@Koky05
Copy link

Koky05 commented Sep 11, 2023

Sorry my bad:
th0ma7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants