Hi Li,

 

SDB interface is supposed to be loaded on debug mode. Have you turned usb debug mode on?

 

Regards.

------- Original Message -------

Sender : Li, Hao H<[email protected]>

Date : 2014-12-09 13:45 (GMT+09:00)

Title : RE: [Dev] Is there any way to connect Gear S with ubuntu by sdb?

 

My lsusb –v shows below information about Gear S, but I don’t find Samsung SDB info

Bus 002 Device 004: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II], GT-I9300 Phone [Galaxy S III], GT-P7500 [Galaxy Tab 10.1]

Device Descriptor:

  bLength                18

  bDescriptorType         1

  bcdUSB               2.00

  bDeviceClass          239 Miscellaneous Device

  bDeviceSubClass         2 ?

  bDeviceProtocol         1 Interface Association

  bMaxPacketSize0        64

  idVendor           0x04e8 Samsung Electronics Co., Ltd

  idProduct          0x6860 GT-I9100 Phone [Galaxy S II], GT-I9300 Phone [Galaxy S III], GT-P7500 [Galaxy Tab 10.1]

  bcdDevice            4.00

  iManufacturer           1 Samsung

  iProduct                2 TIZEN

  iSerial                 3 404a910041003a4e

  bNumConfigurations      2

  Configuration Descriptor:

    bLength                 9

    bDescriptorType         2

    wTotalLength           39

    bNumInterfaces          1

    bConfigurationValue     1

    iConfiguration          0

    bmAttributes         0xc0

      Self Powered

    MaxPower               96mA

    Interface Descriptor:

      bLength                 9

      bDescriptorType         4

      bInterfaceNumber        0

      bAlternateSetting       0

      bNumEndpoints           3

      bInterfaceClass         6 Imaging

      bInterfaceSubClass      1 Still Image Capture

      bInterfaceProtocol      1 Picture Transfer Protocol (PIMA 15470)

      iInterface              8 Samsung MTP

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x81  EP 1 IN

        bmAttributes            2

          Transfer Type            Bulk

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x0200  1x 512 bytes

        bInterval               0

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x01  EP 1 OUT

        bmAttributes            2

          Transfer Type            Bulk

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x0200  1x 512 bytes

        bInterval               0

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x82  EP 2 IN

        bmAttributes            3

          Transfer Type            Interrupt

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x0040  1x 64 bytes

        bInterval               6

  Configuration Descriptor:

    bLength                 9

    bDescriptorType         2

    wTotalLength          105

    bNumInterfaces          3

    bConfigurationValue     2

    iConfiguration          0

    bmAttributes         0xc0

      Self Powered

    MaxPower               96mA

    Interface Descriptor:

      bLength                 9

      bDescriptorType         4

      bInterfaceNumber        0

      bAlternateSetting       0

      bNumEndpoints           3

      bInterfaceClass         6 Imaging

      bInterfaceSubClass      1 Still Image Capture

      bInterfaceProtocol      1 Picture Transfer Protocol (PIMA 15470)

      iInterface              8 Samsung MTP

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x81  EP 1 IN

        bmAttributes            2

          Transfer Type            Bulk

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x0200  1x 512 bytes

        bInterval               0

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x01  EP 1 OUT

        bmAttributes            2

          Transfer Type            Bulk

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x0200  1x 512 bytes

        bInterval               0

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x82  EP 2 IN

        bmAttributes            3

          Transfer Type            Interrupt

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x0040  1x 64 bytes

        bInterval               6

    Interface Association:

      bLength                 8

      bDescriptorType        11

      bFirstInterface         1

      bInterfaceCount         2

      bFunctionClass          2 Communications

      bFunctionSubClass       2 Abstract (modem)

      bFunctionProtocol       1 AT-commands (v.25ter)

      iFunction               7 CDC Serial

    Interface Descriptor:

      bLength                 9

      bDescriptorType         4

      bInterfaceNumber        1

      bAlternateSetting       0

      bNumEndpoints           1

      bInterfaceClass         2 Communications

      bInterfaceSubClass      2 Abstract (modem)

      bInterfaceProtocol      1 AT-commands (v.25ter)

      iInterface              5 CDC Abstract Control Model (ACM)

      CDC Header:

        bcdCDC               1.10

      CDC Call Management:

        bmCapabilities       0x00

        bDataInterface          2

      CDC ACM:

        bmCapabilities       0x02

          line coding and serial state

      CDC Union:

        bMasterInterface        1

        bSlaveInterface         2

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x84  EP 4 IN

        bmAttributes            3

          Transfer Type            Interrupt

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x000a  1x 10 bytes

        bInterval               9

    Interface Descriptor:

      bLength                 9

      bDescriptorType         4

      bInterfaceNumber        2

      bAlternateSetting       0

      bNumEndpoints           2

      bInterfaceClass        10 CDC Data

      bInterfaceSubClass      0 Unused

      bInterfaceProtocol      0

      iInterface              6 CDC ACM Data

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x83  EP 3 IN

        bmAttributes            2

          Transfer Type            Bulk

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x0200  1x 512 bytes

        bInterval               0

      Endpoint Descriptor:

        bLength                 7

        bDescriptorType         5

        bEndpointAddress     0x02  EP 2 OUT

        bmAttributes            2

          Transfer Type            Bulk

          Synch Type               None

          Usage Type               Data

        wMaxPacketSize     0x0200  1x 512 bytes

        bInterval               0

Device Qualifier (for other device speed):

  bLength                10

  bDescriptorType         6

  bcdUSB               2.00

  bDeviceClass          239 Miscellaneous Device

  bDeviceSubClass         2 ?

  bDeviceProtocol         1 Interface Association

  bMaxPacketSize0        64

  bNumConfigurations      2

Device Status:     0x0000

  (Bus Powered)

 

 

From: YoonKi Park [mailto:[email protected]]
Sent: Tuesday, December 09, 2014 12:24 PM
To: Li, Hao H
Cc: [email protected]
Subject: Re: [Dev] Is there any way to connect Gear S with ubuntu by sdb?

 

Hi,

 

You just do the same thing just as you did with gear2.

 

Can you see the SDB interface when connecting usb cable to your host?

 

$ lssub -v

{{{

Bus 002 Device 075: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II], GT-I9300 Phone [Galaxy S III], GT-P7500 [Galaxy Tab 10.1]
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x04e8 Samsung Electronics Co., Ltd
  idProduct          0x6860 GT-I9100 Phone [Galaxy S II], GT-I9300 Phone [Galaxy S III], GT-P7500 [Galaxy Tab 10.1]
  bcdDevice            4.00
  iManufacturer           1 Samsung
  iProduct                2 TIZEN
  iSerial                 3 53d2110041000086
  bNumConfigurations      2
  ... ........
  Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  bNumConfigurations      2
Device Status:     0x0000
  (Bus Powered)
      Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass     32
      bInterfaceProtocol      2
      iInterface              4 Samsung SDB
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0

}}}

Regards.

 

------- Original Message -------

Sender : Li, Hao H<[email protected]>

Date : 2014-12-09 12:42 (GMT+09:00)

Title : [Dev] Is there any way to connect Gear S with ubuntu by sdb?

 

Hi,

I can connect Gear2 with ubuntu by sdb after setting up usb debug in settings, sdb devices can list the Gear2 device.

While sdb devices doesn’t show anything when connecting to GearS.

 

Is there any additional set up for connecting Gear S with ubuntu by sdb?

 

Thanks!

 

Li Hao

Best Regards

Email:[email protected]

 

Software and Service Group

Intel Asia-Pacific Research & Development Ltd.

Tel: 86-21-61167039

 

 

 

 

 

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to