[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What am I doing wrong? (Parallel port printer)



Stan Brown wrote:
> 
> I'm trying to get a HP 690C printer working on a woody machine, using CUPS.
> What's starnge is that CUSP sees the printer, and even knows what tyoe it
> is, but it's not working.
> 
> Here is some useful (I hope) info:
> 
> Script started on Mon Jan 21 09:54:03 2002
> teddy:~# dmesg
> Linux version 2.4.17 (root@teddy) (gcc version 2.95.4 (Debian prerelease)) #1 Sun Jan 20 21:35:07 EST 2002
> BIOS-provided physical RAM map:
>  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
>  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
>  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
>  BIOS-e820: 0000000000100000 - 000000002fff0000 (usable)
>  BIOS-e820: 000000002fff0000 - 000000002fff3000 (ACPI NVS)
>  BIOS-e820: 000000002fff3000 - 0000000030000000 (ACPI data)
>  BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
> On node 0 totalpages: 196592
> zone(0): 4096 pages.
> zone(1): 192496 pages.
> zone(2): 0 pages.
> Kernel command line: auto BOOT_IMAGE=Linux ro root=302 video=vesa:mtrr hdc=ide-scsi
> ide_setup: hdc=ide-scsi
> Initializing CPU#0
> Detected 1266.736 MHz processor.
> Console: colour dummy device 80x25
> Calibrating delay loop... 2529.68 BogoMIPS
> Memory: 771184k/786368k available (1482k kernel code, 14796k reserved, 482k data, 264k init, 0k highmem)
> Dentry-cache hash table entries: 131072 (order: 8, 1048576 bytes)
> Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
> Mount-cache hash table entries: 16384 (order: 5, 131072 bytes)
> Buffer-cache hash table entries: 65536 (order: 6, 262144 bytes)
> Page-cache hash table entries: 262144 (order: 8, 1048576 bytes)
> CPU: Before vendor init, caps: 0183f9ff c1c7f9ff 00000000, vendor = 2
> CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
> CPU: L2 Cache: 256K (64 bytes/line)
> CPU: After vendor init, caps: 0183f9ff c1c7f9ff 00000000 00000000
> Intel machine check architecture supported.
> Intel machine check reporting enabled on CPU#0.
> CPU:     After generic, caps: 0183f9ff c1c7f9ff 00000000 00000000
> CPU:             Common caps: 0183f9ff c1c7f9ff 00000000 00000000
> CPU: AMD Athlon(tm) processor stepping 02
> Enabling fast FPU save and restore... done.
> Checking 'hlt' instruction... OK.
> POSIX conformance testing by UNIFIX
> mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
> mtrr: detected mtrr type: Intel
> PCI: PCI BIOS revision 2.10 entry at 0xfb3f0, last bus=1
> PCI: Using configuration type 1
> PCI: Probing PCI hardware
> PCI: Using IRQ router VIA [1106/0686] at 00:07.0
> Applying VIA southbridge workaround.
> Linux NET4.0 for Linux 2.4
> Based upon Swansea University Computer Society NET3.039
> Initializing RT netlink socket
> apm: BIOS version 1.2 Flags 0x07 (Driver version 1.15)
> Starting kswapd
> parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
> parport_pc: Via 686A parallel port: io=0x378
> vesafb: framebuffer at 0xd0000000, mapped to 0xf0800000, size 32768k
> vesafb: mode is 800x600x24, linelength=2400, pages=22
> vesafb: protected mode interface info at c000:4606
> vesafb: scrolling: redraw
> vesafb: directcolor: size=0:8:8:8, shift=0:16:8:0
> Console: switching to colour frame buffer device 100x37
> fb0: VESA VGA frame buffer device
> pty: 256 Unix98 ptys configured
> Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
> ttyS00 at 0x03f8 (irq = 4) is a 16550A
> ttyS01 at 0x02f8 (irq = 3) is a 16550A
> block: 128 slots per queue, batch=32
> Uniform Multi-Platform E-IDE driver Revision: 6.31
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> VP_IDE: IDE controller on PCI bus 00 dev 39
> VP_IDE: chipset revision 6
> VP_IDE: not 100% native mode: will probe irqs later
>     ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
>     ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
> hda: IC35L040AVER07-0, ATA DISK drive
> hdc: CD-RW BCE1610IM, ATAPI CD/DVD-ROM drive
> hdd: ATAPI-CD ROM-DRIVE-56MAX, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: 80418240 sectors (41174 MB) w/1916KiB Cache, CHS=5005/255/63
> hdd: ATAPI 56X CD-ROM drive, 128kB Cache
> Uniform CD-ROM driver Revision: 3.12
> Partition check:
>  hda: hda1 hda2
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is a post-1991 82077
> ne2k-pci.c:v1.02 10/19/2000 D. Becker/P. Gortmaker
>   http://www.scyld.com/network/ne2k-pci.html
> PCI: Found IRQ 11 for device 00:0a.0
> eth0: RealTek RTL-8029 found at 0xdc00, IRQ 11, 00:50:BA:52:AC:0C.
> Linux video capture interface: v1.00
> Linux agpgart interface v0.99 (c) Jeff Hartmann
> agpgart: Maximum main memory to use for agp memory: 690M
> agpgart: Detected Via Apollo Pro KT133 chipset
> agpgart: AGP aperture is 64M @ 0xd8000000
> [drm] Initialized tdfx 1.0.0 20010216 on minor 0
> [drm] AGP 0.99 on VIA Apollo KT133 @ 0xd8000000 64MB
> [drm] Initialized radeon 1.1.1 20010405 on minor 1
> SCSI subsystem driver Revision: 1.00
> request_module[scsi_hostadapter]: Root fs not mounted
> es1371: version v0.30 time 21:36:26 Jan 20 2002
> Creative EMU10K1 PCI Audio Driver, version 0.16, 21:36:22 Jan 20 2002
> PCI: Found IRQ 5 for device 00:0d.0
> PCI: Sharing IRQ 5 with 00:07.2
> PCI: Sharing IRQ 5 with 00:07.3
> PCI: Sharing IRQ 5 with 00:0b.0
> PCI: Sharing IRQ 5 with 00:0b.1
> emu10k1: EMU10K1 rev 8 model 0x8027 found, IO at 0xe000-0xe01f, IRQ 5
> ac97_codec: AC97 Audio codec, id: 0x4352:0x5914 (Cirrus Logic CS4297A rev B)
> usb.c: registered new driver hub
> uhci.c: USB Universal Host Controller Interface driver v1.1
> PCI: Found IRQ 5 for device 00:07.2
> PCI: Sharing IRQ 5 with 00:07.3
> PCI: Sharing IRQ 5 with 00:0b.0
> PCI: Sharing IRQ 5 with 00:0b.1
> PCI: Sharing IRQ 5 with 00:0d.0
> uhci.c: USB UHCI at I/O 0xd400, IRQ 5
> usb.c: new USB bus registered, assigned bus number 1
> hub.c: USB hub found
> hub.c: 2 ports detected
> PCI: Found IRQ 5 for device 00:07.3
> PCI: Sharing IRQ 5 with 00:07.2
> PCI: Sharing IRQ 5 with 00:0b.0
> PCI: Sharing IRQ 5 with 00:0b.1
> PCI: Sharing IRQ 5 with 00:0d.0
> uhci.c: USB UHCI at I/O 0xd800, IRQ 5
> usb.c: new USB bus registered, assigned bus number 2
> hub.c: USB hub found
> hub.c: 2 ports detected
> Initializing USB Mass Storage driver...
> usb.c: registered new driver usb-storage
> USB Mass Storage support registered.
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP, IGMP
> IP: routing cache hash table of 8192 buckets, 64Kbytes
> TCP: Hash tables configured (established 262144 bind 65536)
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> reiserfs: checking transaction log (device 03:02) ...
> Using r5 hash to sort names
> reiserfs: using 3.5.x disk format
> ReiserFS version 3.6.25
> VFS: Mounted root (reiserfs filesystem) readonly.
> Freeing unused kernel memory: 264k freed
> Adding Swap: 128484k swap-space (priority -1)
> i2c-core.o: i2c core module
> i2c-algo-bit.o: i2c bit algorithm module
> bttv: driver version 0.7.83 loaded
> bttv: using 2 buffers with 2080k (4160k total) for capture
> bttv: Host bridge is VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
> bttv: Bt8xx card found (0).
> PCI: Found IRQ 5 for device 00:0b.0
> PCI: Sharing IRQ 5 with 00:07.2
> PCI: Sharing IRQ 5 with 00:07.3
> PCI: Sharing IRQ 5 with 00:0b.1
> PCI: Sharing IRQ 5 with 00:0d.0
> bttv0: Bt878 (rev 17) at 00:0b.0, irq: 5, latency: 32, memory: 0xde000000
> bttv0: detected: Hauppauge WinTV [card=10], PCI subsystem ID is 0070:13eb
> bttv0: using: BT878(Hauppauge (bt878)) [card=10,autodetected]
> bttv0: Hauppauge/Voodoo msp34xx: reset line init [5]
> i2c-core.o: adapter bt848 #0 registered as adapter 0.
> bttv0: Hauppauge eeprom: model=61381, tuner=Philips FM1236 (2), radio=yes
> bttv0: i2c: checking for MSP34xx @ 0x80... found
> i2c-core.o: driver i2c msp3400 driver registered.
> msp34xx: init: chip=MSP3430G-B6, has NICAM support
> msp3410: daemon started
> bttv0: i2c attach [client=MSP3430G-B6,ok]
> i2c-core.o: client [MSP3430G-B6] registered to adapter [bt848 #0](pos. 0).
> bttv0: i2c: checking for TDA9875 @ 0xb0... not found
> bttv0: i2c: checking for TDA7432 @ 0x8a... not found
> tvaudio: TV audio decoder + audio/video mux driver
> tvaudio: known chips: tda9840,tda9873h,tda9874a,tda9850,tda9855,tea6300,tea6420,tda8425,pic16c54 (PV951)
> i2c-core.o: driver generic i2c audio driver registered.
> i2c-core.o: driver i2c TV tuner driver registered.
> tuner: chip found @ 0xc2
> bttv0: i2c attach [client=Philips NTSC,ok]
> i2c-core.o: client [Philips NTSC] registered to adapter [bt848 #0](pos. 1).
> i2c-core.o: driver tv card mixer driver registered.
> tvmixer: debug: MSP3430G-B6
> tvmixer: MSP3430G-B6 (bt848 #0) registered with minor 16
> tvmixer: debug: Philips NTSC
> lirc_dev: IR Remote Control driver registered, at major 61
> i2c-core.o: driver i2c ir driver registered.
> lirc_i2c: chip found @ 0x18 (Hauppauge IR)
> bttv0: i2c attach [client=Hauppauge IR,ok]
> i2c-core.o: client [Hauppauge IR] registered to adapter [bt848 #0](pos. 2).
> scsi0 : SCSI host adapter emulation for IDE ATAPI devices
>   Vendor: BTC       Model: BCE1610IM         Rev: 0.19
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> teddy:~# ls -l /dev/lp*
> crw-rw----    1 root     lp         6,   0 Jan 21 09:51 /dev/lp0
> crw-rw----    1 root     lp         6,   1 Jan 21 09:51 /dev/lp1
> crw-rw----    1 root     lp         6,   2 Jan 21 09:51 /dev/lp2
> teddy:~# cat < /etc/services > /dev/lp0
> bash: /dev/lp0: No such device
> teddy:~#
> Script done on Mon Jan 21 09:54:29 2002
> 
> So it appears as though something is wrong with communication to teh
> printer, correct? I've got parallel port, and the IEE support compiled in
> the kernel.
> 
> So what do I check next?
> 
> --
> Stan Brown     stanb@awod.com                                    843-745-3154
> Charleston SC.
> --
> Windows 98: n.
>         useless extension to a minor patch release for 32-bit extensions and
>         a graphical shell for a 16-bit patch to an 8-bit operating system
>         originally coded for a 4-bit microprocessor, written by a 2-bit
>         company that can't stand for 1 bit of competition.
> -
> (c) 2000 Stan Brown.  Redistribution via the Microsoft Network is prohibited.
> 
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Have you compiled your kernel with 'Parallel printer support' in section
'Character devices' ?
lp.o seem to be missing in your boot sequence. 


Berthold Cogel



Reply to: