Been a few days since I’ve posted an update. Here’s a brief summary of things that have been going on in the last week:
Progress continued on improving em28xx analog quality. I isolated a problem with chroma AGC in the saa7115, and am working on a fix now.
I nailed down most of the analog problems being reported against the HVR-950q under MythTV. Posted a tree with fixes and solicited testers to try it out before submitting it upstream.
I finally plugged in my HVR-1800 and took a quick look at the analog support situation under MythTV. It falls down pretty hard with the current v4l-dvb tip, but the situation is somewhat improved with some patches Michael did a few months back which haven’t yet made it into the mainline. Nonetheless, it still would need quite a bit more work before I would consider counting on using it in a MythTV box (looks like a couple of race conditions which will be annoying and time consuming to isolate). Also, a number of the controls are still not implemented, which cause some “red herring” error messages in the MythTV backend log file. I’ll probably also have to plug in a PVR-150 card so I can better understand how the driver capabilities should be announced (comparing the ivtv driver against the cx23885 analog support).
So, things are moving along….
This should be called Devinlabs.com 😀
Hello Nathan,
Well, the other KernelLabs developers are actively working on things, but just have been quite busy and haven’t had as much time to update the blog as I have as of late. It’s certainly not my goal for the blog to appear that I’m the only person working on stuff.
Cheers,
Devin
If you get the HVR 1800 fixed for Myth that would be AWESOME! Had it in my MythTV box for a while now just collecting dust.
Hi Neil,
Well, I’ve only started to investigate the problems. No promises on if/when they will be fixed. 🙂
Devin
sucks that the HVR1800 is very different than the HVR1850
Hi Ian,
The work being done to the cx23885 driver for the HVR-1800 is incremental work that would be needed for the HVR-1850 as well (a number of the bugs found would be common to both). So it’s not wasted work by any stretch.
devin
Are most KL devs based in NA?
It seems that most of the fixes you do in your spare time for non-official work are for ATSC devices.
Hopefully eventually you can take on board more devs that have an interest in DVB devices.
Thank-you.
apologies, looks about even based on current posts…
current “blog” posts
Hello JH,
Yes, three our of four of us are in North America (New York). That said, I actually do quite a bit of work on DVB devices (for example, the 340e/340eSE, the HVR-900 R2, the PCTV 330e, and the PCTV 74e). Not to mention Steven’s work on the HVR-2200 and Michael’s work on a whole bunch of other boards.
Devin
We’re very busy bees! 🙂
If you could finally get HVR 1800 analog working fully in mythtv that would be awesome! Its my only card and I’m stuck using windows media center at the moment
Can you possibly post a step by step?
I have downloaded the cx23885-audio-2c5f3be3e201 files
but when running make I get
CC [M] /usr/src/cx23885-audio-2c5f3be3e201/v4l/firedtv-avc.o
CC [M] /usr/src/cx23885-audio-2c5f3be3e201/v4l/firedtv-ci.o
CC [M] /usr/src/cx23885-audio-2c5f3be3e201/v4l/firedtv-dvb.o
CC [M] /usr/src/cx23885-audio-2c5f3be3e201/v4l/firedtv-fe.o
CC [M] /usr/src/cx23885-audio-2c5f3be3e201/v4l/firedtv-1394.o
/usr/src/cx23885-audio-2c5f3be3e201/v4l/firedtv-1394.c:21:17: error: dma.h: No such file or directory
/usr/src/cx23885-audio-2c5f3be3e201/v4l/firedtv-1394.c:22:21: error: csr1212.h: No such file or directory
/usr/src/cx23885-audio-2c5f3be3e201/v4l/firedtv-1394.c:23:23: error: highlevel.h: No such file or directory
/usr/src/cx23885-audio-2c5f3be3e201/v4l/firedtv-1394.c:24:19: error: hosts.h: No such file or directory
/usr/src/cx23885-audio-2c5f3be3e201/v4l/firedtv-1394.c:25:22: error: ieee1394.h: No such file or directory
/usr/src/cx23885-audio-2c5f3be3e201/v4l/firedtv-1394.c:26:17: error: iso.h: No such file or directory
/usr/src/cx23885-audio-2c5f3be3e201/v4l/firedtv-1394.c:27:21: error: nodemgr.h: No such file or directory
….
….
….
FOR Kernel = /usr/src/linux-headers-2.6.31-20-generic’
I haver the HVR-1800 I get a purple green vertical lines on mythTV and a good picture on tvtime but both with NO audio. any help greatly appreciated
Ok I changed the .config and changed FIRETV to n
It compiled fine no errors, I rebooted and now when I open tvtime
I get a blue screen No picture No Sound ???
Now what?
To Devin
any ideas?
I have compiled you cx23885-audio tree
Now I get a blue screen on tvtime and no picture
On MythTV I fiddled with the audio options and have audio but
the picture quality is crappy?
thanks for your help
Hi Barry,
Did you reboot after installing the cx23885-audio tree?
Also, are you seeing any errors on stdout when running tvtime? Any messages in dmesg?
Also, exactly which card do you have? Please provide the PCI ID.
Devin
Yes I have rebooted twice
02:00.0 Multimedia video controller: Conexant Systems, Inc. Hauppauge Inc. HDPVR-1250 model 1196 (rev 0f)
04:00.0 VGA compatible controller: nVidia Corporation G86 [GeForce 8400 GS] (rev a1)
Mar 31 10:10:26 desktop kernel: [ 17.289978] cx23885 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Mar 31 10:10:26 desktop kernel: [ 17.290016] CORE cx23885[0]: subsystem: 0070:7801, board: Hauppauge WinTV-HVR1800 [card=2,autodetected]
Mar 31 10:10:26 desktop kernel: [ 17.468513] lp: driver loaded but no devices found
Mar 31 10:10:26 desktop kernel: [ 17.476613] tveeprom 0-0050: Hauppauge model 78521, rev C1E9, serial# 2786312
Mar 31 10:10:26 desktop kernel: [ 17.476616] tveeprom 0-0050: MAC address is 00-0D-FE-2A-84-08
Mar 31 10:10:26 desktop kernel: [ 17.476618] tveeprom 0-0050: tuner model is Philips 18271_8295 (idx 149, type 54)
Mar 31 10:10:26 desktop kernel: [ 17.476621] tveeprom 0-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88)
Mar 31 10:10:26 desktop kernel: [ 17.476623] tveeprom 0-0050: audio processor is CX23887 (idx 42)
Mar 31 10:10:26 desktop kernel: [ 17.476625] tveeprom 0-0050: decoder processor is CX23887 (idx 37)
Mar 31 10:10:26 desktop kernel: [ 17.476627] tveeprom 0-0050: has radio
Mar 31 10:10:26 desktop kernel: [ 17.476628] cx23885[0]: hauppauge eeprom: model=78521
Mar 31 10:10:26 desktop kernel: [ 17.516800] cx25840 2-0044: cx25 0-21 found @ 0x88 (cx23885[0])
Mar 31 10:10:26 desktop kernel: [ 17.520996] cx25840 2-0044: firmware: requesting v4l-cx23885-avcore-01.fw
I’m seeing nothing in the console it would appear that it just freezes or hangs
I say this because the time in the upper right corner stay the same while desktop clock time moves on.
from /var/log/kern.log
Apr 7 11:29:35 desktop kernel: [165089.380112] cx23885_video_irq() handled = 2
Apr 7 11:29:37 desktop kernel: [165090.615423] cx23885_video_irq() handled = 2
Apr 7 11:29:38 desktop kernel: [165091.948875] cx23885_video_irq() handled = 2
Hi Barry,
You don’t have an HVR-1800. You have an HVR-1250, and there has been no work done to make this card work. In fact, it is known to be broken (it’s got a newer bridge chip than the HVR-1800 called the cx23887 which will require additional code to get working).
So, at least that explains why your card doesn’t work. It’s not supposed to.
Devin
To Devin
Thanks for the Help
I just rebooted again and Now here is what dmesg says
[ 19.968422] cx23885 driver version 0.0.2 loaded
[ 19.968467] cx23885 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 19.968511] CORE cx23885[0]: subsystem: 0070:7801, board: Hauppauge WinTV-HVR1800 [card=2,autodetected]
[ 20.040404] lirc_dev: lirc_register_driver: sample_rate: 0
[ 20.042909] lirc_mceusb[5]: Formosa21 Beanbag Emulation Device on usb2:5
[ 20.043111] usbcore: registered new interface driver lirc_mceusb
[ 20.095023] phy0: Selected rate control algorithm ‘minstrel’
[ 20.095660] Registered led device: rt73usb-phy0::radio
[ 20.095675] Registered led device: rt73usb-phy0::assoc
[ 20.095691] Registered led device: rt73usb-phy0::quality
[ 20.096199] usbcore: registered new interface driver rt73usb
[ 20.122869] EXT4-fs (sda1): internal journal on sda1:8
[ 20.353755] tveeprom 0-0050: Hauppauge model 78521, rev C1E9, serial# 2786312
[ 20.353766] tveeprom 0-0050: MAC address is 00-0D-FE-2A-84-08
[ 20.353774] tveeprom 0-0050: tuner model is Philips 18271_8295 (idx 149, type 54)
[ 20.353782] tveeprom 0-0050: TV standards NTSC(M) ATSC/DVB Digital (eeprom 0x88)
[ 20.353791] tveeprom 0-0050: audio processor is CX23887 (idx 42)
[ 20.353798] tveeprom 0-0050: decoder processor is CX23887 (idx 37)
[ 20.353805] tveeprom 0-0050: has radio
It says 1800
I think when loaded the cx23885-audio tree it started with the cx23887 before it has always been cx23885
any further ideas?
Thanks
Hello Barry,
Ah, the 1250 reference is a red-herring – some random user submitted the wrong data to the public PCI database. It looks like based on the PCI ID that it indeed is an HVR-1800.
Yeah, somebody’s going to have to eventually debug what is going on here. I wouldn’t hold your breath though since we’re buried in projects for paying commercial customers.
Devin
with regards to your question on tvtime
barry@desktop:~$ tvtime
Running tvtime 1.0.2.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /home/barry/.tvtime/tvtime.xml
Is all it displays on the console
/var/log/messages as repeated
Apr 7 13:00:36 desktop kernel: [ 5168.978847] cx23885_video_irq() handled = 2
Apr 7 13:00:36 desktop kernel: [ 5169.012189] cx23885_video_wakeup: 0 buffers handled (should be 1)
Apr 7 13:00:36 desktop kernel: [ 5169.045550] cx23885_video_wakeup: 0 buffers handled (should be 1)
Apr 7 13:00:36 desktop kernel: [ 5169.078917] cx23885_video_wakeup: 0 buffers handled (should be 1)
Okay thanks for all your help
Any progress on this? and which tree should I be using and watching for updates?