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

Parallel Port hosed-- Please help me



Okay I recompiled the kernel to get my CDBurner to work. Everything is cool 
until I goto print. The printer device is totally hosed. I've tried a wide 
variety of things to get it to work. I'm at a loss as to what to do next. I 
compiled parport and parport_pc as modules

/etc/modules has a line:
"parport_pc"

dmesg prints:
----------------------------
Linux version 2.2.18pre21 (root@Further) (gcc version 2.95.4 20010522 (Debian 
prerelease)) #1 Wed Jun 6 15:32:19 EDT 2001
Detected 751724 kHz processor.
ide_setup: hdd=ide-scsi
Console: colour VGA+ 80x25
Calibrating delay loop... 1500.77 BogoMIPS
Memory: 257840k/262144k available (1028k kernel code, 416k reserved, 2816k 
data, 44k init)
Dentry hash table entries: 32768 (order 6, 256k)
Buffer cache hash table entries: 262144 (order 8, 1024k)
Page cache hash table entries: 65536 (order 6, 256k)
CPU: L1 I Cache: 64K  L1 D Cache: 64K
CPU: L2 Cache: 512K
CPU: AMD Athlon(tm) Processor stepping 02
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfb270
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 262144 bhash 65536)
Starting kswapd v 1.5
Detected PS/2 Mouse Port.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.09
js: Joystick driver v1.2.15 (c) 1999 Vojtech Pavlik <vojtech@suse.cz>
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xc000-0xc007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xc008-0xc00f, BIOS settings: hdc:DMA, hdd:DMA
hd1: C/H/S=0/0/0 from BIOS ignored
hda: Maxtor 34098H4, ATA DISK drive
hdb: IOMEGA ZIP 250 ATAPI, ATAPI FLOPPY drive
hdc: MATSHITA CR-585, ATAPI CDROM drive
hdd: Hewlett-Packard CD-Writer Plus 9500b, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: Maxtor 34098H4, 39083MB w/2048kB Cache, CHS=39083/64/32
hdb: 244766kB, 489532 blocks, 512 sector size
hdb: 244736kB, 239/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm
hdb: The drive reports both 250609664 and 250640384 bytes as its capacity
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
PPP: version 2.3.7 (demand dialling)
TCP compression code copyright 1989 Regents of the University of California
PPP line discipline registered.
PPP BSD Compression module registered
PPP Deflate Compression module registered
Partition check:
 hda: [PTBL] [4982/255/63] hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 > hda3
 hdb: hdb4
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.13)
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Handspring Visor
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.237 $ time 15:33:20 Jun  6 2001
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xc400, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
usb.c: USB new device connect, assigned device number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xc800, IRQ 9
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
usb.c: USB new device connect, assigned device number 1
hub.c: USB hub found
hub.c: 2 ports detected
NTFS version 000607
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 44k freed
Adding Swap: 497972k swap-space (priority -1)
hdc: ATAPI 24X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.11
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
scsi : 1 host.
  Vendor: HP        Model: CD-Writer+ 9500b  Rev: 1.06
  Type:   CD-ROM                             ANSI SCSI revision: 02
RAM disk driver initialized:  16 RAM disks of 4096K size
RAMDISK: Loaded as module.
/dev/vmmon: Module vmmon: registered with major=10 minor=165 tag=$Name: 
build-799 $
/dev/vmmon: Module vmmon: initialized
/dev/vmnet: open called by PID 303 (vmnet-bridge)
/dev/vmnet: hub 0 does not exist, allocating memory.
/dev/vmnet: port on hub 0 successfully opened
bridge-eth0: up
bridge-eth0: attached
/dev/vmnet: open called by PID 313 (vmnet-netifup)
/dev/vmnet: hub 1 does not exist, allocating memory.
/dev/vmnet: port on hub 1 successfully opened
/dev/vmnet: open called by PID 325 (vmnet-dhcpd)
/dev/vmnet: port on hub 1 successfully opened
parport0: PC-style at 0x378, irq 7 [SPP]
registered device ppp0
--------------------

Notice the wonder discovery of parport 0 there on the next to last line.

Then my /etc/modules.conf contains:
---------------------------
<snip>
### update-modules: start processing /etc/modutils/parport
options parport_pc io=0x378 irq=7
alias char-major-6 lp
options lp parport=0


### update-modules: end processing /etc/modutils/parport
<snip>

### update-modules: start processing /etc/modutils/arch/i386
alias parport_lowlevel parport_pc
<snip>
-------------

/dev/lp0 only replies, "No such device"

---------------

/proc reports a /dev/parport clearly, but there's no mention of this in 
/proc/interrupts or /proc/ioports.

-----------------


HELP!

Shawn Garbett



Reply to: