Re: [linux-dvb] [PATCH] Support faulty USB IDs on DIBUSB_MC

2009-02-09 Thread Devin Heitmueller
On Mon, Feb 9, 2009 at 3:16 PM, matthieu castet wrote: > Devin Heitmueller wrote: >> On Mon, Feb 9, 2009 at 2:40 PM, matthieu castet >> wrote: >>> Hi, >>> >>> matthieu castet wrote: matthieu castet wrote: > Hi Patrick, > > Patrick Boettcher wrote: >> Hi, >> >> >> The ass

Re: [linux-dvb] [PATCH] Support faulty USB IDs on DIBUSB_MC

2009-02-09 Thread matthieu castet
Devin Heitmueller wrote: On Mon, Feb 9, 2009 at 2:40 PM, matthieu castet wrote: Hi, matthieu castet wrote: matthieu castet wrote: Hi Patrick, Patrick Boettcher wrote: Hi, The assumption that you can only have write/read or write requests is one of the big things fixed in the 1.20 firmwa

Re: [linux-dvb] [PATCH] Support faulty USB IDs on DIBUSB_MC

2009-02-09 Thread Devin Heitmueller
On Mon, Feb 9, 2009 at 2:40 PM, matthieu castet >> BTW dibusb_i2c_xfer seems to do things very dangerous : >> it assumes that it get only write/read request or write request. >> >> That means that read can be understood as write. For example a program >> doing >> file = open("/dev/i2c-x", O_RDWR);

Re: [PATCH] Support faulty USB IDs on DIBUSB_MC

2009-02-09 Thread matthieu castet
Hi, matthieu castet wrote: matthieu castet wrote: Hi Patrick, Patrick Boettcher wrote: 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_UL

Re: [linux-dvb] [PATCH] Support faulty USB IDs on DIBUSB_MC

2009-02-09 Thread Devin Heitmueller
On Mon, Feb 9, 2009 at 2:40 PM, matthieu castet wrote: > Hi, > > matthieu castet wrote: >> >> matthieu castet wrote: >>> >>> Hi Patrick, >>> >>> Patrick Boettcher wrote: Hi, sorry for not answering ealier, recently I became the master of postponing things. :( On

Re: [PATCH] Support faulty USB IDs on DIBUSB_MC

2009-01-29 Thread matthieu castet
matthieu castet wrote: Hi Patrick, Patrick Boettcher wrote: 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) },

Re: [PATCH] Support faulty USB IDs on DIBUSB_MC

2009-01-29 Thread matthieu castet
Hi Patrick, Patrick Boettcher wrote: 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 sou

Re: [PATCH] Support faulty USB IDs on DIBUSB_MC

2009-01-29 Thread Mauro Carvalho Chehab
On Thu, 29 Jan 2009 14:08:01 +0100 (CET) Patrick Boettcher wrote: > On Thu, 29 Jan 2009, Mauro Carvalho Chehab wrote: > >> We could do that, still I'm not sure if ARRAY_SIZE will work in that > >> situation?! Are you > >> sure, Mauro? > > > > Well, at least here, it is compiling fine. I can't rea

Re: [PATCH] Support faulty USB IDs on DIBUSB_MC

2009-01-29 Thread Patrick Boettcher
On Thu, 29 Jan 2009, Mauro Carvalho Chehab wrote: We could do that, still I'm not sure if ARRAY_SIZE will work in that situation?! Are you sure, Mauro? Well, at least here, it is compiling fine. I can't really test it, since I don't have any dib0700 devices here. Hmm, your patch is shifting t

Re: [PATCH] Support faulty USB IDs on DIBUSB_MC

2009-01-29 Thread Mauro Carvalho Chehab
On Thu, 29 Jan 2009 11:19:32 +0100 (CET) Patrick Boettcher wrote: > > 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

Re: [PATCH] Support faulty USB IDs on DIBUSB_MC

2009-01-29 Thread Patrick Boettcher
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

Re: [PATCH] Support faulty USB IDs on DIBUSB_MC

2009-01-29 Thread Mauro Carvalho Chehab
On Mon, 19 Jan 2009 21:38:22 +0100 matthieu castet wrote: > matthieu castet wrote: > > Hi, > > > > I got a LITE-ON USB2.0 DVB-T Tuner that loose it's cold state vid/pid > > and got FX2 dev kit one (0x04b4, 0x8613). > > > > This patch introduce an option similar to the DVB_USB_DIBUSB_MB_FAULTY

Re: [PATCH] Support faulty USB IDs on DIBUSB_MC

2009-01-19 Thread matthieu castet
matthieu castet wrote: Hi, I got a LITE-ON USB2.0 DVB-T Tuner that loose it's cold state vid/pid and got FX2 dev kit one (0x04b4, 0x8613). This patch introduce an option similar to the DVB_USB_DIBUSB_MB_FAULTY : it add the FX2 dev kit ids to the DIBUSB_MC driver if DVB_USB_DIBUSB_MC_FAULTY