WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Single ? mark in terminal  (Read 3332 times)

Offline PDP-8

  • Hero Member
  • *****
  • Posts: 915
Single ? mark in terminal
« on: August 05, 2019, 05:07:52 AM »
Is anyone running 32-bit Tinycore 10.1 seeing the same thing I am:

About 20 seconds or so after firing up the very first aterm, a random question mark will appear.

It will appear on it's own on a blank commandline, or sometimes right in the middle of my own typing.

But it occurs only once it seems, and all following instances of aterm never have this rogue question mark occur.

Weird.

That's a UNIX book! - cool  -- Garth

Offline core-user

  • Full Member
  • ***
  • Posts: 195
  • Linux since 1999
Re: Single ? mark in terminal
« Reply #1 on: August 05, 2019, 06:20:11 AM »
Faulty keyboard, sticking key(?).

(I've never had it happen.)
AMD, ARM, & Intel.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: Single ? mark in terminal
« Reply #2 on: August 05, 2019, 09:14:43 AM »
Hi PDP-8
I'm running 10.1 and see no such behavior with  aterm.  Are you actually running  aterm  or another terminal that's been aliased to  aterm?

Offline PDP-8

  • Hero Member
  • *****
  • Posts: 915
Re: Single ? mark in terminal
« Reply #3 on: August 05, 2019, 06:12:25 PM »
Just TinyCore 10.1 and the standard aterm.

I'm going to try and nail it down further.  This was noticed after helping Althus' Compaq Presario on my own similar box.

Hmm ... 64 bit box running 32-bit  TC?  Busybox quirk on my box only?  Some extension interaction with synaptics?  etc etc...

I'll try to nail it down to something specific, and most importantly repeatable.
That's a UNIX book! - cool  -- Garth

Offline PDP-8

  • Hero Member
  • *****
  • Posts: 915
Re: Single ? mark in terminal
« Reply #4 on: August 05, 2019, 08:55:44 PM »
Ok, we're repeatable:

It's starting to look some some sort of hardware quirk with this Compaq Presario CQ60z

It happens with 32 bit TC 10.1  (not tested on older releases)
It happens with 64 bit TinyCorePure64 10.1
Bare naked ISO's burned to different sticks with no additional extensions.

And, when booted to the command prompt only, it happens there too after about 20 seconds.

Fascinating, Jim.

Something in the Compaq is tickling the kernel late.  No amount of waitusb=xx fixes it either.

The solution for now seems to be just wait 30 seconds for the poltegeist-keystroke to appear and then move on.

I can't avoid it when booting to the command-prompt only, but in the gui environment, if I wait 30 seconds and fire up aterm, I never see it as the trigger for it has already passed.



« Last Edit: August 05, 2019, 09:06:59 PM by PDP-8 »
That's a UNIX book! - cool  -- Garth

Offline PDP-8

  • Hero Member
  • *****
  • Posts: 915
Re: Single ? mark in terminal
« Reply #5 on: August 05, 2019, 10:04:47 PM »
[SOLVED]

It was acpi related.  Out of all the acpi disabling option, only a total disable prevented the errant ? from occurring when using this option in the boot line:

Code: [Select]
acpi=off
Thing is, now the machine won't power down - it will just halt and burn batteries.

Think I'll live with the ? showing up just once at boot. :)
That's a UNIX book! - cool  -- Garth

Offline PDP-8

  • Hero Member
  • *****
  • Posts: 915
Re: Single ? mark in terminal
« Reply #6 on: August 05, 2019, 11:40:01 PM »
Even better!  Backlights!

Researching the acpi on this old laptop led me to an accidental discovery - easy backlight control with the function keys!

So leaving acpi alone for the time being, I added these to the boot line

Code: [Select]
acpi_osi=Linux   acpi_backlight=vendor
Tada!  Function keys now easily control the backlight brightness on this box.  Thank you pesky ? mark ! :)
That's a UNIX book! - cool  -- Garth

Offline PDP-8

  • Hero Member
  • *****
  • Posts: 915
Re: Single ? mark in terminal
« Reply #7 on: August 06, 2019, 07:46:06 AM »
Note - don't get too excited about thinking about making these two options a global change to all your other machines!

This was a bios/acpi total linux osi kludge-fest for just this machine.  Might work on others, but no guarantees due to the total mangling of the spec by various parties.

https://www.kernel.org/doc/html/latest/firmware-guide/acpi/osi.html

Try it if you must, but it isn't a globally guaranteed fix you can rely on.
That's a UNIX book! - cool  -- Garth