Ok, question:
When you say, "It's a debian based system", based upon which debian
release?
My etch system is using
$ apt-show-versions | grep udev
udev/etch uptodate 0.105-4
when I look for firmware.agent:
$ locate firmware.agent
/lib/udev/firmware.agent
looking inside firmware.agent, it wants to load
. ./hotplug.functions, which contains
FIRMWARE_DIRS='/lib/firmware /usr/local/lib/firmware /usr/lib/hotplug/firmware'
Which means, they both converge on /usr/local/lib/firmware and /usr/lib/hotplug/firmware,
so you should be good there.
My suggestion would be to make a copy of firmware.agent, and then start
modifying
the original, by adding some echo statements. Here's a patch of a modified
firmware.agent
I created to help me find a firmware problem:
$ diff -u firmware.agent.orig firmware.agent.debug
--- firmware.agent.orig 2006-04-21 15:10:10.000000000 -0600
+++ firmware.agent.debug 2006-04-21 15:20:14.000000000 -0600
@@ -36,19 +36,28 @@
case "$ACTION" in
add)
+
+ echo "$0: Going to add $FIRMWARE" >> /etc/hotplug/hotplug.log
counter=5
while [ ! -e $SYSFS/$DEVPATH/loading -a $counter -gt 0 ]; do
sleep 1
counter=$(($counter - 1))
done
+ echo "$0: after sleeping... " >> /etc/hotplug/hotplug.log
+ echo "$0: checking for $SYSFS/$DEVPATH" >> /etc/hotplug/hotplug.log
+
if [ $counter -eq 0 ]; then
mesg "$SYSFS/$DEVPATH/ does not exist"
exit 1
fi
+ echo "$0: after checking for $SYSFS/$DEVPATH" >> /etc/hotplug/hotplug.log
+
for DIR in $FIRMWARE_DIRS; do
+ echo "$0: looking for $FIRMWARE in $DIR" >> /etc/hotplug/hotplug.log
[ -e "$DIR/$FIRMWARE" ] || continue
+ echo "$0: found $DIR/$FIRMWARE" >> /etc/hotplug/hotplug.log
echo 1 > $SYSFS/$DEVPATH/loading
cat "$DIR/$FIRMWARE" > $SYSFS/$DEVPATH/data
echo 0 > $SYSFS/$DEVPATH/loading
Oh yeah, btw. Make extra, doubly, triple sure that you are using an 'l' - ell,
instead of a '1' - one in those file names. That'll bite you in the posterior
too many times to count.
Tobias Mikschl wrote:
Hi Daniel,
thx, i already use udev version 105 and I tried using hotplug only
instead of udev, but still the same problem :-/
Tobias
On Wed, 2007-05-09 at 08:04 +0200, source.code wrote:
Hi Tobias,
I have had the same problem with my pvr250 and I solved it by uninstall
my old udev version 056 and install an new version udev 114 or 104.
Daniel
Tobias Mikschl schrieb:
Hi,
i have some problems loading the Firmware for my Hauppauge PVR 150.
I always get this error:
//
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.10.1 (tagged release) loading
ivtv: Linux version: 2.6.18-chw-13 SMP preempt mod_unload 586 gcc-4.1
ivtv: In case of problems please include the debug info between
ivtv: the START INIT IVTV and END INIT IVTV lines, along with
ivtv: any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected Hauppauge card (cx23416 based)
ivtv0: unable to open firmware v4l-cx2341x-enc.fw (must be 376836 bytes)
ivtv0: did you put the firmware in the hotplug firmware directory?
ivtv0 warning: failed loading encoder firmware
ivtv0 warning: Error -3 loading firmware
ivtv0: Retry loading firmware
ivtv0: unable to open firmware v4l-cx2341x-enc.fw (must be 376836 bytes)
ivtv0: did you put the firmware in the hotplug firmware directory?
ivtv0 warning: failed loading encoder firmware
ivtv0 warning: Error -3 loading firmware
ivtv0: Error initializing firmware
ivtv0: Error -19 on initialization
ivtv: ==================== END INIT IVTV ====================
//
I have downloaded the latest firmware (firmware-20070217.tar.gz) and copied
all the v4l-* the Files to
- /lib/firmware/2.6.18-chw-13/
- /lib/firmware/v4l-cx2341x-dec.fw
- /lib/modules/
- /usr/lib/hotplug/firmware
- /usr/local/lib/firmware/
The size of the "v4l-cx2341x-enc.fw" is right with 376836 bytes.
My "/etc/hotplug/firmware.agent" says:
//
FIRMWARE_DIRS="/lib/firmware /usr/local/lib/firmware /usr/lib/hotplug/firmware"
//
I tried switching back to version 0.9.1 and the old firmware
- with the same result.
I already found some posts about the error "unable to open firmware",
but none of the solutions mentioned there helped.
Some said it might be a to old udev version, but I"ve got latest version (105)
installed.
My Kernel is 2.6.18-chw-13 and its a Debian based System.
So, I've no idea what is wrong, perhaps some one has a solution or
a guess what could be wrong.
Thx,
Tobias
_______________________________________________
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
--
Mark Paulus
2424 Garden of the Gods Rd | Phone: v622-5578 / 719-535-5578
0419/117 - LEC Access ; D5-1010 | FAX: 719-535-1665
Colo Springs, CO 80919 | 1800PageMCI / 1406052
AIM : mgpaulus1 / sametime : mark.paulus
begin:vcard
fn:Mark Paulus
n:Paulus;Mark
org:MCI;Lec Interfaces / 40419
adr;dom:;;2424 Garden of the Gods Rd;Colorado Springs;CO;80919
email;internet:[EMAIL PROTECTED]
title:Mark Paulus
tel;work:719-535-5578
tel;pager:800-pagemci / 1406052
tel;home:v622-5578
version:2.1
end:vcard
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users