xc2028 i2c errors

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

 



Hi,

With the Hauppauge HVR900 (em2882/3 / xc2028 / tvp5150 / zl10353), I'm
getting lot's of i2c error messages for ages:

...
[   99.590735] xc2028 10-0061: Error on line 1299: -19
[   99.645650] usbcore: registered new interface driver snd-usb-audio
[   99.755362] xc2028 10-0061: Error on line 1299: -19
[   99.824744] xc2028 10-0061: attaching existing instance
[   99.824750] xc2028 10-0061: type set to XCeive xc2028/xc3028 tuner
...
[  141.885510] xc2028 10-0061: i2c input error: rc = -19 (should be 2)
[  141.886496] xc2028 10-0061: i2c input error: rc = -19 (should be 2)
...


The "line 1299" errors occurs because the xc2028 driver tries to power
down the tuner although it is already powered down (surprise !).
The input errors occur at the beginning of xc2028_signal() and
xc2028_get_afc() when the driver tries to read the sync lock state and
it causes both functions to fail.
This also happens only when the device sleeps.
When not powering down the tuner, everthing works fine and no i2c errors
occur.

With other words: xc2028 power state handling is broken.
I don't have the datasheets and I'm not familiar with this device, so I
don't know what's the best way to fix it.
So unless anyone comes up with a better solution, I suggest to disable
the power-down.
Patch follows.

Regards,
Frank
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux