Date: Mon, 19 Jun 2000 18:54:37 -0700 From: Mike Muir <mmuir@es.co.nz> To: stable@freebsd.org, questions@freebsd.org Subject: ULPT success anyone? Message-ID: <394ECEDD.30EC5FEC@es.co.nz>
next in thread | raw e-mail | index | archive | help
Hi there, Recently picked up a Brother HL-1240 printer which supports USB and Parrallel connections, and since i had a USB cable lying around I thought that I might as well try to get the thing working under freebsd using ulpt0.. Well so far no luck, I get kernel panics whenever accessing /dev/ulpt0. ulpt0 is certainly picked up on boot and verified with usbdevs. When accessing /dev/ulpt0 in any way, it stirs up a response from the printer (as if data was coming in, it gets all ready to print, but not data comes in so it stops.) My printcap is as follows: PRINTCAP: Brother HL-1240|HL-1240|lp|local line printer:\ :sh:\ :lp=/dev/ulpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:\ :ld=\033%-12345X@PJL\r\n@PJL SET RESOLUTION=600\r\n: ( The last line is for 600dpi as per the recommendations on http://www.picante.com/~gtaylor/pht/show_printer.cgi?recnum=234953 ) Additionally, right before the panic: Jun 19 17:50:43 ogre /kernel: uhub0: port error, restarting port 2 Jun 19 17:50:43 ogre /kernel: ulpt0: at uhub0 port 2 (addr 3) disconnected Jun 19 17:50:43 ogre /kernel: ulpt0: detached Am I missing something? Is there another setting to be considered? Dmesg follows, and yes i've tried w/o SMP support, same thing. (Printer works fine in Win2k.) Hopefully someone can prevent me from having to spring for a parallel cable! -mike. DMESG: Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-STABLE #9: Sun Jun 18 00:30:07 PDT 2000 root@ogre.lan:/usr/src/sys/compile/POWER Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (551.25-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> real memory = 268435456 (262144K bytes) avail memory = 257871872 (251828K bytes) Programming 24 pins in IOAPIC #0 IOAPIC #0 intpin 2 -> irq 0 FreeBSD/SMP: Multiprocessor motherboard cpu0 (BSP): apic id: 0, version: 0x00040011, at 0xfee00000 cpu1 (AP): apic id: 1, version: 0x00040011, at 0xfee00000 io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000 Preloaded elf kernel "kernel" at 0xc0305000. Preloaded elf module "splash_bmp.ko" at 0xc030509c. Preloaded elf module "vesa.ko" at 0xc0305140. VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc0302102 (1000022) VESA: ELSA ERAZOR X Pentium Pro MTRR support enabled md0: Malloc disk module_register_init: MOD_LOAD (splash_bmp, c02fa694, 0) error 2 apm0: <APM BIOS> on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <NVidia GeForce 256 graphics accelerator> at 0.0 irq 16 isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 pci0: <Intel PIIX4 ATA controller> at 7.1 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xc000-0xc01f irq 19 at device 7.2 on pci0 usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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 ums0: Logitech USB-PS/2 Mouse, rev 1.00/1.20, addr 2, iclass 3/1 ums0: 3 buttons ulpt0: Brother Industries, Ltd. product 0x0006, rev 1.00/1.00, addr 3, iclass 7/1 intpm0: <Intel 82371AB Power management controller> port 0x5000-0x500f irq 9 at device 7.3 on pci0 intpm0: I/O mapped 5000 intpm0: intr IRQ 9 enabled revision 0 smbus0: <System Management Bus> on intsmb0 smb0: <SMBus general purpose I/O> on smbus0 intpm0: PM I/O mapped 4000 dpt0: <DPT Caching SCSI RAID Controller> port 0xc400-0xc41f irq 19 at device 9.0 on pci0 dpt0: DPT PM2044UW FW Rev. 07M1, 1 channel, 64 CCBs dpt0: driver is using old-style compatability shims amr0: <AMI MegaRAID> port 0xc800-0xc87f irq 18 at device 11.0 on pci0 amr0: firmware UF82 bios 1.61 4MB memory amrd0: <MegaRAID logical drive> on amr0 amrd0: 26043MB (53336064 sectors) RAID 0 (optimal) pcm0: <Creative EMU10K1> port 0xcc00-0xcc1f irq 17 at device 13.0 on pci0 pci0: <unknown card> (vendor=0x1102, dev=0x7002) at 13.1 rl0: <RealTek 8139 10/100BaseTX> port 0xd400-0xd4ff mem 0xdb000000-0xdb0000ff irq 16 at device 15.0 on pci0 rl0: Ethernet address: 00:50:ba:d1:c1:2e miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bktr0: <BrookTree 878> mem 0xdb001000-0xdb001fff irq 19 at device 17.0 on pci0 iicbb0: <I2C generic bit-banging driver> on bti2c0 iicbus0: <Philips I2C bus> on iicbb0 master-only smbus1: <System Management Bus> on bti2c0 smb1: <SMBus general purpose I/O> on smbus1 bktr0: Hauppauge Model 61381 D123 bktr0: Detected a MSP3430G-A1 at 0x80 Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner, msp3400c stereo, remote control. pci0: <unknown card> (vendor=0x109e, dev=0x0878) at 17.1 irq 19 pci0: <HighPoint HPT366 ATA controller> at 19.0 irq 18 pci0: <HighPoint HPT366 ATA controller> at 19.1 irq 18 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: <System console> on isa0 sc0: VGA <16 virtual consoles, flags=0x200> APIC_IO: Testing 8254 interrupt delivery APIC_IO: routing 8254 via IOAPIC #0 intpin 2 SMP: AP CPU #1 Launched! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?394ECEDD.30EC5FEC>