[kaffeine] [Bug 365083] sundtek - missing initialization for dvb device + patch

2016-08-07 Thread Georg Wolfram via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=365083

--- Comment #5 from Georg Wolfram  ---
(In reply to Mauro Carvalho Chehab from comment #3)
> My plans for the next Kaffeine version is to move all access to the hardware
> to libdvbv5. It means that device notification will come from the library,
> and the library will only work with the devices it knows, as, for local
> devices, it will rely on udev to get the device name (as they can be changed
> via udev rules).

I am all in for a technical superior solution, but until this solution exist
please consider applying my patch.

-- 
You are receiving this mail because:
You are watching all bug changes.


[kaffeine] [Bug 365083] New: sundtek - missing initialization for dvb device + patch

2016-07-04 Thread Georg Wolfram via KDE Bugzilla
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.


[kmail2] [Bug 358216] kmail keeps running in the background after quitting the program

2016-03-29 Thread Georg Wolfram via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358216

Georg Wolfram  changed:

   What|Removed |Added

 CC||g...@aon.at

--- Comment #6 from Georg Wolfram  ---
I can confirm this bug.

Previously kmail also crashed, when it was started while the old process was
still running, but this is fixed now (somehow). See also


Looking at the code in question I tried to disable 'empty local trash folder on
exit' and it "solved" the problem.

tl;dr:
with 'empty local trash folder on exit' enabled kmail process hangs
indefinitely

-- 
You are receiving this mail because:
You are watching all bug changes.