Autor Tópico: Modem Onda MSA110UP Tim no 10.4  (Lida 4514 vezes)

Offline mmc73

  • Usuário Ubuntu
  • *
  • Mensagens: 9
    • Ver perfil
Modem Onda MSA110UP Tim no 10.4
« Online: 30 de Janeiro de 2011, 20:00 »
Amigos,
Há anos tenho sido iniciante no Linux, pois me falta tempo para maior dedicação. Prometo um dia mudar isso :((
Vejam se conseguem me resolver o seguinte caso: Usava internet 3g, Tim, modem MSA405HS, pelo Lucid (10.4), devidamente configurado no gerenciador de redes. Plugava o modem, o ícone aparecia, abria o terminal, digitava "eject sr1"; e seguidamente "nm-tool". Sem stress. Mas aí o modem pifou. Solicitei outro, e veio o MSA110UP. Aí não existe sequer ícone na área de trabalho, quando plugo. Dei uma olhada, claro, no fórum, mas não consegui identificar nenhuma resposta para o 10.4. Nos moldes que trabalhava antes (com o MSA405HS) não rola. Não sei se deveria esperar mais tempo do que espero, e ver se conecta. Mas espero bastante. Aguardo respostas salva-vidas.

Offline zekkerj

  • Usuário Ubuntu
  • *
  • Mensagens: 19.735
  • Gratidão gera gratidão, lamúria atrai lamúria...
    • Ver perfil
    • Blog do Zekke
Re: Modem Onda MSA110UP Tim no 10.4
« Resposta #1 Online: 31 de Janeiro de 2011, 11:17 »
Já tentou instalar o pacote "usb-modeswitch"? Acredito que a versão do desenvolvedor já consegue "virar" o MSA110UP.
http://www.draisberghof.de/usb_modeswitch/#download

(instale os dois pacotes, "usb-modeswitch" e "usb-modeswitch-data").

Pra instalar esses pacotes do desenvolvedor, vc pode precisar instalar antes o pacote "linux-headers-generic".
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

Offline mmc73

  • Usuário Ubuntu
  • *
  • Mensagens: 9
    • Ver perfil
Re: Modem Onda MSA110UP Tim no 10.4
« Resposta #2 Online: 07 de Fevereiro de 2011, 23:00 »
O "data" eu instalei. Mas quando instalo o "modemswitch" fica assim:

gcc -o usb_modeswitch usb_modeswitch.c -Wall -l usb 
usb_modeswitch.c:56:17: error: usb.h: Arquivo ou diretório não encontrado
In file included from usb_modeswitch.c:57:
usb_modeswitch.h:49: warning: ‘struct usb_dev_handle’ declared inside parameter list
usb_modeswitch.h:49: warning: its scope is only this definition or declaration, which is probably not what you want
usb_modeswitch.c: In function ‘main’:
usb_modeswitch.c:346: warning: implicit declaration of function ‘usb_init’
usb_modeswitch.c:349: warning: implicit declaration of function ‘usb_set_debug’
usb_modeswitch.c:351: warning: implicit declaration of function ‘usb_find_busses’
usb_modeswitch.c:352: warning: implicit declaration of function ‘usb_find_devices’
usb_modeswitch.c:395: error: dereferencing pointer to incomplete type
usb_modeswitch.c:396: error: dereferencing pointer to incomplete type
usb_modeswitch.c:398: warning: implicit declaration of function ‘usb_open’
usb_modeswitch.c:398: warning: assignment makes pointer from integer without a cast
usb_modeswitch.c:405: warning: passing argument 1 of ‘get_current_configuration’ from incompatible pointer type
usb_modeswitch.h:49: note: expected ‘struct usb_dev_handle *’ but argument is of type ‘struct usb_dev_handle *’
usb_modeswitch.c:408: error: dereferencing pointer to incomplete type
usb_modeswitch.c:532: warning: passing argument 1 of ‘get_current_configuration’ from incompatible pointer type
usb_modeswitch.h:49: note: expected ‘struct usb_dev_handle *’ but argument is of type ‘struct usb_dev_handle *’
usb_modeswitch.c:550: warning: implicit declaration of function ‘usb_close’
usb_modeswitch.c: In function ‘deviceDescription’:
usb_modeswitch.c:608: error: dereferencing pointer to incomplete type
usb_modeswitch.c:609: warning: implicit declaration of function ‘usb_get_string_simple’
usb_modeswitch.c:609: error: dereferencing pointer to incomplete type
usb_modeswitch.c:618: error: dereferencing pointer to incomplete type
usb_modeswitch.c:619: error: dereferencing pointer to incomplete type
usb_modeswitch.c:628: error: dereferencing pointer to incomplete type
usb_modeswitch.c:629: error: dereferencing pointer to incomplete type
usb_modeswitch.c: In function ‘deviceInquire’:
usb_modeswitch.c:661: warning: implicit declaration of function ‘usb_claim_interface’
usb_modeswitch.c:666: warning: implicit declaration of function ‘usb_clear_halt’
usb_modeswitch.c:668: warning: implicit declaration of function ‘usb_bulk_write’
usb_modeswitch.c:674: warning: implicit declaration of function ‘usb_bulk_read’
usb_modeswitch.c:701: warning: implicit declaration of function ‘usb_release_interface’
usb_modeswitch.c: In function ‘resetUSB’:
usb_modeswitch.c:717: warning: implicit declaration of function ‘sleep’
usb_modeswitch.c:719: warning: implicit declaration of function ‘usb_reset’
usb_modeswitch.c: In function ‘switchSendMessage’:
usb_modeswitch.c:798: warning: implicit declaration of function ‘usleep’
usb_modeswitch.c: In function ‘switchConfiguration’:
usb_modeswitch.c:821: warning: implicit declaration of function ‘usb_set_configuration’
usb_modeswitch.c: In function ‘switchAltSetting’:
usb_modeswitch.c:837: warning: implicit declaration of function ‘usb_set_altinterface’
usb_modeswitch.c: In function ‘switchHuaweiMode’:
usb_modeswitch.c:854: warning: implicit declaration of function ‘usb_control_msg’
usb_modeswitch.c:854: error: ‘USB_TYPE_STANDARD’ undeclared (first use in this function)
usb_modeswitch.c:854: error: (Each undeclared identifier is reported only once
usb_modeswitch.c:854: error: for each function it appears in.)
usb_modeswitch.c:854: error: ‘USB_RECIP_DEVICE’ undeclared (first use in this function)
usb_modeswitch.c:854: error: ‘USB_REQ_SET_FEATURE’ undeclared (first use in this function)
usb_modeswitch.c: In function ‘switchKobilMode’:
usb_modeswitch.c:900: error: ‘USB_TYPE_VENDOR’ undeclared (first use in this function)
usb_modeswitch.c:900: error: ‘USB_RECIP_DEVICE’ undeclared (first use in this function)
usb_modeswitch.c:900: error: ‘USB_ENDPOINT_IN’ undeclared (first use in this function)
usb_modeswitch.c: In function ‘switchSonyMode’:
usb_modeswitch.c:954: warning: assignment makes pointer from integer without a cast
usb_modeswitch.c: In function ‘detachDriver’:
usb_modeswitch.c:988: warning: implicit declaration of function ‘usb_get_driver_np’
usb_modeswitch.c:1004: warning: implicit declaration of function ‘usb_detach_kernel_driver_np’
usb_modeswitch.c: In function ‘checkSuccess’:
usb_modeswitch.c:1096: warning: assignment makes pointer from integer without a cast
usb_modeswitch.c:1102: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1102: error: dereferencing pointer to incomplete type
usb_modeswitch.c: In function ‘search_devices’:
usb_modeswitch.c:1222: warning: implicit declaration of function ‘usb_get_busses’
usb_modeswitch.c:1222: warning: assignment makes pointer from integer without a cast
usb_modeswitch.c:1222: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1224: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1224: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1226: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1226: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1227: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1248: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1255: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1255: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1257: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1267: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1277: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1279: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1282: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1283: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1307: warning: assignment makes pointer from integer without a cast
usb_modeswitch.c:1308: warning: passing argument 1 of ‘get_current_configuration’ from incompatible pointer type
usb_modeswitch.h:49: note: expected ‘struct usb_dev_handle *’ but argument is of type ‘struct usb_dev_handle *’
usb_modeswitch.c:1325: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1325: error: dereferencing pointer to incomplete type
usb_modeswitch.c: In function ‘find_first_bulk_output_endpoint’:
usb_modeswitch.c:1347: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1350: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1351: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1352: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1352: error: ‘USB_ENDPOINT_TYPE_MASK’ undeclared (first use in this function)
usb_modeswitch.c:1352: error: ‘USB_ENDPOINT_TYPE_BULK’ undeclared (first use in this function)
usb_modeswitch.c:1353: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1353: error: ‘USB_ENDPOINT_DIR_MASK’ undeclared (first use in this function)
usb_modeswitch.c:1354: error: dereferencing pointer to incomplete type
usb_modeswitch.c: In function ‘find_first_bulk_input_endpoint’:
usb_modeswitch.c:1365: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1368: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1369: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1370: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1370: error: ‘USB_ENDPOINT_TYPE_MASK’ undeclared (first use in this function)
usb_modeswitch.c:1370: error: ‘USB_ENDPOINT_TYPE_BULK’ undeclared (first use in this function)
usb_modeswitch.c:1371: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1371: error: ‘USB_ENDPOINT_DIR_MASK’ undeclared (first use in this function)
usb_modeswitch.c:1372: error: dereferencing pointer to incomplete type
usb_modeswitch.c: At top level:
usb_modeswitch.c:1379: error: conflicting types for ‘get_current_configuration’
usb_modeswitch.h:49: note: previous declaration of ‘get_current_configuration’ was here
usb_modeswitch.c: In function ‘get_current_configuration’:
usb_modeswitch.c:1384: error: ‘USB_TYPE_STANDARD’ undeclared (first use in this function)
usb_modeswitch.c:1384: error: ‘USB_RECIP_DEVICE’ undeclared (first use in this function)
usb_modeswitch.c:1384: error: ‘USB_REQ_GET_CONFIGURATION’ undeclared (first use in this function)
usb_modeswitch.c: In function ‘get_interface0_class’:
usb_modeswitch.c:1398: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1399: error: dereferencing pointer to incomplete type
usb_modeswitch.c:1400: error: dereferencing pointer to incomplete type
make: ** [usb_modeswitch] Erro 1

Offline zekkerj

  • Usuário Ubuntu
  • *
  • Mensagens: 19.735
  • Gratidão gera gratidão, lamúria atrai lamúria...
    • Ver perfil
    • Blog do Zekke
Re: Modem Onda MSA110UP Tim no 10.4
« Resposta #3 Online: 07 de Fevereiro de 2011, 23:31 »
Lembra que eu falei do pacote "linux-headers-generic"?
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

Offline mmc73

  • Usuário Ubuntu
  • *
  • Mensagens: 9
    • Ver perfil
Re: Modem Onda MSA110UP Tim no 10.4
« Resposta #4 Online: 08 de Fevereiro de 2011, 23:00 »
Claro que lembro. Só que já está instalado.
Vou reinstalar e ver no que dá. Já passo a resposta.