Hi,

sorry for not answering ealier, recently I became the master of postponing things. :(

On Thu, 29 Jan 2009, Mauro Carvalho Chehab wrote:

+/* 14 */       { USB_DEVICE(USB_VID_CYPRESS,           
USB_PID_ULTIMA_TVBOX_USB2_FX_COLD) },
+#endif

It doesn't sound a very good approach the need of recompiling the driver to
allow it to work with a broken card. The better would be to have some modprobe
option to force it to accept a certain USB ID as a valid ID for the card.

The most correct way would be to reprogram the eeprom, by simply writing to 0xa0 (0x50 << 1) I2C address... There was a thread on the linux-dvb some time ago.

The above is really ugly. IMO, we should replace this by
ARRAY_SIZE(dibusb_mc_properties.devices). Of course, for this to work,
num_device_descs should be bellow devices.

We could do that, still I'm not sure if ARRAY_SIZE will work in that situation?! Are you sure, Mauro?

Patrick.

--
  Mail: [email protected]
  WWW:  http://www.wi-bw.tfh-wildau.de/~pboettch/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to