LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 08-21-2016, 09:25 PM   #1
degg9770
LQ Newbie
 
Registered: Aug 2016
Posts: 1

Rep: Reputation: Disabled
Mouse and Keyboard dont work on second boot


Just booted to tahrpup 6.0 (64 bit) on an acer 5315. Works like a charm!

BUT after I go through the motions of setting it up the way I like it I go for a reboot to create my save file.

I choose ext2 with no encryption at 4gb on a USB stick. everything seems to work fine but when I reboot (everything loads good) the mouse and keyboard (USB) dont work, neither does the touchpad and laptop keyboard.

Any ideas?
 
Old 08-22-2016, 08:53 AM   #2
flshope
Member
 
Registered: Jul 2009
Location: Murfreesboro TN (United States)
Distribution: Ubuntu 16.04.1, 14.04.4, Debian 8.6
Posts: 130
Blog Entries: 36

Rep: Reputation: 26
I encountered this problem a year or so ago when I was testing several distributions on an older machine after Ubuntu dropped support for my graphics card. With Puppy running from a live-CD, the mouse stopped working after reboot, though the keyboard was still working. But the problem was more extensive: I am using a KVM switch with three machines, and they all lost mouse control after a session with Puppy on the one machine. To recover, I had to shut down all three machines, unplug everything from the power source (this rebooted the KVM switch), and reboot the machines. Then they all started working until I switched over to the Puppy machine. So I concluded it was all some sort of interaction with the KVM switch. So I just never installed Puppy -- I chose Debian instead.
 
Old 09-10-2016, 06:26 PM   #3
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45
Use the pfix=nox boot parameter at second boot.
That should boot to kernel cmdline.
If keyboard works there, it is likely a Xorg server problem.
Keyboard should be compiled into the kernel, some keyboard drivers not.
psmouse.ko is sometimes compiled as module and sometimes not.
psmouse.ko and evdev.ko are the kernel drivers for the touchpad.
/etc/modules/DOTconfig-* should contain the .config file at kernel compile time.
Open that in geany texteditor and search for KBD and EVDEV .
CONFIG_NAME=y is inside the kernel, =m is loadable module.
If module, udev may have not load them by whatever cause .

To check a log file, type mp /tmp/bootsysinit.log at the kernel command line.
There may be hints.
Also /initrd/tmp/bootinit.log may contain some hints.

If that all is OK, then there is only the possibility that Xorg has problems.

In the kernel commandline you could try
Code:
sleep 10; xwin & sleep 60; killall -9 X
to run startx to start Xorg for one minute and then open /var/log/Xorg.0.log in mp console editor .
Also /tmp/xerrs.log may be of interest.

Xorg has switches for udev . Puppy's default /etc/X11/xorg.conf0 could have lines as

Code:
# +=============================+
# |    If Input Problems :      |
# +-----------------------------+

     ## Lupu-528 ubuntu-xorg-1.7.6
     ## (**) Option "AutoAddDevices" "false"
     ## (**) Not automatically adding devices

     ##(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
     ##(WW) Disabling Mouse0
     ##(WW) Disabling Keyboard0

    Option "AllowEmptyInput" "off"
    Option "AllowMouseOpenFail" "off"


     ## Slacko-5571
     ## (**) Option "AutoAddDevices" "false"
     ## (**) Not automatically adding devices
     ## (==) Automatically enabling devices

     ## (==) Automatically adding devices
     ## (==) Automatically enabling devices
     ## (II) The server relies on udev to provide the list of input devices.
     ## If no devices become available, reconfigure udev or disable AutoAddDevices.

    Option "AutoAddDevices"    "off"
    Option "AutoEnableDevices" "off"
Check if they are still in the /etc/X11/xorg.conf file
that got created using the xorg.conf0 template
( or any other template xorg.conf file in /etc/X11 ) .
Puppy rewrites the xorg.conf file if diagnosting output of some tools say different things each time,
since it thinks, that the different output is related to USB plug in to another HW configuration.
 
Old 09-10-2016, 06:32 PM   #4
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 314

Rep: Reputation: 45
Use the pfix=nox boot parameter at second boot.
That should boot to kernel cmdline.
If keyboard works there, it is likely a Xorg server problem.
Keyboard should be compiled into the kernel, some keyboard drivers not.
psmouse.ko is sometimes compiled as module and sometimes not.
psmouse.ko and evdev.ko are the kernel drivers for the touchpad.
/etc/modules/DOTconfig-* should contain the .config file at kernel compile time.
Open that in geany texteditor and search for KBD and EVDEV .
CONFIG_NAME=y is inside the kernel, =m is loadable module.
If module, udev may have not load them by whatever cause .

To check a log file, type mp /tmp/bootsysinit.log at the kernel command line.
There may be hints.
Also /initrd/tmp/bootinit.log may contain some hints.

If that all is OK, then there is only the possibility that Xorg has problems.

In the kernel commandline you could try
Code:
sleep 10; xwin & sleep 60; killall -9 X
to run startx to start Xorg for one minute and then open /var/log/Xorg.0.log in mp console editor .
Also /tmp/xerrs.log may be of interest.

Xorg has switches for udev . Puppy's default /etc/X11/xorg.conf0 could have lines as

Code:
# +=============================+
# |    If Input Problems :      |
# +-----------------------------+

     ## Lupu-528 ubuntu-xorg-1.7.6
     ## (**) Option "AutoAddDevices" "false"
     ## (**) Not automatically adding devices

     ##(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
     ##(WW) Disabling Mouse0
     ##(WW) Disabling Keyboard0

    Option "AllowEmptyInput" "off"
    Option "AllowMouseOpenFail" "off"


     ## Slacko-5571
     ## (**) Option "AutoAddDevices" "false"
     ## (**) Not automatically adding devices
     ## (==) Automatically enabling devices

     ## (==) Automatically adding devices
     ## (==) Automatically enabling devices
     ## (II) The server relies on udev to provide the list of input devices.
     ## If no devices become available, reconfigure udev or disable AutoAddDevices.

    Option "AutoAddDevices"    "off"
    Option "AutoEnableDevices" "off"
Check if they are still in the /etc/X11/xorg.conf file
that got created using the xorg.conf0 template
( or any other template xorg.conf file in /etc/X11 ) .
Puppy rewrites the xorg.conf file if diagnosting output of some tools say different things each time,
since it thinks, that the different output is related to USB plug in to another HW configuration.
 
  


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
hp wireless keyboard & mouse, keyboard works, mouse do not work not working john hughes Linux - Desktop 2 04-04-2016 11:00 AM
boot single mode keyboard and mouse don't work ron7000 Linux - General 1 10-21-2015 07:13 AM
Keyboard and mouse don't work after USB boot invicta Linux - Hardware 1 01-21-2007 11:56 PM
keyboard commands and mozilla dont work Lleb_KCir Linux - Software 2 10-13-2004 06:55 PM
My mouse and keyboard dont work under X fatal Linux - General 4 06-08-2001 10:45 AM


All times are GMT -5. The time now is 06:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration