I am trying to print to an Epson Color Stylus 740i via the printer/modem
port. I am running Debian 3.0, 2.4.18 kernel, on a PowerBook G3 233MHz
(1998 vintage). I have the entire CUPS system installed including the
Ghostsript drivers. I have also scoured many news group searchs (thank
goodness for Google), tried many suggestions all to no avail.
I have tried:
$> echo -en "hello\f" >/dev/ttyS0
and
$> echo -en "hello\f" >/dev/tty00
I have followed the simple set up instructions provided by CUPS and followed
most of the info at < www.linuxprinting.com >. Below is a copy of stty:
$>stty -a </dev/ttyS0
speed 38400 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^U; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
-ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0
ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke
here is a copy of my /var/log/messages pertaining to serial ports. The full
(edited) one is attached.
Sep 19 23:52:20 gandalf kernel: PowerMac Z8530 serial driver version 2.0
Sep 19 23:52:20 gandalf kernel: tty00 at 0xc510e020 (irq = 15) is a Z8530
ESCC, port = modem-printer
Sep 19 23:52:20 gandalf kernel: tty01 at 0xc5115000 (irq = 16) is a Z8530
ESCC, port = infrared (IrDA)
Sep 19 23:52:20 gandalf kernel: tty02 at 0xc511b020 (irq = 79) is a Z8530
ESCC, port = internal-modem (internal modem)
Any (easy) way to fix this would be great.
Cheers,
Scott
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
Sep 19 23:52:19 gandalf syslogd 1.4.1#10: restart.
Sep 19 23:52:20 gandalf kernel: klogd 1.4.1#10, log source = /proc/kmsg
started.
Sep 19 23:52:20 gandalf kernel: Cannot find map file.
Sep 19 23:52:20 gandalf kernel: Loaded 240 symbols from 5 modules.
Sep 19 23:52:20 gandalf kernel: Memory BAT mapping: BAT2=64Mb, BAT3=0Mb,
residual: 0Mb
Sep 19 23:52:20 gandalf kernel: Total memory = 64MB; using 256kB for hash
table (at c0300000)
Sep 19 23:52:20 gandalf kernel: Linux version 2.4.18 ([EMAIL PROTECTED]) (gcc
version 2.95.4 20011002 (Debian prerelease)) #1 Sat Aug 31 17:06:57 EDT 2002
Sep 19 23:52:20 gandalf kernel: Found a Gatwick mac-io controller, rev: 1,
mapped at 0xfde95000
Sep 19 23:52:20 gandalf kernel: Found a Heathrow mac-io controller, rev: 1,
mapped at 0xfde15000
Sep 19 23:52:20 gandalf kernel: PowerMac motherboard: PowerBook Wallstreet
Sep 19 23:52:20 gandalf kernel: Found Grackle (MPC106) PCI host bridge at
0x80000000. Firmware bus number: 0->0
Sep 19 23:52:20 gandalf kernel: PMU driver 2 initialized for PowerBook G3
Series, firmware: 0a
Sep 19 23:52:20 gandalf kernel: On node 0 totalpages: 16384
Sep 19 23:52:20 gandalf kernel: zone(0): 16384 pages.
Sep 19 23:52:20 gandalf kernel: zone(1): 0 pages.
Sep 19 23:52:20 gandalf kernel: zone(2): 0 pages.
Sep 19 23:52:20 gandalf kernel: Kernel command line: root=/dev/hda8
video=ofonly
Sep 19 23:52:20 gandalf kernel: irq: fixed SCC on second controller
(79,68,69)
Sep 19 23:52:20 gandalf kernel: irq: fixed media-bay on second controller
(93)
Sep 19 23:52:20 gandalf kernel: irq: fixed floppy on second controller
(83,65)
Sep 19 23:52:20 gandalf kernel: irq: fixed ide on second controller (78,67)
Sep 19 23:52:20 gandalf kernel: irq: secondary controller on irq 27
Sep 19 23:52:20 gandalf kernel: System has 128 possible interrupts
Sep 19 23:52:20 gandalf kernel: 64 interrupts on main controller
Sep 19 23:52:20 gandalf kernel: GMT Delta read from XPRAM: -300 minutes,
DST: on
Sep 19 23:52:20 gandalf kernel: via_calibrate_decr: ticks per jiffy = 166722
(1000336 ticks)
Sep 19 23:52:20 gandalf kernel: Console: colour dummy device 80x25
Sep 19 23:52:20 gandalf kernel: Calibrating delay loop... 465.30 BogoMIPS
Sep 19 23:52:20 gandalf kernel: Memory: 61312k available (1664k kernel code,
900k data, 284k init, 0k highmem)
Sep 19 23:52:20 gandalf kernel: Dentry-cache hash table entries: 8192
(order: 4, 65536 bytes)
Sep 19 23:52:20 gandalf kernel: Inode-cache hash table entries: 4096 (order:
3, 32768 bytes)
Sep 19 23:52:20 gandalf kernel: Mount-cache hash table entries: 1024 (order:
1, 8192 bytes)
Sep 19 23:52:20 gandalf kernel: Buffer-cache hash table entries: 4096
(order: 2, 16384 bytes)
Sep 19 23:52:20 gandalf kernel: Page-cache hash table entries: 16384 (order:
4, 65536 bytes)
Sep 19 23:52:20 gandalf kernel: POSIX conformance testing by UNIFIX
Sep 19 23:52:20 gandalf kernel: PCI: Probing PCI hardware
Sep 19 23:52:20 gandalf kernel: PCI:00:0d.0: Resource 0: f4000000-f407ffff
(f=200)
Sep 19 23:52:20 gandalf kernel: PCI:00:10.0: Resource 0: f3000000-f307ffff
(f=200)
Sep 19 23:52:20 gandalf kernel: PCI:00:11.0: Resource 0: 82000000-82ffffff
(f=200)
Sep 19 23:52:20 gandalf kernel: PCI:00:11.0: Resource 2: 82fff000-82ffffff
(f=200)
Sep 19 23:52:20 gandalf kernel: PCI: Cannot allocate resource region 2 of
device 00:11.0
Sep 19 23:52:20 gandalf kernel: PCI: parent is c02da04c: 80000000-fcffffff
(f=200)
Sep 19 23:52:20 gandalf kernel: PCI:00:13.0: Resource 0: 81803000-81803fff
(f=200)
Sep 19 23:52:20 gandalf kernel: PCI:00:13.1: Resource 0: 81802000-81802fff
(f=200)
Sep 19 23:52:20 gandalf kernel: PCI:00:11.0: Resource 1: 00000400-000004ff
(f=101)
Sep 19 23:52:20 gandalf kernel: Registered "pmu" backlight controller,
level: 15/15
Sep 19 23:52:20 gandalf kernel: mediabay0: Registered Heathrow media-bay
Sep 19 23:52:20 gandalf kernel: mediabay0: powering down
Sep 19 23:52:20 gandalf kernel: mediabay0: switching to 3
Sep 19 23:52:20 gandalf kernel: mediabay0: powering up
Sep 19 23:52:20 gandalf kernel: mediabay0: enabling (kind:3)
Sep 19 23:52:20 gandalf kernel: mediabay0: waiting reset (kind:3)
Sep 19 23:52:20 gandalf kernel: mediabay0: waiting IDE reset (kind:3)
Sep 19 23:52:20 gandalf kernel: mediabay0: waiting IDE ready (kind:3)
Sep 19 23:52:20 gandalf kernel: mediabay0: up before IDE init
Sep 19 23:52:20 gandalf kernel: mediabay1: Registered Heathrow media-bay
Sep 19 23:52:20 gandalf kernel: mediabay1: powering down
Sep 19 23:52:20 gandalf kernel: Linux NET4.0 for Linux 2.4
Sep 19 23:52:20 gandalf kernel: Based upon Swansea University Computer
Society NET3.039
Sep 19 23:52:20 gandalf kernel: Initializing RT netlink socket
Sep 19 23:52:20 gandalf kernel: Thermal assist unit using timers,
shrink_timer: 200 jiffies
Sep 19 23:52:20 gandalf kernel: Starting kswapd
Sep 19 23:52:20 gandalf kernel: MacOS display is /pci/ATY,264LT-G
Sep 19 23:52:20 gandalf kernel: Using unsupported 800x600 ATY,264LT-G at
82800480, depth=16, pitch=1600
Sep 19 23:52:20 gandalf kernel: Console: switching to colour frame buffer
device 100x37
Sep 19 23:52:20 gandalf kernel: fb0: Open Firmware frame buffer device on
/pci/ATY,264LT-G
Sep 19 23:52:20 gandalf kernel: input0: Macintosh mouse button emulation
Sep 19 23:52:20 gandalf kernel: pty: 256 Unix98 ptys configured
Sep 19 23:52:20 gandalf kernel: block: 128 slots per queue, batch=32
Sep 19 23:52:20 gandalf kernel: RAMDISK driver initialized: 16 RAM disks of
4096K size 1024 blocksize
Sep 19 23:52:20 gandalf kernel: Uniform Multi-Platform E-IDE driver
Revision: 6.31
Sep 19 23:52:20 gandalf kernel: ide: Assuming 33MHz system bus speed for PIO
modes; override with idebus=xx
Sep 19 23:52:20 gandalf kernel: pmac_ide: enabling IDE bus ID 0
Sep 19 23:52:20 gandalf kernel: Registered ide 1 for media bay 0
Sep 19 23:52:20 gandalf kernel: hda: IBM-DJSA-210, ATA DISK drive
Sep 19 23:52:20 gandalf kernel: hdc: MATSHITA CR-174, ATAPI CD/DVD-ROM drive
Sep 19 23:52:20 gandalf kernel: ide0 at 0xc7ade000-0xc7ade007,0xc7ade160 on
irq 13
Sep 19 23:52:20 gandalf kernel: ide1 at 0xc7ae2000-0xc7ae2007,0xc7ae2160 on
irq 14
Sep 19 23:52:20 gandalf kernel: hda: Enabling MultiWord DMA 2
Sep 19 23:52:20 gandalf kernel: ide_pmac: MDMA, cycleTime: 120, accessTime:
75, recTime: 45
Sep 19 23:52:20 gandalf kernel: ide_pmac: Set MDMA timing for mode 2, reg:
0x00211526
Sep 19 23:52:20 gandalf kernel: hda: 19640880 sectors (10056 MB) w/384KiB
Cache, CHS=19485/16/63, (U)DMA
Sep 19 23:52:20 gandalf kernel: hdc: Enabling MultiWord DMA 2
Sep 19 23:52:20 gandalf kernel: ide_pmac: MDMA, cycleTime: 120, accessTime:
75, recTime: 45
Sep 19 23:52:20 gandalf kernel: ide_pmac: Set MDMA timing for mode 2, reg:
0x00211526
Sep 19 23:52:20 gandalf kernel: hdc: ATAPI 20X CD-ROM drive, 128kB Cache,
DMA
Sep 19 23:52:20 gandalf kernel: Uniform CD-ROM driver Revision: 3.12
Sep 19 23:52:20 gandalf kernel: ide-floppy driver 0.97.sv
Sep 19 23:52:20 gandalf kernel: Partition check:
Sep 19 23:52:20 gandalf kernel: hda: [mac] hda1 hda2 hda3 hda4 hda5 hda6
hda7 hda8 hda9 hda10 hda11 hda12 hda13
Sep 19 23:52:20 gandalf kernel: fd0: SWIM3 floppy controller in media bay
Sep 19 23:52:20 gandalf kernel: fd1: SWIM3 floppy controller in media bay
Sep 19 23:52:20 gandalf kernel: loop: loaded (max 8 devices)
Sep 19 23:52:20 gandalf kernel: eth0: BMAC at 00:05:02:b9:d8:18
Sep 19 23:52:20 gandalf kernel: ide-floppy driver 0.97.sv
Sep 19 23:52:20 gandalf kernel: SCSI subsystem driver Revision: 1.00
Sep 19 23:52:20 gandalf kernel: scsi0 : SCSI host adapter emulation for IDE
ATAPI devices
Sep 19 23:52:20 gandalf kernel: scsi1 : MESH
Sep 19 23:52:20 gandalf kernel: Vendor: IOMEGA Model: ZIP 100
Rev: D.06
Sep 19 23:52:20 gandalf kernel: Type: Direct-Access
ANSI SCSI revision: 02
Sep 19 23:52:20 gandalf kernel: Attached scsi removable disk sda at scsi1,
channel 0, id 6, lun 0
Sep 19 23:52:20 gandalf kernel: sda : READ CAPACITY failed.
Sep 19 23:52:20 gandalf kernel: sda : status = 1, message = 00, host = 0,
driver = 08
Sep 19 23:52:20 gandalf kernel: Current sd00:00: sense key Not Ready
Sep 19 23:52:20 gandalf kernel: Additional sense indicates Medium not
present
Sep 19 23:52:20 gandalf kernel: sda : block size assumed to be 512 bytes,
disk size 1GB.
Sep 19 23:52:20 gandalf kernel: sda: I/O error: dev 08:00, sector 0
Sep 19 23:52:20 gandalf kernel: I/O error: dev 08:00, sector 0
Sep 19 23:52:20 gandalf kernel: unable to read partition table
Sep 19 23:52:20 gandalf kernel: macserial: serial modem detected
Sep 19 23:52:20 gandalf kernel: gatwick irq not from gatwick pic
Sep 19 23:52:20 gandalf kernel: PowerMac Z8530 serial driver version 2.0
Sep 19 23:52:20 gandalf kernel: tty00 at 0xc510e020 (irq = 15) is a Z8530
ESCC, port = modem-printer
Sep 19 23:52:20 gandalf kernel: tty01 at 0xc5115000 (irq = 16) is a Z8530
ESCC, port = infrared (IrDA)
Sep 19 23:52:20 gandalf kernel: tty02 at 0xc511b020 (irq = 79) is a Z8530
ESCC, port = internal-modem (internal modem)
Sep 19 23:52:20 gandalf kernel: Macintosh non-volatile memory driver v1.0
Sep 19 23:52:20 gandalf kernel: mice: PS/2 mouse device common for all mice
Sep 19 23:52:20 gandalf kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Sep 19 23:52:20 gandalf kernel: IP Protocols: ICMP, UDP, TCP, IGMP
Sep 19 23:52:20 gandalf kernel: IP: routing cache hash table of 512 buckets,
4Kbytes
Sep 19 23:52:20 gandalf kernel: TCP: Hash tables configured (established
4096 bind 4096)
Sep 19 23:52:20 gandalf kernel: NET4: Unix domain sockets 1.0/SMP for Linux
NET4.0.
Sep 19 23:52:20 gandalf kernel: adb: starting probe task...
Sep 19 23:52:20 gandalf kernel: VFS: Mounted root (ext2 filesystem)
readonly.
Sep 19 23:52:20 gandalf kernel: Freeing unused kernel memory: 284k init 8k
chrp 8k prep
Sep 19 23:52:20 gandalf kernel: Adding Swap: 102396k swap-space (priority
-1)
Sep 19 23:52:20 gandalf kernel: adb devices: [2]: 2 c3 [3]: 3 1 [7]: 7 1f
Sep 19 23:52:20 gandalf kernel: ADB keyboard at 2, handler 1
Sep 19 23:52:20 gandalf kernel: Detected ADB keyboard, type ANSI.
Sep 19 23:52:20 gandalf kernel: input1: ADB HID on ID 2:2.c3
Sep 19 23:52:20 gandalf kernel: input2: ADB HID on ID 7:7.1f
Sep 19 23:52:20 gandalf kernel: ADB mouse at 3, handler set to 4 (trackpad)
Sep 19 23:52:20 gandalf kernel: input3: ADB HID on ID 3:3.01
Sep 19 23:52:20 gandalf kernel: adb: finished probe task...
Sep 19 23:52:20 gandalf kernel: i2c-core.o: i2c core module
Sep 19 23:52:20 gandalf kernel: dmasound_pmac: Awacs/Screamer Codec Mfct: 1
Rev 3
Sep 19 23:52:20 gandalf kernel: PowerMac Screamer DMA sound driver rev 016
installed
Sep 19 23:52:20 gandalf kernel: Core driver edition 01.06 : PowerMac
Built-in Sound driver edition 00.07
Sep 19 23:52:20 gandalf kernel: Write will use 4 fragments of 32768
bytes as default
Sep 19 23:52:20 gandalf kernel: Read will use 4 fragments of 32768
bytes as default
Sep 19 23:52:20 gandalf kernel: EXT2-fs warning: mounting unchecked fs,
running e2fsck is recommended
Sep 19 23:52:20 gandalf kernel: phy registers:
Sep 19 23:52:20 gandalf kernel: 0000 0000 0000 0000 0000 0000 0000 0000
Sep 19 23:52:20 gandalf last message repeated 3 times
Sep 19 23:52:21 gandalf cardmgr[223]: starting, version is 3.1.33
Sep 19 23:52:21 gandalf cardmgr[223]: chdir to /etc/pcmcia failed: No such
file or directory
Sep 19 23:52:21 gandalf cardmgr[223]: exiting
Sep 19 23:52:22 gandalf modprobe: modprobe: Can't locate module char-major-6
Sep 19 23:52:23 gandalf last message repeated 5 times
Sep 19 23:52:23 gandalf pmud[241]: pmud [treshold = 420, margin = 15]
started
Sep 19 23:52:23 gandalf pmud[241]: PMU version 10: G3 Wallstreet
Sep 19 23:52:23 gandalf pmud[241]: daemon stopped (parent exiting [note
PID])
Sep 19 23:52:23 gandalf pmud[243]: running /etc/power/pwrctl maximum ac
Sep 19 23:52:25 gandalf kernel: ide_pmac: Set PIO timing for mode 4, reg:
0x00211025
Sep 19 23:52:25 gandalf modprobe: modprobe: Can't locate module char-major-4
Sep 19 23:52:25 gandalf /usr/sbin/cron[251]: (CRON) INFO (pidfile fd = 3)
Sep 19 23:52:25 gandalf /usr/sbin/cron[253]: (CRON) STARTUP (fork ok)
Sep 19 23:52:26 gandalf /usr/sbin/cron[253]: (CRON) INFO (Running @reboot
jobs)
Sep 19 23:52:26 gandalf modprobe: modprobe: Can't locate module
char-major-180
Sep 19 23:52:26 gandalf modprobe: modprobe: Can't locate module char-major-6
Sep 19 23:52:26 gandalf last message repeated 2 times
Sep 19 23:52:26 gandalf modprobe: modprobe: Can't locate module
char-major-180
Sep 19 23:52:26 gandalf last message repeated 7 times
Sep 19 23:52:27 gandalf modprobe: modprobe: Can't locate module char-major-6
Sep 19 23:52:27 gandalf last message repeated 2 times
Sep 19 23:52:27 gandalf modprobe: modprobe: Can't locate module
char-major-180
Sep 19 23:52:27 gandalf last message repeated 7 times
Sep 19 23:53:01 gandalf /USR/SBIN/CRON[297]: (mail) CMD ( if [ -x
/usr/sbin/exim -a -f /etc/exim/exim.conf ]; then /usr/sbin/exim -q ; fi)
Sep 20 00:08:01 gandalf /USR/SBIN/CRON[356]: (mail) CMD ( if [ -x
/usr/sbin/exim -a -f /etc/exim/exim.conf ]; then /usr/sbin/exim -q ; fi)