LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
 
Search this Thread
Old 01-27-2013, 09:40 PM   #1
thaiiceland
LQ Newbie
 
Registered: Aug 2012
Location: Hofn, Iceland
Distribution: Linux Mint 17.1 "Rebecca"
Posts: 29

Rep: Reputation: Disabled
External USB keyboard not work in Linux (work in Bios and win...)


I have old notebook Acer ferrari 3000. The built-in keyboard does not function any more so I attached a USB-keyboard to that notebook. The USB-keyboard work ok in Windows and in BIOS and all the way to select boot OS in grub, but as soon as the system boots in to the Linux system (I have tried both Mint and now Mageia), the keyboard stop working. I did have other USB-keyboard that did work, but it was much bigger and when I did move from one country to another I did leave that keyboard behind (to big in the notebook bag). Now I have two USB-Keyboard in the home, both working on my desktop computer (in Linux), but not on my notebook computer. Now I am not able to use the notebook unless using Onboard (on-screen) keyboard and that is very very boring.
The Bios configuration don't have any function to enable USB-keyboard and don't have any option to dissable USB2.0 (both solutions I have found when searching the Internet), so I am stuck here.
Is there something I can do to solve this?

I did try to use the inxi command to get informations, but the command seems not to work on this mageia linux. Instead I used the lspci command
[root@localhost ~]# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8378 [KM400/A] Chipset Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
00:07.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
00:08.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link)
00:09.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
00:10.0 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
00:11.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 80)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
01:00.0 VGA compatible controller: ATI Technologies Inc M9+ 5C61 [Radeon Mobility 9200 (AGP)] (rev 01)
Hope there is some solution for this.
thanks.
 
Old 01-27-2013, 10:00 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,112

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
first of all please post the output of commands in code tags
like such
Code:
this is code
second, since you are looking for a usb device the command you are looking for is lsusb

such as
Code:
Bus 001 Device 002: ID 0781:5575 SanDisk Corp. 
Bus 002 Device 003: ID 0bda:0111 Realtek Semiconductor Corp. Card Reader
Bus 003 Device 002: ID 04b8:0101 Seiko Epson Corp. Perfection 636
Bus 004 Device 002: ID 15ca:0101 Textech International Ltd. MIDI Interface cable
Bus 005 Device 002: ID 147a:e00d Formosa Industrial Computing, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 
Old 01-28-2013, 06:10 AM   #3
thaiiceland
LQ Newbie
 
Registered: Aug 2012
Location: Hofn, Iceland
Distribution: Linux Mint 17.1 "Rebecca"
Posts: 29

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frieza View Post
first of all please post the output of commands in code tags
like such
Code:
this is code
second, since you are looking for a usb device the command you are looking for is lsusb

such as
Code:
Bus 001 Device 002: ID 0781:5575 SanDisk Corp. 
Bus 002 Device 003: ID 0bda:0111 Realtek Semiconductor Corp. Card Reader
Bus 003 Device 002: ID 04b8:0101 Seiko Epson Corp. Perfection 636
Bus 004 Device 002: ID 15ca:0101 Textech International Ltd. MIDI Interface cable
Bus 005 Device 002: ID 147a:e00d Formosa Industrial Computing, Inc. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Thank you for your advice.
Firs of all there is no button to make this code, and because I am not posting on forums every day, I am not sure how to make that code (until now when I see it on the input window). I know I can make few testings to try to make the text appears like this, but I would prefer a button or info on how to do it, while I am typing questions.
For the second advice, I am going to work after few minutes, so I will post the lsusb output after I'm back home from work.
Attached Thumbnails
Click image for larger version

Name:	code.gif
Views:	21
Size:	99.6 KB
ID:	11722  
 
Old 01-29-2013, 06:55 PM   #4
thaiiceland
LQ Newbie
 
Registered: Aug 2012
Location: Hofn, Iceland
Distribution: Linux Mint 17.1 "Rebecca"
Posts: 29

Original Poster
Rep: Reputation: Disabled
Sorry for not send the output of the lsusb, yesterday. But I was working until very late (03:00 after midnight), and did just want to go to sleep, when I finished work.
But here it is.

Code:
[live@localhost ~]$ lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0483:1307 SGS Thomson Microelectronics Cytronix 6in1 Card Reader
[live@localhost ~]$
I don't know how this should look like, but notice that the keyboard is not on the list. Only thing here is the card-reader.
 
Old 01-29-2013, 10:33 PM   #5
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,112

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
hmm, well the keyboard for whatever reason isn't detected at ALL, my lsusb doesn't show a kb or mouse because i have a ps/2 mouse but you claim that yours is usb
are you sure of that?
 
Old 01-30-2013, 05:42 AM   #6
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 635
Blog Entries: 2

Rep: Reputation: 54
Put a boot code (or kernel parameter) like "waitusb=xxx" in TinyCoreLinux ?
If I remember correctly it happens one time to me on my AMD K6-III: the new USB mouse and keyboard were not recognized. Personally, I would have a look at https://www.kernel.org/doc/Documenta...parameters.txt and see which code make your mint or mageia waiting for the USB (I could not find the code immediately)

or solution like http://forums.linuxmint.com/viewtopic.php?f=90&t=115561

or acpi=off? http://forums.linuxmint.com/viewtopic.php?f=49&t=32425

.. use google "kernel parameter for usb keyboard recognized at boot mint" or other

Last edited by floppy_stuttgart; 01-30-2013 at 05:49 AM.
 
Old 01-30-2013, 07:16 AM   #7
thaiiceland
LQ Newbie
 
Registered: Aug 2012
Location: Hofn, Iceland
Distribution: Linux Mint 17.1 "Rebecca"
Posts: 29

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frieza View Post
hmm, well the keyboard for whatever reason isn't detected at ALL, my lsusb doesn't show a kb or mouse because i have a ps/2 mouse but you claim that yours is usb
are you sure of that?
I am sure it is a USB keyboard. My notebook (like most notebooks/laptops), don't have any ps/2 ports.
I have read somewhere that these USB keyboards are not all the same and doesn't use same standards. I am not sure, but is it possible that some of these USB kayboards (lot of them) are using ps/2 standards but having USB plugs?
If it is, then it seems to be lot of keyboards (at least on cheap price) that are like this. I have try many keyboards (all of them USB of course, because I don't have ps/2 on my notebook) and only 2 did work. Before I did move to Iceland, I did bought small size keyboard and it did look like it was design small for using with laptops. I was in hurry packing and didn't test it. Now I am not able to use it. Well the truth is that I can use it in windows, but I prefer to use Linux and there somehow Linux just turn it off when Linux load. The numlok led is on until Linux load, the led will then go of and the keyboard will not function more until exit Linux (reboot to windows or just in BIOS).
 
Old 01-30-2013, 07:21 AM   #8
thaiiceland
LQ Newbie
 
Registered: Aug 2012
Location: Hofn, Iceland
Distribution: Linux Mint 17.1 "Rebecca"
Posts: 29

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by floppy_stuttgart View Post
Put a boot code (or kernel parameter) like "waitusb=xxx" in TinyCoreLinux ?
If I remember correctly it happens one time to me on my AMD K6-III: the new USB mouse and keyboard were not recognized. Personally, I would have a look at https://www.kernel.org/doc/Documenta...parameters.txt and see which code make your mint or mageia waiting for the USB (I could not find the code immediately)

or solution like http://forums.linuxmint.com/viewtopic.php?f=90&t=115561

or acpi=off? http://forums.linuxmint.com/viewtopic.php?f=49&t=32425

.. use google "kernel parameter for usb keyboard recognized at boot mint" or other
Thank you for your advice. Because I am going to work after few minutes I will look at this later this evening (if I would not be very late home). I will tell you then if it will work.
 
Old 01-30-2013, 09:17 PM   #9
thaiiceland
LQ Newbie
 
Registered: Aug 2012
Location: Hofn, Iceland
Distribution: Linux Mint 17.1 "Rebecca"
Posts: 29

Original Poster
Rep: Reputation: Disabled
Nothing seems to work.
There is something I have found (searching), but don't understand so much about is USBHID and HIDBP.
Is this something you can deal with in boot parameters, or do I have to compile Kernel (that I don't know anything how do).

Thanks.
 
Old 01-31-2013, 01:05 PM   #10
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 635
Blog Entries: 2

Rep: Reputation: 54
put your keyboard on the place of the card reader?
is there no USB recognition in the bios?
Can you boot from the CD reader? if yes, can you boot with the "UBCD" and USB via plop?

I would try to boot that PC with knoppix using different boot parameters (from USB or from CD).

Or use an older ubuntu https://wiki.ubuntu.com/HardwareSupp...nesLaptopsAcer (your notebook is there)
and try to understand with that which modules are necessary before you move to a newer system (really necessary?)

Last edited by floppy_stuttgart; 01-31-2013 at 01:18 PM.
 
Old 01-31-2013, 07:12 PM   #11
thaiiceland
LQ Newbie
 
Registered: Aug 2012
Location: Hofn, Iceland
Distribution: Linux Mint 17.1 "Rebecca"
Posts: 29

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by floppy_stuttgart View Post
put your keyboard on the place of the card reader?
is there no USB recognition in the bios?
Can you boot from the CD reader? if yes, can you boot with the "UBCD" and USB via plop?

I would try to boot that PC with knoppix using different boot parameters (from USB or from CD).

Or use an older ubuntu https://wiki.ubuntu.com/HardwareSupp...nesLaptopsAcer (your notebook is there)
and try to understand with that which modules are necessary before you move to a newer system (really necessary?)
The card-reader is part of the notebook body, so to plug my keyboard to that port, I would need to open the notebook case and find how the card-reader is plugged to the main-board. I think I am not doing that at the moment. Other USB devices seems to work. I have flash drive that is working and external CD reader/writer that is working well (I did install the Linux using that device because the internal CD reader have some problems to read/write).
It is so long time since I did install the CD, but if I remember right, the keyboard didn't work with the live CD. I will test it tomorrow, to be sure. Sorry for this but I have been having long working days and then spending many hours on that problem and I am just very tired tonight so I want to go to sleep. I thank you for your help but I am just very tired and I will try the CD tomorrow.
The BIOS is very simple with almost nothing to change. Nothing about USB in the BIOS, so I cannot do anything there to solve this. Have to do it in the OS.
Another thing I have been thinking about is USBHID and HIDBP. How does these things work and is it possible to control these settings in the boot parameters. There must be some difference how Linux and Windows working with these HID devices, because I am able to use that Keyboard in Windows, but not with Linux.
One more thing is I don't know or understand (not native English speaking), "UBCD" and USB via plop. What is that and how do I do that?

Edit 1.Feb.2013 14:26 GMT
Now I did try to use live CD and the keyboard stop working as soon as in the Linux OS (Linux Mint 13 Xfce). Here I don't find On-screen keyboard and cannot get the system information (like inxi) in terminal (can use "Character Map" to get the characters, but impossible to press on the "Enter" button).
Starting normally in Linux Mageia and plug in the CD reader/writer and the flash drive (and of course the USB-keyboard) gave me this in lsusb
Code:
[live@localhost ~]$ lsusb

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1a2c:0002  
Bus 003 Device 002: ID 0483:1307 SGS Thomson Microelectronics Cytronix 6in1 Card Reader
Bus 004 Device 004: ID 152e:2507 LG (HLDS) PL-2507 IDE Controller
Bus 004 Device 005: ID 0781:7104 SanDisk Corp. Cruzer Micro Mini 256MB Flash Drive
[live@localhost ~]$
The USB-keyboard isn't seen here.

Last edited by thaiiceland; 02-01-2013 at 08:32 AM.
 
Old 02-01-2013, 08:49 AM   #12
thaiiceland
LQ Newbie
 
Registered: Aug 2012
Location: Hofn, Iceland
Distribution: Linux Mint 17.1 "Rebecca"
Posts: 29

Original Poster
Rep: Reputation: Disabled
I notice one thing. After booting to Linux, then if I use the lsusb I get this.
Code:
[live@localhost ~]$ lsusb

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 1a2c:0002  
Bus 003 Device 002: ID 0483:1307 SGS Thomson Microelectronics Cytronix 6in1 Card Reader
Bus 004 Device 004: ID 152e:2507 LG (HLDS) PL-2507 IDE Controller
Bus 004 Device 005: ID 0781:7104 SanDisk Corp. Cruzer Micro Mini 256MB Flash Drive
[live@localhost ~]$ 0
But if I unplug the USB-keyboard and replug it again, then when using lsusb, one line is missing
Code:
[live@localhost ~]$ lsusb

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0483:1307 SGS Thomson Microelectronics Cytronix 6in1 Card Reader
Bus 004 Device 004: ID 152e:2507 LG (HLDS) PL-2507 IDE Controller
Bus 004 Device 005: ID 0781:7104 SanDisk Corp. Cruzer Micro Mini 256MB Flash Drive
[live@localhost ~]$
The "Bus 001 Device 002: ID 1a2c:0002" line is missing.
 
Old 02-01-2013, 09:39 AM   #13
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 635
Blog Entries: 2

Rep: Reputation: 54
a "pci=noacpi" or "noacpi" boot code?

Last edited by floppy_stuttgart; 02-01-2013 at 09:46 AM.
 
Old 02-01-2013, 12:08 PM   #14
thaiiceland
LQ Newbie
 
Registered: Aug 2012
Location: Hofn, Iceland
Distribution: Linux Mint 17.1 "Rebecca"
Posts: 29

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by floppy_stuttgart View Post
a "pci=noacpi" or "noacpi" boot code?
at the moment I have some problem logging in.
At start I did try to use "noacpi" but was not able to log in to Mageia (error appears). Next I did use the "pci=noacpi" and was able to log in to the Mageia. But the keyboard did not work.
I did then try again to use "noacpi" but the boot will not go all the way in to the system (error). I did thought try few times always result in error.
I don't know but now I am not able to boot to the system normally. Changing the boot parameters to "splash=verbose" I can read between the lines and see something
Code:
/dev/disk/by-uuid/e2a3da57-404a-415c-a59c-a84ced207694: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p option)
[ 83.127340] dracut Warning .... 

[ 84....] hub 3-0:1.0: unable to enumerate USB device on port 2
.....

Dropping to debug shell.

sj: 0: can't access tty: job control turned off
(repair filesystem) [ 90....] hub 3-0:1.0: unable to enumerate USB device on port 2
[ 99...] usb 3-2: new low-speed USB device number 5 using uhci_hcd
[ 114....] hub 3-0:1.0: unable to enumerate USB device on port 2
[ 114...] new low-speed USB device number 6 using uhci_hcd
[ 129....] hub 3-0:1.0: unable to enumerate USB device on port 2
[ 130...] new low-speed USB device number 7 using uhci_hcd
and this seems to keep on long time, always with new number on the USB device, untill the screen will blank and I will just turn off the notebook. At this time the keyboard seems not working (I can see that from the num-lock led, that is off and if I press that button (num-lock), nothing happen. The led is always off.
Maybe I should just give up now, and wait until I have bought new keyboard (taking the notebook to the shop to test the keyboard before I will buy it).
 
Old 02-01-2013, 01:46 PM   #15
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 635
Blog Entries: 2

Rep: Reputation: 54
look at setups for 1a2c:0002

http://ubuntuforums.org/archive/inde...t-1594898.html
http://forums.gentoo.org/viewtopic-t...2-start-0.html
...

= create a new xorg.conf ?


what is in
dmesg
xorg.0.log ?

head up! we will find something... just need few time.

"UBCD" = ultimate boot CD (see the net how to make this CD)
"USB via plop" = the plop bootloader is in the "UBCD" and can start (most probably) an operating system which would be on a bootable USB.
This was an idea from me to see if the USB ports are recognized; but now I think yes. Dont need to follow this path anymore in my opinion.

Last edited by floppy_stuttgart; 02-01-2013 at 02:02 PM.
 
  


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
[SOLVED] my keyboard does not work after bios is done sycho123321 Linux - Hardware 6 11-03-2012 01:04 PM
USB external HD works under Linux, doesn't work under winxp masterclassic General 7 05-24-2010 07:19 AM
How to work with external usb cdroms in linux? agummad Linux - Newbie 5 06-29-2009 04:56 PM
Trackpoint in EnduraPro External USB Keyboard Doesn't Work ajkessel Linux - Hardware 0 04-25-2007 07:28 PM
USB Keyboard won't work for bootloader, but does when I'm in Linux??? glenn69 Linux - Hardware 3 09-20-2005 10:47 PM


All times are GMT -5. The time now is 08:17 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