There is a known bug related to firmware loading after the modporbe of
cx18, the first analog capture may not have audio.

Do you get audio with the second capture?

Alrighty, so after much more googling and trouble shooting I'm up to this
bug now.   At least it's progress!

It appears so my driver was a bit out of date, so I loaded up the latest
ones.  So yes, now I get funky audio problems on the first record attempt,
but after that it works like a charm.  I can ivtv-tune to change channels
and the sound is coming through loud and clear.  So I'm getting really
hopeful now.

If I load up mythtv it gives me video but sound.  If I quit then cat
/dev/video0 > test.mpg gives me the same "no audio" warning.  Unloading the
cx18 and cs5345 modules and reloading them (and v4l2-ctl -s 10 to set it to
NTSC and ivtv-tune to pick a channel) makes cat /dev/video0 work again.  My
current thinking is that myth trying to initialize the card is screwing up
some setting, but dmesg shows nothing.

So close, and yet so far.

# v4l2-dbg -d /dev/video1 -C
host 0x0: cx23418 revision 0x00000000
i2c 0x4c: cs5345 revision 0x00000000

$ v4l2-dbg -d /dev/video0 -C
host 0x0: 418        revision 0x00000000
i2c 0x4c: 5345       revision 0x00000000

Interesting that mine only shows "418" and "5345" instead of "cx23418" and
"cs5345".


# v4l2-dbg -d /dev/video1 -R type=i2cdrv,chip=cs5345
ioctl: VIDIOC_DBG_G_REGISTER

00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000: e2 00 08 01 10 40 00 00 01 00 00 c0 00 00 00
00000010: 00

$ v4l2-dbg -d /dev/video0 -R type=i2cdrv,chip=cs5345
ioctl: VIDIOC_DBG_G_REGISTER

          00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
ioctl: VIDIOC_DBG_G_REGISTER failed for 0x2000000
[ - snip all the way down to - ]
ioctl: VIDIOC_DBG_G_REGISTER failed for 0x20000ff


That didn't look so good.

 The cs5345 is responsible for digitizing, amplifying, muting, and
multiplexing baseband audio sources. If it isn't set up right, then no
baseband audio would be a symptom.

This was very helpful is determining that this driver needed to be reloaded
to get audio working again.  Once I got audio working once I had to reboot
every time the audio went away. That got old fast.  Thank you very much.

Now to figure out why audio goes away, and stays away, when myth loads.

Thank you very much for you help.  I appreciate it immensely.

--Zed
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to