* [Bug 1891829] [NEW] High bits(s) sometimes set high on rcvd serial bytes when char size < 8 bits
@ 2020-08-16 23:54 Michael Slade
2020-08-17 1:22 ` [Bug 1891829] " Michael Slade
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Michael Slade @ 2020-08-16 23:54 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
I *believe* (not confirmed) that the old standard PC serial ports, when
configured with a character size of 7 bits or less, should set non-data
bits to 0 when the CPU reads received chars from the read register.
qemu doesn't do this.
Windows 1.01 will not make use of a serial mouse when bit 7 is 1. The
ID byte that the mouse sends on reset is ignored. I added a temporary
hack to set bit 7 to 0 on all incoming bytes, and this convinced windows
1.01 to use the mouse.
note 1: This was using a real serial mouse through a passed-through
serial port. The emulated msmouse doesn't work for other reasons.
note 2: The USB serial port I am passing through to the guest sets non-
data bits to 1. Not sure if this is the USB hardware or linux.
note 3: I also needed to add an -icount line to slow down the guest
CPU, so that certain cpu-sensitive timing code in the guest didn't give
up too quickly.
** Affects: qemu
Importance: Undecided
Status: New
** Tags: serial
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1891829
Title:
High bits(s) sometimes set high on rcvd serial bytes when char size <
8 bits
Status in QEMU:
New
Bug description:
I *believe* (not confirmed) that the old standard PC serial ports,
when configured with a character size of 7 bits or less, should set
non-data bits to 0 when the CPU reads received chars from the read
register. qemu doesn't do this.
Windows 1.01 will not make use of a serial mouse when bit 7 is 1. The
ID byte that the mouse sends on reset is ignored. I added a temporary
hack to set bit 7 to 0 on all incoming bytes, and this convinced
windows 1.01 to use the mouse.
note 1: This was using a real serial mouse through a passed-through
serial port. The emulated msmouse doesn't work for other reasons.
note 2: The USB serial port I am passing through to the guest sets
non-data bits to 1. Not sure if this is the USB hardware or linux.
note 3: I also needed to add an -icount line to slow down the guest
CPU, so that certain cpu-sensitive timing code in the guest didn't
give up too quickly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1891829/+subscriptions
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 1891829] Re: High bits(s) sometimes set high on rcvd serial bytes when char size < 8 bits
2020-08-16 23:54 [Bug 1891829] [NEW] High bits(s) sometimes set high on rcvd serial bytes when char size < 8 bits Michael Slade
@ 2020-08-17 1:22 ` Michael Slade
2020-08-17 3:23 ` [Bug 1891829] Re: High bit(s) " Michael Slade
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Michael Slade @ 2020-08-17 1:22 UTC (permalink / raw)
To: qemu-devel
I will hopefully submit a patch for review soon.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1891829
Title:
High bits(s) sometimes set high on rcvd serial bytes when char size <
8 bits
Status in QEMU:
New
Bug description:
I *believe* (not confirmed) that the old standard PC serial ports,
when configured with a character size of 7 bits or less, should set
non-data bits to 0 when the CPU reads received chars from the read
register. qemu doesn't do this.
Windows 1.01 will not make use of a serial mouse when bit 7 is 1. The
ID byte that the mouse sends on reset is ignored. I added a temporary
hack to set bit 7 to 0 on all incoming bytes, and this convinced
windows 1.01 to use the mouse.
note 1: This was using a real serial mouse through a passed-through
serial port. The emulated msmouse doesn't work for other reasons.
note 2: The USB serial port I am passing through to the guest sets
non-data bits to 1. Not sure if this is the USB hardware or linux.
note 3: I also needed to add an -icount line to slow down the guest
CPU, so that certain cpu-sensitive timing code in the guest didn't
give up too quickly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1891829/+subscriptions
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 1891829] Re: High bit(s) sometimes set high on rcvd serial bytes when char size < 8 bits
2020-08-16 23:54 [Bug 1891829] [NEW] High bits(s) sometimes set high on rcvd serial bytes when char size < 8 bits Michael Slade
2020-08-17 1:22 ` [Bug 1891829] " Michael Slade
@ 2020-08-17 3:23 ` Michael Slade
2020-08-18 1:19 ` Michael Slade
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Michael Slade @ 2020-08-17 3:23 UTC (permalink / raw)
To: qemu-devel
** Summary changed:
- High bits(s) sometimes set high on rcvd serial bytes when char size < 8 bits
+ High bit(s) sometimes set high on rcvd serial bytes when char size < 8 bits
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1891829
Title:
High bit(s) sometimes set high on rcvd serial bytes when char size < 8
bits
Status in QEMU:
New
Bug description:
I *believe* (not confirmed) that the old standard PC serial ports,
when configured with a character size of 7 bits or less, should set
non-data bits to 0 when the CPU reads received chars from the read
register. qemu doesn't do this.
Windows 1.01 will not make use of a serial mouse when bit 7 is 1. The
ID byte that the mouse sends on reset is ignored. I added a temporary
hack to set bit 7 to 0 on all incoming bytes, and this convinced
windows 1.01 to use the mouse.
note 1: This was using a real serial mouse through a passed-through
serial port. The emulated msmouse doesn't work for other reasons.
note 2: The USB serial port I am passing through to the guest sets
non-data bits to 1. Not sure if this is the USB hardware or linux.
note 3: I also needed to add an -icount line to slow down the guest
CPU, so that certain cpu-sensitive timing code in the guest didn't
give up too quickly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1891829/+subscriptions
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 1891829] Re: High bit(s) sometimes set high on rcvd serial bytes when char size < 8 bits
2020-08-16 23:54 [Bug 1891829] [NEW] High bits(s) sometimes set high on rcvd serial bytes when char size < 8 bits Michael Slade
2020-08-17 1:22 ` [Bug 1891829] " Michael Slade
2020-08-17 3:23 ` [Bug 1891829] Re: High bit(s) " Michael Slade
@ 2020-08-18 1:19 ` Michael Slade
2021-05-08 5:47 ` Thomas Huth
2021-07-08 4:17 ` Launchpad Bug Tracker
4 siblings, 0 replies; 6+ messages in thread
From: Michael Slade @ 2020-08-18 1:19 UTC (permalink / raw)
To: qemu-devel
If I connect a serial mouse to the built-in serial port on an old
(kernel 2.4) box and go
stty -F /dev/ttyS0 1200 cs7
dd if=/dev/ttyS0 bs=1|hexdump -C
The bytes received/printed when the mouse is moved all have bit7=0.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1891829
Title:
High bit(s) sometimes set high on rcvd serial bytes when char size < 8
bits
Status in QEMU:
New
Bug description:
I *believe* (not confirmed) that the old standard PC serial ports,
when configured with a character size of 7 bits or less, should set
non-data bits to 0 when the CPU reads received chars from the read
register. qemu doesn't do this.
Windows 1.01 will not make use of a serial mouse when bit 7 is 1. The
ID byte that the mouse sends on reset is ignored. I added a temporary
hack to set bit 7 to 0 on all incoming bytes, and this convinced
windows 1.01 to use the mouse.
note 1: This was using a real serial mouse through a passed-through
serial port. The emulated msmouse doesn't work for other reasons.
note 2: The USB serial port I am passing through to the guest sets
non-data bits to 1. Not sure if this is the USB hardware or linux.
note 3: I also needed to add an -icount line to slow down the guest
CPU, so that certain cpu-sensitive timing code in the guest didn't
give up too quickly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1891829/+subscriptions
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 1891829] Re: High bit(s) sometimes set high on rcvd serial bytes when char size < 8 bits
2020-08-16 23:54 [Bug 1891829] [NEW] High bits(s) sometimes set high on rcvd serial bytes when char size < 8 bits Michael Slade
` (2 preceding siblings ...)
2020-08-18 1:19 ` Michael Slade
@ 2021-05-08 5:47 ` Thomas Huth
2021-07-08 4:17 ` Launchpad Bug Tracker
4 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2021-05-08 5:47 UTC (permalink / raw)
To: qemu-devel
The QEMU project is currently moving its bug tracking to another system.
For this we need to know which bugs are still valid and which could be
closed already. Thus we are setting the bug state to "Incomplete" now.
If the bug has already been fixed in the latest upstream version of QEMU,
then please close this ticket as "Fix released".
If it is not fixed yet and you think that this bug report here is still
valid, then you have two options:
1) If you already have an account on gitlab.com, please open a new ticket
for this problem in our new tracker here:
https://gitlab.com/qemu-project/qemu/-/issues
and then close this ticket here on Launchpad (or let it expire auto-
matically after 60 days). Please mention the URL of this bug ticket on
Launchpad in the new ticket on GitLab.
2) If you don't have an account on gitlab.com and don't intend to get
one, but still would like to keep this ticket opened, then please switch
the state back to "New" or "Confirmed" within the next 60 days (other-
wise it will get closed as "Expired"). We will then eventually migrate
the ticket automatically to the new system (but you won't be the reporter
of the bug in the new system and thus you won't get notified on changes
anymore).
Thank you and sorry for the inconvenience.
** Changed in: qemu
Status: New => Incomplete
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1891829
Title:
High bit(s) sometimes set high on rcvd serial bytes when char size < 8
bits
Status in QEMU:
Incomplete
Bug description:
I *believe* (not confirmed) that the old standard PC serial ports,
when configured with a character size of 7 bits or less, should set
non-data bits to 0 when the CPU reads received chars from the read
register. qemu doesn't do this.
Windows 1.01 will not make use of a serial mouse when bit 7 is 1. The
ID byte that the mouse sends on reset is ignored. I added a temporary
hack to set bit 7 to 0 on all incoming bytes, and this convinced
windows 1.01 to use the mouse.
note 1: This was using a real serial mouse through a passed-through
serial port. The emulated msmouse doesn't work for other reasons.
note 2: The USB serial port I am passing through to the guest sets
non-data bits to 1. Not sure if this is the USB hardware or linux.
note 3: I also needed to add an -icount line to slow down the guest
CPU, so that certain cpu-sensitive timing code in the guest didn't
give up too quickly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1891829/+subscriptions
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug 1891829] Re: High bit(s) sometimes set high on rcvd serial bytes when char size < 8 bits
2020-08-16 23:54 [Bug 1891829] [NEW] High bits(s) sometimes set high on rcvd serial bytes when char size < 8 bits Michael Slade
` (3 preceding siblings ...)
2021-05-08 5:47 ` Thomas Huth
@ 2021-07-08 4:17 ` Launchpad Bug Tracker
4 siblings, 0 replies; 6+ messages in thread
From: Launchpad Bug Tracker @ 2021-07-08 4:17 UTC (permalink / raw)
To: qemu-devel
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1891829
Title:
High bit(s) sometimes set high on rcvd serial bytes when char size < 8
bits
Status in QEMU:
Expired
Bug description:
I *believe* (not confirmed) that the old standard PC serial ports,
when configured with a character size of 7 bits or less, should set
non-data bits to 0 when the CPU reads received chars from the read
register. qemu doesn't do this.
Windows 1.01 will not make use of a serial mouse when bit 7 is 1. The
ID byte that the mouse sends on reset is ignored. I added a temporary
hack to set bit 7 to 0 on all incoming bytes, and this convinced
windows 1.01 to use the mouse.
note 1: This was using a real serial mouse through a passed-through
serial port. The emulated msmouse doesn't work for other reasons.
note 2: The USB serial port I am passing through to the guest sets
non-data bits to 1. Not sure if this is the USB hardware or linux.
note 3: I also needed to add an -icount line to slow down the guest
CPU, so that certain cpu-sensitive timing code in the guest didn't
give up too quickly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1891829/+subscriptions
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-07-08 4:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-16 23:54 [Bug 1891829] [NEW] High bits(s) sometimes set high on rcvd serial bytes when char size < 8 bits Michael Slade
2020-08-17 1:22 ` [Bug 1891829] " Michael Slade
2020-08-17 3:23 ` [Bug 1891829] Re: High bit(s) " Michael Slade
2020-08-18 1:19 ` Michael Slade
2021-05-08 5:47 ` Thomas Huth
2021-07-08 4:17 ` Launchpad Bug Tracker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).