You'll find driver information here;

http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_3420

On Sun, 17 Nov 2002, Jane Iraz wrote:

> Hello! :D 
> 
> The first of one, sorry for my english, but i hope you will understand
> me XD 
> I have read louds of howtos and documentation about USB on linux. Yor
> are the las chance for me. 
> My problem is very simple. I have a HP deskjet 3420 USB printer pluged
> on my computer. I'm running debian woody(Kernel 2.4.18-bf2.4). I had no
> "hotplug" or "usbmgr". I'm trying to send an `echo Hello > /dev/usb/lp0`
> but my printer do anything. I follow this steps: 
> 
> insmod usbcore
> insmod usb-uhci
> insmod printer
> mount usbdevfs /proc/bus/usb -t usbdevfs
> 
> All looks ok. And this is the contents for /proc/bus/usb/devices 
> 
> T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00
> S:  Product=USB UHCI Root Hub
> S:  SerialNumber=d800
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
> B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 1.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 0.00
> S:  Product=USB UHCI Root Hub
> S:  SerialNumber=d400
> C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=255ms
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=03f0 ProdID=7104 Rev= 1.00
> S:  Manufacturer=hp
> S:  Product=deskjet 3420
> S:  SerialNumber=TH265211MN1J
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
> E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
> 
> You can see "S:  Product=deskjet 3420", that means the system detect my
> printer. 
> 
> This is my USB Host Controler Interface data. `lspci -v` : 
> 
> 
> 00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10)
> (prog-if 00 [UHCI])
>         Subsystem: Unknown device 0925:1234
>         Flags: bus master, medium devsel, latency 32, IRQ 12
>         I/O ports at d400 [size=32]
>         Capabilities: [80] Power Management version 2
> 
> 00:07.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 10)
> (prog-if 00 [UHCI])
>         Subsystem: Unknown device 0925:1234
>         Flags: bus master, medium devsel, latency 32, IRQ 12
>         I/O ports at d800 [size=32]
>         Capabilities: [80] Power Management version 2
> 
> 
> And this is /var/log/messages when I load usbcore, usb-uhci and printer
> modules: 
> 
> Nov 15 13:36:53 nepomuceno kernel: usb.c: registered new driver usbdevfs
> Nov 15 13:36:53 nepomuceno kernel: usb.c: registered new driver hub
> Nov 15 13:37:00 nepomuceno kernel: usb-uhci.c: $Revision: 1.275 $ time
> 10:29:43 Apr 14 2002
> Nov 15 13:37:00 nepomuceno kernel: usb-uhci.c: High bandwidth mode
> enabled
> Nov 15 13:37:00 nepomuceno kernel: PCI: Found IRQ 12 for device 00:07.2
> Nov 15 13:37:00 nepomuceno kernel: PCI: Sharing IRQ 12 with 00:07.3
> Nov 15 13:37:00 nepomuceno kernel: PCI: Sharing IRQ 12 with 00:0b.0
> Nov 15 13:37:00 nepomuceno kernel: usb-uhci.c: USB UHCI at I/O 0xd400,
> IRQ 12
> Nov 15 13:37:00 nepomuceno kernel: usb-uhci.c: Detected 2 ports
> Nov 15 13:37:00 nepomuceno kernel: usb.c: new USB bus registered,
> assigned bus number 1
> Nov 15 13:37:00 nepomuceno kernel: hub.c: USB hub found
> Nov 15 13:37:00 nepomuceno kernel: hub.c: 2 ports detected
> Nov 15 13:37:00 nepomuceno kernel: PCI: Found IRQ 12 for device 00:07.3
> Nov 15 13:37:00 nepomuceno kernel: PCI: Sharing IRQ 12 with 00:07.2
> Nov 15 13:37:00 nepomuceno kernel: PCI: Sharing IRQ 12 with 00:0b.0
> Nov 15 13:37:00 nepomuceno kernel: usb-uhci.c: USB UHCI at I/O 0xd800,
> IRQ 12
> Nov 15 13:37:00 nepomuceno kernel: usb-uhci.c: Detected 2 ports
> Nov 15 13:37:00 nepomuceno kernel: hub.c: USB new device connect on
> bus1/1, assigned device number 2
> Nov 15 13:37:00 nepomuceno kernel: usb.c: new USB bus registered,
> assigned bus number 2
> Nov 15 13:37:00 nepomuceno kernel: hub.c: USB hub found
> Nov 15 13:37:00 nepomuceno kernel: hub.c: 2 ports detected
> Nov 15 13:37:00 nepomuceno kernel: usb.c: USB device 2 (vend/prod
> 0x3f0/0x7104) is not claimed by any active driver.
> Nov 15 13:37:00 nepomuceno kernel: usb-uhci.c: v1.275:USB Universal Host
> Controller Interface driver
> Nov 15 13:37:02 nepomuceno kernel: usb.c: registered new driver usblp
> Nov 15 13:37:02 nepomuceno kernel: usb.c: ignoring set_interface for dev
> 2, iface 0, alt 0
> Nov 15 13:37:02 nepomuceno kernel: printer.c: usblp0: USB Bidirectional
> printer dev 2 if 0 alt 0
> Nov 15 13:37:02 nepomuceno kernel: printer.c: v0.8:USB Printer Device
> Class driver
> 
> Finally,my system detects when I plug and unplug the printer wire. I
> have installed Mandrake Linux in the same PC, and i have the same
> problem. I have installed Windows98 in the same PC, in other partition,
> and my printer prints very good, win98 detects my printer and it cans
> print ok. My printer isn't broken, because it cans print under windows
> on the same PC. 
> 
> I'm not looking for a linux driver for hp3420 with cups or lpr, i only
> need to send an echo to the printer. When I type `echo Hello
> >/dev/usb/lp0` return the prompt and nothing happen with the printer. If
> I unplug the printer wire my system returns "su: /dev/usb/lp0: No such
> device" when I type  `echo Hello >/dev/usb/lp0`. It's a X file, because
> my system knows that i have a HP3420 printer and my printer is ok
> because it works on windows on the same PC. 
> 
> Thank you, and sorry for my english, I'm trying to improve it ;-D 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: To learn the basics of securing 
> your web site with SSL, click here to get a FREE TRIAL of a Thawte 
> Server Certificate: http://www.gothawte.com/rd524.html
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-users
> 

-- 
 /------------------------------------+-------------------------\
|Stephen J. Gowdy                     | SLAC, MailStop 34,       |
|http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
|http://calendar.yahoo.com/gowdy      | Menlo Park CA 94025, USA |
|EMail: [EMAIL PROTECTED]       | Tel: +1 650 926 3144     |
 \------------------------------------+-------------------------/



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to