* Hotplug + firmware (newbie)
@ 2005-08-07 7:48 Therry Fagundes
2005-08-07 12:26 ` Frank Chen
0 siblings, 1 reply; 2+ messages in thread
From: Therry Fagundes @ 2005-08-07 7:48 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Hotplug + firmware (newbie)
2005-08-07 7:48 Hotplug + firmware (newbie) Therry Fagundes
@ 2005-08-07 12:26 ` Frank Chen
0 siblings, 0 replies; 2+ messages in thread
From: Frank Chen @ 2005-08-07 12:26 UTC (permalink / raw)
To: linux-hotplug
--- Therry Fagundes <ranger@mpcnet.com.br> wrote:
> 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)
>
>
>
>
Wow, we used Fedora Core 4 and didn't do anything of
these. We use an HP LaserJet 1010 and here is what we
do.
1. Plug the USB cable into PC.
2. Open the CUPS admin page (http://localhost:631) and
follow the instructions from add printer wizard.
The printer works. However, sometimes after reboot, we
have to unplug and plug the USB cable again.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-07 12:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-07 7:48 Hotplug + firmware (newbie) Therry Fagundes
2005-08-07 12:26 ` Frank Chen
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).