Re: [linux-dvb] CONVERT32 function in stb0899_lla.c

2006-09-22 Thread Dominik Kuhlen
Hi, On Friday 22 September 2006 13:15, Roland Mieslinger wrote: Hi Dominik, looks like we're doing the same. I've started a driver for pctv452 too, but belive that I'm a bit behind (I can only init the device on usb connect). I use the init values from stb0899 driver, I think there should be

Re: [linux-dvb] CONVERT32 function in stb0899_lla.c

2006-09-22 Thread Patrick Boettcher
Hi, On Fri, 22 Sep 2006, Dominik Kuhlen wrote: On Friday 22 September 2006 13:15, Roland Mieslinger wrote: Hi Dominik, looks like we're doing the same. I've started a driver for pctv452 too, but belive that I'm a bit behind (I can only init the device on usb connect). I read usb and I'm

Re: [linux-dvb] CONVERT32 function in stb0899_lla.c

2006-09-22 Thread Manu Abraham
Dominik Kuhlen wrote: Hi, On Friday 22 September 2006 13:15, Roland Mieslinger wrote: Hi Dominik, looks like we're doing the same. I've started a driver for pctv452 too, but belive that I'm a bit behind (I can only init the device on usb connect). I use the init values from stb0899 driver,

Re: [linux-dvb] CONVERT32 function in stb0899_lla.c

2006-09-22 Thread Roland Mieslinger
Hi Dominik, would be great to see what you have done so far. Roland Original-Nachricht Datum: Fri, 22 Sep 2006 16:59:04 +0200 Von: Dominik Kuhlen [EMAIL PROTECTED] An: linux-dvb@linuxtv.org Betreff: Re: [linux-dvb] CONVERT32 function in stb0899_lla.c Hi, On Friday 22

Re: [linux-dvb] CONVERT32 function in stb0899_lla.c

2006-09-22 Thread Manu Abraham
Dominik Kuhlen wrote: Hi, I don't understand the meaning of the function CONVERT32. It seems to be the same as a memcpy on bigendian machines. But what is the reson for the trailing \0. Or should this be some kind of convert to BASE16 (e.g. sprintf(str, %08x, x)). It just concatenates 4

Re: [linux-dvb] CONVERT32 function in stb0899_lla.c

2006-09-22 Thread Dominik Kuhlen
Hi, would be great to see what you have done so far. My work was based on dvb-ttpci, which is not utilizing dvb-usb-framework. So, currently I'm migrating to dvb-usb-. (which I should have done earlier:-) If I have proceeded to a more or less usable state I'll post my work here. Dominik

[linux-dvb] CONVERT32 function in stb0899_lla.c

2006-09-19 Thread Dominik Kuhlen
Hi, I don't understand the meaning of the function CONVERT32. It seems to be the same as a memcpy on bigendian machines. But what is the reson for the trailing \0. Or should this be some kind of convert to BASE16 (e.g. sprintf(str, %08x, x)). The function is called by stb0899_get_dev_id, but