Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xorg no onboard keyboard,mouse. external usb work (laptop)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Jara0
n00b
n00b


Joined: 08 Jan 2016
Posts: 18

PostPosted: Sat Apr 08, 2017 2:59 pm    Post subject: xorg no onboard keyboard,mouse. external usb work (laptop) Reply with quote

Symptom: Upon typing startx i lose the ability to use my touchpad and laptop keyboard. desktop appears normally. usb attached mouse and keyboard still work.

Background: I updated world recently. Went mostly smoothly with a few dependency issues that i resolved. Was working with the same 4.8.17 kernel (hardened) before world update.

lspci doesn't mention a synaptic touchpad or a keyboard.

Things iv tried.

rebuild kernel
emerge -av1 $(qlist -IC x11-drivers)
emerge -1 glib dbus dbus-glib eudev
emerge -aveD @system --keep-going
restarting udev and dbus once in desktop to see if it resturns.

not sure whats causing this. Any advice is appreciated.
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3789
Location: sleeping in the bathtub

PostPosted: Sat Apr 08, 2017 3:52 pm    Post subject: Reply with quote

You said "typing startx", so the laptop keyboard works just fine on the console, then?

What do you have INPUT_DEVICES set to? ( `emerge -pv xorg-drivers` )

What do you have under /dev/input/. and it's subdirectories?
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6971
Location: Saint Amant, Acadiana

PostPosted: Sat Apr 08, 2017 3:52 pm    Post subject: Reply with quote

lspci does not list USB or PS/2 devices, obviously.
See your Xorg log for clues.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Jara0
n00b
n00b


Joined: 08 Jan 2016
Posts: 18

PostPosted: Sat Apr 08, 2017 5:45 pm    Post subject: Reply with quote

Yes, the keyboard works normally at the console, prior to startx.

INPUT_DEVICES="evdev keyboard mouse synaptics void"

user@blue0 /dev/input $ ls -R *
event0 event11 event14 event17 event3 event6 event9 mouse1
event1 event12 event15 event18 event4 event7 mice mouse2
event10 event13 event16 event2 event5 event8 mouse0

by-id:
usb-Cypress_Sem_PS2_USB_Browser_Combo_Mouse-event-mouse
usb-Cypress_Sem_PS2_USB_Browser_Combo_Mouse-mouse
usb-NMB_Dell_USB_7HK_Keyboard-event-if01
usb-NMB_Dell_USB_7HK_Keyboard-event-kbd

by-path:
pci-0000:00:1a.0-usb-0:1.1.3.1:1.0-event-mouse
pci-0000:00:1a.0-usb-0:1.1.3.1:1.0-mouse
pci-0000:00:1a.0-usb-0:1.1.3.2.1:1.0-event-kbd
pci-0000:00:1a.0-usb-0:1.1.3.2.1:1.1-event
platform-i8042-serio-0-event-kbd
platform-i8042-serio-1-event-mouse
platform-i8042-serio-1-mouse
platform-i8042-serio-2-event-mouse
platform-i8042-serio-2-mouse
platform-thinkpad_acpi-event




------------------------------------------

Code:

[978404.950] (II) No input driver specified, ignoring this device.
[978404.950] (II) This device may have been added with another device file.
[978405.095] (II) config/udev: Adding input device Cypress Sem PS2/USB Browser Combo Mouse (/dev/input/event4)
[978405.095] (**) Cypress Sem PS2/USB Browser Combo Mouse: Applying InputClass "evdev pointer catchall"
[978405.095] (II) Using input driver 'evdev' for 'Cypress Sem PS2/USB Browser Combo Mouse'
[978405.095] (**) Cypress Sem PS2/USB Browser Combo Mouse: always reports core events
[978405.095] (**) evdev: Cypress Sem PS2/USB Browser Combo Mouse: Device: "/dev/input/event4"
[978405.160] (--) evdev: Cypress Sem PS2/USB Browser Combo Mouse: Vendor 0x5fe Product 0x11
[978405.160] (--) evdev: Cypress Sem PS2/USB Browser Combo Mouse: Found 9 mouse buttons
[978405.160] (--) evdev: Cypress Sem PS2/USB Browser Combo Mouse: Found scroll wheel(s)
[978405.160] (--) evdev: Cypress Sem PS2/USB Browser Combo Mouse: Found relative axes
[978405.160] (--) evdev: Cypress Sem PS2/USB Browser Combo Mouse: Found x and y relative axes
[978405.160] (II) evdev: Cypress Sem PS2/USB Browser Combo Mouse: Configuring as mouse
[978405.160] (II) evdev: Cypress Sem PS2/USB Browser Combo Mouse: Adding scrollwheel support
[978405.160] (**) evdev: Cypress Sem PS2/USB Browser Combo Mouse: YAxisMapping: buttons 4 and 5
[978405.160] (**) evdev: Cypress Sem PS2/USB Browser Combo Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[978405.160] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3.1/1-1.1.3.1:1.0/0003:05FE:0011.0049/input/input89/event4"
[978405.160] (II) XINPUT: Adding extended input device "Cypress Sem PS2/USB Browser Combo Mouse" (type: MOUSE, id 6)
[978405.161] (II) evdev: Cypress Sem PS2/USB Browser Combo Mouse: initialized for relative axes.
[978405.162] (**) Cypress Sem PS2/USB Browser Combo Mouse: (accel) keeping acceleration scheme 1
[978405.162] (**) Cypress Sem PS2/USB Browser Combo Mouse: (accel) acceleration profile 0
[978405.162] (**) Cypress Sem PS2/USB Browser Combo Mouse: (accel) acceleration factor: 2.000
[978405.162] (**) Cypress Sem PS2/USB Browser Combo Mouse: (accel) acceleration threshold: 4
[978405.651] (II) config/udev: Adding input device NMB Dell USB 7HK Keyboard (/dev/input/event6)
[978405.651] (**) NMB Dell USB 7HK Keyboard: Applying InputClass "evdev keyboard catchall"
[978405.651] (II) Using input driver 'evdev' for 'NMB Dell USB 7HK Keyboard'
[978405.651] (**) NMB Dell USB 7HK Keyboard: always reports core events
[978405.651] (**) evdev: NMB Dell USB 7HK Keyboard: Device: "/dev/input/event6"
[978405.651] (--) evdev: NMB Dell USB 7HK Keyboard: Vendor 0x413c Product 0x2001
[978405.651] (--) evdev: NMB Dell USB 7HK Keyboard: Found 20 mouse buttons
[978405.652] (--) evdev: NMB Dell USB 7HK Keyboard: Found keys
[978405.652] (II) evdev: NMB Dell USB 7HK Keyboard: Forcing relative x/y axes to exist.
[978405.652] (II) evdev: NMB Dell USB 7HK Keyboard: Configuring as mouse
[978405.652] (II) evdev: NMB Dell USB 7HK Keyboard: Configuring as keyboard
[978405.652] (**) evdev: NMB Dell USB 7HK Keyboard: YAxisMapping: buttons 4 and 5
[978405.652] (**) evdev: NMB Dell USB 7HK Keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[978405.652] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3.2/1-1.1.3.2.1/1-1.1.3.2.1:1.1/0003:413C:2001.004B/input/input91/event6"
[978405.652] (II) XINPUT: Adding extended input device "NMB Dell USB 7HK Keyboard" (type: KEYBOARD, id 7)
[978405.652] (**) Option "xkb_rules" "evdev"
[978405.659] (II) config/udev: Adding input device NMB Dell USB 7HK Keyboard (/dev/input/event5)
[978405.659] (**) NMB Dell USB 7HK Keyboard: Applying InputClass "evdev keyboard catchall"
[978405.659] (II) Using input driver 'evdev' for 'NMB Dell USB 7HK Keyboard'
[978405.659] (**) NMB Dell USB 7HK Keyboard: always reports core events
[978405.659] (**) evdev: NMB Dell USB 7HK Keyboard: Device: "/dev/input/event5"
[978405.659] (--) evdev: NMB Dell USB 7HK Keyboard: Vendor 0x413c Product 0x2001
[978405.659] (--) evdev: NMB Dell USB 7HK Keyboard: Found keys
[978405.659] (II) evdev: NMB Dell USB 7HK Keyboard: Configuring as keyboard
[978405.659] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3.2/1-1.1.3.2.1/1-1.1.3.2.1:1.0/0003:413C:2001.004A/input/input90/event5"
[978405.659] (II) XINPUT: Adding extended input device "NMB Dell USB 7HK Keyboard" (type: KEYBOARD, id 8)
[978405.659] (**) Option "xkb_rules" "evdev"


[Moderator edit: unchecked Disable BBCode in this post so that OP's code tags work. -Hu]
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Sat Apr 08, 2017 6:30 pm    Post subject: Reply with quote

Code:
emerge wgetpaste;wgetpaste /var/log/Xorg.0.log



when xorg. gives no clue => above => do this below

Quote:
Was working with the same 4.8.17 kernel (hardened) before world update.


Code:
tail -10000 /var/log/emerge.log


Choose a number wisely which shows what you have updated.

So you can narrow it down.
Back to top
View user's profile Send private message
Jara0
n00b
n00b


Joined: 08 Jan 2016
Posts: 18

PostPosted: Sat Apr 08, 2017 7:03 pm    Post subject: Reply with quote

The problem is that emerge -aveD1 rebuilt ~350 for system. So those flood the logs. And prior to that ~300 got rebuilt for world.

I also noticed that eth0 is not being brought up automatically by NetworkManager. Normally this ends up being a dbus thing but iv rebuilt all that stuff a few times.

Additionally not using any xorg.conf file. Iv been letting startx autoconfigure for some time.
Back to top
View user's profile Send private message
tundra
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 97

PostPosted: Sat Apr 08, 2017 8:22 pm    Post subject: Reply with quote

This sounds very much like what I am experiencing. I lost keyboard/mouse/sound plus network-manager stopped working after an update I did in Feb. USB keyboard/mouse would work, but only if I plugged in after X started.

I resolved the keyboard/mouse/sound issues by downgrading to udev-init-scripts-27 (from the newly updated -32). I do not know why this worked, but these issues all went back to normal after the downgrade and a reboot. I am curious to know if this will help you.

I still have not resolved network-manager issues, but I have not had time to devote to digging into it yet. All I know is that network-manager is suddenly soft blocking the wifi, but if I unblock it and restart wpa-supplicant it connects just fine, although network-manager still insists there is no network.
_________________
Enlightenment comes when you hear the sound of one hand slapping your forehead.
Back to top
View user's profile Send private message
Jara0
n00b
n00b


Joined: 08 Jan 2016
Posts: 18

PostPosted: Sat Apr 08, 2017 9:47 pm    Post subject: Reply with quote

THANK YOU!

You called it.

added "=sys-fs/udev-init-scripts-32" to package.mask and did an "emerge -1avD eudev"(which downgraded to udev-init-script-27). Restarted X. Working touchpad and keyboard.
Ethernet and network manager seem happy as well now under X. Bizarre.

Now I'm interested in how that broke things with -32. But thankful to not be using an external mouse and keyboard now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum