https://bugs.kde.org/show_bug.cgi?id=365083
Bug ID: 365083 Summary: sundtek - missing initialization for dvb device + patch Product: kaffeine Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: mchehab+...@kernel.org Reporter: g...@aon.at Hello Mauro, I have 2 USB sticks. Both are not working if connected to my PC at the same time. 1. PCTV 290e DVB-T2 2. Sundtek MediaTV Pro III The Sundtek device is special, because its driver is not part of the linux kernel. Because of this, it is not detected by Solid (no sysfs entry). The Sundtek guys wrote a patch (pre 2.0) to make their device appear in kaffeine. Mostly class DvbDeviceMonitor and DvbLinuxDeviceManager::componentAdded (QString node, int adapter, int index). This is just in case you are wondering why this code exists. In componentAdded some device members are not initialized: --- dvbdevice_linux.cpp 2016-07-04 23:51:43.718722419 +0200 +++ dvbdevice_linux.cpp 2016-07-04 23:54:48.161415080 +0200 @@ -1851,6 +1852,10 @@ if (!device->demuxPath.isEmpty () && !device->dvrPath.isEmpty () && !device->frontendPath.isEmpty ()) { + device->adapter = adapter; + device->index = index; + device->dvbv5_parms = NULL; + device->startDevice (""); Error without patch: 04-07-16 23:21:21.014 [Critical] No such file or directory while opening /dev/dvb/adapter2097184/frontend6094880 or Patch quality: works for me. -- You are receiving this mail because: You are watching all bug changes.