LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-11-2010, 04:02 AM   #16
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,161

Rep: Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118

15 posts and still not sorted :-(.
I had one of these a long time back on older hardware. It was with a network card. I eventually found windows selected irq11 and linux sgave it irq12, making it invisible.My box had aa via chipset and was giving the same 2 halfassed irqs to everything

Try booting with noapic on the command line. sometimes it needed
acpi=off noapic
 
Old 04-12-2010, 03:09 PM   #17
AndrewF
LQ Newbie
 
Registered: Apr 2010
Posts: 16

Original Poster
Rep: Reputation: 0
I must have been running X for the working lsmod, because I just did it again for both working and non-working boots, and the only difference was in the order of some of the entries. When I ran it with X, those two modules showed up at the top.

I find it interesting that the mouse, which always works, seem to show up in lsmod as psmouse, but there is never any mention of the keyboard at all.

I tried modprobe usbhid, but it complained of an "invalid argument". usbkbd was not found.

business_kid: I guess I'll try that, but I'm not sure why you suggest it. I'm doing some reading about those options, but could you explain why you think that would help?
 
Old 04-12-2010, 06:30 PM   #18
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_12{.0|.1}
Posts: 5,129
Blog Entries: 11

Rep: Reputation: 3049Reputation: 3049Reputation: 3049Reputation: 3049Reputation: 3049Reputation: 3049Reputation: 3049Reputation: 3049Reputation: 3049Reputation: 3049Reputation: 3049
Quote:
Originally Posted by AndrewF View Post
I must have been running X for the working lsmod...

I find it interesting that the mouse, which always works, seem to show up in lsmod as psmouse, but there is never any mention of the keyboard at all.

I tried modprobe usbhid, but it complained of an "invalid argument". usbkbd was not found.

I'm not sure why you suggest it... could you explain why you think that would help?
OK on the i810 module - I am sure that you were just in X, but that leaves us with no extra or missing modules when it fails or works.

I will try to look more into the usbhid module - it may require some parameters, but I was hoping it would just load and work.

Like you, I am stil confused with what module, if any, is handling the keyboard input - nothing in the lsmod list appears related. So I kind of assume it is being handled by the kernel and the BIOS directly - but that is a little outside my current knowledge base. But the point is, if we can identify the driver - or force it to use one, then we will have a handle to grab it by.

I can't speak for business_kid, but what the APIC and ACPI handle are interrupts and power control, respectively. I have had to disable ACPI on a few systems, usually to enable ethernet devices which can quit working otherwise. It is a shot in the dark - but it often hits a target!

The acpi allows several parameters, but usually adding 'acpi=off' to your boot append parameters will help if anything does. If your USB device is PCI the 'pci=noacpi' might also help.

To disable APIC add 'noapic' to the boot parameters.

For a full list of kernel params if you have the kernel source installed you will probably find it in:

/usr/src/linux/Documentation/kernel-parameters.txt

I'll look for a better understanding of the usbhid module - my thinking being that if we get the keyboard under 'our' own control we can figure out what is happening.

You might want to try the APIC and ACPI boot parameters, too (and read the docs). I have found the ACPI options to be the most helpful for non-working hardware, but of curse, YMMV!

And one last question - is that a Dell dude? In my readings I found mention of a particular Dell keyboard that had no work around - and would intermittently fail on boot... any chance of that?

Last edited by astrogeek; 04-12-2010 at 06:32 PM.
 
Old 04-13-2010, 03:17 AM   #19
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,161

Rep: Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118
Quote:
Originally Posted by AndrewF View Post
business_kid: I guess I'll try that, but I'm not sure why you suggest it. I'm doing some reading about those options, but could you explain why you think that would help?
It may help or change things. With the APIC off, (APIC is the Interrupt Controller) it's back to 16 interrupts. Most hardware problems of this sort are interrupt related. Now you are in the position where mouse and keyboard have to share the same interrupt on a ps2 port. It's a change in interrupts you can painlessly make. Have you a via chipset by any chance?
On early Via chipsets (Up to 2002 at least) the via chipset had a poor APIC which gave the same 2 halfassed irqs to everything. Try 'cat /proc/interrupts'
 
Old 04-14-2010, 01:16 AM   #20
AndrewF
LQ Newbie
 
Registered: Apr 2010
Posts: 16

Original Poster
Rep: Reputation: 0
Nope, it doesn't seem to have an effect. It booted with those params and still had no keyboard. Anyway, I like having the power button play nicely with the OS. I had to restart it through the network.
 
Old 04-15-2010, 03:16 AM   #21
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,161

Rep: Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118
Quote:
Originally Posted by AndrewF View Post
Nope, it doesn't seem to have an effect. It booted with those params and still had no keyboard. Anyway, I like having the power button play nicely with the OS. I had to restart it through the network.
I'm glad to hear it. It does probably eliminate interrupts as the issue.Now you say windows works these things. Can you find what resources windows uses for them? They might work in linux also.
 
Old 04-15-2010, 04:50 PM   #22
AndrewF
LQ Newbie
 
Registered: Apr 2010
Posts: 16

Original Poster
Rep: Reputation: 0
According to the Device Manager, the keyboard uses the drivers kbdclass.sys and kbdhid.sys, and the mouse uses mouclass.sys and mouhid.sys, all apparently provided by Microsoft. I just tried it on my Vista machine, which has never seen this setup, and it worked fine there, even before it finished its little "installing device drivers" routine. So I guess its standard stuff.
 
Old 04-16-2010, 10:52 AM   #23
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,161

Rep: Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118
Quote:
Originally Posted by AndrewF View Post
According to the Device Manager, the keyboard uses the drivers kbdclass.sys and kbdhid.sys, and the mouse uses mouclass.sys and mouhid.sys, all apparently provided by Microsoft. I just tried it on my Vista machine, which has never seen this setup, and it worked fine there, even before it finished its little "installing device drivers" routine. So I guess its standard stuff.
It's the resources tab I would have been interested in. Sounds like you have vista. How sad a version of windows that is. I have it myself.
 
Old 04-16-2010, 01:28 PM   #24
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
Try issuing the following as a lilo option at boot time:-

Code:
i8042.reset=1
If it works, then add it to lilo.conf
 
Old 04-16-2010, 04:26 PM   #25
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
I've noticed the same problems as the op, but I'm running -current64 on a (fairly new Toshiba) laptop. Every once in a while, the keyboard just does not work but it does in LiLO. Will be following this thread.
 
Old 04-17-2010, 07:02 PM   #26
AndrewF
LQ Newbie
 
Registered: Apr 2010
Posts: 16

Original Poster
Rep: Reputation: 0
@business_kid: I have XP on the computer in question. I've just done most of my posting from Vista, on the other side of the desk. I don't seem to have a resources tab in XP, either, at least not in the driver properties dialog.

@vdemuth: I tried that and had several problem-free boots, but then the boot crashed with a kernel panic error, roughly:
Code:
stack:
[<e0e856ce>] tulip_interrupt+0x51/0xe30
[<e0e856ce>] tulip_interrupt+0x51/0xe30
[<c0145271>] getnstimeofday+0x51/0x120
[<c0156938>] handle_IRQ_event+0x28/0x50
[<c0157f24>] handle_level_irq+0x64/0xd0
[<c0105523>] do_IRQ+0x43/0x90
[<c0113846>] smp_apic_timer_interrupt+0x56/0x90
[<c0103927>] common_interrupt+0x27/0x2c
[<c079007b>] get_cpu_leaves+0x101/0x198
[<c0109cf2>] default_idle+0x42/0x50
[<c01022e4>] cpu_idle+0x64/0x80
...
Kernel Panic - not syncing: fatal exception in interrupt
Keyboard and mouse did nothing, nor did the power button. I had to pull the plug. It booted okay after that (disk check went fine), but I took those options out of lilo.conf (put there for convenience while I repeatedly restarted). I guess it was worth a shot.

@manwichmakesameal: I knew there had to be others!
 
Old 04-22-2010, 12:15 AM   #27
AndrewF
LQ Newbie
 
Registered: Apr 2010
Posts: 16

Original Poster
Rep: Reputation: 0
*bump*
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cronjob not working intermittently sinfuldips Solaris / OpenSolaris 4 02-04-2010 01:31 AM
wireless works intermittently bogdanpa Linux - Wireless Networking 0 02-11-2007 09:17 AM
Broadcom network card working intermittently in laptop qscomputing Linux - Hardware 5 05-17-2006 10:26 AM
Samba share working intermittently - don't know why swampdog2002 Linux - General 3 08-23-2005 07:54 AM
Left Shift key on keyboard fails intermittently WHY?!?! LaidBackWebSage Linux - Hardware 5 09-01-2004 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration