Re: compaq internet keys
Well, there was no joy on /proc/stat. None of the interrupts
responded to "zone" keypresses, no interrupts on the "rocker" switch
on my keypad either. I'm thinking that something needs to be enabled
first. Back to plan A, look at kernel code. :)
Thanks anyway, it's still a useful tip.
--- Peter Cordes wrote:
> On Mon, Mar 26, 2001 at 10:50:14AM -0800, Alan Chen wrote:
> > BTW, I think you might need to be in a non-X console for showkey
> > work.
> Yes, of course.
> > I have similiar keys on my HP laptop, but I haven't gotten to
> > work yet. Talking to the author of the keyboard howto, if showkey
> > doesn't respond to keypresses for your "zone" keys, you might need
> > play with some kernel code to see if the kernel is even receiving
> > for those buttons via the kb interface.
> You can see if pressing them makes anything at all happen, by
> the interrupt counters in /proc/stat. Run
> watch -n1 grep intr /proc/stat
> and press the keys. If any interrupt counters other than the timer
> (irq 0),
> ethernet, and disk (and anything else that generates interrupts by
> go up, then you've got something.
> The first number after intr is the total of all interrupts, the
> after are the counts for irq0, irq1, ...
> BTW, this will work even if there is no driver using that IRQ,
> necessary for /proc/interrupts to show it.
> #define X(x,y) x##y
> Peter Cordes ; e-mail: X(email@example.com. , ns.ca)
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.