LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-23-2006, 10:03 PM   #1
durrantj
LQ Newbie
 
Registered: May 2005
Location: Utah
Distribution: Ubuntu
Posts: 19

Rep: Reputation: 0
Installing MythTV - hotplug firmware


I am installing MythTV and trying to follow the directions on

http://www.quietglow.com/docs/ubuntumythtv.html

I am almost done with Step One - setting up the drivers when I get the following message:

v4l-cx2341x-init.mpg needs copying to the hotplug firmware
directory if needed for PVR350 mpeg initialization

Any ideas what this means, since I am using a PVR150, not a PVR350 and where is the hotplug firmware directory?

TIA
 
Old 01-23-2006, 10:23 PM   #2
durrantj
LQ Newbie
 
Registered: May 2005
Location: Utah
Distribution: Ubuntu
Posts: 19

Original Poster
Rep: Reputation: 0
I should clarify what is happening, when I do the command 'dmesg', among other things I get:
[4294701.126000] ivtv: ==================== START INIT IVTV ====================
[4294701.126000] ivtv: version 0.4.2 (tagged release) loading
[4294701.126000] ivtv: Linux version: 2.6.12-10-386 386 gcc-3.4
[4294701.126000] ivtv: In case of problems please include the debug info between
[4294701.126000] ivtv: the START INIT IVTV and END INIT IVTV lines, along with
[4294701.126000] ivtv: any module options, when mailing the ivtv-users mailinglist.
[4294701.139000] ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
[4294701.143000] ACPI: PCI Interrupt 0000:00:11.0[A] -> Link [LNKC] -> GSI 3 (level, low) -> IRQ 3
[4294701.220000] tveeprom: ivtv version
[4294701.220000] tveeprom: Hauppauge: model = 26692, rev = B282, serial# = 7714463
[4294701.220000] tveeprom: tuner = LG TAPC H791F (idx = 82, type = 39)
[4294701.220000] tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
[4294701.220000] tveeprom: audio processor = CX25843 (type = 25)
[4294701.220000] tveeprom: decoder processor = CX25843 (type = 1e)
[4294701.220000] ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
[4294701.262000] input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
[4294701.311000] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
[4294701.311000] ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
[4294701.746000] cx25840 0-0044: ivtv driver
[4294701.746000] cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
[4294702.357000] ts: Compaq touchscreen protocol output
[4294702.477000] cx25840 0-0044: unable to open firmware v4l-cx25840.fw
[4294702.526000] ivtv0: i2c attach to card #0 ok [client=cx25840, addr=44]
[4294702.631000] wm8775 0-001b: ivtv driver
[4294702.631000] wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
[4294702.638000] ivtv0: i2c attach to card #0 ok [client=wm8775, addr=1b]
[4294703.390000] ivtv0: unable to open firmware v4l-cx2341x-enc.fw
[4294703.390000] ivtv0: did you put the firmware in the hotplug firmware directory?
[4294703.390000] ivtv0 warning: failed loading encoder firmware
[4294703.390000] ivtv0 warning: Error loading firmware -3!
[4294703.390000] ivtv0: Error -3 initializing firmware.
[4294703.433000] ivtv0: Error -12 on initialization
[4294703.434000] ivtv: probe of 0000:00:11.0 failed with error -12
[4294703.434000] ivtv: ==================== END INIT IVTV ===================
 
Old 01-23-2006, 10:36 PM   #3
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
See the IVTV "General HowTo":

http://ivtvdriver.org/index.php/Howto

... and the IVTV specifics regarding firmware:

http://ivtvdriver.org/index.php/Firmware

For a PVR-150 you do NOT need v4l-cx2341x-dec.fw or v4l-cx2341x-init-mpeg.bin

The hotplug firmware directory may be different on different distributions. The firmware link above tells you how to find out where it is on your distro.

===== Stuff below this line may or may not apply to your situation =====

NOTE: IVTV hotplug did NOT work for me reliably on Debian SID running kernel 2.6.14-1-686. Check your /var/log/messages and/or /var/log/syslog to see if the same problem affects you. I had to comment out hotplug lines in the IVTV source code, recompile, and reinstall. Thus forcing IVTV to use the older non-hotplug method of loading firmware. YMMV. Here's what I had to do to disable hotplug, just in case you need to do the same.

Edit three files:
Code:
.../driver/cx25840.h
.../driver/ivtv-driver.h
.../driver/ivtv-firmware.c
Find all the lines that look like this:
Code:
 #if defined(CONFIG_FW_LOADER) || defined(CONFIG_FW_LOADER_MODULE)
...and replace each one with:
Code:
#if 0
...then recompile and manually copy v4l-cx2341x-enc.fw and v4l-cx25840.fw to /lib/modules/. Symlinks to these files did NOT work from /lib/modules/. I had to actually copy the files.
 
Old 01-23-2006, 10:41 PM   #4
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
It looks like you were posting at the same time I was typing my post above, so I hadn't seen your additional info from the logfile.

When I ran into entries like this:
Code:
unable to open firmware v4l-cx25840.fw
...it was because I had symlinks to the firmware files. Once I copied the ACTUAL FILES to the directory this error went away.

The error I was getting that meant hotplug was not working was something like:
Code:
unable to find firmware
Note "find" rather than "open" in the error message. I doesn't appear that you are running into this situation, so I assume your hotplug is basically working.
 
Old 01-24-2006, 12:55 PM   #5
durrantj
LQ Newbie
 
Registered: May 2005
Location: Utah
Distribution: Ubuntu
Posts: 19

Original Poster
Rep: Reputation: 0
I found this site:

http://ivtvdriver.org/index.php/Howto:Ubuntu

which appears to have the answer. I will try it out tonight or tomorrow.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing MythTV tfc Ubuntu 2 11-27-2005 02:03 PM
mythtv no ivtv-firmware-audio tshontikidis Fedora 1 11-02-2005 08:31 AM
hotplug firmware loading problem alexisph Linux - Software 2 10-02-2004 03:11 AM
Firmware/Hotplug problem with Hauppauge DEC2540-T, Hotplug and MythTV bezoomny Linux - Hardware 0 05-17-2004 01:37 PM
installing a firmware version of linux bob_man_uk Linux - Software 1 11-19-2003 06:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration