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

TBS 5990 - Kernel stalls when activating second tuner #3

Open
gersch07 opened this issue Mar 19, 2022 · 1 comment
Open

TBS 5990 - Kernel stalls when activating second tuner #3

gersch07 opened this issue Mar 19, 2022 · 1 comment

Comments

@gersch07
Copy link

gersch07 commented Mar 19, 2022

Hi everyone,

first of all, thanks to @smallint for this very nice work - it saves really a lot of compilation time compared to the full media stack! Has anybody tried building the kernel module with a dual-tuner TBS 5990 and a recent version of the Raspberry Pi kernel (e.g. 5.10 / 5.15 - I am using the 8GB version of the 4B model)? Compiling and installing worked without issues, but activating the second tuner produces the kernel crash mentioned by smallint in the README. The same error
xhci_hcd 0000:01:00.0: rejecting DMA map of vmalloc memory
also occurs with the most recent TBS open source driver (I opened a related issue at tbsdtv/linux_media#279 ).

@smallint: Which version of the Raspberry Pi did you test with the TBS 5990? Did you have to change something in the kernel module itself to get the second tuner operational and, if yes, could it be that a more recent commit in the module has reverted that fix?

Thanks in advance for any help!

@smallint
Copy link
Owner

Hi, thank you for the feedback. I am currently running the driver with ArchLinux 32bit and its recent kernel. The second tuner works for me. Years ago I have figured that with the author of the module. Maybe a cold reset of the device will help?

I have actually the problem with the RPi kernel that the driver crashes after some time (days to weeks) and that playback on the Pi with Kodi does not work. As soon as I record from the tbs and try to playback (even another video from disk) then the usb fails and needs some time to recover before I can use the tbs again. Otherwise it will complain about lost signal or no data. Only remote access works through e.g. vdr with both tuners. I think that this is related to the USB stack of RPi which seems to be buggy. Unfortunately I have no proof for this and I don't know how to debug it to give the developers useful hints as this device is not wide spread.

I have never tested it with 64bit on the RPi, just on x86 and that worked.

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

2 participants