You are not logged in.
Hi,
I recently got TV and thought i'd give a try to a tuner card and record some stuff on my PC.
I read on the net, and the cheapest, yet linux-ok was the Hauppauge WinTV HVR 850, so i got that one.
I read alot on the net about it to make it work. I tried pretty much everything i could, but now i'm giving up.
I saw it needs the au0828 driver, as you can see in /usr/src/linux-2.6.39-jni/drivers/media/video/au0828/au0828-cards.c
[AU0828_BOARD_HAUPPAUGE_HVR850] = {
.name = "Hauppauge HVR850",
.tuner_type = TUNER_XC5000,
.tuner_addr = 0x61,
.i2c_clk_divider = AU0828_I2C_CLK_30KHZ,
.input = {
.....However, when booting, it seems to use cx231xx/cx25840 and those seem to crash miserably.
here is what i can see in dmesg :
[ 5.640072] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.0/input/input5
[ 5.640138] generic-usb 0003:046D:C52B.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:1d.0-2/input0
[ 5.645093] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.0/usb6/6-2/6-2:1.1/input/input6
[ 5.645400] generic-usb 0003:046D:C52B.0002: input,hiddev0,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:1d.0-2/input1
[ 5.650240] IR RC6 protocol handler initialized
[ 5.651136] generic-usb 0003:046D:C52B.0003: hiddev0,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:1d.0-2/input2
[ 5.651155] usbcore: registered new interface driver usbhid
[ 5.651157] usbhid: USB HID core driver
[ 5.651196] cx231xx v4l2 driver loaded.
[ 5.651345] cx231xx #0: New device Hauppauge Hauppauge Device @ 480 Mbps (2040:b140) with 6 interfaces
[ 5.651350] cx231xx #0: registering interface 1
[ 5.651503] cx231xx #0: Identified as Hauppauge EXETER (card=8)
[ 5.667321] IR JVC protocol handler initialized
[ 5.668346] IR Sony protocol handler initialized
[ 5.670263] lirc_dev: IR Remote Control driver registered, major 249
[ 5.674600] IR LIRC bridge handler initialized
[ 5.818002] cx231xx #0: cx231xx_dif_set_standard: setStandard to ffffffff
[ 5.830132] cx25840 1-0044: cx23102 A/V decoder found @ 0x88 (cx231xx #0)
[ 5.830759] BUG: unable to handle kernel paging request at 00000001fffffc51
[ 5.830879] IP: [<ffffffffa120e19c>] cx25840_s_ctrl+0x1c/0x110 [cx25840]
[ 5.830960] PGD 221039067 PUD 0
[ 5.831066] Oops: 0000 [#1] PREEMPT SMP
[ 5.831202] last sysfs file: /sys/devices/pci0000:00/0000:00:1d.7/usb2/2-4/i2c-1/1-0044/uevent
[ 5.831260] CPU 1
[ 5.831293] Modules linked in: cx25840 ir_lirc_codec lirc_dev ir_sony_decoder ir_jvc_decoder joydev ir_rc6_decoder cx231xx(+) ir_rc5_decoder cx2341x usbhid ir_nec_decoder rc_core hid au0828 dvb_core videobuf_vmalloc videobuf_core tveeprom v4l2_common videodev media v4l2_compat_ioctl32 fuse nvidia(P) firewire_ohci firewire_core serio_raw evdev crc_itu_t sg snd_hda_codec_realtek uhci_hcd snd_hda_intel snd_hda_codec snd_hwdep ehci_hcd snd_pcm snd_timer snd psmouse r8169 iTCO_wdt pcspkr soundcore i2c_i801 snd_page_alloc usbcore iTCO_vendor_support intel_agp intel_gtt mii asus_atk0110 processor button i2c_core ext4 mbcache jbd2 crc16 sr_mod sd_mod cdrom pata_acpi ata_piix ahci pata_jmicron libahci libata scsi_mod
[ 5.833702]
[ 5.833744] Pid: 484, comm: modprobe Tainted: P 2.6.39-ARCH #1 System manufacturer System Product Name/P5Q3
[ 5.833897] RIP: 0010:[<ffffffffa120e19c>] [<ffffffffa120e19c>] cx25840_s_ctrl+0x1c/0x110 [cx25840]
[ 5.833987] RSP: 0018:ffff8802210977d8 EFLAGS: 00010286
[ 5.834033] RAX: 0000000200000001 RBX: ffff880221db5500 RCX: 0000000000003b3a
[ 5.834074] RDX: ffff880221160c78 RSI: 2222222222222222 RDI: ffff880221db5500
[ 5.834074] RBP: ffff8802210977e8 R08: 2222222222222222 R09: 2222222222222222
[ 5.834074] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880221db5500
[ 5.834074] R13: ffff880221c904d0 R14: ffff880221c904a0 R15: 0000000000000001
[ 5.834074] FS: 00007ff82cacb700(0000) GS:ffff88022fc80000(0000) knlGS:0000000000000000
[ 5.834074] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 5.834074] CR2: 00000001fffffc51 CR3: 000000022237c000 CR4: 00000000000406e0
[ 5.834074] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 5.834074] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 5.834074] Process modprobe (pid: 484, threadinfo ffff880221096000, task ffff880221985bd0)
[ 5.834074] Stack:
[ 5.834074] ffff880221db5500 ffff880221db5500 ffff880221097838 ffffffffa028a9f2
[ 5.834074] 0000028f21097838 0000000000000000 ffffffffa028dcd7 ffff880221c90000
[ 5.834074] ffff880221c35400 ffff880221c904a0 0000000000005a3e 0000000000005a3b
[ 5.834074] Call Trace:
[ 5.834074] [<ffffffffa028a9f2>] v4l2_ctrl_handler_setup+0x102/0x130 [videodev]
[ 5.834074] [<ffffffffa120fcc3>] cx25840_probe+0x4b3/0x830 [cx25840]
[ 5.834074] [<ffffffff81045b53>] ? __wake_up+0x53/0x70
[ 5.834074] [<ffffffffa120f810>] ? common_s_io_pin_config+0x2d0/0x2d0 [cx25840]
[ 5.834074] [<ffffffffa00f5531>] i2c_device_probe+0xb1/0x110 [i2c_core]
[ 5.834074] [<ffffffff811bfe43>] ? sysfs_create_link+0x13/0x20
[ 5.834074] [<ffffffff812dfd9e>] driver_probe_device+0x7e/0x1b0
[ 5.834074] [<ffffffff812dffd3>] __device_attach+0x53/0x60
[ 5.834074] [<ffffffff812dff80>] ? __driver_attach+0xb0/0xb0
[ 5.834074] [<ffffffff812de9ec>] bus_for_each_drv+0x5c/0x90
[ 5.834074] [<ffffffff812dfccf>] device_attach+0x8f/0xb0
[ 5.834074] [<ffffffff812df41d>] bus_probe_device+0x2d/0x50
[ 5.834074] [<ffffffff812dd4f8>] device_add+0x5a8/0x690
[ 5.834074] [<ffffffff812e97e6>] ? pm_runtime_init+0xd6/0xe0
[ 5.834074] [<ffffffff812dd5fe>] device_register+0x1e/0x30
[ 5.834074] [<ffffffffa00f5ea0>] i2c_new_device+0x130/0x1b0 [i2c_core]
[ 5.834074] [<ffffffffa010079b>] v4l2_i2c_new_subdev_board+0x13b/0x200 [v4l2_common]
[ 5.834074] [<ffffffffa01008d5>] v4l2_i2c_new_subdev+0x75/0xa0 [v4l2_common]
[ 5.834074] [<ffffffffa10fa2d2>] cx231xx_card_setup+0x222/0x300 [cx231xx]
[ 5.834074] [<ffffffffa10fe14d>] ? cx231xx_enable_i2c_port_3+0x4d/0xc0 [cx231xx]
[ 5.834074] [<ffffffffa10fd686>] ? cx231xx_dev_init+0x196/0x300 [cx231xx]
[ 5.834074] [<ffffffffa10faa80>] cx231xx_usb_probe+0x430/0xc10 [cx231xx]
[ 5.834074] [<ffffffffa0204293>] usb_probe_interface+0xd3/0x1e0 [usbcore]
[ 5.834074] [<ffffffff812dfd9e>] driver_probe_device+0x7e/0x1b0
[ 5.834074] [<ffffffff812dff7b>] __driver_attach+0xab/0xb0
[ 5.834074] [<ffffffff812dfed0>] ? driver_probe_device+0x1b0/0x1b0
[ 5.834074] [<ffffffff812dfed0>] ? driver_probe_device+0x1b0/0x1b0
[ 5.834074] [<ffffffff812ded6c>] bus_for_each_dev+0x5c/0x90
[ 5.834074] [<ffffffff812dfa3e>] driver_attach+0x1e/0x20
[ 5.834074] [<ffffffff812df690>] bus_add_driver+0x1a0/0x270
[ 5.834074] [<ffffffff812e0516>] driver_register+0x76/0x140
[ 5.834074] [<ffffffff813def5c>] ? printk+0x41/0x43
[ 5.834074] [<ffffffffa02030fd>] usb_register_driver+0x9d/0x190 [usbcore]
[ 5.834074] [<ffffffffa111d000>] ? 0xffffffffa111cfff
[ 5.834074] [<ffffffffa111d02f>] cx231xx_module_init+0x2f/0x4c [cx231xx]
[ 5.834074] [<ffffffff81002040>] do_one_initcall+0x40/0x180
[ 5.834074] [<ffffffff8109b033>] sys_init_module+0xb3/0x200
[ 5.834074] [<ffffffff813e8f42>] system_call_fastpath+0x16/0x1b
[ 5.834074] Code: ff ff ff 31 d2 5b 41 5c 89 d0 5d c3 0f 1f 00 55 48 89 e5 48 83 ec 10 48 89 5d f0 4c 89 65 f8 0f 1f 44 00 00 48 8b 47 20 48 89 fb <4c> 8b a0 50 fc ff ff 8b 47 40 3d 01 09 98 00 0f 84 8f 00 00 00
[ 5.834074] RIP [<ffffffffa120e19c>] cx25840_s_ctrl+0x1c/0x110 [cx25840]
[ 5.834074] RSP <ffff8802210977d8>
[ 5.834074] CR2: 00000001fffffc51
[ 5.839321] ---[ end trace 2c59460c4f6efc4d ]---
[ 10.966677] usb 2-3: new high speed USB device number 4 using ehci_hcdHere is some more info (as of today, all my packages are up to date) :
└% uname -a
Linux jni-desktop 2.6.39-ARCH #1 SMP PREEMPT Mon Jun 27 21:26:22 CEST 2011 x86_64 Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz GenuineIntel GNU/Linux
└% cat /etc/rc.conf | grep "^MODULES"
MODULES=(!pcspkr nvidia vboxdrv vboxnetflt fuse au0828)
└% cat /etc/mkinitcpio.conf | grep "^HOOKS"
HOOKS="base udev autodetect pata usb scsi sata filesystems"I don't know what else to add here. If you need more info, i'll gladly provide it.
Thanks in advance for looking into this. Hardware and drivers matters aren't my speciality! lol i'm sure it's real stupid...
Jni
Last edited by jni (2011-07-05 10:49:09)
Offline
This one seems related, https://bbs.archlinux.org/viewtopic.php?id=122003
However, he gets a null pointer, while i have a paging request.
Since i just bought mine, i can't tell if it used to work or something... but if he says so, maybe i'll have a look at the last merges in the kernel tomorrow...
Offline
Moderator comment:
Jni, Welcome to Arch. When posting program output or files (especially large ones), please use BBCode "Code" tags. Let me know if you need assistance with them.
ewaller
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Sorry about that, didn't think about it. Edited.
Offline
Here are some more info. I am still totally lost in this though.
I managed to get rid of the driver issue posted above.
I plugged in analogic cable and tvtime would show some images, but with no sound (despite me trying every possible channel my alsa has to offer).
I then tried plugging in the cable directly from the wall, without using the decoder... image went black and i couldn't see a thing (as i thought).
However, now that i went back to my original setup (simply plug in, plug out and plug back in... simple as that), i no longer have the picture!
Here are some verbose output from tvtime and xawtv. If someone can understand something out of that, help would be greatly appreciated!
tvtime:
Running tvtime 1.0.2.
Reading configuration from /etc/tvtime/tvtime.xml
Reading configuration from /home/jni/.tvtime/tvtime.xml
cpuinfo: CPU Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz, family 6, model 7, stepping 10.
cpuinfo: CPU measured at 2833.011MHz.
xcommon: Display :0, vendor The X.Org Foundation, vendor release 11002000
xfullscreen: Using XINERAMA for dual-head information.
xfullscreen: Pixels are square.
xfullscreen: Number of displays is 2.
xfullscreen: Head 0 at 0,0 with size 1600x900.
xfullscreen: Head 1 at 1600,0 with size 1600x900.
xcommon: Have XTest, will use it to ping the screensaver.
xcommon: Pixel aspect ratio 1:1.
xcommon: Pixel aspect ratio 1:1.
xcommon: Window manager is Openbox and is EWMH compliant.
xcommon: Using EWMH state fullscreen property.
xcommon: Using EWMH state above property.
xcommon: Using EWMH state below property.
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.
xvoutput: Using XVIDEO adaptor 310: NV17 Video Texture.
speedycode: Using MMXEXT optimized functions.
station: Reading stationlist from /home/jni/.tvtime/stationlist.xml
videoinput: Using video4linux2 driver 'cx231xx', card 'Hauppauge EXETER' (bus usb-0000:00:1d.7-4).
videoinput: Version is 1, capabilities 5030011.
videoinput: Maximum input width: 720 pixels.
tvtime: Sampling input at 720 pixels per scanline.
videoinput: Tuner present, but our request to change to
videoinput: frequency 61250 failed with this error: Protocol error.
videoinput: Please file a bug report at http://tvtime.net/
xcommon: Pixel aspect ratio 1:1.
xcommon: Displaying in a 768x576 window inside 768x576 space.xawtv gives alot more, so here it goes : http://pastebin.com/0C0LfJbW
Thanks again,
Jni
Offline
Two years later this card still does not seem to work.
I felt the need to reply in order to explain the driver confusion. There are three devices branded as WinTV HVR 850. The first two use the au0828 driver while the most recent one uses the cx231xx driver. The LinuxTV page says the device IDs are "2040:651f", "2040:7240" and "2040:b140" respectively so we have the most recent one.
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline