Autor Tópico: Problema ligação pen ZTE mf636 em kubuntu [resolvido]  (Lida 4465 vezes)

Offline lipec

  • Usuário Ubuntu
  • *
  • Mensagens: 7
  • Ubuntu 12.04 64bits
    • Ver perfil
Problema ligação pen ZTE mf636 em kubuntu [resolvido]
« Online: 04 de Fevereiro de 2011, 02:03 »
Boas...
Eu estou com um problema em relação à pen wireless ZTE mf636.
Usei durante uns tempos o Ubuntu Netbook Remix e em relação ao ZTE funcionou impecável sem ter que fazer nenhuma alteração a nada...
Mas como não me cativou o Netbook experimentei o Kubuntu e até estou a gostar do OS.
O meu problema é o ZTE não funciona...
O kubuntu detecta a pen ao fim de alguns segundos mas não faz a ligação.
Andei a googlar e a experimentar algumas dicas que encontrei mas até ver nada..

Alguma informação:
Citar
uname -a
Linux EeePc 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011 i686 GNU/Linux


Citar
lsusb
Bus 005 Device 002: ID 0b05:b700 ASUSTek Computer, Inc. Broadcom Bluetooth 2.1
Bus 005 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 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 006: ID 19d2:0031 ONDA Communication S.p.A. ZTE MF110/MF636
Bus 001 Device 004: ID 13d3:5095 IMC Networks
Bus 001 Device 002: ID 04f9:002b Brother Industries, Ltd HL-5250DN Printer
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Código: [Selecionar]
dmesg | grep usb
[    0.293064] usbcore: registered new interface driver usbfs
[    0.293125] usbcore: registered new interface driver hub
[    0.293212] usbcore: registered new device driver usb
[    0.892084] usb 1-2: new high speed USB device using ehci_hcd and address 2
[    1.248219] usb 1-8: new high speed USB device using ehci_hcd and address 4
[    1.700068] usb 5-1: new full speed USB device using uhci_hcd and address 2
[   16.340699] usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04F9 pid 0x002B
[   16.340864] usbcore: registered new interface driver usblp
[   16.572766] input: USB2.0 UVC 1.3M WebCam as /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8:1.0/input/input6
[   16.573205] usbcore: registered new interface driver uvcvideo
[   16.790478] usbcore: registered new interface driver btusb
[   22.894805] usb 1-2: usbfs: interface 0 claimed by usblp while 'usb' sets config #1
[  123.248197] usb 1-1: new high speed USB device using ehci_hcd and address 5
[  123.776510] scsi4 : usb-storage 1-1:1.0
[  123.777068] usbcore: registered new interface driver usb-storage
[  126.739471] usb 1-1: USB disconnect, address 5
[  132.248203] usb 1-1: new high speed USB device using ehci_hcd and address 6
[  132.386880] scsi5 : usb-storage 1-1:1.2
[  132.497449] usbcore: registered new interface driver usbserial
[  132.498207] usbcore: registered new interface driver usbserial_generic
[  132.498216] usbserial: USB Serial Driver core
[  132.567909] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[  132.568553] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[  132.569636] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[  132.570616] usbcore: registered new interface driver option
[  133.872356] usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usb_modeswitch rqt 128 rq 6 len 255 ret -110
[  134.872313] usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usb_modeswitch rqt 128 rq 6 len 255 ret -110
[  135.872234] usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usb_modeswitch rqt 128 rq 6 len 255 ret -110

Citar
lsusb -v | grep -i vendor

  idVendor           0x0b05 ASUSTek Computer, Inc.
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
  idVendor           0x1d6b Linux Foundation
  idVendor           0x1d6b Linux Foundation
  idVendor           0x1d6b Linux Foundation
  idVendor           0x1d6b Linux Foundation
  idVendor           0x19d2 ONDA Communication S.p.A.
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
  idVendor           0x13d3 IMC Networks
  idVendor           0x04f9 Brother Industries, Ltd
  idVendor           0x1d6b Linux Foundation

Citar
lsusb -v | grep -i product
  idProduct          0xb700 Broadcom Bluetooth 2.1
  iProduct                2 BT-253
  idProduct          0x0001 1.1 root hub
  iProduct                2 UHCI Host Controller
  idProduct          0x0001 1.1 root hub
  iProduct                2 UHCI Host Controller
  idProduct          0x0001 1.1 root hub
  iProduct                2 UHCI Host Controller
  idProduct          0x0001 1.1 root hub
  iProduct                2 UHCI Host Controller
  idProduct          0x0031 ZTE MF110/MF636
  iProduct                2 ZTE CDMA Technologies MSM
  idProduct          0x5095
  iProduct                3 USB2.0 UVC 1.3M WebCam
  idProduct          0x002b HL-5250DN Printer
  iProduct                2 HL-5250DN
  idProduct          0x0002 2.0 root hub
  iProduct                2 EHCI Host Controller

Citar
dmesg | tail
[  132.568659] option 1-1:1.3: GSM modem (1-port) converter detected
[  132.569636] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[  132.570616] usbcore: registered new interface driver option
[  132.570626] option: v0.7.2:USB Driver for GSM modems
[  133.872356] usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usb_modeswitch rqt 128 rq 6 len 255 ret -110
[  134.872313] usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usb_modeswitch rqt 128 rq 6 len 255 ret -110
[  135.872234] usb 1-1: usbfs: USBDEVFS_CONTROL failed cmd usb_modeswitch rqt 128 rq 6 len 255 ret -110
[  137.726672] scsi 5:0:0:0: Direct-Access     ZTE      MMC Storage      2.31 PQ: 0 ANSI: 2
[  137.728931] sd 5:0:0:0: Attached scsi generic sg1 type 0
[  137.739426] sd 5:0:0:0: [sdb] Attached SCSI removable disk

(Não sei se ficou bem tendo eu pouca pratica em linux...)

Após googlar...
Experimentei fazer isto:

Código: [Selecionar]

sudo gedit /etc/usb_modeswitch.conf

########################################################
# ZTE MF636
#

DefaultVendor=  0x19d2
DefaultProduct= 0x2000

TargetVendor=   0x19d2
TargetProduct=  0x0031

MessageEndpoint=0x01
MessageContent="55534243123456782000000080000c85010101180101010101000000000000"

Código: [Selecionar]

/etc/udev/rules.d/15-zte-mf636.rules

ACTION!="add", GOTO="ZTE_End"
SUBSYSTEM=="usb", SYSFS{idProduct}=="2000",
SYSFS{idVendor}=="19d2", GOTO="ZTE_ZeroCD"
LABEL="ZTE_ZeroCD"
RUN+="/usr/sbin/usb_modeswitch"
LABEL="ZTE_End"

Foi isto que fiz não fiz mais nada,
não sei se fiz algo mal.

Será possível dar-me uma ajuda nisto?

Desde já agradeço
:)

« Última modificação: 05 de Fevereiro de 2011, 04:09 por lipec »

Offline lipec

  • Usuário Ubuntu
  • *
  • Mensagens: 7
  • Ubuntu 12.04 64bits
    • Ver perfil
Re: Problema ligação pen ZTE mf636 em kubuntu
« Resposta #1 Online: 05 de Fevereiro de 2011, 04:06 »
Problema resolvido...
Apaguei tudo que tinha feito depois andei a ver e faltava uns pacotes:
libuniconf4.6
libwvstreams4.6-base
libwvstremas4.6-extras
wvdial1.61-2

Instalei isto depois criei uma ligação nova e ficou a funcionar

:) :)