The new cxmo patch provided by Sascha Wildner is working with one of our pvr-150 cards (the one without FM tuner). Svideo, composite, and tuner all tested and working.
OK, Sascha, you are right as I thought. The second card does not work since it does not recognize the tuner that has the FM tuner built in. pciconf shows identical info for both cards. Hauppage is apparently to stupid to use a different model number for cards that have a completely different tuner. The tuner is identified via iic so pciconf does not show it. The drive probably should be fixed to not abort, but to go ahead and initialize the device even if it cannot identify the tuner, since I see no reason for the svideo and composite inputs not to still work. For tuning: Chet found a very simple utility called setchannel from http://www.mavetju.org/mail/view_message.php?list=freebsd-multimedia&id=1811146 It worked after a simple fix to an included header path. But currently only supports one card with the device hard coded. Would be easy to fix. It seems to be in the public domain. No copyright info. It has the ability to select the input and change channels. He also found a more sophisticated one from a FreeBSD site * Copyright (c) 2003, 2004, 2005 * John Wehle <[email protected]>. All rights reserved. It is a lot more feature rich with the ability to set such things as the encoding geometry/resolution, etc. And has the ability to work with multiple cards. However, it doesn't work. It crashes the kernel. BAD! BAD! I would say that is a bug in the driver that needs to be fixed. But thats probably not that important right now. We could get to that later. I think the more sophisticated *setchannel* utility he found may be the same one you were talking about porting. So we will not do any more with that until you have a chance to look at it.
