Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

hdpvr Input/output error on cat /dev/video0[solved]

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
newtonian
Guru
Guru
User avatar
Posts: 465
Joined: Wed Jan 19, 2005 4:11 pm
Location: Hokkaido Japan

hdpvr Input/output error on cat /dev/video0[solved]

  • Quote

Post by newtonian » Tue Nov 10, 2009 2:01 pm

Hi -

I bought a Haughpauge hdpvr (usb) to record video to my hard disk.
I think I should be able to simply run this command and have video written to a file:

Code: Select all

cat /dev/video1 > test.ts
However when I run this command when I get this:

Code: Select all

cat /dev/video0 > test.ts
cat: /dev/video0: Input/output error
I'm thinking that it is just a misconfigured kernel but I'm not sure where to go from here to debug.
Here are the modules that show up right now in my 2.6.30-gentoo-r8 kernel:

Code: Select all

zebra log # lsmod
Module                  Size  Used by
nvidia               7220220  28 
hdpvr                  18420  0 
v4l2_common            11956  1 hdpvr
videodev               29704  2 hdpvr,v4l2_common
i2c_nforce2             6320  0 
I downloaded and installed the latest firmware as per the myth-tv hdpvr guide.
http://www.mythtv.org/wiki/Hauppauge_HD-PVR


here is my dmesg:

Code: Select all

[    6.257746] i2c-adapter i2c-0: nForce2 SMBus adapter at 0x4d00
[    6.257805] i2c-adapter i2c-1: nForce2 SMBus adapter at 0x4e00
[    6.339131] Linux video capture interface: v2.00
[    6.361815] hdpvr 1-6:1.0: usb_probe_interface
[    6.361826] hdpvr 1-6:1.0: usb_probe_interface - got id
[    6.365623] hdpvr 1-6:1.0: untested firmware version 0x12, the driver might not work
[    6.390596] usb 4-4:1.0: uevent
[    6.390972] usb 4-4: uevent
[    6.407392] usb 4-4:1.0: uevent
[    6.407787] usb 4-4: uevent
[    6.637402] hdpvr 1-6:1.0: device now attached to /dev/video0
[    6.637472] usbcore: registered new interface driver hdpvr
[    7.178694] path_id used greatest stack depth: 4828 bytes left
[    7.362609] nvidia: module license 'NVIDIA' taints kernel.
[    7.362619] Disabling lock debugging due to kernel taint
[    7.458709] usb 1-6:1.0: uevent
[    7.459053] usb 1-6: uevent
[    7.658619] ACPI: PCI Interrupt Link [SGRU] enabled at IRQ 23

Any hints appreciated.

Cheers,
Last edited by newtonian on Thu Nov 12, 2009 4:42 pm, edited 1 time in total.
Top
newtonian
Guru
Guru
User avatar
Posts: 465
Joined: Wed Jan 19, 2005 4:11 pm
Location: Hokkaido Japan

solved the Input/output error on cat issue

  • Quote

Post by newtonian » Thu Nov 12, 2009 4:41 pm

Had some help from the mythtv-users forum and figured out the problem.

It was probably a bad video cable or poor connection to my video input. I changed the video input with modprobe and got it to work. Here's what I did:

Code: Select all

rmmod hdpvr #remove the module
modprobe hdpvr hdpvr_debug=7 # re-add hdpvr module with increased debug

Code: Select all

tail -f /var/log/kernel/current #watched for hdpvr debug messages in log
found this is log: hdpvr 1-3:1.0: no valid video signal or device init failed

Code: Select all

rmmod hdpvr # removed the module to try on a different input
modprobe hdpvr hdpvr_debug=1 default_video_input=1 #reset to s-video
And all was right in the world.

Cheers,
Top
Post Reply

2 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic