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

changeing irqs on serial devices.



Hey there,



On my home computer i currently have a modem and a mouse, both serial. I
like haveing multiple displays how ever and since i resently came
accross a dumb terminal i thought that i would connect it. 
So far however i have not been able to get the dumb terminal to work at
the same time as the modem. This is (i think) because they are sharing
an irq. 
The modem is currently on ttyS3 and the Dumb terminal is on ttyS1. 
Since the modem has hardware switches on it to change the irq i tried
changeing them so that the modem was using irq 5 and then 7. with both
of these changes the modem would dial (slowly) and then hang up after
giving... 

Feb  5 01:56:39 krondor pppd[266]: Serial connection established.
Feb  5 01:56:39 krondor pppd[266]: Using interface ppp0
Feb  5 01:56:39 krondor pppd[266]: Connect: ppp0 <--> /dev/ttyS3
Feb  5 01:57:09 krondor pppd[266]: LCP: timeout sending Config-Requests 
Feb  5 01:57:09 krondor pppd[266]: Connection terminated.
Feb  5 01:57:09 krondor pppd[266]: Receive serial link is not 8-bit clean:
Feb  5 01:57:09 krondor pppd[266]: Problem: all had bit 7 set to 0
Feb  5 01:57:10 krondor pppd[266]: Hangup (SIGHUP)

I guess that this might be useful...

krondor:~# setserial -g /dev/ttyS0 /dev/ttyS1 /dev/ttyS2 /dev/ttyS3
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1: Device or resource busy
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: 16550A, Port: 0x02e8, IRQ: 3
krondor:~#

Is there any easy way that i can make all of my serial devices play
nicly together? 

any help would be much appreciated.

Thanks.

Tim

PS. i also played with setserial trying to change the irqs for the
troublesome devices. It didn't seem to have much affect.


-- 

Tim Nicholas
tim@krondor.earthlight.co.nz

"Let the frantic Goddess and delerious drunk cry
together in shadow for the puppy's sad stare,
the forest and the death of the moon."


Reply to: