* weird speakup or hardware bug?
@ Deedra Waters
` covici
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Deedra Waters @ UTC (permalink / raw)
To: speakup
I'm not even sure where to begin. switching from arch to gentoo seems to
have changed certain things like my ethernet now works?
But, what's happening here is that for all of my consoles, speakup has
the numlock as on and i have to change it before i can use speakup
commands. Anyone seen this before?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: weird speakup or hardware bug?
weird speakup or hardware bug? Deedra Waters
@ ` covici
` D. Curtis Willoughby
` Chris Brannon
2 siblings, 0 replies; 4+ messages in thread
From: covici @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.; +Cc: speakup
Seems to be something in recent kernels, its the first thing I do when
the system boots and I get control.
Deedra Waters <deedra@the-brannons.com> wrote:
> I'm not even sure where to begin. switching from arch to gentoo seems to
> have changed certain things like my ethernet now works?
>
> But, what's happening here is that for all of my consoles, speakup has
> the numlock as on and i have to change it before i can use speakup
> commands. Anyone seen this before?
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@linux-speakup.org
> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: weird speakup or hardware bug?
weird speakup or hardware bug? Deedra Waters
` covici
@ ` D. Curtis Willoughby
` Chris Brannon
2 siblings, 0 replies; 4+ messages in thread
From: D. Curtis Willoughby @ UTC (permalink / raw)
To: speakup
The control of numlock is a bios option. If your bios option is
off, then grub 1.99 (the latest grub in debian whezy, and probably
your distro too, can override the bios setting by adding keystrokes
to the keyboard buffer before starting the kernel. In the info
for grub, look at set and key information. Good luck!
D. Curtis Willoughby--ka0vba
> From speakup-bounces@linux-speakup.org Thu Jun 27 22:07:48 2013
> Envelope-to: postman@localhost
> Delivery-date: Thu, 27 Jun 2013 22:07:48 -0600
> X-Spam-Checker-Version: SpamAssassin 3.2.1 (2007-05-02) on
> new-mail2.hypermall.com
> X-Spam-Level:
> X-Spam-Status: No, score=0.1 required=5.0 tests=AWL,RDNS_NONE
> autolearn=disabled version=3.2.1
> X-Original-To: speakup@reisers.ca
> X-Greylist: delayed 375 seconds by postgrey-1.34 at befuddled;
> Thu, 27 Jun 2013 22:07:14 EDT
> From: Deedra Waters <deedra@the-brannons.com>
> Subject: weird speakup or hardware bug?
> MIME-Version: 1.0
> Content-Disposition: inline
> User-Agent: Mutt/1.5.21 (2010-09-15)
> X-BeenThere: speakup@linux-speakup.org
> X-Mailman-Version: 2.1.15
> List-Id: "Speakup is a screen review system for Linux."
> <speakup.linux-speakup.org>
> List-Unsubscribe: <http://linux-speakup.org/cgi-bin/mailman/options/speakup>,
> <mailto:speakup-request@linux-speakup.org?subject=unsubscribe>
> List-Archive: <http://linux-speakup.org/pipermail/speakup/>
> List-Post: <mailto:speakup@linux-speakup.org>
> List-Help: <mailto:speakup-request@linux-speakup.org?subject=help>
> List-Subscribe: <http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup>,
> <mailto:speakup-request@linux-speakup.org?subject=subscribe>
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.2
>
> I'm not even sure where to begin. switching from arch to gentoo seems to
> have changed certain things like my ethernet now works?
>
> But, what's happening here is that for all of my consoles, speakup has
> the numlock as on and i have to change it before i can use speakup
> commands. Anyone seen this before?
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@linux-speakup.org
> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: weird speakup or hardware bug?
weird speakup or hardware bug? Deedra Waters
` covici
` D. Curtis Willoughby
@ ` Chris Brannon
2 siblings, 0 replies; 4+ messages in thread
From: Chris Brannon @ UTC (permalink / raw)
To: Speakup is a screen review system for Linux.
Deedra Waters <deedra@the-brannons.com> writes:
> I'm not even sure where to begin. switching from arch to gentoo seems to
> have changed certain things like my ethernet now works?
>
> But, what's happening here is that for all of my consoles, speakup has
> the numlock as on and i have to change it before i can use speakup
> commands. Anyone seen this before?
I shouldn't let this thread dangle; we found a solution.
Basically, use setleds to set the current and default state of the
numlock at boot time.
There's a script to do this which is distributed with OpenRC on Gentoo.
But it sets the numlock, instead of clearing it.
I made a new script based on that one, but mine disables the numlock
instead. If you're on Gentoo, you can put the following script in
/etc/init.d and add it to your boot runlevel. Don't overwrite their
numlock script with it; give it a name of its own.
=== BEGIN SCRIPT ===
#!/sbin/runscript
description="Disable numlock for consoles"
ttyn=${rc_tty_number:-${RC_TTY_NUMBER:-12}}
depend()
{
need localmount
keyword -openvz -prefix -vserver -lxc
}
_setleds()
{
[ -z "$1" ] && return 1
local dev=/dev/tty t= i=1 retval=0
[ -d /dev/vc ] && dev=/dev/vc/
while [ $i -le $ttyn ]; do
setleds -D "$1"num < $dev$i || retval=1
: $(( i += 1 ))
done
return $retval
}
stop()
{
true
}
start()
{
ebegin "Disabling numlock on ttys"
_setleds -
eend $? "Failed to disable numlock"
}
=== END SCRIPT ===
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
weird speakup or hardware bug? Deedra Waters
` covici
` D. Curtis Willoughby
` Chris Brannon
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 read-only IMAP folder(s) and NNTP newsgroup(s).