serial_mouse: also check for "pc_serial#" ports
... since that's what we publish now. Maybe we should just use the BeOS names instead.
This commit is contained in:
parent
5e90a2a9c6
commit
821075b6ce
|
@ -117,7 +117,8 @@ SerialMouse::IsMousePresent()
|
|||
|
||||
// Skip internal modem (pctel, lucent or trimodem drivers).
|
||||
// previously I checked only for != "pctel", now for == "serial#"
|
||||
if (strncmp(dev_name, "serial", 5) != 0)
|
||||
if (strncmp(dev_name, "serial", 5) != 0
|
||||
&& strncmp(dev_name, "pc_serial", 8) != 0)
|
||||
continue;
|
||||
|
||||
if (fSerialPort->Open(dev_name) <= 0) {
|
||||
|
|
Loading…
Reference in New Issue