Hi ppl,

I think I found the problem... really strange. After fiddling with my 
logging i realized it never used hotplug. Yes it is a standard Ubuntu 5.10

And i got an idea from this page 
http://www.opensc.org/openct/wiki/TroubleShooting

"cat /proc/sys/kernel/hotplug" gave the output "/sbin/udevsend" instead 
of the supposed "/sbin/hotplug"

After "echo /sbin/hotplug > /proc/sys/kernel/hotplug" and doing depmod 
and modprobe the firmware loads as it should...

I wonder whats wrong with either Ubuntu or me;-)

Cheers,
Joakim Nordberg

>>Are you sure you are using the proper hotplug dir?
>>    
>>
>
>Hopefully, the firmware is copied to /usr/lib/hotplug/firmware/
>
>  
>
>>"Usually it is /lib/firmware or /usr/lib/hotplug/firmware.  You can 
>>check this by looking for the file firmware.agent (usually found 
>>somewhere in /etc/hotplug, when in doubt try
>>find /etc -name firmware.agent to find the file).  Look in this file 
>>and you should see a line like this:
>>--------------------------------------------------------------------
>>FIRMWARE_DIR=/usr/lib/hotplug/firmware
>>--------------------------------------------------------------------
>>This is the firmware directory where you should put the firmware files."
>>    
>>
>
>in the script it says
>FIRMWARE_DIRS="/lib/hotplug/firmware /usr/local/lib/hotplug/firmware 
>/usr/lib/hotplug/firmware"
>
>But i added these lines in /etc/hotplug/firmware.agent
>load() {
>    echo 1 > $SYSFS/$DEVPATH/loading
>    cat "$1" > $SYSFS/$DEVPATH/data
>    date >> /firmware.log                 ###NEW
>    echo "  $SYSFS/$DEVPATH/data   $1" >> /firmware.log    ###NEW
>    echo 0 > $SYSFS/$DEVPATH/loading
>    exit
>}
>
>And I didn't got a /firmware.log-file...
>
>  
>
>>Joakim Nordberg wrote:
>>
>>    
>>
>>>Halloj ppl,
>>>
>>>I've got stuck with my installation of ivtv. I used to use an bt878 
>>>card with no hardware mpeg on my Mythtvbox. Worked superduper, but... 
>>>Wanted more, bought a Hauppauge PVR-150 and can't make it work... Plz 
>>>help.
>>>
>>>It is a standard Ubuntu Breezy 5.10 with kernel 2.6.12-10-386 and I 
>>>followed the instruction on page 
>>>http://ivtvdriver.org/index.php/Howto:Ubuntu
>>>
>>>I get this output on my dmesg.
>>>
>>>[4295746.909000] ivtv:  ==================== START INIT IVTV 
>>>====================
>>>[4295746.909000] ivtv:  version 0.4.1 (tagged release) loading
>>>[4295746.909000] ivtv:  Linux version: 2.6.12-10-386 386 gcc-3.4
>>>[4295746.909000] ivtv:  In case of problems please include the debug 
>>>info between
>>>[4295746.909000] ivtv:  the START INIT IVTV and END INIT IVTV lines, 
>>>along with
>>>[4295746.909000] ivtv:  any module options, when mailing the 
>>>ivtv-users mailinglist.
>>>[4295746.925000] ivtv0: Autodetected WinTV PVR 150 card (cx23416 based)
>>>[4295746.939000] ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNKB] 
>>>-> GSI 5 (level, low) -> IRQ 5
>>>[4295747.012000] tveeprom: ivtv version
>>>[4295747.012000] tveeprom: Hauppauge: model = 26034, rev = C197, 
>>>serial# = 8219658
>>>[4295747.012000] tveeprom: tuner = TCL 2002MB_3H (idx = 97, type = 55)
>>>[4295747.012000] tveeprom: tuner fmt = PAL(B/G) PAL(D/K) (eeprom = 
>>>0x44, v4l2 = 0x00000e07)
>>>[4295747.012000] tveeprom: audio processor = CX25842 (type = 24)
>>>[4295747.012000] tveeprom: decoder processor = CX25842 (type = 1d)
>>>[4295747.012000] ivtv0: i2c attach to card #0 ok [client=tveeprom, 
>>>addr=50]
>>>[4295747.041000] tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv 
>>>i2c driver #0
>>>[4295747.041000] ivtv0: i2c attach to card #0 ok [client=(tuner 
>>>unset), addr=61]
>>>[4295747.117000] cx25840 2-0044: ivtv driver
>>>[4295747.117000] cx25840 2-0044: cx25842-23 found @ 0x88 (ivtv i2c 
>>>driver #0)
>>>[4295757.141000] cx25840 2-0044: unable to open firmware v4l-cx25840.fw
>>>[4295757.221000] ivtv0: i2c attach to card #0 ok [client=cx25840, 
>>>addr=44]
>>>[4295757.264000] wm8775 2-001b: ivtv driver
>>>[4295757.264000] wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #0)
>>>[4295757.275000] ivtv0: i2c attach to card #0 ok [client=wm8775, 
>>>addr=1b]
>>>[4295767.902000] ivtv0: unable to open firmware v4l-cx2341x-enc.fw
>>>[4295767.902000] ivtv0: did you put the firmware in the hotplug 
>>>firmware directory?
>>>[4295767.902000] ivtv0 warning: failed loading encoder firmware
>>>[4295767.902000] ivtv0 warning: Error loading firmware -3!
>>>[4295767.902000] ivtv0: Error -3 initializing firmware.
>>>[4295767.922000] ivtv0: Error -12 on initialization
>>>[4295767.922000] ivtv: probe of 0000:00:0c.0 failed with error -12
>>>[4295767.922000] ivtv:  ====================  END INIT IVTV  
>>>====================
>>>
>>>And yes of course the drivers are in hotplug dir.
>>>
>>>[EMAIL PROTECTED]:~# ls -ltra /usr/lib/hotplug/firmware/
>>>total 1052
>>>drwxr-xr-x  3 root root     21 Jan  5 20:17 ..
>>>-rw-r--r--  1 root root 262144 Jan  9 22:09 ivtv-fw-enc.bin
>>>-rw-r--r--  1 root root 262144 Jan  9 22:09 ivtv-fw-dec.bin
>>>-r--r--r--  1 root root  14264 Jan  9 22:09 v4l-cx25840.fw
>>>-r--r--r--  1 root root 376836 Jan  9 22:09 v4l-cx2341x-enc.fw
>>>-rw-r--r--  1 root root 155648 Jan  9 22:09 v4l-cx2341x-init-mpeg.bin
>>>lrwxrwxrwx  1 root root     41 Jan  9 22:10 v4l-cx2341x-dec.fw -> 
>>>/usr/lib/hotplug/firmware/ivtv-fw-dec.bin
>>>drwxr-xr-x  2 root root    153 Jan  9 22:10 .
>>>
>>>
>>>Does anyone have an idea whats wrong?
>>>
>>>Cheers,
>>>Joakim Nordberg
>>>
>>>_______________________________________________
>>>ivtv-users mailing list
>>>[email protected]
>>>http://ivtvdriver.org/mailman/listinfo/ivtv-users
>>>
>>>      
>>>
>>_______________________________________________
>>ivtv-users mailing list
>>[email protected]
>>http://ivtvdriver.org/mailman/listinfo/ivtv-users
>>
>>    
>>
>
>
>_______________________________________________
>ivtv-users mailing list
>[email protected]
>http://ivtvdriver.org/mailman/listinfo/ivtv-users
>  
>


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

Reply via email to