Re: [PATCH][RFC] DVB Hotplug Fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Markus Rechberger wrote:
> Hi,
> 
> I had a closer look at the dvb framework and fixed the hotplugging
> issues for dvb-usb and em28xx/dvb devices (which are not merged into
> the kernel)
> 
> So please test it and have a look at the last 3 patches, I was only
> able to test scanning for channels since I do not have any DVB Signal
> around.
> 
> http://mcentral.de/hg/~mrec/v4l-dvb-stable/
> 
> Markus

These changesets seem to do the trick correctly for dvb-usb.

Can somebody with a cinergyT2 or a flexcop-usb  or ttusb device also
test this and let us know if it works?

This is how i did my test:

1- plug in my dvb-usb-cxusb device.
2- mplayer dvb://WNYW
3- while watching the stream, unplug the device

There is no oops.  As soon as mplayer exits, the device driver unregisters.

Upon re-plugging the device, the driver re-initializes correctly.


[17197358.904000] usb 1-3: new high speed USB device using ehci_hcd and address 13
[17197359.036000] usb 1-3: configuration #1 chosen from 1 choice
[17197359.108000] dvb-usb: found a 'DViCO FusionHDTV5 USB Gold' in cold state, will try to load a firmware
[17197359.112000] dvb-usb: downloading firmware from file 'dvb-usb-bluebird-01.fw'
[17197359.176000] usbcore: registered new driver dvb_usb_cxusb
[17197359.420000] usb 1-3: USB disconnect, address 13
[17197359.420000] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
[17197361.172000] usb 1-3: new high speed USB device using ehci_hcd and address 14
[17197361.304000] usb 1-3: configuration #1 chosen from 1 choice
[17197361.304000] dvb-usb: found a 'DViCO FusionHDTV5 USB Gold' in warm state.
[17197361.304000] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[17197361.336000] DVB: registering new adapter (DViCO FusionHDTV5 USB Gold).
[17197361.352000] DVB: registering frontend 0 (LG Electronics LGDT3303 VSB/QAM Frontend)...
[17197361.356000] input: IR-receiver inside an USB DVB receiver as /class/input/input8
[17197361.356000] dvb-usb: schedule remote query interval to 100 msecs.
[17197361.356000] dvb-usb: DViCO FusionHDTV5 USB Gold successfully initialized and connected.

this is where i started viewing the mpeg stream, and then unplugged the device.

[17197383.976000] dvb-usb: bulk message failed: -71 (1/0)
[17197384.076000] dvb-usb: bulk message failed: -71 (1/0)
[17197384.116000] usb 1-3: USB disconnect, address 14
[17197390.440000] dvb-usb: bulk message failed: -22 (1/-858094240)
[17197390.440000] dvb-usb: DViCO FusionHDTV5 USB Gold successfully deinitialized and disconnected.

and here i plugged it in again

[17197395.192000] usb 1-3: new high speed USB device using ehci_hcd and address 15
[17197395.324000] usb 1-3: configuration #1 chosen from 1 choice
[17197395.324000] dvb-usb: found a 'DViCO FusionHDTV5 USB Gold' in cold state, will try to load a firmware
[17197395.328000] dvb-usb: downloading firmware from file 'dvb-usb-bluebird-01.fw'
[17197395.456000] usb 1-3: USB disconnect, address 15
[17197395.456000] dvb-usb: generic DVB-USB module successfully deinitialized and disconnected.
[17197397.464000] usb 1-3: new high speed USB device using ehci_hcd and address 16
[17197397.608000] usb 1-3: configuration #1 chosen from 1 choice
[17197397.608000] dvb-usb: found a 'DViCO FusionHDTV5 USB Gold' in warm state.
[17197397.608000] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[17197397.640000] DVB: registering new adapter (DViCO FusionHDTV5 USB Gold).
[17197397.640000] DVB: registering frontend 0 (LG Electronics LGDT3303 VSB/QAM Frontend)...
[17197397.640000] input: IR-receiver inside an USB DVB receiver as /class/input/input9
[17197397.640000] dvb-usb: schedule remote query interval to 100 msecs.
[17197397.640000] dvb-usb: DViCO FusionHDTV5 USB Gold successfully initialized and connected.

Cheers,

Mike Krufky

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux