* Serial/Parallel conflicts @ 2003-01-29 17:07 Ross Boylan 2003-01-29 17:11 ` Ross Boylan 2003-01-29 22:13 ` rich+ml 0 siblings, 2 replies; 7+ messages in thread From: Ross Boylan @ 2003-01-29 17:07 UTC (permalink / raw) To: linux-serial; +Cc: Ross Boylan I've had some success with the problems reported earlier, but seem to have created a new problem. I went into the BIOS and changed the settings for the serial ports from "AUTO" to Port A: 3f8/com1 Port B: 2f8/com2 My hope was that by setting COM2 to 2f8 explicitly I would get rid of the "LSR safety check" warning on ttyS1. As a result, the messages when I started up went from: Jan 19 10:30:05 wheat kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A Jan 19 10:30:05 wheat kernel: ttyS02 at 0x03e8 (irq = 4) is a 16550A Jan 19 10:30:05 wheat kernel: ttyS01 at port 0x02f8 (irq = 3) is a 16550A to: Jan 29 05:47:49 wheat kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A Jan 29 05:47:49 wheat kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A Jan 29 05:47:49 wheat kernel: ttyS02 at port 0x03e8 (irq = 5) is a 16550A and I no longer got the "LSR safety check engaged" message. (Note also the change in order of the reports). Unfortunately, my parallel port stopped working: Jan 29 08:45:12 wheat kernel: lp: driver loaded but no devices found I notice that if I do not pick auto for the parallel port, I am given a manual choice of IRQ 5 or 7 for it. 7 is used by my soundcard, and as noted above, 5 is being used by ttyS02 (modem). I set my BIOS back to AUTO for all ports, but I still see the second configuration reported above. This has not reverted things to their previous state. I can think of 3 possible reasons: 1. the hardware is saving state 2. the hardware is saving state because I rebooted without powering off 3. Linux is saving state. So I have several questions. What is going on? How can I get my printer (LPT1) back? Is there any way I can make all my devices happy (i.e, no LSR safety check for the serial ports and working parallel port)? I have an AMIBIOS with a setting of "Non-PNP OS". 2.4.19 kernel. Thanks. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Serial/Parallel conflicts 2003-01-29 17:07 Serial/Parallel conflicts Ross Boylan @ 2003-01-29 17:11 ` Ross Boylan 2003-01-29 22:13 ` rich+ml 1 sibling, 0 replies; 7+ messages in thread From: Ross Boylan @ 2003-01-29 17:11 UTC (permalink / raw) To: Ross Boylan; +Cc: linux-serial I forgot to mention: I have removed setserial from my system as well. Doing so was not sufficient to stop the "LSR safety check" messages. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Serial/Parallel conflicts 2003-01-29 17:07 Serial/Parallel conflicts Ross Boylan 2003-01-29 17:11 ` Ross Boylan @ 2003-01-29 22:13 ` rich+ml 2003-01-31 5:56 ` Ross Boylan 1 sibling, 1 reply; 7+ messages in thread From: rich+ml @ 2003-01-29 22:13 UTC (permalink / raw) To: Ross Boylan; +Cc: linux-serial Hi, bios does indeed save state, "non-pnp os" means that the bios itself should do the pnp setup because the os won't. It stores card info in the 'ESCD'. AMI should do the right thing on auto, however if you go manual and cause it to generate a broken ESCD, I'm not sure that restoration to 'auto' will necessarily cause it to be fixed. Maybe something like "restore factory defaults" (but write down current settings first :) According to serial.c, "LSR safety check engaged" means that driver tried to reset the line status register but read back an 0xFF. Shouldn't be possible with real uart, so presumably it's a winmodem or broken FPGA core or whatever. There's certainly SOMETHING there or bios wouldn't have autodetected it. HTH == Rich On Wed, 29 Jan 2003, Ross Boylan wrote: > Date: Wed, 29 Jan 2003 09:07:50 -0800 > From: Ross Boylan <RossBoylan@stanfordalumni.org> > To: linux-serial@vger.kernel.org > Cc: Ross Boylan <RossBoylan@stanfordalumni.org> > Subject: Serial/Parallel conflicts > > I've had some success with the problems reported earlier, but seem to > have created a new problem. > > I went into the BIOS and changed the settings for the serial ports > from "AUTO" to > Port A: 3f8/com1 > Port B: 2f8/com2 > My hope was that by setting COM2 to 2f8 explicitly I would get rid of > the "LSR safety check" warning on ttyS1. > > As a result, the messages when I started up went from: > Jan 19 10:30:05 wheat kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A > Jan 19 10:30:05 wheat kernel: ttyS02 at 0x03e8 (irq = 4) is a 16550A > Jan 19 10:30:05 wheat kernel: ttyS01 at port 0x02f8 (irq = 3) is a 16550A > > to: > Jan 29 05:47:49 wheat kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A > Jan 29 05:47:49 wheat kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A > Jan 29 05:47:49 wheat kernel: ttyS02 at port 0x03e8 (irq = 5) is a 16550A > and I no longer got the "LSR safety check engaged" message. (Note > also the change in order of the reports). > > Unfortunately, my parallel port stopped working: > Jan 29 08:45:12 wheat kernel: lp: driver loaded but no devices found > > > I notice that if I do not pick auto for the parallel port, I am given > a manual choice of IRQ 5 or 7 for it. 7 is used by my soundcard, and > as noted above, 5 is being used by ttyS02 (modem). > > I set my BIOS back to AUTO for all ports, but I still see the second > configuration reported above. This has not reverted things to their > previous state. I can think of 3 possible reasons: > 1. the hardware is saving state > 2. the hardware is saving state because I rebooted without powering > off > 3. Linux is saving state. > > So I have several questions. > What is going on? > How can I get my printer (LPT1) back? > Is there any way I can make all my devices happy (i.e, no LSR safety > check for the serial ports and working parallel port)? > > I have an AMIBIOS with a setting of "Non-PNP OS". 2.4.19 kernel. > > Thanks. > - > To unsubscribe from this list: send the line "unsubscribe linux-serial" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Serial/Parallel conflicts 2003-01-29 22:13 ` rich+ml @ 2003-01-31 5:56 ` Ross Boylan 2003-01-31 22:34 ` rich+ml ` (2 more replies) 0 siblings, 3 replies; 7+ messages in thread From: Ross Boylan @ 2003-01-31 5:56 UTC (permalink / raw) To: rich+ml; +Cc: Ross Boylan, linux-serial This is kind of a "please tell me it isn't so message." My efforts to dislodge ttyS2 (aka COM3, my internal modem) from IRQ 5 have been unsuccessful. The BIOS offers no direct control over it, since it is not a built in serial port. In particular, neither of the following worked, even with reboots: 1. reprogramming the card via /proc/isapnp. If I set the IRQ to a value other than shown in the dmesg start up, I can't communicate with the modem at all. This doesn't make any sense to me, since the serial port is actually part of the card (as I understand it), and presumably is reprogrammed by isapnp. Is the problem that the serial driver can not adjust to changes in port locations after start up? 2. I set the BIOS manually to use IRQ 5 for the parallel port. I thought this would force it to put ttyS2 elsewhere, but it doesn't seem to. The good news is that both the modem and the parallel port appear to work sharing the same interrupt, so I may have symptomatic relief. 3. I also disabled COM1 in BIOS, hoping to get the system to use the newly availabe interrupt. It put one of the ethernet cards there (IRQ4). Anyway, please tell me this info isn't just buried in the ESCD with no way to kick it out short of flashing the whole thing! Isn't there some other way to influence it? Is the full story "ECSD sets location; serial driver reads it; nothing changes it"? On Wed, Jan 29, 2003 at 02:13:23PM -0800, rich+ml@lclogic.com wrote: > Hi, bios does indeed save state, "non-pnp os" means that the bios itself > should do the pnp setup because the os won't. It stores card info in the > 'ESCD'. > > AMI should do the right thing on auto, however if you go manual and cause > it to generate a broken ESCD, I'm not sure that restoration to 'auto' will > necessarily cause it to be fixed. Maybe something like "restore factory > defaults" (but write down current settings first :) > > According to serial.c, "LSR safety check engaged" means that driver tried > to reset the line status register but read back an 0xFF. Shouldn't be > possible with real uart, so presumably it's a winmodem or broken FPGA core > or whatever. There's certainly SOMETHING there or bios wouldn't have > autodetected it. > > HTH == Rich > > On Wed, 29 Jan 2003, Ross Boylan wrote: > > > Date: Wed, 29 Jan 2003 09:07:50 -0800 > > From: Ross Boylan <RossBoylan@stanfordalumni.org> > > To: linux-serial@vger.kernel.org > > Cc: Ross Boylan <RossBoylan@stanfordalumni.org> > > Subject: Serial/Parallel conflicts > > > > I've had some success with the problems reported earlier, but seem to > > have created a new problem. > > > > I went into the BIOS and changed the settings for the serial ports > > from "AUTO" to > > Port A: 3f8/com1 > > Port B: 2f8/com2 > > My hope was that by setting COM2 to 2f8 explicitly I would get rid of > > the "LSR safety check" warning on ttyS1. > > > > As a result, the messages when I started up went from: > > Jan 19 10:30:05 wheat kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A > > Jan 19 10:30:05 wheat kernel: ttyS02 at 0x03e8 (irq = 4) is a 16550A > > Jan 19 10:30:05 wheat kernel: ttyS01 at port 0x02f8 (irq = 3) is a 16550A > > > > to: > > Jan 29 05:47:49 wheat kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A > > Jan 29 05:47:49 wheat kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A > > Jan 29 05:47:49 wheat kernel: ttyS02 at port 0x03e8 (irq = 5) is a 16550A > > and I no longer got the "LSR safety check engaged" message. (Note > > also the change in order of the reports). > > > > Unfortunately, my parallel port stopped working: > > Jan 29 08:45:12 wheat kernel: lp: driver loaded but no devices found > > > > > > I notice that if I do not pick auto for the parallel port, I am given > > a manual choice of IRQ 5 or 7 for it. 7 is used by my soundcard, and > > as noted above, 5 is being used by ttyS02 (modem). > > > > I set my BIOS back to AUTO for all ports, but I still see the second > > configuration reported above. This has not reverted things to their > > previous state. I can think of 3 possible reasons: > > 1. the hardware is saving state > > 2. the hardware is saving state because I rebooted without powering > > off > > 3. Linux is saving state. > > > > So I have several questions. > > What is going on? > > How can I get my printer (LPT1) back? > > Is there any way I can make all my devices happy (i.e, no LSR safety > > check for the serial ports and working parallel port)? > > > > I have an AMIBIOS with a setting of "Non-PNP OS". 2.4.19 kernel. > > > > Thanks. > > - > > To unsubscribe from this list: send the line "unsubscribe linux-serial" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Serial/Parallel conflicts 2003-01-31 5:56 ` Ross Boylan @ 2003-01-31 22:34 ` rich+ml 2003-02-01 2:46 ` whitnl73 2003-02-23 7:41 ` David Lawyer 2 siblings, 0 replies; 7+ messages in thread From: rich+ml @ 2003-01-31 22:34 UTC (permalink / raw) To: Ross Boylan; +Cc: linux-serial Possibly the modem is static ISA, i.e. has jumpers for port and irq? If so then PNP can find it but can't change it, the only software solution is to disable COM1 ('setserial /dev/ttyS0 uart none') to avoid IRQ 4 contention. == Rich On Thu, 30 Jan 2003, Ross Boylan wrote: > Date: Thu, 30 Jan 2003 21:56:40 -0800 > From: Ross Boylan <RossBoylan@stanfordalumni.org> > To: rich+ml@lclogic.com > Cc: Ross Boylan <RossBoylan@stanfordalumni.org>, linux-serial@vger.kernel.org > Subject: Re: Serial/Parallel conflicts > > This is kind of a "please tell me it isn't so message." > My efforts to dislodge ttyS2 (aka COM3, my internal modem) from IRQ 5 > have been unsuccessful. The BIOS offers no direct control over it, > since it is not a built in serial port. > > In particular, neither of the following worked, even with reboots: > 1. reprogramming the card via /proc/isapnp. If I set the IRQ to a > value other than shown in the dmesg start up, I can't communicate with > the modem at all. This doesn't make any sense to me, since the serial > port is actually part of the card (as I understand it), and presumably > is reprogrammed by isapnp. > > Is the problem that the serial driver can not adjust to changes in > port locations after start up? > > 2. I set the BIOS manually to use IRQ 5 for the parallel port. I > thought this would force it to put ttyS2 elsewhere, but it doesn't > seem to. The good news is that both the modem and the parallel port > appear to work sharing the same interrupt, so I may have symptomatic > relief. > > 3. I also disabled COM1 in BIOS, hoping to get the system to use the > newly availabe interrupt. It put one of the ethernet cards there > (IRQ4). > > Anyway, please tell me this info isn't just buried in the ESCD with no > way to kick it out short of flashing the whole thing! Isn't there > some other way to influence it? Is the full story "ECSD sets > location; serial driver reads it; nothing changes it"? > > > On Wed, Jan 29, 2003 at 02:13:23PM -0800, rich+ml@lclogic.com wrote: > > Hi, bios does indeed save state, "non-pnp os" means that the bios itself > > should do the pnp setup because the os won't. It stores card info in the > > 'ESCD'. > > > > AMI should do the right thing on auto, however if you go manual and cause > > it to generate a broken ESCD, I'm not sure that restoration to 'auto' will > > necessarily cause it to be fixed. Maybe something like "restore factory > > defaults" (but write down current settings first :) > > > > According to serial.c, "LSR safety check engaged" means that driver tried > > to reset the line status register but read back an 0xFF. Shouldn't be > > possible with real uart, so presumably it's a winmodem or broken FPGA core > > or whatever. There's certainly SOMETHING there or bios wouldn't have > > autodetected it. > > > > HTH == Rich > > > > On Wed, 29 Jan 2003, Ross Boylan wrote: > > > > > Date: Wed, 29 Jan 2003 09:07:50 -0800 > > > From: Ross Boylan <RossBoylan@stanfordalumni.org> > > > To: linux-serial@vger.kernel.org > > > Cc: Ross Boylan <RossBoylan@stanfordalumni.org> > > > Subject: Serial/Parallel conflicts > > > > > > I've had some success with the problems reported earlier, but seem to > > > have created a new problem. > > > > > > I went into the BIOS and changed the settings for the serial ports > > > from "AUTO" to > > > Port A: 3f8/com1 > > > Port B: 2f8/com2 > > > My hope was that by setting COM2 to 2f8 explicitly I would get rid of > > > the "LSR safety check" warning on ttyS1. > > > > > > As a result, the messages when I started up went from: > > > Jan 19 10:30:05 wheat kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A > > > Jan 19 10:30:05 wheat kernel: ttyS02 at 0x03e8 (irq = 4) is a 16550A > > > Jan 19 10:30:05 wheat kernel: ttyS01 at port 0x02f8 (irq = 3) is a 16550A > > > > > > to: > > > Jan 29 05:47:49 wheat kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A > > > Jan 29 05:47:49 wheat kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A > > > Jan 29 05:47:49 wheat kernel: ttyS02 at port 0x03e8 (irq = 5) is a 16550A > > > and I no longer got the "LSR safety check engaged" message. (Note > > > also the change in order of the reports). > > > > > > Unfortunately, my parallel port stopped working: > > > Jan 29 08:45:12 wheat kernel: lp: driver loaded but no devices found > > > > > > > > > I notice that if I do not pick auto for the parallel port, I am given > > > a manual choice of IRQ 5 or 7 for it. 7 is used by my soundcard, and > > > as noted above, 5 is being used by ttyS02 (modem). > > > > > > I set my BIOS back to AUTO for all ports, but I still see the second > > > configuration reported above. This has not reverted things to their > > > previous state. I can think of 3 possible reasons: > > > 1. the hardware is saving state > > > 2. the hardware is saving state because I rebooted without powering > > > off > > > 3. Linux is saving state. > > > > > > So I have several questions. > > > What is going on? > > > How can I get my printer (LPT1) back? > > > Is there any way I can make all my devices happy (i.e, no LSR safety > > > check for the serial ports and working parallel port)? > > > > > > I have an AMIBIOS with a setting of "Non-PNP OS". 2.4.19 kernel. > > > > > > Thanks. > > > - > > > To unsubscribe from this list: send the line "unsubscribe linux-serial" in > > > the body of a message to majordomo@vger.kernel.org > > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > > > > > > > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Serial/Parallel conflicts 2003-01-31 5:56 ` Ross Boylan 2003-01-31 22:34 ` rich+ml @ 2003-02-01 2:46 ` whitnl73 2003-02-23 7:41 ` David Lawyer 2 siblings, 0 replies; 7+ messages in thread From: whitnl73 @ 2003-02-01 2:46 UTC (permalink / raw) To: RossBoylan; +Cc: rich+ml, linux-serial On Thu, 30 Jan 2003, Ross Boylan wrote: > This is kind of a "please tell me it isn't so message." > My efforts to dislodge ttyS2 (aka COM3, my internal modem) from IRQ 5 > have been unsuccessful. The BIOS offers no direct control over it, > since it is not a built in serial port. > > In particular, neither of the following worked, even with reboots: > 1. reprogramming the card via /proc/isapnp. If I set the IRQ to a > value other than shown in the dmesg start up, I can't communicate with > the modem at all. This doesn't make any sense to me, since the serial > port is actually part of the card (as I understand it), and presumably > is reprogrammed by isapnp. Only if it is an ISA Plug 'N' Pray card. I have several internal modems, one has jumpers to set the port and IRQ, the other has switches. I guess the IRQ for a PCI card would be set by the BIOS, but I don;t have any hardware that new. > > Is the problem that the serial driver can not adjust to changes in > port locations after start up? Not so. The values the serial driver _uses_ (tries to use) can be set using /bin/setserial at any time. This has no effect on what the hardware uses, but it is useful particularly to set the IRQ to some non-default value so FI com1 and com3 amd/or com2 and com4 don't conflict. By default they do. You have to set the hardware some other way first - jumpers, isapnptools or the BIOS. > > 2. I set the BIOS manually to use IRQ 5 for the parallel port. I > thought this would force it to put ttyS2 elsewhere, but it doesn't > seem to. The good news is that both the modem and the parallel port > appear to work sharing the same interrupt, so I may have symptomatic > relief. > > 3. I also disabled COM1 in BIOS, hoping to get the system to use the > newly availabe interrupt. It put one of the ethernet cards there > (IRQ4). > > Anyway, please tell me this info isn't just buried in the ESCD with no > way to kick it out short of flashing the whole thing! Isn't there > some other way to influence it? Is the full story "ECSD sets > location; serial driver reads it; nothing changes it"? Serial driver doesn't read it (unless instructed by system administrator (setserial <device> <port> auto_irq autoconfig)). See man setserial. Lawson -- ---oops--- ________________________________________________________________ Sign Up for Juno Platinum Internet Access Today Only $9.95 per month! Visit www.juno.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Serial/Parallel conflicts 2003-01-31 5:56 ` Ross Boylan 2003-01-31 22:34 ` rich+ml 2003-02-01 2:46 ` whitnl73 @ 2003-02-23 7:41 ` David Lawyer 2 siblings, 0 replies; 7+ messages in thread From: David Lawyer @ 2003-02-23 7:41 UTC (permalink / raw) To: linux-serial On Thu, Jan 30, 2003 at 09:56:40PM -0800, Ross Boylan wrote: > This is kind of a "please tell me it isn't so message." > My efforts to dislodge ttyS2 (aka COM3, my internal modem) from IRQ 5 > have been unsuccessful. The BIOS offers no direct control over it, > since it is not a built in serial port. > > In particular, neither of the following worked, even with reboots: > 1. reprogramming the card via /proc/isapnp. If I set the IRQ to a > value other than shown in the dmesg start up, I can't communicate with > the modem at all. This doesn't make any sense to me, since the serial > port is actually part of the card (as I understand it), and presumably > is reprogrammed by isapnp. You need to use setserial to tell the driver what isapnp set it to. isapnp doesn't tell the driver how you set the IRQ. > > Is the problem that the serial driver can not adjust to changes in > port locations after start up? Yes and no. It's yes after the the phase is completed where the driver tries to detect the serial ports by PnP methods. > > 2. I set the BIOS manually to use IRQ 5 for the parallel port. I > thought this would force it to put ttyS2 elsewhere, but it doesn't > seem to. The good news is that both the modem and the parallel port > appear to work sharing the same interrupt, so I may have symptomatic > relief. > > 3. I also disabled COM1 in BIOS, hoping to get the system to use the > newly available interrupt. It put one of the ethernet cards there > (IRQ4). > > Anyway, please tell me this info isn't just buried in the ESCD with no > way to kick it out short of flashing the whole thing! Isn't there > some other way to influence it? Is the full story "ESCD sets > location; serial driver reads it; nothing changes it"? One thing you might try is to tell the BIOS that you have a PnP OS and then whatever is in the ESCD will be ignored. David Lawyer ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-02-23 8:14 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-01-29 17:07 Serial/Parallel conflicts Ross Boylan 2003-01-29 17:11 ` Ross Boylan 2003-01-29 22:13 ` rich+ml 2003-01-31 5:56 ` Ross Boylan 2003-01-31 22:34 ` rich+ml 2003-02-01 2:46 ` whitnl73 2003-02-23 7:41 ` David Lawyer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox