Re: Hauppauge WinTV USB problems

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



Hi Hans,

the extra definition will not work if I2C_ALGO_USB isn't known by your kernel 
at all.
In i2c_algo_usb.c you will find this struct:

static struct i2c_algorithm i2c_usb_algo = {
	.owner         = THIS_MODULE,
	.name          = "USB algorithm",
	.id            = I2C_ALGO_USB,
	.master_xfer   = usb_xfer,
	.smbus_xfer    = NULL,
	.slave_send    = NULL,
	.slave_recv    = NULL,
	.algo_control  = algo_control,
	.functionality = usb_func,
};

For your kernel you should use the old id we shared with a different driver:
.id = I2C_ALGO_BIT

Guten Rutsch
Joerg

On Dienstag, 30. Dezember 2003 14:12, H.-J. Koch wrote:
> Hello,
> I'm trying to get my Hauppauge WinTV USB to work under SuSE 8.2
> (with SuSE kernel 2.4.20-4GB).
> usbvision-0.9.2 compiled only after I added the following lines
> to usbvision.h:
>
> #ifndef I2C_ALGO_USB
> 	#define I2C_ALGO_USB		0x170000	/* USB algorithm */
> #endif
>
> Before that I only got compiler errors "I2C_ALGO_USB undefined".
> I found the #define above in some mail archive and added it without
> really knowing what it is good for. After that, everything compiled fine,
> but xawtv and KWinTV show only coloured snow.
> With usbvision parameter debug=3 I get the following output
> in /var/log/messages:
>
> i2c-core.o: i2c core module version 2.7.0 (20021208)
> i2c-algo-usb.o: i2c usb algorithm module
> USBVision: module init
> usb.c: registered new driver USBVision Video Capture
> USBVision: Hauppauge WinTv-USB III (PAL) FM Model 568 found
> USBVision Maxium ISO Packet Length:1023
> USBVision USB Bandwidth Usage: 8Mbit/Sec
> usbvision_power_on (,,,,,,)
> saa7113: init_module
> i2c-algo-usb.o: hw routines for usbvision #0 registered.
> i2c-algo-usb.o: needed 3 retries for 72
> i2c-algo-usb: NAK from device adr 0x24 msg #0
> saa7113_read 0xC8
> saa7113: status=c8
> saa7113_read 0x11
> saa7113: version=11
> saa7113: attaching SAA7113 at 0x4a
> usbvision: device 0: i2c attach [saa7113]
> saa7113: attached to adapter usbvision #0
> tuner: ignoring usbvision #0 i2c adapter [id=0x170000]
> usbvision_set_dram_settings: compressed
>
> Seems that I2C_ALGO_USB=0x170000 is not a good idea, and
> without i2c adapter it's probably not possible to set the
> frequency for the tuner.
>
> Any ideas ?
>
> Hans




[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux