Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unable to Initialize libusb: -99 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Rossy65
n00b
n00b


Joined: 14 Sep 2016
Posts: 27

PostPosted: Wed Sep 14, 2016 9:07 pm    Post subject: unable to Initialize libusb: -99 [SOLVED] Reply with quote

I am a new gentoo user. Brining up the system on a ASRock PRO4 H170 motherboard with 128GB M2 PCIe SSD.
The system just successfully booted.

I'm trying to isolate some mouse driver issues. I have verified that I have HID kernel support (let me know what you want me to post to verify this..it's been several hours since I did that and don't recall the specific commands/CONFIG_USB_XX CONFIG_HID_XX at the moment).

This problem is similar to the one posted at:
https://forums.gentoo.org/viewtopic-t-879569-start-0.html

But I suspect the problem is something else. I'm a newbie to gentoo.

Dustfinger posted this solution
Code:

# export LIBUSB_DEBUG=9
# lsusb
 


And I get the following:
Code:

libusb: debug [libusb_init] created default context
libusb: debug [libusb_init] libusb v1.0.19.10903
libusb: error [op_init] could not find usbfs
unable to initialize libusb: -99


libpci shows a host controller
Code:

00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev31)


a dump of /proc/bus/input/devices does NOT show a mouse --It turns out that USB devices probably don't show up here :).

My dmesg log shows the following:
Code:

dmesg | grep usbfs
[    0.1198381] usbcore: register new interface driver usbfs


I suspect that udev? is/has changed things such that the probing routines can't find the mouse. Thats my hunch.
As a result, the Xorg configuration can't find the mouse.

So I'd be happy if I could get lsusb to see the mouse and/or if I coudl get the mouse to show up in /proc/bus/input/devices.

Mouse works successfully from live CD -- All this proves is that I have power on and the mouse is connected via the USB port :).

Oh and my code cut/pastes may have typos, as I'm posting this from an adjacent system.

Thanks!
_________________
Remember, Wherever you go, there you are. --Buckaroo Banzai


Last edited by Rossy65 on Wed Sep 14, 2016 9:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
Rossy65
n00b
n00b


Joined: 14 Sep 2016
Posts: 27

PostPosted: Wed Sep 14, 2016 9:25 pm    Post subject: Doh! Reply with quote

<*> xHCI HCD (USB 3.0) support

Found this missing from my Kernel
From checking here:
https://chakralinux.org/forum/viewtopic.php?id=14008
(tetris4) mentioned missing modules could be to blame... so I followed that breadcrumb to this link:

https://wiki.gentoo.org/wiki/USB/Guide

And reviewed all my USB settings in my kernel (yet again), and found the H3.0 usb support was missing (somehow).

Rebuilt the Kernel... and VIOLA solved!
_________________
Remember, Wherever you go, there you are. --Buckaroo Banzai
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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