Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 39

Thread: TP Link MA260, Ubuntu 12.04 LTS

  1. #11
    Join Date
    Mar 2006
    Location
    Hünfeld, Germany
    Beans
    88
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: TP Link MA260, Ubuntu 12.04 LTS

    So here's what I got using the CS-15 (a device known to work with kernels 2.6.x and onwards)

    Code:
    After inserting the device check /var/log/syslog:
    
    Jan 19 17:22:33 achim-W840SU-Series kernel: [ 2281.638222] usb 2-2.3: new high-speed USB device number 12 using xhci_hcd
    Jan 19 17:22:33 achim-W840SU-Series kernel: [ 2281.654741] usb 2-2.3: New USB device found, idVendor=0421, idProduct=0610
    Jan 19 17:22:33 achim-W840SU-Series kernel: [ 2281.654752] usb 2-2.3: New USB device strings: Mfr=2, Product=1, SerialNumber=3
    Jan 19 17:22:33 achim-W840SU-Series kernel: [ 2281.654758] usb 2-2.3: Product: Nokia Datacard
    Jan 19 17:22:33 achim-W840SU-Series kernel: [ 2281.654763] usb 2-2.3: Manufacturer: Nokia
    Jan 19 17:22:33 achim-W840SU-Series kernel: [ 2281.654767] usb 2-2.3: SerialNumber: 0.0.1
    Jan 19 17:22:33 achim-W840SU-Series kernel: [ 2281.655637] scsi7 : usb-storage 2-2.3:1.0
    Jan 19 17:22:33 achim-W840SU-Series mtp-probe: checking bus 2, device 12: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2.3"
    Jan 19 17:22:33 achim-W840SU-Series mtp-probe: bus: 2, device: 12 was not an MTP device
    Jan 19 17:22:34 achim-W840SU-Series kernel: [ 2282.654030] scsi 7:0:0:0: CD-ROM            Nokia    Datacard CD-ROM  0001 PQ: 0 ANSI: 0
    Jan 19 17:22:34 achim-W840SU-Series kernel: [ 2282.656068] sr0: scsi3-mmc drive: 0x/0x caddy
    Jan 19 17:22:34 achim-W840SU-Series kernel: [ 2282.656401] sr 7:0:0:0: Attached scsi CD-ROM sr0
    Jan 19 17:22:34 achim-W840SU-Series kernel: [ 2282.656626] sr 7:0:0:0: Attached scsi generic sg2 type 5
    Jan 19 17:22:34 achim-W840SU-Series kernel: [ 2282.701719] sr0: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
    Jan 19 17:22:34 achim-W840SU-Series kernel: [ 2282.701744] sr: Sense Key : Hardware Error [current] 
    Jan 19 17:22:34 achim-W840SU-Series kernel: [ 2282.701751] sr: Add. Sense: No additional sense information
    Jan 19 17:22:34 achim-W840SU-Series kernel: [ 2282.702914] xhci_hcd 0000:00:14.0: WARN Event TRB for slot 11 ep 2 with no TDs queued?
    Jan 19 17:22:34 achim-W840SU-Series usb_modeswitch: switching device 0421:0610 on 002/012
    Jan 19 17:22:34 achim-W840SU-Series kernel: [ 2282.917669] sr0: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
    Jan 19 17:22:34 achim-W840SU-Series kernel: [ 2282.917695] sr: Sense Key : Hardware Error [current] 
    Jan 19 17:22:34 achim-W840SU-Series kernel: [ 2282.917703] sr: Add. Sense: No additional sense information
    
    continued with other tests...
    achim@achim-W840SU-Series:~$ lsusb
    Bus 001 Device 002: ID 8087:8000 Intel Corp. 
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
    Bus 002 Device 003: ID 8087:07dc Intel Corp. 
    Bus 002 Device 004: ID 5986:0536 Acer, Inc 
    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:0003 Linux Foundation 3.0 root hub
    Bus 002 Device 005: ID 03f0:2112 Hewlett-Packard OfficeJet Pro L7500
    Bus 002 Device 012: ID 0421:0610 Nokia Mobile Phones CS-15 (Internet Stick 3G modem)
    Bus 002 Device 011: ID 0557:2221 ATEN International Co., Ltd 
    achim@achim-W840SU-Series:~$ dmesg | tail -20
    [ 2280.421498] input: ATEN UC-10KM V1.3.124 as /devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2.4/2-2.4:1.1/input/input20
    [ 2280.421776] hid-generic 0003:0557:2221.0008: input,hidraw1: USB HID v1.10 Mouse [ATEN UC-10KM V1.3.124] on usb-0000:00:14.0-2.4/input1
    [ 2281.638222] usb 2-2.3: new high-speed USB device number 12 using xhci_hcd
    [ 2281.654741] usb 2-2.3: New USB device found, idVendor=0421, idProduct=0610
    [ 2281.654752] usb 2-2.3: New USB device strings: Mfr=2, Product=1, SerialNumber=3
    [ 2281.654758] usb 2-2.3: Product: Nokia Datacard
    [ 2281.654763] usb 2-2.3: Manufacturer: Nokia
    [ 2281.654767] usb 2-2.3: SerialNumber: 0.0.1
    [ 2281.655637] scsi7 : usb-storage 2-2.3:1.0
    [ 2282.654030] scsi 7:0:0:0: CD-ROM            Nokia    Datacard CD-ROM  0001 PQ: 0 ANSI: 0
    [ 2282.656068] sr0: scsi3-mmc drive: 0x/0x caddy
    [ 2282.656401] sr 7:0:0:0: Attached scsi CD-ROM sr0
    [ 2282.656626] sr 7:0:0:0: Attached scsi generic sg2 type 5
    [ 2282.701719] sr0: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
    [ 2282.701744] sr: Sense Key : Hardware Error [current] 
    [ 2282.701751] sr: Add. Sense: No additional sense information
    [ 2282.702914] xhci_hcd 0000:00:14.0: WARN Event TRB for slot 11 ep 2 with no TDs queued?
    [ 2282.917669] sr0: CDROM (ioctl) error, command: Xpwrite, Read disk info 51 00 00 00 00 00 00 00 02 00
    [ 2282.917695] sr: Sense Key : Hardware Error [current] 
    [ 2282.917703] sr: Add. Sense: No additional sense information
    achim@achim-W840SU-Series:~$ usb_modeswitch -v 0x0421 -p 0x0610 -P 0x0612 -M "5553424312345678000000000000061b000000020000000000000000000000"
    
    Looking for default devices ...
       found matching product ID
       adding device
     Found device in default mode, class or configuration (1)
    Accessing device 000 on bus 002 ...
    Getting the current device configuration ...
    Error getting the current configuration (error -1). Assuming configuration 1.
    Using first interface: 0x00
    Using endpoints 0x01 (out) and 0x81 (in)
    Inquiring device details; driver will be detached ...
    Looking for active driver ...
     No driver found. Either detached before or never attached
     Could not claim interface (error -1). Skipping device inquiry
    Error: could not get description string "manufacturer"
    Error: could not get description string "product"
    Error: could not get description string "serial number"
    
    USB description data (for identification)
    -------------------------
    Manufacturer: 
         Product: 
      Serial No.: 
    -------------------------
    Looking for active driver ...
     No driver found. Either detached before or never attached
    Setting up communication with interface 0
     Could not claim interface (error -1). Skipping message sending
    -> Run lsusb to note any changes. Bye.
    
    achim@achim-W840SU-Series:~$ lsusb
    Bus 001 Device 002: ID 8087:8000 Intel Corp. 
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
    Bus 002 Device 003: ID 8087:07dc Intel Corp. 
    Bus 002 Device 004: ID 5986:0536 Acer, Inc 
    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:0003 Linux Foundation 3.0 root hub
    Bus 002 Device 005: ID 03f0:2112 Hewlett-Packard OfficeJet Pro L7500
    Bus 002 Device 012: ID 0421:0610 Nokia Mobile Phones CS-15 (Internet Stick 3G modem)
    Bus 002 Device 011: ID 0557:2221 ATEN International Co., Ltd 
    achim@achim-W840SU-Series:~$
    I am beginning to suspect that the people who put the macine together for me have done something to make UMTS impossible. If that is the case, then I will get them to fix it under guarantee. But I need to be sure. Note that both MA260 and CS-15 work fine with _WinXP. I will take an old Windows machine with me this week, so that I can continue to communicate with anyone willing to give me a hand sorting this out. incidently, I also tried lsmod, though the output is a bit of a mystery to me. I'll need to do some research to figure out what it all means. Here is the output:
    Code:
    achim@achim-W840SU-Series:~$ lsmod
    Module                  Size  Used by
    snd_hda_codec_realtek    65042  1 
    snd_hda_codec_hdmi     36612  1 
    joydev                 17329  0 
    tpm_infineon           17194  0 
    rfcomm                 38400  12 
    parport_pc             27612  0 
    bnep                   17919  2 
    ppdev                  12849  0 
    coretemp               13324  0 
    kvm_intel             127786  0 
    kvm                   384670  1 kvm_intel
    aesni_intel            18196  0 
    ablk_helper            13357  1 aesni_intel
    cryptd                 19821  1 ablk_helper
    snd_hda_intel          38819  6 
    lrw                    13127  1 aesni_intel
    aes_i586               16995  1 aesni_intel
    snd_hda_codec         118650  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
    xts                    12778  1 aesni_intel
    gf128mul               14503  2 lrw,xts
    snd_hwdep              13276  1 snd_hda_codec
    snd_pcm                85934  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
    uvcvideo               72250  0 
    hid_generic            12484  0 
    iwlwifi               160902  0 
    snd_seq_midi           13132  0 
    videobuf2_core         39385  1 uvcvideo
    usbhid                 46125  0 
    videodev               96131  2 uvcvideo,videobuf2_core
    btusb                  17951  0 
    usblp                  17892  0 
    snd_rawmidi            25157  1 snd_seq_midi
    usb_storage            48053  0 
    videobuf2_vmalloc      12920  1 uvcvideo
    tpm_tis                18273  0 
    cfg80211              454468  1 iwlwifi
    bluetooth             211586  24 rfcomm,bnep,btusb
    videobuf2_memops       13042  1 videobuf2_vmalloc
    hid                    87362  2 hid_generic,usbhid
    microcode              18433  0 
    snd_seq_midi_event     14475  1 snd_seq_midi
    snd_seq                51593  2 snd_seq_midi,snd_seq_midi_event
    wmi                    18744  0 
    snd_timer              28931  2 snd_pcm,snd_seq
    mac_hid                13077  0 
    snd_seq_device         14137  3 snd_seq_midi,snd_rawmidi,snd_seq
    rtsx_pci_ms            13012  0 
    psmouse                82769  0 
    i915                  554735  2 
    memstick               15885  1 rtsx_pci_ms
    serio_raw              13031  0 
    drm_kms_helper         47749  1 i915
    drm                   233935  3 i915,drm_kms_helper
    snd                    57014  22 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    soundcore              12600  1 snd
    lpc_ich                17048  0 
    i2c_algo_bit           13316  1 i915
    snd_page_alloc         18398  2 snd_hda_intel,snd_pcm
    mei                    36756  0 
    video                  19116  1 i915
    lp                     17455  0 
    parport                40930  3 parport_pc,ppdev,lp
    rtsx_pci_sdmmc         17544  0 
    r8169                  62613  0 
    ahci                   25631  2 
    libahci                26336  1 ahci
    rtsx_pci               32978  2 rtsx_pci_ms,rtsx_pci_sdmmc
    That's all for now. Any help or insights are welcome at this stage.

    To quote Marvin the paranoid android of Hitch-Hiker's Guide fame: "I think you ought to know that I'm feeling very depressed."

  2. #12
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    7,087
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: TP Link MA260, Ubuntu 12.04 LTS

    Please show the output of the command

    usb-devices

  3. #13
    Join Date
    Sep 2012
    Beans
    6

    Re: TP Link MA260, Ubuntu 12.04 LTS

    I can add my info:

    https://lkml.org/lkml/2013/7/30/191
    https://lists.ubuntu.com/archives/ke...ly/031024.html

    This is a note to let you know that I have just added a patch titled

    usb: option: add TP-LINK MA260

    to the linux-3.5.y-queue branch of the 3.5.y.z extended stable tree

  4. #14
    Join Date
    Mar 2006
    Location
    Hünfeld, Germany
    Beans
    88
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: TP Link MA260, Ubuntu 12.04 LTS

    The result of the usb-devices command for CS-15 ( I think from the info so far, that I have better chances with it):
    Code:
    achim@achim-W840SU-Series:~$ usb-devices
    
    T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 2
    D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
    P:  Vendor=1d6b ProdID=0002 Rev=03.08
    S:  Manufacturer=Linux 3.8.0-35-generic ehci_hcd
    S:  Product=EHCI Host Controller
    S:  SerialNumber=0000:00:1d.0
    C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    
    T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 8
    D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=8087 ProdID=8000 Rev=00.04
    C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    
    T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 =480 MxCh= 9
    D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=1d6b ProdID=0002 Rev=03.08
    S:  Manufacturer=Linux 3.8.0-35-generic xhci_hcd
    S:  Product=xHCI Host Controller
    S:  SerialNumber=0000:00:14.0
    C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    
    T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  5 Spd=480 MxCh= 0
    D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
    P:  Vendor=0421 ProdID=0610 Rev=00.01
    S:  Manufacturer=Nokia
    S:  Product=Nokia Datacard
    S:  SerialNumber=0.0.1
    C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
    I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
    
    T:  Bus=02 Lev=01 Prnt=01 Port=04 Cnt=02 Dev#=  2 Spd=12  MxCh= 0
    D:  Ver= 2.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=8087 ProdID=07dc Rev=00.01
    C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
    I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
    I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
    
    T:  Bus=02 Lev=01 Prnt=01 Port=05 Cnt=03 Dev#=  3 Spd=480 MxCh= 0
    D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=5986 ProdID=0536 Rev=06.03
    S:  Manufacturer=Generic
    S:  Product=BisonCam, NB Pro
    S:  SerialNumber=200901010001
    C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
    I:  If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
    
    T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 4
    D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
    P:  Vendor=1d6b ProdID=0003 Rev=03.08
    S:  Manufacturer=Linux 3.8.0-35-generic xhci_hcd
    S:  Product=xHCI Host Controller
    S:  SerialNumber=0000:00:14.0
    C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    achim@achim-W840SU-Series:~$
    I will post the result of this command with the MA260 in the next post.

  5. #15
    Join Date
    Mar 2006
    Location
    Hünfeld, Germany
    Beans
    88
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: TP Link MA260, Ubuntu 12.04 LTS

    Here is the result using the MA260:
    Code:
    achim@achim-W840SU-Series:~$ usb-devices
    
    T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 2
    D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
    P:  Vendor=1d6b ProdID=0002 Rev=03.08
    S:  Manufacturer=Linux 3.8.0-35-generic ehci_hcd
    S:  Product=EHCI Host Controller
    S:  SerialNumber=0000:00:1d.0
    C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    
    T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 8
    D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=8087 ProdID=8000 Rev=00.04
    C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    
    T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 9
    D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=1d6b ProdID=0002 Rev=03.08
    S:  Manufacturer=Linux 3.8.0-35-generic xhci_hcd
    S:  Product=xHCI Host Controller
    S:  SerialNumber=0000:00:14.0
    C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    
    T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 10 Spd=480 MxCh= 0
    D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
    P:  Vendor=2357 ProdID=f000 Rev=00.00
    S:  Manufacturer=TP-LINK, Incorporated
    S:  Product=TP-LINK HSPA+ Modem
    S:  SerialNumber=863745010134688
    C:  #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=500mA
    I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
    
    T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  9 Spd=1.5 MxCh= 0
    D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
    P:  Vendor=062a ProdID=0000 Rev=00.00
    C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
    
    T:  Bus=02 Lev=01 Prnt=01 Port=04 Cnt=03 Dev#=  2 Spd=12  MxCh= 0
    D:  Ver= 2.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=8087 ProdID=07dc Rev=00.01
    C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
    I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
    I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
    
    T:  Bus=02 Lev=01 Prnt=01 Port=05 Cnt=04 Dev#=  3 Spd=480 MxCh= 0
    D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=5986 ProdID=0536 Rev=06.03
    S:  Manufacturer=Generic
    S:  Product=BisonCam, NB Pro
    S:  SerialNumber=200901010001
    C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
    I:  If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
    
    T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 4
    D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
    P:  Vendor=1d6b ProdID=0003 Rev=03.08
    S:  Manufacturer=Linux 3.8.0-35-generic xhci_hcd
    S:  Product=xHCI Host Controller
    S:  SerialNumber=0000:00:14.0
    C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    achim@achim-W840SU-Series:~$
    I notice, that although the device is being correctly identified, the driver is that for a storage device, not a modem. Do I need to install something?

  6. #16
    Join Date
    Mar 2006
    Location
    Hünfeld, Germany
    Beans
    88
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: TP Link MA260, Ubuntu 12.04 LTS

    Here is the result using the MA260:
    Code:
    achim@achim-W840SU-Series:~$ usb-devices
    
    T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 2
    D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
    P:  Vendor=1d6b ProdID=0002 Rev=03.08
    S:  Manufacturer=Linux 3.8.0-35-generic ehci_hcd
    S:  Product=EHCI Host Controller
    S:  SerialNumber=0000:00:1d.0
    C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    
    T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 8
    D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=8087 ProdID=8000 Rev=00.04
    C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    
    T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 9
    D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=1d6b ProdID=0002 Rev=03.08
    S:  Manufacturer=Linux 3.8.0-35-generic xhci_hcd
    S:  Product=xHCI Host Controller
    S:  SerialNumber=0000:00:14.0
    C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    
    T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 10 Spd=480 MxCh= 0
    D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
    P:  Vendor=2357 ProdID=f000 Rev=00.00
    S:  Manufacturer=TP-LINK, Incorporated
    S:  Product=TP-LINK HSPA+ Modem
    S:  SerialNumber=863745010134688
    C:  #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=500mA
    I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
    
    T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  9 Spd=1.5 MxCh= 0
    D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
    P:  Vendor=062a ProdID=0000 Rev=00.00
    C:  #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
    
    T:  Bus=02 Lev=01 Prnt=01 Port=04 Cnt=03 Dev#=  2 Spd=12  MxCh= 0
    D:  Ver= 2.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=8087 ProdID=07dc Rev=00.01
    C:  #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA
    I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
    I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
    
    T:  Bus=02 Lev=01 Prnt=01 Port=05 Cnt=04 Dev#=  3 Spd=480 MxCh= 0
    D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
    P:  Vendor=5986 ProdID=0536 Rev=06.03
    S:  Manufacturer=Generic
    S:  Product=BisonCam, NB Pro
    S:  SerialNumber=200901010001
    C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
    I:  If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo
    
    T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=5000 MxCh= 4
    D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
    P:  Vendor=1d6b ProdID=0003 Rev=03.08
    S:  Manufacturer=Linux 3.8.0-35-generic xhci_hcd
    S:  Product=xHCI Host Controller
    S:  SerialNumber=0000:00:14.0
    C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
    I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
    achim@achim-W840SU-Series:~$
    I notice, that although the device is being correctly identified, the driver is that for a storage device, not a modem. Do I need to install something?

    Ummm... I don't know why this post has been placed here twice. Sorry.
    Last edited by achim_59; January 20th, 2014 at 10:11 PM. Reason: clarification?

  7. #17
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    7,087
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: TP Link MA260, Ubuntu 12.04 LTS

    Code:
     [ 1827.238426] scsi 11:0:0:0: CD-ROM TP-LINK MMC Storage 2.31 PQ: 0 ANSI: 2
    Check:

    Code:
    sudo fdisk -l
    cat /etc/fstab
    with and without the stick

  8. #18
    Join Date
    Mar 2006
    Location
    Hünfeld, Germany
    Beans
    88
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: TP Link MA260, Ubuntu 12.04 LTS

    OK, I did the fdisk thing and "catting" the fstab file. Here are the results.

    Firstly without any UMTS device.
    Code:
    achim@achim-W840SU-Series:~$ sudo fdisk -l
    [sudo] password for achim: 
    
    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00051200
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048   455008255   227503104   83  Linux
    /dev/sda2       455010302   488396799    16693249    5  Extended
    /dev/sda5       455010304   488396799    16693248   82  Linux swap / Solaris
    achim@achim-W840SU-Series:~$ cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sda1 during installation
    UUID=703aacbe-d611-4de8-9230-94b15883dce5 /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    UUID=0cf8040b-cba2-4f71-97f0-866ebe803c1b none            swap    sw              0       0
    achim@achim-W840SU-Series:~$
    Secondly using the CS-15.
    Code:
    achim@achim-W840SU-Series:~$ sudo fdisk -l
    
    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00051200
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048   455008255   227503104   83  Linux
    /dev/sda2       455010302   488396799    16693249    5  Extended
    /dev/sda5       455010304   488396799    16693248   82  Linux swap / Solaris
    achim@achim-W840SU-Series:~$ cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sda1 during installation
    UUID=703aacbe-d611-4de8-9230-94b15883dce5 /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    UUID=0cf8040b-cba2-4f71-97f0-866ebe803c1b none            swap    sw              0       0
    achim@achim-W840SU-Series:~$
    Thirdly using the MA260.
    Code:
    achim@achim-W840SU-Series:~$ sudo fdisk -l
    
    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00051200
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        2048   455008255   227503104   83  Linux
    /dev/sda2       455010302   488396799    16693249    5  Extended
    /dev/sda5       455010304   488396799    16693248   82  Linux swap / Solaris
    achim@achim-W840SU-Series:~$ cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    nodev,noexec,nosuid 0       0
    # / was on /dev/sda1 during installation
    UUID=703aacbe-d611-4de8-9230-94b15883dce5 /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda5 during installation
    UUID=0cf8040b-cba2-4f71-97f0-866ebe803c1b none            swap    sw              0       0
    achim@achim-W840SU-Series:~$
    I haven't examined the data in detail, but a cursory perusal suggests that there is no difference whatever.

    In the meantime I have contacted the company who put the machine together (yes it's a custom job - my employer paid for it and is waiting expectantly for me to get it working). Aside: Employer != Owner of the paying project. The company who put together my machine have sent a link to their support site. I will check the support stuff out and, if it has helpful information, I'll pass on the details.

    Incidentally, yesterday I used the Nokia CS-15 for my connection and today I'm using the TP-Link MA260. I'm doing this with an old dodgy WinXP machine. So both devices are working properly.

  9. #19
    Join Date
    Aug 2011
    Location
    Berlin, Germany
    Beans
    7,087
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: TP Link MA260, Ubuntu 12.04 LTS

    http://www.draisberghof.de/usb_modes..._reference.txt

    Your device is listed in the latest version:
    Code:
    DefaultVendor= 0x2357
    DefaultProduct=0xf000
    
    TargetVendor=  0x2357
    TargetProduct= 0x9000
    
    MessageContent="5553424312345678000000000000061b000000020000000000000000000000"
    Code:
    sudo usb_modeswitch -v 2357 -p f000 -M '5553424312345678000000000000061b000000020000000000000000000000'

  10. #20
    Join Date
    Mar 2006
    Location
    Hünfeld, Germany
    Beans
    88
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: TP Link MA260, Ubuntu 12.04 LTS

    In fact both devices are listed.

    The usb_modeswitch command you describe is almost the same as that which I used previously, with the exception that I included a target product ID. The following is part of my earlier post:
    achim@achim-W840SU-Series:~$ usb_modeswitch -v 0x2357 -p 0xf000 -P 0x9000 -M "5553424312345678000000000000061b00000002000000000 0000000000000"

    Looking for default devices ...
    found matching product ID
    adding device
    Found device in default mode, class or configuration (1)
    Accessing device 000 on bus 002 ...
    Getting the current device configuration ...
    Error getting the current configuration (error -1). Assuming configuration 1.
    Using first interface: 0x00
    Using endpoints 0x01 (out) and 0x81 (in)
    Inquiring device details; driver will be detached ...
    Looking for active driver ...
    No driver found. Either detached before or never attached
    Could not claim interface (error -1). Skipping device inquiry
    Error: could not get description string "manufacturer"
    Error: could not get description string "product"
    Error: could not get description string "serial number"

    USB description data (for identification)
    -------------------------
    Manufacturer:
    Product:
    Serial No.:
    -------------------------
    Looking for active driver ...
    No driver found. Either detached before or never attached
    Setting up communication with interface 0
    Could not claim interface (error -1). Skipping message sending
    -> Run lsusb to note any changes. Bye.
    I have not yet attempted to use a config file and the -c option. I will, however, if and when I figure out why the command doesn't work as expected. I could try leaving out the target product ID, but I don't know what that would achieve.

    It seems a bit odd that I would need to run the usb_modeswitch command every time I insert one of these devices. In an earlier version of 12.04 there was the option to change one of the udev rules. The device (the CS-15 at the time) would then be switched over to modem mode automatically. Is there some similar change I could make to (maybe) /lib/udev/rules.d/40-usb_modeswitch.rules?

    From the message above, I am assuming that there is some package missing on my machine. I will check the support site of the computer manufacturer tonight, but it will be the weekend again before I can install anything. For those following this in the hope of some answers, you'll have to be patient.

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •