LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-22-2020, 08:04 AM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
Can anyone explain why some kernels react so oddly to my usb mouse?


I first noticed this in OpenBSD. When I first installed it, I had to use the console quite a lot and I noticed that the mouse seemed to be dropped and reattached constantly. I checked the plug and pushed it in hard but that didn't cure the annoyance. Then I noticed that once I was in X, the problem stopped. If I switched out to a console, it started again.

Naturally I thought this was just a BSD thing but I've just installed Bodhi and their kernel does exactly the same thing. Needless to say, I've never had this problem in Slackware!

I know that X has its own mouse driver (in Linux it's evdev) but the usb port itself is controlled by the kernel even in X, so I don't see how any purely physical problem there could be console-specific.

It's not really a problem but I would like an explanation all the same.

Last edited by hazel; 02-22-2020 at 08:11 AM.
 
Old 02-22-2020, 09:20 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,498

Rep: Reputation: Disabled
I've had this happen on some OS's, but once away from the first console, (VC1), it all settles down, I just live with it.
 
Old 02-22-2020, 09:52 AM   #3
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583

Original Poster
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
You've just said in one sentence what took me four paragraphs! I'm quite prepared to "live with it". After all, how often does one use a virtual console nowadays? But I want to know what causes it all the same.

btw, it's not just on console 1. You notice it more there because you see all the system console messages, but any virtual console behaves the same way.
 
Old 02-22-2020, 10:51 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by hazel View Post
I checked the plug and pushed it in hard but that didn't cure the annoyance.
I know that we, and yourself included, intuitively know that this is not the best idea ... but yet some high percentage of us might do precisely that.

Uhm ... not enough information? (And perhaps it doesn't matter, because you've settled and are not overly concerned.)

I mean, why is your mouse special? I realize a USB HID should be "the same". But my point here is for all of your Linux distribution, your PC, and the mouse. What models/versions/etc are they all? Because you may have an extremely old PC, maybe it only supports USB1.1, and maybe certain Linux distributions "support" it, but there are problems that aren't entirely fixed. Maybe your mouse is "special".

This week, I visited someone's desk and they had a "trackball mouse", I know people use them, but you don't see those much these days.

And then, during a meeting, someone had a moderately, old school, wired USB optical mouse, picture attached. I know you can buy those now, but this was a very old Microsoft, I know I've seen them for about 15 years. And given that the former off-white was yellowed, it obviously was old.

Upon my comment, "nice mouse", I got three people joking loudly, "Oh, he's got 2 or 3 dozen of those at his house!"

So you know I couldn't resist, and I joked, "Got a bunch of XT keyboards at home too?!?"

Their answer was delivered deadpan, matter of fact, "Not anymore, I had to finally give up on them because I just could not contend further with the Type-1 conversion to PS/2 and then to USB, plus all the cables and connectors were dying on me. But I did redo the wiring harness on one of them to full USB and got it to work. Best damn keyboard ever though."
Attached Thumbnails
Click image for larger version

Name:	4152P65PABL._SL500_AC_SS350_.jpg
Views:	7
Size:	8.5 KB
ID:	32621  
 
1 members found this post helpful.
Old 02-22-2020, 11:20 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583

Original Poster
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
Quote:
Originally Posted by rtmistler View Post
I know that we, and yourself included, intuitively know that this is not the best idea ... but yet some high percentage of us might do precisely that.
Sorry, but what's wrong with that? When I was at work and anything went wrong with a computer, the first thing you were told to do (before you phoned the IT department) was to push all the plugs in firmly.
Quote:
I mean, why is your mouse special? I realize a USB HID should be "the same". But my point here is for all of your Linux distribution, your PC, and the mouse. What models/versions/etc are they all? Because you may have an extremely old PC, maybe it only supports USB1.1, and maybe certain Linux distributions "support" it, but there are problems that aren't entirely fixed. Maybe your mouse is "special".
It's special, all right! It actually came with the computer, along with a usb keyboard. The whole machine cost £84 and they threw in the peripherals for free. But I replaced the keyboard with an old ps2 Logitech because I was short of usb sockets, and also because the Lenovo keyboard has function keys that are difficult to use. The machine (a Lenovo Thinkstation) is old, but not spectacularly so. It has both usb2 and usb3 ports and uses the xhci driver module.

I've noticed that neither the mouse nor the keyboard work in rEFInd, so maybe there is something unusual about them.

Last edited by hazel; 02-22-2020 at 11:23 AM.
 
Old 02-22-2020, 12:51 PM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by hazel View Post
Sorry, but what's wrong with that? When I was at work and anything went wrong with a computer, the first thing you were told to do (before you phoned the IT department) was to push all the plugs in firmly.
Sorry I was envisioning excessive force as opposed with controlled firmness.
 
  


Reply



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
Can anyone tell or explain to me why ? jattis03 General 6 03-19-2018 07:43 PM
LXer: Web Workshops react.js -- Basic Demo with react.js LXer Syndicated Linux News 0 07-23-2017 12:11 PM
LXer: Why are Android anti-virus firms so slow to react on Carrier IQ? LXer Syndicated Linux News 0 12-10-2011 02:13 AM
[SOLVED] Why are there no smp kernels on 64 bit slack? Can someone explain? igadoter Slackware 11 09-03-2010 11:16 AM
LXer: Why We Must React to ACTA LXer Syndicated Linux News 2 01-10-2010 03:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:26 PM.

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
Open Source Consulting | Domain Registration