ttyS0/1 both on modem port, printer port not working

Jeff Laughlin yellowdog-general@lists.terrasoftsolutions.com
Sun Mar 2 04:02:02 2003


I've been trying to figure this out for about 6 hours now, scouring the net 
for anybody with a similar problem, and I've drawn a complete blank.

I'm running YDL 2.3 on a PowerMac 7500 604e 180mhz. The modem port works 
fine. It works fine using ttyS0 AND ttyS1. UNNNHHHH? The printer port 
doesn't seem connected to any tty's. It doesn't make any sense. The kernel sez:
PowerMac Z8530 serial driver version 2.0
ttyS0 at 0xc414a020 (irq = 15) is a Z8530 ESCC, port = modem
ttyS1 at 0xc4151000 (irq = 16) is a Z8530 ESCC, port = printer

So again, I connect a serial device to the modem port and I can talk to it 
on both ttyS0 and ttyS1. I connect a device to the serial device and I 
can't talk to it on ttyS0 or ttyS1. What is going on here?

[root@powercrap root]# ls -l /dev/ttyS*
lr-xr-xr-x    1 root     root            5 Mar  2  2003 /dev/ttyS0 -> tts/0
lr-xr-xr-x    1 root     root            5 Mar  2  2003 /dev/ttyS1 -> tts/1
[root@powercrap root]# ls -l /dev/tts*
total 0
crw-------    1 root     root       4,  64 Mar  2 02:55 0
crw-------    1 root     root       4,  65 Jan  1  1970 1

dmesg output:
Memory BAT mapping: BAT2=32Mb, BAT3=16Mb, residual: 8Mb
Total memory = 56MB; using 256kB for hash table (at c0340000)
Linux version 2.4.19-4a (root@powercrap.vtc.edu) (gcc version 2.95.4 
20010319 (prerelease/franzo/20011204)) #7 Sun Mar 2 02:26:26 UTC 2003
Found a Grand Central mac-io controller, rev: 2, mapped at 0xfddd0000
PowerMac motherboard: PowerMac 7500
Cache coherency enabled for bandit/PSX
Found Bandit PCI host bridge at 0xf2000000. Firmware bus number: 0->0
hose bandit, pci_mem_offset: 00000000, start0: f3000000
   io_base_virt: fd5ca000, io_base_phys: f2000000, isa_mem_base: 00000000
Found Chaos PCI host bridge at 0xf0000000. Firmware bus number: 1->1
hose chaos, pci_mem_offset: 00000000, start0: f1000000
   io_base_virt: fcdc8000, io_base_phys: f0000000, isa_mem_base: 00000000
On node 0 totalpages: 14336
zone(0): 14336 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: video=ofonly
System has 32 possible interrupts
GMT Delta read from XPRAM: -300 minutes, DST: off
via_calibrate_decr: ticks per jiffy = 112548 (675293 ticks)
Console: colour dummy device 80x25
Calibrating delay loop... 359.62 BogoMIPS
Memory: 53056k available (1312k kernel code, 1764k data, 248k init, 0k highmem)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Scanning bus 00
Found 00:58 [106b/0001] 000600 00
Found 00:78 [1045/c861] 000c03 00
Found 00:80 [106b/0002] 00ff00 00
Fixups for bus 00
Bus scan for 00 returning with max=00
Scanning bus 01
Found 01:58 [106b/0003] 000000 00
Found 01:68 [106b/0004] 00ff00 00
Fixups for bus 01
Bus scan for 01 returning with max=01
PCI:00:10.0: Resource 0: f3000000-f301ffff (f=200)
PCI:00:0f.0: Resource 0: 80800000-80800fff (f=200)
PCI:01:0b.0: Resource 1: 90000000-9000ffff (f=200)
PCI:01:0b.0: Resource 2: 94000000-97ffffff (f=200)
PCI:01:0d.0: Resource 0: 90000000-900003ff (f=200)
resource conflict with: 90000000..9000ffff (200), name: Apple Computer Inc. 
Control Video
PCI: Cannot allocate resource region 0 of device 01:0d.0
PCI:  parent is c0392068: 90000000-9fffffff (f=200)
Macintosh CUDA driver v0.5 for Unified ADB.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12a (20020514) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
MacOS display is /chaos/control
Using unsupported 640x480 control at 94c00210, depth=32, pitch=2592
Console: switching to colour frame buffer device 80x30
fb0: Open Firmware frame buffer device on /chaos/control
input0: Macintosh mouse button emulation
pty: 256 Unix98 ptys configured
fd0: SWIM3 floppy controller
loop: loaded (max 8 devices)
eth0: MACE at 00:05:02:c0:03:67, chip revision 9.64
SCSI subsystem driver Revision: 1.00
mesh: configured for asynchronous
mesh: performing initial bus reset...
scsi0 : MESH
mesh: rejecting message from target 0: 1 3 3 1 19
mesh: bs0=2f in msg_out
   Vendor: SEAGATE   Model: ST15150N          Rev: 0023
   Type:   Direct-Access                      ANSI SCSI revision: 01 CCS
   Vendor: MATSHITA  Model: CD-ROM CR-8005    Rev: 2.0h
   Type:   CD-ROM                             ANSI SCSI revision: 02
scsi1 : 53C94
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 8388315 512-byte hdwr sectors (4295 MB)
Partition check:
  /dev/scsi/host0/bus0/target0/lun0: [mac] p1 p2 p3 p4 p5 p6 p7
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 2, lun 0
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.12
PowerMac Z8530 serial driver version 2.0
ttyS0 at 0xc414a020 (irq = 15) is a Z8530 ESCC, port = modem
ttyS1 at 0xc4151000 (irq = 16) is a Z8530 ESCC, port = printer
Macintosh non-volatile memory driver v1.0
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Enabling device 00:0f.0 (0014 -> 0016)
usb-ohci.c: USB OHCI at membase 0xc4157000, IRQ 25
usb-ohci.c: usb-00:0f.0, OPTi Inc. 82C861
adb: starting probe task...
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 248k init 8k chrp 8k prep
adb devices: [2]: 2 1 [3]: 3 1 [15]: 2 2
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ANSI.
ADB HID on ID 15 not yet registered, packet 0xfc, 0xb9, 0xff, 0x0
input1: ADB HID on ID 2:2.01
ADB keyboard at 15, handler set to 3
Detected ADB keyboard, type ANSI.
input2: ADB HID on ID 15:2.02
ADB mouse at 3, handler set to 3 (Mouse Systems A3 Mouse, or compatible)
input3: ADB HID on ID 3:3.01
adb: finished probe task...
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device 2 (vend/prod 0x6cd/0x103) is not claimed by any active 
driver.
Adding Swap: 131064k swap-space (priority -1)
-73, Jeff

=============================================================
Jeffrey M. Laughlin        School  : (802)728-1102
jlaughli@vtc.edu           Home    : (802)878-0496
n1ywb@amsat.org            http://solstice.vtc.edu/~jlaughli/