I cannot get TP-Link MA260 to work after boot. If I manually run usb_modeswitch it works, but if I unplug it and plug it back in, or after a system start or reboot, it is recognized as storage device (2357:f000) instead of modem (2357:9000). I know that MA260 exists in rules for version 2.2.6.
I'm running Linux a20-olimex, kernel 3.4.90 armv71 GNU/Linux.
Here is the dmesg output:
[ 5.465043] ehci_irq: port change detect
[ 5.606191] kjournald starting. Commit interval 5 seconds
[ 5.617477] EXT3-fs (mmcblk0p2): using internal journal
[ 5.658897] EXT3-fs (mmcblk0p2): recovery complete
[ 5.669523] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[ 5.681406] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 5.691129] devtmpfs: mounted
[ 5.701803] Freeing init memory: 252K
[ 5.746959] usb 4-1: new high-speed USB device number 2 using sw-ehci
[ 6.519737] udevd[179]: starting version 175
[ 7.339632] Initializing USB Mass Storage driver...
[ 7.349337] scsi1 : usb-storage 4-1:1.0
[ 7.360173] usbcore: registered new interface driver usb-storage
[ 7.372942] USB Mass Storage support registered.
[ 8.360222] scsi 1:0:0:0: CD-ROM TP-LINK MMC Storage 2.31 PQ : 0 ANSI: 2
[ 8.381034] sr0: scsi-1 drive
[ 8.388271] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 8.397750] sr 1:0:0:0: Attached scsi CD-ROM sr0
[ 8.411470] scsi 1:0:0:1: Direct-Access TP-LINK MMC Storage 2.31 PQ : 0 ANSI: 2
[ 8.435367] sd 1:0:0:1: [sda] Attached SCSI removable disk
[ 8.649722] sr 1:0:0:0: Attached scsi generic sg0 type 5
[ 8.660053] sd 1:0:0:1: Attached scsi generic sg1 type 0
[ 9.030519] EXT3-fs (mmcblk0p2): using internal journal
[ 9.428261] UMP<2>: Inserting UMP device driver. Compiled: Jul 29 2014, time: 09:56:26
[ 9.443301] UMP<2>: Using OS memory backend, allocation limit: 134217728
[ 9.455220] UMP: UMP device driver loaded
[ 10.050201] usbcore: registered new interface driver rtl8192cu
[ 10.150258] [cedar dev]: install start!!!
[ 10.163720] [cedar dev]: install end!!!
[ 10.289408] eth%d: device MAC address 32:57:43:c6:e2:40
[ 10.302212] [gmac]: sun6i_gmac platform driver registration completed
[ 10.372121] emac_init fetch emac using configuration failed
[ 10.380783] emac driver is disabled
[ 10.437484] sunxi_leds driver init
[ 10.446546] Registered led device: green:ph02:led1
[ 10.561189] input: sun4i-keyboard as /devices/virtual/input/input4
I even tried to add modeswitch to rc.local, but it looks that it does not run.
I'm new to Linux, so it is possible that I'm missing something obvious.
Thank you.
Re: TP-Link MA260
I suppose you tried to get a log from usb_modeswitch (see /etc/usb_modeswitch.conf)?
If you don't get any log, you might need to debug udev ...
I suggest using the command "udevadm monitor". There is documentation available about it.
If you don't get any log, you might need to debug udev ...
I suggest using the command "udevadm monitor". There is documentation available about it.