Você está na página 1de 2

Lets see how I started using this device on my Linux distribution (You can follow the same steps

to configure this device on any Linux distribution) : Device : [b]ZTE EV-DO AC8700 800M[/b] Product Vendor : Qualcomm, Inc. 1) Insert the EvDO device into USB port 2) Check whether the device is getting detected on your system or not. You can i ssue the following command in console : #sudo tail -f /var/log/messages This will result in following messages if the device is detected Mar 4 09:27:42 techfiz kernel: [ 8251.024000] usb 4-1: configuration #1 chosen f rom 1 choice Mar 4 09:27:42 techfiz kernel: [ 8251.028000] usbserial_generic 4-1:1.0: generic converter detected Mar 4 09:27:42 techfiz kernel: [ 8251.028000] usb 4-1: generic converter now att ached to ttyUSB0 In the above lines ttyUSB0 is the device file for your modem. This file gets cre ated automatically if the required modules are available. Else you will see some error messages. Note :You might face an issue while activating this device on Ubuntu 7.04 and 7. 10 as there have made some modifications to the USB serial device mappings. To r esolve this issue, edit the file /etc/init.d/mountdevsubfs.sh. Find the function do_start () and ensure that you have all the following lines. # # Magic to make /proc/bus/usb work # mkdir -p /dev/bus/usb/.usbfs domount usbfs "" /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644 ln -s .usbfs/devices /dev/bus/usb/devices mount --rbind /dev/bus/usb /proc/bus/usb The complete function looks like this do_start () { # # Mount a tmpfs on /dev/shm # SHM_OPT= [ ${SHM_SIZE:=$TMPFS_SIZE} ] && SHM_OPT=-osize=$SHM_SIZE domount tmpfs shmfs /dev/shm $SHM_OPT # # Mount /dev/pts. Create master ptmx node if needed. # domount devpts /dev/pts -ogid=$TTYGRP,mode=$TTYMODE # # Magic to make /proc/bus/usb work # mkdir -p /dev/bus/usb/.usbfs

domount usbfs /dev/bus/usb/.usbfs -obusmode=0700,devmode=0600,listmode=0644 ln -s .usbfs/devices /dev/bus/usb/devices mount rbind /dev/bus/usb /proc/bus/usb } The above change creates a file called /proc/bus/usb/.usbfs/devices which is mis sing in the new Ubuntu releases. After making these changes run /etc/init.d/mountdevsubfs.sh restart at consoel o r restart system before continuing with the other steps. 4) Now, your system can easily identify the new USB device which you have insert ed into your PC. You can confirm this by running lsusb command. # lsusb Bus 005 Bus 005 Bus 004 Bus 004 Bus 003 Bus 002 Bus 002 Bus 002 Bus 002 Bus 002 Bus 001 Bus 001 Device Device Device Device Device Device Device Device Device Device Device Device 004: 001: 027: 001: 001: 003: 004: 005: 002: 001: 004: 001: ID ID ID ID ID ID ID ID ID ID ID ID 046d:08c6 0000:0000 05c6:6000 0000:0000 0000:0000 413c:8126 0a5c:4502 0a5c:4503 0a5c:4500 0000:0000 046d:c50e 0000:0000 Logitech, Inc. Qualcomm, Inc. Dell Computer Corp. Broadcom Corp. Broadcom Corp. Broadcom Corp. Logitech, Inc. MX-1000 Cordless Mouse Receiver

Here Bus 004 Device 027: ID 05c6:6000 Qualcomm, Inc. is the new device which sta rted showing up for me on my laptop. 5) Your Linux kernel need to know which companys driver need to be used with devi ce. Most of the new kernels comes with the Qualcomm drivers inbuilt. Else you ne ed to insert the driver module into your kernel. Run this at the console to activate the module based on the vendor id and produc t id (You can find them in the previous step ID 05c6:6000. As we need to pass th ese numbers in hex format, Im adding 0x). # modprobe usbserial vendor=0x05c6 product=0x6000 (Goto step 2 and check if your USB device gets detected or not. You can even try replugging your USB device) PS : You can permanently add this line to ensure that the module gets loaded to your kernel each time you restart your system by adding the following line into /etc/modules

Você também pode gostar