========= find modem ========
It is we find port name
Vendor/Product ID: 058f:6366
Vendor/Product ID: 19d2:2000
The final our Vendor/Product ID: 19d2:2000
****** onSwitchPort=0 switchCount=0
eject /dev/scd*: O ioctl é impróprio para o dispositivo
sent cmd: AT+CSQ
WTMainWindow:____ modem off, sim off ____
will exist carddispose fun(),isCardOnline =0
[...]Mas por algum motivo, só funcionou uma vez. Quando me desconectei e tentei reconexão, o sistema parou de reconhecer o modem. Já fiz tudo o que pude imaginar e nada, nem este script resolveu.
Quando pluguei o modem pela primeira vez, o Ubuntu montou-o direitinho. Agora, a luz do LED até fica verde, mas o ícone na área de trabalho indicando que ele foi montado não aparece de jeito nenhum. Alguém tem idéia do que pode estar acontecendo?
Bom, eu removi o arquivo relativo ao Aiko 83D do /etc/udev/rules.d (não me lembro mais o nome, especificamente. Agora ele até abre o modem USB normalmente, mas não reconhece a rede. E agora? :-/
make -C /lib/modules/2.6.27-7-generic/build M=/opt/MCManager/bin/linuxdriver modules
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.27-7-generic'
CC [M] /opt/MCManager/bin/linuxdriver/zte.o
/opt/MCManager/bin/linuxdriver/zte.c:219: error: unknown field ‘num_interrupt_in’ specified in initializer
/opt/MCManager/bin/linuxdriver/zte.c:219: error: ‘NUM_DONT_CARE’ undeclared here (not in a function)
/opt/MCManager/bin/linuxdriver/zte.c:220: error: unknown field ‘num_bulk_in’ specified in initializer
/opt/MCManager/bin/linuxdriver/zte.c:221: error: unknown field ‘num_bulk_out’ specified in initializer
/opt/MCManager/bin/linuxdriver/zte.c:223: warning: initialization from incompatible pointer type
/opt/MCManager/bin/linuxdriver/zte.c:224: warning: initialization from incompatible pointer type
/opt/MCManager/bin/linuxdriver/zte.c:225: warning: initialization from incompatible pointer type
/opt/MCManager/bin/linuxdriver/zte.c:226: warning: initialization from incompatible pointer type
/opt/MCManager/bin/linuxdriver/zte.c:227: warning: initialization from incompatible pointer type
/opt/MCManager/bin/linuxdriver/zte.c:228: warning: initialization from incompatible pointer type
/opt/MCManager/bin/linuxdriver/zte.c:229: warning: initialization from incompatible pointer type
/opt/MCManager/bin/linuxdriver/zte.c:230: warning: initialization from incompatible pointer type
/opt/MCManager/bin/linuxdriver/zte.c:231: warning: initialization from incompatible pointer type
/opt/MCManager/bin/linuxdriver/zte.c:232: warning: initialization from incompatible pointer type
/opt/MCManager/bin/linuxdriver/zte.c:233: warning: initialization from incompatible pointer type
/opt/MCManager/bin/linuxdriver/zte.c:234: warning: initialization from incompatible pointer type
/opt/MCManager/bin/linuxdriver/zte.c: In function ‘zte_indat_callback’:
/opt/MCManager/bin/linuxdriver/zte.c:459: error: ‘struct usb_serial_port’ has no member named ‘tty’
/opt/MCManager/bin/linuxdriver/zte.c:469: error: ‘struct usb_serial_port’ has no member named ‘open_count’
/opt/MCManager/bin/linuxdriver/zte.c: In function ‘zte_instat_callback’:
/opt/MCManager/bin/linuxdriver/zte.c:523: error: ‘struct usb_serial_port’ has no member named ‘tty’
/opt/MCManager/bin/linuxdriver/zte.c:523: error: ‘struct usb_serial_port’ has no member named ‘tty’
/opt/MCManager/bin/linuxdriver/zte.c:525: error: ‘struct usb_serial_port’ has no member named ‘tty’
/opt/MCManager/bin/linuxdriver/zte.c: In function ‘zte_open’:
/opt/MCManager/bin/linuxdriver/zte.c:630: error: ‘struct usb_serial_port’ has no member named ‘tty’
/opt/MCManager/bin/linuxdriver/zte.c: In function ‘zte_close’:
/opt/MCManager/bin/linuxdriver/zte.c:664: error: ‘struct usb_serial_port’ has no member named ‘tty’
/opt/MCManager/bin/linuxdriver/zte.c: In function ‘zte_send_setup’:
/opt/MCManager/bin/linuxdriver/zte.c:732: error: ‘struct usb_serial_port’ has no member named ‘tty’
make[2]: ** [/opt/MCManager/bin/linuxdriver/zte.o] Erro 1
make[1]: ** [_module_/opt/MCManager/bin/linuxdriver] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.27-7-generic'
make: ** [modules] Erro 2
cp: impossível fazer stat em `zte.ko': Arquivo ou diretório inexistente
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions
rm: imposível remover `Module.symvers': Arquivo ou diretório inexistente
Driver install complete!!
./install.sh: line 171: udevcontrol: comando não encontrado
install completed!!!
....If you install MCManager for the first time,please re-plug the device!
....After setup, you will find the MCManager in "Applications->Internet->MCManager". Click the MCManager and the application will run
press any key to continue....