[linux-dvb] Re: m920x crash

Michael Krufky mkrufky at linuxtv.org
Sat Oct 7 18:30:04 CEST 2006


Martin Schwier wrote:
> Hi!
> 
> You know i'm the guy with the MSI Megasky 580 (0db0:5580) who wrote you
> the mail about the m920x crash a few days ago.
> 
> Today, i saw your commit "gl861: correct oops when loading module" in
> the megasky tree and I did similar change to m920x.c:
> 
> @@ -427,6 +427,8 @@ MODULE_DEVICE_TABLE (usb, m920x_table);
>  MODULE_DEVICE_TABLE (usb, m920x_table);
> 
>  static struct dvb_usb_device_properties megasky_properties = {
> +       .caps = DVB_USB_IS_AN_I2C_ADAPTER |
> +               DVB_USB_ADAP_HAS_PID_FILTER |
> +               DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
>         .usb_ctrl = DEVICE_SPECIFIC,
>         .firmware = "dvb-usb-megasky-02.fw",
>         .download_firmware = m9206_firmware_download,
> @@ -441,8 +443,6 @@ static struct dvb_usb_device_properties
>         .identify_state   = megasky_identify_state,
>         .num_adapters = 1,
>         .adapter = {{
> -               .caps = DVB_USB_IS_AN_I2C_ADAPTER |
> DVB_USB_ADAP_HAS_PID_FILTER |
> -                       DVB_USB_ADAP_PID_FILTER_CAN_BE_TURNED_OFF,
> 
>                 .pid_filter_count = 8,
>                 .pid_filter       = m9206_pid_filter,
> 
> and voilà: the module loads without oopsing:

Yup... I figured that m920x would need the same fix... I was going to
apply that myself yesterday, but I don't actually have a device to test
it on...

Martin, if you send me another email with your sign-off, in the form:

Signed-off-by: Your Name <email at addre.ss>

then I will apply that change to the repository and give you the credit
for it.

> usb 1-4: new high speed USB device using ehci_hcd and address 10
> usb 1-4: configuration #1 chosen from 1 choice
> dvb-usb: found a 'MSI Mega Sky 580 DVB-T USB2.0' in cold state, will try
> to load  a firmware
> dvb-usb: downloading firmware from file 'dvb-usb-megasky-02.fw'
> dvb_usb_m920x: probe of 1-4:1.0 failed with error 64
> usb 1-4: USB disconnect, address 10
> usb 1-4: new high speed USB device using ehci_hcd and address 11
> usb 1-4: configuration #1 chosen from 1 choice
> dvb-usb: found a 'MSI Mega Sky 580 DVB-T USB2.0' in warm state.
> dvb-usb: will pass the complete MPEG2 transport stream to the software
> demuxer.
> DVB: registering new adapter (MSI Mega Sky 580 DVB-T USB2.0).
> DVB: registering frontend 0 (Zarlink MT352 DVB-T)...
> input: IR-receiver inside an USB DVB receiver as /class/input/input7
> dvb-usb: schedule remote query interval to 100 msecs.
> dvb-usb: MSI Mega Sky 580 DVB-T USB2.0 successfully initialized and
> connected.
> 
> BUT: when i scan for frequencies it doesn't find any channel :(
> 
> ms at cybook:~$ dvbscan /usr/share/dvb/scan/dvb-t/de-Bielefeld
> scanning /usr/share/dvb/scan/dvb-t/de-Bielefeld
> using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
> initial transponder 514000000 0 2 9 1 1 3 0
> initial transponder 554000000 0 2 9 1 1 3 0
> initial transponder 570000000 0 2 9 1 1 3 0
>>>> tune to:
> 514000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE
> WARNING: >>> tuning failed!!!
>>>> tune to:
> 514000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE
> (tuning failed)
> WARNING: >>> tuning failed!!!
>>>> tune to:
> 554000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE
> WARNING: >>> tuning failed!!!
>>>> tune to:
> 554000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE
> (tuning failed)
> WARNING: >>> tuning failed!!!
>>>> tune to:
> 570000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE
> WARNING: >>> tuning failed!!!
>>>> tune to:
> 570000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE
> (tuning failed)
> WARNING: >>> tuning failed!!!
> ERROR: initial tuning failed
> dumping lists (0 services)
> Done.
> 
> In addition the green led on the stick is always off.
> 
> greetings,
> Martin




More information about the linux-dvb mailing list