Op zondag 17 januari 2010 16:42:53 schreef Igor M. Liplianin: > On 17 января 2010 16:42:27 joep admiraal wrote: > > I had some troubles with a prof 7300 dvb s-2 card. > > I am running OpenSuse 11.2 with a recent hg copy of the v4l-dvb > > repository. It was detected as a Hauppauge WinTV instead of a prof 7300. > > After some runs with info_printk statements I found a problem in > > linux/drivers/media/video/cx88.c > > As far as I can understand the code I would say card[core->nr] will > > always be smaller than ARRAY_SIZE(cx88_boards). > > Therefore core->boardnr is never looked up from the cx88_subids array. > > After I removed the check with ARRAY_SIZE the correct card is detected > > and I can watch tv with both my prof 7300 cards. > > Can someone confirm if the patch I made is correct or explain what the > > purpose is of the ARRAY_SIZE check? > > > > > > For search references: > > I was getting this error in dmesg: > > cx88[1]/2: dvb_register failed (err = -22) > > cx88[1]/2: cx8802 probe failed, err = -22 > > > > Regards, > > Joep Admiraal > > Do/did you have another TV tuner? > Please check file /etc/modprobe.conf or files in /etc/modprobe.d/ for line > like this options cx88xx card=n > Then remove the line > > You can try to check your card > modprobe cx88xx card=75 > Hi Igor, Today I finally checked the modprobe file. Since this machine is running OpenSuse 11.2, I checked /etc/modprobe.d/50- tv.conf. I can confirm the line was present. After removing it and rebooting the machine, the card was detected correctly. This was off course tested without my hacked v4l. Thanks for your help. -- 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