LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-04-2013, 04:18 PM   #1
NeXuS_2006
Member
 
Registered: Dec 2003
Distribution: Fedora
Posts: 64

Rep: Reputation: 18
Can't connect Galaxy II to Mint 15 (laptop)


Hi. I have a Galaxy SII skyrocket (sgh-i727) with CM10.1.2 (android 4.2.2) trying to connect to Mint 15 x64. The phone won't mount as storage, and I can't make an adb connection to it (I'm trying to use it to debug apps via eclipse). I have an old HTC Aria/Liberty with CM7 that does work correctly.

When I plug the GII in, it starts to charge, says "connected as an installer" for a split second, then nothing. I don't see the debug icon in the notifications bar.

I try lsusb, the phone isn't listed there. If I do udevadm monitor, I get this when I plug it in, and there is no output when I unplug:

Code:
nexus@Lithium ~ $ sudo udevadm monitor
[sudo] password for nexus: 
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[117828.548808] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
KERNEL[117828.550147] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
KERNEL[117828.550481] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host12 (scsi)
KERNEL[117828.550556] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host12/scsi_host/host12 (scsi_host)
KERNEL[117828.550617] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1 (usb)
UDEV  [117828.560510] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
UDEV  [117828.563425] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
UDEV  [117828.565583] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host12 (scsi)
UDEV  [117828.567626] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1 (usb)
UDEV  [117828.569148] add      /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host12/scsi_host/host12 (scsi_host)
KERNEL[117828.767745] remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host12/scsi_host/host12 (scsi_host)
KERNEL[117828.767876] remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host12 (scsi)
KERNEL[117828.767975] remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
KERNEL[117828.768432] remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1 (usb)
UDEV  [117828.769058] remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1 (usb)
UDEV  [117828.769120] remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host12/scsi_host/host12 (scsi_host)
KERNEL[117828.769573] remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
UDEV  [117828.770360] remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host12 (scsi)
UDEV  [117828.771036] remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0 (usb)
UDEV  [117828.775560] remove   /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 (usb)
...so it seems to be connecting and then immediately disconnecting. This phone works on this same laptop (a dell latitude) under windows, both as a storage device and with eclipse.

Here are my udev rules:
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev" --my HTC phone that works
SUBSYSTEM=="usb", ATTR[idVendor}=="04e8", MODE="0666", GROUP="plugdev" --my Samsung that doesn't

I don't really know where to go with this, but I'm hoping someone more familiar with udev can point me in the direction of a man page, forum thread, or bug solution

Matt

Edit 1:
Reading around the android dev site, it says I need adb version 1.0.31 to debug android 4.2.2 and above, which is what I have (correct versions of both). It says on connection, I should get a dialog on the phone to accept an RSA key and allow debugging, but I don't get this dialog. I assume this doesn't happen until the phone connects and adb tries to connect, but I thought the lack of dialog might be relevant?

Last edited by NeXuS_2006; 09-04-2013 at 04:26 PM.
 
Old 09-06-2013, 03:42 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,288

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
You have CM10, so it's rooted. run ssh over wifi - that's the lazy connection.
 
  


Reply

Tags
android, mint, udev



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Connect your android galaxy tablet to ubuntu via usb LXer Syndicated Linux News 1 05-15-2013 05:21 PM
LXer: Connect your android galaxy tablet to ubuntu via usb LXer Syndicated Linux News 0 05-15-2013 11:21 AM
Cannot connect to internet on my dell laptop using mint 12 jerin@mint12 Linux - Wireless Networking 2 02-20-2012 08:48 PM
dhcp server will not connect to laptop after laptop OS upgrade phamnewan Linux - Networking 0 06-21-2003 10:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:53 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
Open Source Consulting | Domain Registration