[linux-dvb] Problem when unplugging Cinergy T^2

Tino Keitel tino.keitel at tikei.de
Wed Oct 17 19:32:42 CEST 2007


On Wed, Oct 17, 2007 at 19:22:37 +0200, Tino Keitel wrote:
> On Wed, Oct 17, 2007 at 19:11:54 +0200, Tino Keitel wrote:
> > On Tue, Sep 18, 2007 at 11:06:09 +0300, Tomi Orava wrote:
> > > Hi,
> > > 
> > > > with my Cinergy T^2 there is a problem when I unplug the device. Top shows
> > > > that khubd uses 100% CPU. My system uses Kernel 2.6.21.1 + latest v4l-dvb
> > > > modules from <http://linuxtv.org/hg/v4l-dvb>. With the original kernel
> > > > modules there is no problem.
> > > >
> > > > How can I help to fix the problem?
> > > 
> > > Unfortunately I don't have a fix for you, but in case you would be
> > > interested to try a modified version of that driver, here is the patch.
> > > The patch modifies the existing Cinergy T^2 driver to fit into dvb-usb
> > > framework, although it is very experimental in nature (seems to work
> > > quite ok, although no remote controller handling for now).
> > > 
> > > I'm very interested to hear if it works/doesn't work for you.
> > > The patch introduces an alternative driver menu option (in addition to
> > > existing one) for cinergy T2 and the module name is dvb-usb-cinergyT2
> > > instead.
> > > 
> > > Patch the diff against latest HG source tree.
> > 
> > Hi,
> > 
> > I tried to use the patch, but it seems to be broken here:
> > 
> > $ patch -p1 < ../dvb-usb-cinergyT2.diff 
> > patching file linux/drivers/media/dvb/dvb-usb/Kconfig
> > patching file linux/drivers/media/dvb/dvb-usb/Makefile
> > patching file linux/drivers/media/dvb/dvb-usb/cinergyT2-core.c
> > patching file linux/drivers/media/dvb/dvb-usb/cinergyT2-fe.c
> > patching file linux/drivers/media/dvb/dvb-usb/cinergyT2-remote.c
> > patching file linux/drivers/media/dvb/dvb-usb/cinergyT2.h
> > patch unexpectedly ends in middle of line
> > patch: **** malformed patch at line 1006:
> > 
> > $ md5sum ../dvb-usb-cinergyT2.diff
> > c688e3a87fe8fb0c1ef582578bcd3ce1  ../dvb-usb-cinergyT2.diff
> > 
> > Is my mailbox broken? Where can I get a working version of the driver?
> 
> Scratch that. I found the diff in a mailing list archive, and it has
> the same problem, and the same md5sum. It looks like the patch in my
> system is fishy. Is there another "version" of the patch that I could
> try?

Oh well, a newline was missing at the end. Now patching succeeds.

Regards,
Tino



More information about the linux-dvb mailing list