From: "Jasem Mutlaq" <mutlaqja@ikarustech.com>
To: linux-hotplug@vger.kernel.org
Subject: Loading firmware
Date: Mon, 13 Oct 2008 22:17:50 +0000 [thread overview]
Message-ID: <003c01c92d81$89978710$9cc69530$@com> (raw)
Hello,
I need to load firmware to a USB camera via fxload. The problem is that
fxload requires a path such as /dev/bus/usb/001/002 in order to load the
firmware. So I wrote a udev rules file to do just that, however, the only
useful variable I can obtain now is %k, and I get something in the form of
usbdev1.2_ep00 which I then need to parse in some regexp magic in order to
extract the bus and dev num in order to construct the full path. I used to
be able to pull devnum and busnum ($env{BUSNUM}) but not anymore (using
openSUSE 11). Now I have a loader script that parses %k and constructs the
path. But this is only a hack and not a real solution, is there a way to get
the full path so I can pass it to fxload without resorting to these
desperate measures? Appreciate your help.
-------------
Best Regards,
Jasem Mutlaq
Kuwait National Radio Observatory
Kuwait Science Club
http://www.astronomy.ksclub.org
next reply other threads:[~2008-10-13 22:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-13 22:17 Jasem Mutlaq [this message]
2008-10-14 0:18 ` Loading firmware Dan Nicholson
2008-10-14 13:16 ` Jasem Mutlaq
2008-10-14 14:33 ` Kay Sievers
2008-10-14 17:24 ` Jasem Mutlaq
2008-10-14 17:46 ` Kay Sievers
2008-10-14 18:08 ` Dan Nicholson
2008-10-15 12:05 ` Jasem Mutlaq
2008-10-15 12:32 ` Kay Sievers
2008-10-15 12:44 ` Jasem Mutlaq
2008-10-15 13:22 ` Kay Sievers
2008-10-15 13:59 ` Jasem Mutlaq
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='003c01c92d81$89978710$9cc69530$@com' \
--to=mutlaqja@ikarustech.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).