linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Hauppauge WinTV MiniStick (siano) firmware not loading
       [not found] <5230529A.70604@cpegel.de>
@ 2013-09-12  3:46 ` Mauro Carvalho Chehab
  0 siblings, 0 replies; only message in thread
From: Mauro Carvalho Chehab @ 2013-09-12  3:46 UTC (permalink / raw)
  To: Christoph Pegel; +Cc: LMML

Em Wed, 11 Sep 2013 13:23:06 +0200
Christoph Pegel <christoph@cpegel.de> escreveu:

> Hello Mauro,
> 
> I already sent this mail to your address at redhat, I guess it didn't
> reach you.

I'm not answering there anymore. Not sure why emails sent to it are not
returning back.

The better is to always copy the linux-media ML on such emails, as people
there can also help with it.

> Two month ago I noticed the firmware of my Hauppauge WinTV MiniStick
> wasn't loading anymore:

Probably, it is recognizing its firmware version wrong.

There's a logic at drivers/media/common/siano/smscoreapi.c that it is meant
to identify it:

                if (coredev->fw_version >= 0x800) {
                       	rc = smscore_init_device(coredev, mode);
                        if (rc < 0)
                               	sms_err("device init failed, rc %d.", rc);

Basically, this function should be called only for newer firmwares found
on sms2270. If this is called on old devices, this causes it to fail.

> 
> usb 1-1.5.1: new high-speed USB device number 9 using ehci-pci
> smscore_load_firmware_family2: line: 986: sending
> MSG_SMS_DATA_VALIDITY_REQ expecting 0xcfed1755
> smscore_onresponse: line: 1565: MSG_SMS_DATA_VALIDITY_RES, checksum =
> 0xcfed1755

The messages changed, but that doesn't mean that an error happened. The
above messages are actually OK: it just reports that a checksum is expected.

As the checksum is identical, the firmware uploaded matches.

> If I ignore that and try to tune in some channel, the kernel panics.

Well, we need the Kernel panic messages, in order to be able to identify
what happened.

> 
> This problem has already been reported in multiple places:
>     * https://bugzilla.kernel.org/show_bug.cgi?id=60645

Unfortunately, reported as a drivers/video error. It should, instead, be
reported as a v4l-dvb driver issue:

	https://bugzilla.kernel.org/describecomponents.cgi?product=v4l-dvb

>     *
> http://article.gmane.org/gmane.linux.drivers.video-input-infrastructure/68070
>     * http://markmail.org/message/3oczpksvbosavg54
>     * https://bbs.archlinux.org/viewtopic.php?pid=1309369

None of the above reports went to the proper channel (the linux-media
ML), and the kernel.org one went to the wrong people.

> 
> Since nobody seems to notice these reports, I checked the commits in the
> kernel tree and found that you did some major changes on the driver in
> 2013-03 which have been merged by Linus on 2013-04-30.
> 
> I'd appreciate any help in getting this problem fixed.

Please comment that lines at smscoreapi that call smscore_init_device()
if the firmware version is equal or upper to 0x800, and see what happens.

Unfortunately, I'm about to travel to 3 consecutive international trips 
starting this weekend. So, it is very doubtful that I would have any time
soon to dirt my hands on it before November.

I can try to guide you on how to fix it trough.

Regards,
Mauro

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-12  3:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <5230529A.70604@cpegel.de>
2013-09-12  3:46 ` Hauppauge WinTV MiniStick (siano) firmware not loading Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).