All of lore.kernel.org
 help / color / mirror / Atom feed
From: Therry Fagundes <ranger@mpcnet.com.br>
To: linux-hotplug@vger.kernel.org
Subject: Hotplug + firmware (newbie)
Date: Sun, 07 Aug 2005 07:48:35 +0000	[thread overview]
Message-ID: <42F5BCD3.1040003@mpcnet.com.br> (raw)

Hi, Im trying to get a Hp 1000 (usb) to work with hotplug, let me see if 
I understood:

1. Create a file, into /etc/hotplug/usb called hp100fw.usermap (the 
device could be included into /etc/hotplug/usb.usermap, but in 
hotplug/usb/device.usermap is good pratice)

2. Insert into this file the fowlling lines (using pre-enumeration) :

# HP LaserJet 1000
hp1000fw             0x0003      0x03f0   0x0517    0x0000       
0x0000       0x00         0x00            0x00            
0x00            0x00               0x00               0x00000000

3. Create a file called hp1000fw (the name which I gave to the device) 
and put into this file the script (action) which needs to be done when 
it is connected :

#!/bin/sh
cat /lib/firmware/sihp1000.dl > /dev/usb/lp0


The firmware only will be uploaded if the device isnt "pre-enumerated".

Is that right ?
(I think that Im missing something)




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

             reply	other threads:[~2005-08-07  7:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-07  7:48 Therry Fagundes [this message]
2005-08-07 12:26 ` Hotplug + firmware (newbie) Frank Chen

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=42F5BCD3.1040003@mpcnet.com.br \
    --to=ranger@mpcnet.com.br \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.