Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2018 13:06:21 +0200
From:      Alexander Lochmann <alexander.lochmann@tu-dortmund.de>
To:        Eugene Grosbein <eugen@grosbein.net>, freebsd-stable@freebsd.org
Subject:   Re: FreeBSD blocks on BOCHS serial port
Message-ID:  <bbf1b72d-577f-c47c-30e3-23e6e59291a3@tu-dortmund.de>
In-Reply-To: <a12a1c5f-cc9f-a875-db30-985ba47a4e56@tu-dortmund.de>
References:  <e0c6883a-ed3c-c48e-6821-05d0aa3eb034@tu-dortmund.de> <bc8f5df6-e338-a9fd-bdd7-e7e146cbcee7@grosbein.net> <661e5d36-6684-fae5-b325-f02ad570f2b4@tu-dortmund.de> <28c22017-7b01-63b0-946a-d0d255af16b2@grosbein.net> <a12a1c5f-cc9f-a875-db30-985ba47a4e56@tu-dortmund.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--szmqBnuZtfMF0PCqH52srEM81ryCcpwSe
Content-Type: multipart/mixed; boundary="0rFB7QHWa6cS3mEUk5aDtkz7SNU2lb32r";
 protected-headers="v1"
From: Alexander Lochmann <alexander.lochmann@tu-dortmund.de>
To: Eugene Grosbein <eugen@grosbein.net>, freebsd-stable@freebsd.org
Message-ID: <bbf1b72d-577f-c47c-30e3-23e6e59291a3@tu-dortmund.de>
Subject: Re: FreeBSD blocks on BOCHS serial port
References: <e0c6883a-ed3c-c48e-6821-05d0aa3eb034@tu-dortmund.de>
 <bc8f5df6-e338-a9fd-bdd7-e7e146cbcee7@grosbein.net>
 <661e5d36-6684-fae5-b325-f02ad570f2b4@tu-dortmund.de>
 <28c22017-7b01-63b0-946a-d0d255af16b2@grosbein.net>
 <a12a1c5f-cc9f-a875-db30-985ba47a4e56@tu-dortmund.de>
In-Reply-To: <a12a1c5f-cc9f-a875-db30-985ba47a4e56@tu-dortmund.de>

--0rFB7QHWa6cS3mEUk5aDtkz7SNU2lb32r
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

I've to correct myself. It works if I activate the boot console
(console=3D"vidconsole,comconsole").
If I change the mentioned line to console=3D"vidconsole", neither writing=

to /dev/ttyu0 nor reading from /dev/cuau1 works.
It seems that the FreeBSD loader initialize the serial ports in a
different way than the OS does.

- Alex

On 15.08.2018 12:46, Alexander Lochmann wrote:
> Reading from /dev/cuau1 works. Thank you for your help!
> However, I'm pretty sure I tried this device before. Nvm. It works.
>=20
> - Alex
>=20
> On 13.08.2018 22:49, Eugene Grosbein wrote:
>> 14.08.2018 3:15, Alexander Lochmann wrote:
>>
>>>> You should not rely on defaults and make sure you disable modem cont=
rol/CD
>>>> either explicitly (using stty(1) etc.) or implicitly by switching to=
 /dev/cuau0
>>>> instead of /dev/ttyu0. Flow control settings should match too, for b=
oth sides
>>>> of virtual port.
>>> Thx. I cannot even run 'stty < /dev/ttyu1' to see the current setting=
s.
>>> It simply blocks...
>>
>> Use /dev/ttyu1.init to see defaults and /dev/ttyu1.lock to set/show
>> locked defaults that cannot be changed without disabling a lock first.=

>>
>>
>=20
>=20

--=20
Technische Universit=C3=A4t Dortmund
Alexander Lochmann                PGP key: 0xBC3EF6FD
Otto-Hahn-Str. 16                 phone:  +49.231.7556141
D-44227 Dortmund                  fax:    +49.231.7556116
http://ess.cs.tu-dortmund.de/Staff/al


--0rFB7QHWa6cS3mEUk5aDtkz7SNU2lb32r--

--szmqBnuZtfMF0PCqH52srEM81ryCcpwSe
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEElhZsUHzVP0dbkjCRWT7tBbw+9v0FAlt0CS0ACgkQWT7tBbw+
9v2x0Q/+LVNDrzFvY5xj21+jKDlHWcoK5LQ5NKFw6GQaILs3yQnT/brnQzU6JWqW
8d4booxAaK5pZCktk+sNEjaGKqA9IAIPx4crI2qq8BvYm88NOkTJhTVK0AVUh0qi
lOWr6nDyNgmSVEWeP1hwsGlKV/5IbXDlB0GMNwUHoY1qMW5xq6q9j0H1iv7WE3Ib
rO3LZKbSBiAEb04H1KfS9ZV/i3x4CLH9JWEJDsmmyJlqq8sANLIZ0IPIJS7YXuzc
DBzjTA0O0hVverpRyTlrMtmr4tA6U02FSVLwRftgDsdCb3Ml4mz4/9a8zisXqUyT
vzPW85P0f2NvFjMRb16QjQ0PZyalFzjnVReB6zmfXNncsahoeQweiOEpgtwAXfWG
v4ojeLIQPbdQVDSfgDYa4+Fx3U95x+WyMgbUqeGVyKo465fPmFM0DcP8+dVhig/p
Vju3W49rhBbxJyIeRc9O12Ip/0yWPRVxikfFfhFAdTr4WPLWESyHFYZ9zTeJ5rNI
XvtFqHh0qzfcWWM+WkL1DBAx+SSu88ENr772b6G/FWUB0M6ufcG1k5v0AtUO7EGv
nZ0dGFWhj8K7EpamBzVsuZwFRai+MUd9UnkqfWYbIMGouel0c7g93Iwl5FugBWxA
8nAUcVG14isSiQgPL3Nt36kNyKYOQMy3ZkfrQOSCwLazybCLZG4=
=sPEA
-----END PGP SIGNATURE-----

--szmqBnuZtfMF0PCqH52srEM81ryCcpwSe--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bbf1b72d-577f-c47c-30e3-23e6e59291a3>