Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

[SOLVED] 'adb devices' not detecting my device

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
ayeyes
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 104
Joined: Sun Dec 03, 2017 12:31 am

[SOLVED] 'adb devices' not detecting my device

  • Quote

Post by ayeyes » Fri Jun 15, 2018 10:00 pm

Bus 001 Device 014: ID 0fce:51f4 Sony Ericsson Mobile Communications AB

Code: Select all

#
# USB HID support
#
CONFIG_USB_HID=y
# CONFIG_HID_PID is not set
CONFIG_USB_HIDDEV=y


# Intel ISH HID support
#
# CONFIG_INTEL_ISH_HID is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=y
CONFIG_USB_PCI=y
# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEFAULT_PERSIST=y
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_OTG_WHITELIST is not set
CONFIG_USB_MON=y
# CONFIG_USB_WUSB_CBAF is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not set
CONFIG_USB_XHCI_HCD=y
# CONFIG_USB_XHCI_DBGCAP is not set
CONFIG_USB_XHCI_PCI=y
CONFIG_USB_XHCI_PLATFORM=y
CONFIG_USB_EHCI_HCD=y
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_EHCI_PCI=y
CONFIG_USB_EHCI_HCD_PLATFORM=y
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_FOTG210_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=y
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_HCD_TEST_MODE is not set

#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=y
# CONFIG_USB_WDM is not set
# CONFIG_USB_TMC is not set

#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
#

#
# also be needed; see USB_STORAGE Help for more info
#
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_REALTEK is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_USBAT is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_STORAGE_ALAUDA is not set
# CONFIG_USB_STORAGE_ONETOUCH is not set
# CONFIG_USB_STORAGE_KARMA is not set
# CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
# CONFIG_USB_STORAGE_ENE_UB6250 is not set
CONFIG_USB_UAS=y
Last edited by ayeyes on Sat Jun 16, 2018 6:02 pm, edited 1 time in total.
Top
sao98021
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 145
Joined: Tue Apr 03, 2012 2:59 pm
Location: Michigan

  • Quote

Post by sao98021 » Sat Jun 16, 2018 1:26 am

might have something to do with the connection options set on your phone, and or it being rejected
Top
ayeyes
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 104
Joined: Sun Dec 03, 2017 12:31 am

  • Quote

Post by ayeyes » Sat Jun 16, 2018 9:17 am

sao98021 wrote:might have something to do with the connection options set on your phone, and or it being rejected
No, as flashing TWRP in Ubuntu worked fine. Has to do with the kernel I guess, or me running ~amd64.
Top
gentoo_ram
Guru
Guru
Posts: 528
Joined: Thu Oct 25, 2007 10:04 pm
Location: San Diego, California USA

  • Quote

Post by gentoo_ram » Sat Jun 16, 2018 2:36 pm

My experience with adb in the past has been that permissions problems can be a big reason that devices don't show up in adb. You need to have udev rules that will set the appropriate files in /dev/bus/usb/... to have permissions that can be accessed by your account. That will not happen by default. You can verify that with adb logging.
Set the environment variable ADB_TRACE to "all". Then run 'adb devices' and see what kinds of errors are reported. You may see something like "permission denied" or possibly "resource not available" or maybe "device busy". Based on that, you should be able to do additional troubleshooting.
Top
hololeap
n00b
n00b
Posts: 30
Joined: Sat Oct 05, 2013 5:19 pm

  • Quote

Post by hololeap » Sat Jun 16, 2018 5:02 pm

You might want to make sure that your user is part of the "usb" group (and maybe even the "uucp" group.) Have you had any success running adb as root?
Top
sao98021
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 145
Joined: Tue Apr 03, 2012 2:59 pm
Location: Michigan

  • Quote

Post by sao98021 » Sat Jun 16, 2018 5:36 pm

ayeyes wrote:
sao98021 wrote:might have something to do with the connection options set on your phone, and or it being rejected
No, as flashing TWRP in Ubuntu worked fine. Has to do with the kernel I guess, or me running ~amd64.
if your using genkernel it isnt, same with amd64, make sure your in the appropriate groups
Top
ayeyes
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 104
Joined: Sun Dec 03, 2017 12:31 am

  • Quote

Post by ayeyes » Sat Jun 16, 2018 6:01 pm

hololeap wrote:You might want to make sure that your user is part of the "usb" group (and maybe even the "uucp" group.) Have you had any success running adb as root?
Thank you sao98021 and gentoo_ram. A special thanks to you hololeap that mentioned the usb group. :-) That fixed it!

Code: Select all

List of devices attached
BH9018Z69E	device
Top
sao98021
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 145
Joined: Tue Apr 03, 2012 2:59 pm
Location: Michigan

  • Quote

Post by sao98021 » Sat Jun 16, 2018 6:38 pm

ayeyes wrote:
hololeap wrote:You might want to make sure that your user is part of the "usb" group (and maybe even the "uucp" group.) Have you had any success running adb as root?
Thank you sao98021 and gentoo_ram. A special thanks to you hololeap that mentioned the usb group. :-) That fixed it!

Code: Select all

List of devices attached
BH9018Z69E	device
yw, also if and when you get around to installing android studio, make sure to add your self to the android group as well, which is documented but figured ill tell you here aswell
Top
ayeyes
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 104
Joined: Sun Dec 03, 2017 12:31 am

  • Quote

Post by ayeyes » Sat Jun 16, 2018 7:06 pm

sao98021 wrote: yw, also if and when you get around to installing android studio, make sure to add your self to the android group as well, which is documented but figured ill tell you here aswell
Thanks for mentioning that. I did that yesterday. :-)
Top
Post Reply

9 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic