Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.comp.hardware > #17354
| From | Paul <nospam@needed.com> |
|---|---|
| Newsgroups | alt.comp.hardware, comp.sys.raspberry-pi |
| Subject | Re: After several hours usage kybrd & mouse input fail? |
| Date | 2016-02-03 17:41 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <n8tvi7$124$1@dont-email.me> (permalink) |
| References | <n8t8eg$plg$1@dont-email.me> |
Cross-posted to 2 groups.
noSpam@gmail.com wrote:
> No I don't want to just fix it. I want to *KNOW* the reason.
>
> The USB-mouse and PS2-kybrd lose action.
> It seemed to happen often when I plugged a 1.5M USB-cable
> to my WiFi.
>
> I use mostly X86:Linux:Slakware13 but some comp.sys.raspberry-pi
> readers are hardware knowledgable.
>
> Probably related, is that Debian wheezy [which I seldom run]
> became relatedly bad: I think that was installed to boot into X;
> where it now gives no kybrd/mouse response. Booting via GRUB2
> via <maintenance mode> goes to single-user, where keybrd &
> mouse DO respond [but perhaps not for extended use], but
> `startx` == no kybrd & mouse.
>
> So far today Slakware13 is OK, since I use only a short USB-cable
> to the WIFI.
>
> If the USB drivers fail/reset-interrupt-adr, why does the ps2-keybrd
> also fail?
To debug a computer that is (mostly) non-communicative,
use a serial port.
My 2015 purchased desktop, has a serial port (RS232) header on the
motherboard, and it is connected to the SuperI/O. I didn't
even realize it had one, because there was no connector
on the I/O plate. It shows up as a 2x5 connector that
"looks different" than all the USB2 2x5 headers. I made
an adapter cable, to be able to use it. It's a ribbon
cable, and I soldered a DB-9 to one end of it.
You can define a serial console in Linux, and for the SuperI/O
ones, they stay at a fixed location. Whereas, if you purchase
a USB serial port, the device can end up at a different
address when it is plugged in. Making configuration in
advance, more difficult.
As long as a computer answers a "ping" (and you didn't turn
off ICMP on purpose of course), then there is a good chance
you can debug it with a serial port.
As for the path that HID input travels, you can see it's at
the bottom of the diagram, and the tortured path it takes
might not be documented nicely for you. So good luck with that :-)
Notice that the serial console port doesn't even appear
as an "item" on the diagram. I correlate kdb/mouse failure
here, with "DBUS messages", but can never be sure exactly
how that works, or what actually broke. But as long
as your serial console continues to run, and you
debug the affected box from a second working
computer, you'll have much better odds of
figuring it out.
https://upload.wikimedia.org/wikipedia/commons/7/7b/Free_and_open-source-software_display_servers_and_UI_toolkits.svg
E8400 ------- RS232 @ 38.4K --------- Test Machine
machine (null modem cable) (ping-able)
(Debug from Kbd not working...
here...)
You have to set up the serial port on the right hand
machine in the diagram in advance, as the path is not enabled
for you by default.
Serial ports come in two flavors. Buffered with RS232 levels.
Or raw TTL. Raw TTL is used on the serial port inside a
hard drive, or on the serial port inside a home router.
You'd be surprised just how many serial ports are
sitting there in the stuff you own. At least one famous hard
drive bug, a guy figured out how to re-initialize the hard drive
data structures, using a TTL level serial port connection into
the drive. The language hard drives use, is obscure
and not documented. So I have to assume the author
of the technique, happened to have absconded with the
necessary technical documents from work.
With serial port in hand, you want to check the logs,
look at "dmesg" or examine whatever passes for a syslog
or, whatever. Once you're in there, it's then up
to your computer skillz to figure it out.
At one time, I might have advocated for inetd and
telnetd, but they don't make that as easy as you
might hope. That would have been my preferred (less
secure) method for home debug purposes. On my
crusty old Macintosh G4, enabling telnetd is
a single tick box, if I want it :-) You'll not
find that level of convenience, all that often...
Have fun,
Paul
Back to alt.comp.hardware | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
After several hours usage kybrd & mouse input fail? noSpam@gmail.com - 2016-02-03 16:04 +0000
Re: After several hours usage kybrd & mouse input fail? The Natural Philosopher <tnp@invalid.invalid> - 2016-02-03 21:19 +0000
Re: After several hours usage kybrd & mouse input fail? Paul <nospam@needed.com> - 2016-02-03 17:41 -0500
Re: After several hours usage kybrd & mouse input fail? Martin Gregorie <martin@address-in-sig.invalid> - 2016-02-03 23:00 +0000
Re: After several hours usage kybrd & mouse input fail? John McGaw <Nobody@Nowh.ere> - 2016-02-06 10:22 -0500
Re: After several hours usage kybrd & mouse input fail? Martin Gregorie <martin@address-in-sig.invalid> - 2016-02-06 15:50 +0000
Re: After several hours usage kybrd & mouse input fail? noSpam@gmail.com - 2016-02-14 11:19 +0000
Re: After several hours usage kybrd & mouse input fail? Paul <nospam@needed.com> - 2016-02-14 07:29 -0500
Re: After several hours usage kybrd & mouse input fail? noSpam@gmail.com - 2016-02-18 01:54 +0000
Re: After several hours usage kybrd & mouse input fail? Dave Higton <dave@davehigton.me.uk> - 2016-02-18 20:59 +0000
Re: After several hours usage kybrd & mouse input fail? noSpam@gmail.com - 2016-02-20 23:43 +0000
Re: After several hours usage kybrd & mouse input fail? noSpam@gmail.com - 2016-02-14 12:51 +0000
csiph-web