LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-26-2017, 08:33 AM   #1
penyuan
Member
 
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 190

Rep: Reputation: 19
Question RedHat USB keyboard/mouse not detected w/ usbserial error message


Hello,

I just installed RedHat Enterprise Linux 7.3 on a new system. When booting I see two error messages:
Quote:
usbserial: usb_serial_init - usb_register failed
usbserial: usb_serial_init - returning with error -19
After it gets into the first-boot GUI, my keyboard and mouse are not working. They don't even seem to be powered.

How do I troubleshoot this? Thank you.

P.S. My USB keyboard and mouse works in BIOS and the RHEL GUI installer. I also removed all other USB devices and made sure my keyboard/mouse are connected directly (not through a hub). Trying different ports didn't help.

Last edited by penyuan; 06-26-2017 at 08:38 AM. Reason: Added P.S.
 
Old 06-26-2017, 08:57 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,810

Rep: Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974
Quote:
Originally Posted by penyuan View Post
Hello,
I just installed RedHat Enterprise Linux 7.3 on a new system. When booting I see two error messages:
Code:
usbserial: usb_serial_init - usb_register failed
usbserial: usb_serial_init - returning with error -19
After it gets into the first-boot GUI, my keyboard and mouse are not working. They don't even seem to be powered. How do I troubleshoot this? Thank you.

P.S. My USB keyboard and mouse works in BIOS and the RHEL GUI installer. I also removed all other USB devices and made sure my keyboard/mouse are connected directly (not through a hub). Trying different ports didn't help.
Sounds like an incomplete installation of the X system, since you've ruled out the hardware. Have you tried leaving them unplugged, and plugging them in after booting? Try booting in text-only mode (runlevel 3), and work in the console, and run through the installation steps for X:
https://access.redhat.com/solutions/5238

..or by running
Code:
yum groupinstall "X Window System" "KDE Desktop"
(as root)

And what does Red Hat support say? You're using RHEL 7.3, so you must be paying for it, right?
 
1 members found this post helpful.
Old 06-26-2017, 09:37 AM   #3
penyuan
Member
 
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 190

Original Poster
Rep: Reputation: 19
Question

Thanks @TB0ne. I actually don't get support because I'm signed up with their free of charge developer subscription.

I tried plugging in my keyboard/mouse *after* boot but no difference there. As for booting into the console, my keyboard and mouse shuts down as soon as I leave the GRUB menu so I don't know how to get to the text only mode.

BTW, since this is a clean installation I just re-installed the whole OS, but still the same results... Anything else I can try?
 
Old 06-26-2017, 10:06 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,810

Rep: Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974
Quote:
Originally Posted by penyuan View Post
Thanks @TB0ne. I actually don't get support because I'm signed up with their free of charge developer subscription.

I tried plugging in my keyboard/mouse *after* boot but no difference there. As for booting into the console, my keyboard and mouse shuts down as soon as I leave the GRUB menu so I don't know how to get to the text only mode.
If you're not paying for support, then loading CentOS would be much better. Also, checking the Red Hat knowledgebase would get you some good answers:
https://access.redhat.com/documentat...UB_2_Menu.html

Instead of keying "emergency" as it says in the example, just put a 3. You can run your yum updates/re-installs from there.
Quote:
BTW, since this is a clean installation I just re-installed the whole OS, but still the same results... Anything else I can try?
Again, since your hardware is working, this leaves software, and since it only happens in the GUI, that leaves you back to an incomplete GUI installation. The better question here is, why are you using RHEL 7 in the first place? RHEL isn't really suited well for 'consumer' hardware, but is more for back-end servers. Any development work you do on something like Fedora, Debian, or openSUSE should be pretty portable between most distros. I'd still use CentOS 7.x instead of RHEL developer, though.
 
1 members found this post helpful.
Old 06-26-2017, 11:22 AM   #5
penyuan
Member
 
Registered: Oct 2009
Distribution: Scientific Linux 6
Posts: 190

Original Poster
Rep: Reputation: 19
Question

This is strange (but good)... I re-installed a couple more times, each time slightly tweaking the settings. In the end by changing the Security Policy to something else made my USB devices work, not sure why...

Anyway, I see your point about choice of OS. I just wanted to install RHEL and learn about it as practice. The free-of-charge subscription comes of software updates, is there another reason why CentOS (or its derivatives?) is better in this case? Is it easier to get support for CentOS?
 
Old 06-26-2017, 11:23 AM   #6
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 5,770

Rep: Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133Reputation: 2133
I'm not sure switching to CentOS would help. Several people seem to have this problem, and one solved it by switching from CentOS to Red Hat! This seems to be one of those rare problems that hasn't really been tackled yet.

One of my dicta is "if in doubt, suspect SELinux". Try adding selinux=0 to the kernel parameters in Grub and see what happens.
 
2 members found this post helpful.
Old 06-26-2017, 11:32 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,810

Rep: Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974Reputation: 6974
Quote:
Originally Posted by penyuan View Post
This is strange (but good)... I re-installed a couple more times, each time slightly tweaking the settings. In the end by changing the Security Policy to something else made my USB devices work, not sure why...

Anyway, I see your point about choice of OS. I just wanted to install RHEL and learn about it as practice. The free-of-charge subscription comes of software updates, is there another reason why CentOS (or its derivatives?) is better in this case? Is it easier to get support for CentOS?
Right now easier? No. In 12 months when your 'free' subscription has to be renewed (not a hard process), it's fine too. But to me, it would be too much of a pain to all of a sudden lose my updating/installing capabilities, until I go through a web-form, sign in, etc. Too much hassle for a development box. CentOS starts free and remains so. For a PRODUCTION server? Absolutely worth RHEL, but pay for support. If you're just learning, you can pretty much just pick ANY linux distro. The differences between them are fairly small, and you'll have the same tools available to you. For example, I use openSUSE, and it uses zypper, where RHEL/CentOS/Fedora use yum. Same thing, but different. If you learn RHEL and go some place where SuSE Enterprise is used, you'll still have to deal with a little learning curve. Just my opinion....I'd not use a server-class OS for development, but each to their own.

And I'm with DavidMcCann here, and didn't even think of selinux, but it makes total sense. When I poked at things on the RHEL site, it alluded to the X system missing a component, which is why I answered as I did.
 
1 members found this post helpful.
Old 06-26-2017, 08:20 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,836

Rep: Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370
Might look at this page for some things to try. https://www.centos.org/forums/viewtopic.php?t=7590
 
1 members found this post helpful.
  


Reply

Tags
mouse keyboard usb, rhel7, usb, usb not working


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
usb mouse NOT detected, but usb keyboard IS detected mr.anderson Slackware 16 04-26-2006 09:09 PM
Redhat 9 USB mouse keyboard! Jaykay3k Linux - Newbie 1 03-12-2005 10:24 PM
Redhat 9 USB mouse keyboard! Jaykay3k Linux - General 3 02-25-2005 08:53 AM
Genius optical USB mouse not detected in REDHAT 7.3 XBITRO Linux - Hardware 2 10-28-2003 04:18 PM
Genius optical USB mouse not detected in REDHAT 7.3 XBITRO Linux - Newbie 1 10-28-2003 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:58 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
Open Source Consulting | Domain Registration