On 04/19/2013 12:46 PM, malcolmlewis wrote:
> Hi
> Have you seen this thread?
> http://tinyurl.com/c4fleol
>
> I would guess you need a udev rule, when you plug the device in and run
> the dmesg command, do you see it connected?
>
>
Yes, I have been looking at that now, and it is helpful. I was able to
figure out that the Vendor ID was (probably) 2207. It is an Indonesian
manufacturer (and I found an Indonesian tech blogger that did basically
what I am trying to do, but was using Ubuntu). The problem there is it
is entirely in Indonesian - google translate helped get me the info I
needed there.
So, using the Vendor ID 2207, I added the following rule to
/lib/udev/rules.d/51-android.rules-
# Smartfren (Skyworth)
SUBSYSTEM=="usb", ATTR{idVendor}=="2207", MODE="0660", GROUP="users"
The blogger had put it in mode 0666, but all my other android devices in
that file were listed in 0660, so I set it like them.
Then I reloaded the udev rules with the following:
systemctl restart udev.service
Then I looked at dmesg like you suggested, and here is what it shows:
[52630.146686] usb 2-5: new high-speed USB device number 26 using ehci_hcd
[52630.261228] usb 2-5: config 1 interface 1 altsetting 0 bulk endpoint
0x85 has invalid maxpacket 64
[52630.261727] usb 2-5: New USB device found, idVendor=2207, idProduct=0010
[52630.261739] usb 2-5: New USB device strings: Mfr=2, Product=3,
SerialNumber=4
[52630.261747] usb 2-5: Product: S7
[52630.261753] usb 2-5: Manufacturer: unknown
[52630.261758] usb 2-5: SerialNumber: 0123456789ABCDEF
[52630.262608] scsi31 : usb-storage 2-5:1.0
[52631.261271] scsi 31:0:0:0: Direct-Access Linux File-CD
Gadget 0000 PQ: 0 ANSI: 2
[52631.262717] sd 31:0:0:0: Attached scsi generic sg5 type 0
[52631.264011] scsi 31:0:0:1: Direct-Access Linux File-CD
Gadget 0000 PQ: 0 ANSI: 2
[52631.265794] sd 31:0:0:1: Attached scsi generic sg6 type 0
[52631.270819] sd 31:0:0:0: [sde] Attached SCSI removable disk
[52631.275552] sd 31:0:0:1: [sdf] Attached SCSI removable disk
I am not exactly sure what to do with this. Is there a place to get it
to recognize the Manufacturer? My Samsung phone has a known manufacturer
(naturally).
In any case, I did go ahead and install theadb that came with the
android-sdk package instead of the superoneclick version. I ran it, and
same thing, no devices listed. However, it finds my samsung phone
without a problem.
When I run lsusb, it has this:
Bus 001 Device 002: ID 0ac8:c40a Z-Star Microelectronics Corp.
Bus 002 Device 026: ID 2207:0010
Bus 004 Device 002: ID 0458:003a KYE Systems Corp. (Mouse Systems)
NetScroll+ Mini Traveler / Genius NetScroll 120
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
So you see my tablet is detected there on the 2nd line but no other
information given, and nothing about it being in debug mode. This is
also not like the Samsung phone, which does give the full vendor
information and states that the device is in debug mode.
–
G.O.
Box #1: 12.3 | KDE 4.10 | AMD Phenom IIX4 | 64 | 16GB
Box #2: 12.2 | KDE 4.9.2 | AMD Athlon X3 | 64 | 4GB
Laptop: 12.3 | KDE 4.10 | Core i7-2620M | 64 | 8GB
learning openSUSE and loving it