Activation Codes and Methods, Hardware Details, Sniffing
adicarlo
Posts: 10
Joined: 14 May 2016, 04:57

Re: LG AD600 -- stuck in storage mode I think

Post by adicarlo » 22 May 2016, 04:01

LOM wrote:Please provide a lsusb -vd listing for 1004:61a7 now when you finally got it to switch.
You got it:

Code: Select all

Bus 001 Device 032: ID 1004:61a7 LG Electronics, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            2 Communications
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x1004 LG Electronics, Inc.
  idProduct          0x61a7 
  bcdDevice           11.80
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          282
    bNumInterfaces          9
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      2 Abstract (modem)
      bInterfaceProtocol      1 AT-commands (v.25ter)
      iInterface              4 
      CDC Header:
        bcdCDC               1.10
      CDC Union:
        bMasterInterface        0
        bSlaveInterface         1 
      CDC Call Management:
        bmCapabilities       0x00
        bDataInterface          1
      CDC ACM:
        bmCapabilities       0x07
          sends break
          line coding and serial state
          get/set/clear comm features
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None

          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               4
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              5 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      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               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      2 Abstract (modem)
      bInterfaceProtocol      1 AT-commands (v.25ter)
      iInterface              6 
      CDC Header:
        bcdCDC               1.10
      CDC Union:
        bMasterInterface        2
        bSlaveInterface         3 
      CDC Call Management:
        bmCapabilities       0x00
        bDataInterface          3
      CDC ACM:
        bmCapabilities       0x07
          sends break
          line coding and serial state
          get/set/clear comm features
      Endpoint Descriptor:

        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               4
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        3
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              7 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        4
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      2 Abstract (modem)
      bInterfaceProtocol      1 AT-commands (v.25ter)
      iInterface              8 
      CDC Header:
        bcdCDC               1.10
      CDC Union:
        bMasterInterface        4
        bSlaveInterface         5 
      CDC Call Management:
        bmCapabilities       0x00
        bDataInterface          5
      CDC ACM:
        bmCapabilities       0x07
          sends break
          line coding and serial state
          get/set/clear comm features
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               4
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        5
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              9 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        6
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      6 Ethernet Networking
      bInterfaceProtocol      0 
      iInterface              0 
      CDC Header:
        bcdCDC               1.10
      CDC Union:
        bMasterInterface        6
        bSlaveInterface         7 
      CDC Call Management:
        bmCapabilities       0x00
        bDataInterface          7
      CDC Ethernet:
        iMacAddress                     10 (??)
        bmEthernetStatistics    0x00000000
        wMaxSegmentSize               1514
        wNumberMCFilters            0x0000
        bNumberPowerFilters              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x87  EP 7 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               4
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        7
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        7
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x88  EP 8 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               4
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x08  EP 8 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               4
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        8
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface             11 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x89  EP 9 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x09  EP 9 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
Lots of endpoints!

adicarlo
Posts: 10
Joined: 14 May 2016, 04:57

Re: LG AD600 -- stuck in storage mode I think

Post by adicarlo » 22 May 2016, 04:18

Josh wrote:My suspicion was that the stick probably wants to be initialized completely as a storage device.
Makes sense. There's a slot for a micro-SD card. When I do not have that card installed, I notice the kernel messages show a block device (in this case, /dev/sde) but the kernel fails to read the partition table. With a partitioned SD card in there, the error goes away.
The USB storage driver has a built-in delay before actually using and accessing a storage device, in order to allow any USB hard disk to spin up. Earlier kernels have that delay pre-set at 5 seconds, but newer kernels have it reduced to 1 second.

If you don't want to wait for those 5 seconds, you can experiment with the "delay_use" value of the storage driver. There is a convenience feature built into the usb_modeswitch wrapper; you can make it set the amount of seconds that you want. Just edit "/etc/usb_modeswitch.conf".

Once you have reduced the value, you can also try to reduce the "WaitBefore" amount.
Hmmmm, yeah, looks like you're talking about the SetStorageDelay parameter there. I'll play around with it.

LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: LG AD600 -- stuck in storage mode I think

Post by LOM » 22 May 2016, 05:59

adicarlo wrote:
LOM wrote:Please provide a lsusb -vd listing for 1004:61a7 now when you finally got it to switch.
You got it:
Thanks, this is now available on the net for the first time! For me to save and for others to get a google hit when searching for the usb id. Strange that this AT&T device is so little discussed on the net..
adicarlo wrote: Lots of endpoints!
3 identical cdc_acm interface pairs , one cdc_ether interface pair , and the storage interface.
I'd guess that the acm interfaces are ppp modem, device management, and unknown.
The cdc_ether interface pair are for direct ethernet over usb without need for ppp dial_up.
If you want to know more about which acm inteface is which then you'll have to get the MS Windows .inf files out of the cd_rom before switching the device.
You may have to bring the device to a Win computer and let it install drivers and communication manager software. The .inf files (probably 3 or 4 of them) can usually be found in a driver directory under the main install directory for the connection manager.

adicarlo
Posts: 10
Joined: 14 May 2016, 04:57

Re: LG AD600 -- stuck in storage mode I think

Post by adicarlo » 23 May 2016, 06:02

LOM wrote: 3 identical cdc_acm interface pairs , one cdc_ether interface pair , and the storage interface.
I'd guess that the acm interfaces are ppp modem, device management, and unknown.
The cdc_ether interface pair are for direct ethernet over usb without need for ppp dial_up.
If you want to know more about which acm inteface is which then you'll have to get the MS Windows .inf files out of the cd_rom before switching the device.
You may have to bring the device to a Win computer and let it install drivers and communication manager software. The .inf files (probably 3 or 4 of them) can usually be found in a driver directory under the main install directory for the connection manager.
Would that be helpful to people? If so, I can take the time. But if its just for my edification I'd probably avoid it. I'm lazy and I don't actually have an AT&T account which would let me use this thing....

LOM
Posts: 1404
Joined: 11 Jul 2012, 15:14
Location: Koh Samui, TH

Re: LG AD600 -- stuck in storage mode I think

Post by LOM » 24 May 2016, 08:42

adicarlo wrote:
LOM wrote: 3 identical cdc_acm interface pairs , one cdc_ether interface pair , and the storage interface.
I'd guess that the acm interfaces are ppp modem, device management, and unknown.
The cdc_ether interface pair are for direct ethernet over usb without need for ppp dial_up.
If you want to know more about which acm inteface is which then you'll have to get the MS Windows .inf files out of the cd_rom before switching the device.
You may have to bring the device to a Win computer and let it install drivers and communication manager software. The .inf files (probably 3 or 4 of them) can usually be found in a driver directory under the main install directory for the connection manager.
Would that be helpful to people? If so, I can take the time. But if its just for my edification I'd probably avoid it. I'm lazy and I don't actually have an AT&T account which would let me use this thing....
It would be helpful for the next guy (if there ever will be one, no one has ever asked for support of it in a linux forum) but don't waste too much time on it. You could check the virtual cd-rom content from your linux computer, the .inf files may be directly accessible.
Sometimes there is one huge .exe install which is a self-extracting .zip. If that's the case then copy it out, change extension to .zip and open it with your favourite un-compressor.

Post Reply