From owner-freebsd-questions@FreeBSD.ORG Thu Aug 2 02:49:19 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B85E16A418 for ; Thu, 2 Aug 2007 02:49:19 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from smtp102.math.arizona.edu (smtp102.math.arizona.edu [128.196.102.202]) by mx1.freebsd.org (Postfix) with ESMTP id 19DC213C467 for ; Thu, 2 Aug 2007 02:49:18 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from Debian-exim by smtp102.math.arizona.edu with local-bsmtp (Exim 4.50) id 1IGQH9-0003jO-5L for questions@freebsd.org; Wed, 01 Aug 2007 19:19:04 -0700 Received: from 71-220-129-28.tcsn.qwest.net ([71.220.129.28] helo=.domain.actdsltmp) by smtp102.math.arizona.edu with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1IGQH8-0003j8-LG for questions@freebsd.org; Wed, 01 Aug 2007 19:18:55 -0700 Message-ID: <46B13EBD.4050406@math.arizona.edu> Date: Wed, 01 Aug 2007 19:17:33 -0700 From: Predrag Punosevac User-Agent: Thunderbird 2.0.0.4 (X11/20070713) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ACL-Warn: The HELO/EHLO greeting .domain.actdsltmp is invalid X-Outgoing-Spam-Score: -5.8 (-----) Cc: Subject: HP OfficeJet R60 using HPLIP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 02:49:19 -0000 Dear ALL, I am an older newbie trying to set up an old HP Office Jet R60 on my office computer running FreeBSD 6.2 Stable with the Generic kernel. I followed excellent how to http://dsteinbrook.googlepages.com/hpliponfreebsd by Daniel Steinbrook (I am trying to use HPLIP since the printer is listed as a fully functional even Linux printing is recommending HPLIP for this printer) except the part about customizing kernel since my printer has a parallel port(I assume that part was relevant only for USB printers so I left kernel GENERIC). Unfortunately when I run hp-setup utility the printer is not detected. However printer is detected by OS as you can see from [root@ ~]# dmesg Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE-200706 #0: Sun Jun 3 14:20:02 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz (1799.98-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6f2 Stepping = 2 Features=0xbfebfbff Features2=0xe39d,CX16,,> AMD Features=0x20000000 AMD Features2=0x1 Cores per package: 2 real memory = 1064894464 (1015 MB) avail memory = 1032892416 (985 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 acpi_perf0: on cpu0 acpi_throttle0: on cpu0 cpu1: on acpi0 acpi_perf1: on cpu1 acpi_throttle1: on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: port 0x8800-0x8807 mem 0xcfd00000-0xcfd7ffff,0xd0000000-0xdfffffff,0xcfd80000-0xcfdbffff irq 16 at device 2.0 on pci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M pcib1: irq 16 at device 28.0 on pci0 pci3: on pcib1 pcib2: irq 17 at device 28.1 on pci0 pci2: on pcib2 pci2: at device 0.0 (no driver attached) uhci0: port 0x9000-0x901f irq 20 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x9400-0x941f irq 17 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x9800-0x981f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xa000-0xa01f irq 19 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xcfdffc00-0xcfdfffff irq 20 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered pcib3: at device 30.0 on pci0 pci1: on pcib3 fwohci0: port 0xc400-0xc47f mem 0xcfef7800-0xcfef7fff irq 21 at device 3.0 on pci1 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:11:d8:00:00:dc:32:ee fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:11:d8:dc:32:ee fwe0: Ethernet address: 02:11:d8:dc:32:ee fwe0: if_start running deferred for Giant sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) ral0: mem 0xcfef8000-0xcfefffff irq 21 at device 9.0 on pci1 ral0: MAC/BBP RT2561C, RF RT2527 ral0: Ethernet address: 00:0e:2e:c4:7c:dc pci1: at device 10.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0xb800-0xb807,0xb400-0xb403,0xb000-0xb007,0xa800-0xa803,0xa400-0xa40f irq 17 at device 31.2 on pci0 ata2: on atapci1 ata3: on atapci1 pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0: port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 ppbus0: IEEE1284 device found /NIBBLE/ECP Probing for PnP devices on ppbus0: ppbus0: PRINTER MLC,PCL,PML,SCL plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 2000 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A pmtimer0 on isa0 orm0: at iomem 0xcb000-0xcbfff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec acd0: DVDR at ata0-slave UDMA66 ad4: 152627MB at ata2-master SATA150 SMP: AP CPU #1 Launched! Trying to mount root from ufs:/dev/ad4s1a g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5 audigyls0: port 0xc800-0xc81f irq 22 at device 10.0 on pci1 g_vfs_done():acd0[READ(offset=32768, length=2048)]error = 5 drmsub0: : (child of agp_i810.c) on agp0 info: [drm] AGP at 0xcfd00000 0MB info: [drm] Initialized i915 1.5.0 20060119 stray irq7 Running as a root user I see that hp-setup utility expect to find parallel port device on /dev/parport0 I do not have /dev/parport0 in /dev/ as you can see [pedja@ /dev]$ ls acd0 dri kbd0 psm0 ttyv3 acpi dsp kbd1 ptyp0 ttyv4 ad4 dsp0 kbdmux0 ptyp1 ttyv5 ad4s1 dsp1 klog ptyp2 ttyv6 ad4s1a dsp2 kmem ptyp3 ttyv7 ad4s1b dsp3 log ptyp4 ttyv8 ad4s1c dsp4 lpt0 random ttyv9 ad4s1d dsp5 lpt0.ctl rdvd ttyva ad4s1e dsp6 mdctl sndstat ttyvb ad4s1f dsp7 mem stderr ttyvc agpgart dsp8 mixer stdin ttyvd apm dsp_ac3 mixer0 stdout ttyve ata dsp_mmap net sysmouse ttyvf atkbd0 dsp_multich net1 ttyd0 urandom bpf0 dvd net2 ttyd0.init usb bpsm0 fd net3 ttyd0.lock usb0 console fd0 net4 ttyp0 usb1 consolectl fido network ttyp1 usb2 ctty fw0 nfs4 ttyp2 usb3 cuad0 fw0.0 nfslock ttyp3 usb4 cuad0.init fwmem0 null ttyp4 xpt0 cuad0.lock fwmem0.0 oss ttyv0 zero devctl geom.ctl pci ttyv1 devstat io ppi0 ttyv2 so I tried manually to specify the device not as /dev/ppc0 (but ppc0 is also not in /dev also I do not have /dev/ppc0) I also tried /dev/lpt0 as a device node since I can get printer reacting on lptest > /dev/lpt0. Unfortunately it prints only one line of codes instead of whole page. I was not playing enough with LP in hope of being able to do HPLIP Could anybody tell me what am I doing so wrong and give me some kind of directions? Sorry for this simple question. My rc.conf file# This file now contains just the overrides from /etc/defaults/rc.conf. blanktime="60" hostname=".domain.actdsltmp" ifconfig_ral0="DHCP" linux_enable="YES" moused_enable="YES" saver="blank" usbd_enable="YES" # added by Predrag by typing gnome_enable="YES" lpd_enable="NO" cupsd_enable="YES" hpiod_enable="YES" hpssd_enable="YES" oss_enable="YES" clear_tmp_enable="NO" # Clear /tmp at startup. clear_tmp_X="YES" # Clear and recreate X11-related directories in /tmp # added by xorg-libraries port local_startup="/usr/local/etc/rc.d" accounting_enable=YES Sincerely, Predrag Punosevac Department of Mathematics University of Arizona P.S. I tried to use CUPS in order to use Gutenprint drivers but it seems to me that cups expects printer to be detected as USB or network printer. ( I am messing up something big time with the parallel ports). All I have done was from the root account (I will set permissions latter). My computer is set up to run as a free standing Desktop so the host name is something generic.