DragonFly bugs List (threaded) for 2008-12
DragonFly BSD
DragonFly bugs List (threaded) for 2008-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cxm WinTV PVR-250/350 driver


From: Vincent Stemen <vince.dragonfly@xxxxxxxxxxx>
Date: Fri, 19 Dec 2008 01:31:25 -0600

On Thu, Dec 18, 2008 at 08:25:17AM +0100, Sascha Wildner wrote:
> Vincent Stemen schrieb:
>> Hey Sascha.
>> We finally booted our TV server on HEAD with that cxm driver patch.
>> Tried loading the cxm modules.  Here are the errors.
>>  # kldload cxm
>>  link_elf: symbol iicbus_start undefined
>>  kldload: can't load cxm: Exec format error
>>  # kldload cxm_iic
>>  link_elf: symbol iicbb_callback_desc undefined
>>  kldload: can't load cxm_iic.ko: Exec format error
>> At least the system didn't crash :-).
>> This machine has two TV cards.
>
> Yeh, you need iicbus support in the kernel. Try adding 'device iicbus'. Not 
> sure if more is needed (refer to LINT and the iicbus(4) manual page).
>
> Sascha

Ok.  I added

    device smbus
    device iicbus
    device iicbb

to the GENERIC config file.  No more unresolved symbols.  I can load the cxm
module and it sees the two tv cards but I do not seem to be able to read the
device.  The error messages say it cannot attach cxm_iic.  cxm_iic seems to be
in the kernel from the output of "kldstat -v".

Looking at the sources, it appeared that the major device number is 92.  I was
unsure of the minor.  I assumed 0 and did a mknod.  I hope this is right.  

# ll /dev/cxm0
crw-r--r--  1 root  wheel  -  92, 0x00000000 Dec 19 04:15 /dev/cxm0

# cat /dev/cxm0
cat: /dev/cxm0: Device not configured


Here are the system messages.

 Dec 19 04:12:15 New-Install kernel: cxm0: <Conexant iTVC16 MPEG Coder> mem 0xd4000000-0xd7ffffff irq 11 at device 8.0 on pci0
 Dec 19 04:12:15 New-Install kernel: cxm0: could not attach cxm_iic
 Dec 19 04:12:15 New-Install kernel: device_probe_and_attach: cxm0 attach returned 6
 Dec 19 04:12:15 New-Install kernel: cxm1: <Conexant iTVC16 MPEG Coder> mem 0xd8000000-0xdbffffff irq 10 at device 9.0 on pci0
 Dec 19 04:12:15 New-Install kernel: cxm1: could not attach cxm_iic
 Dec 19 04:12:15 New-Install kernel: device_probe_and_attach: cxm1 attach returned 6





[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]