亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
12下一頁(yè)
最近訪問(wèn)板塊 發(fā)新帖
查看: 3125 | 回復(fù): 10
打印 上一主題 下一主題

CU到底有沒(méi)有真正的高手----CDMA無(wú)線上網(wǎng)卡求助 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2006-06-11 16:45 |只看該作者 |倒序?yàn)g覽
freebsd下怎么使用usb口cdma無(wú)線上網(wǎng)卡上網(wǎng).應(yīng)該怎么設(shè)置.
能不能把配置文件寫出來(lái)呢?
謝謝.在線等.....
各位幫個(gè)忙吧.

[ 本帖最后由 FDer 于 2006-6-11 16:53 編輯 ]

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2006-06-11 16:51 |只看該作者
求助

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2006-06-11 16:52 |只看該作者
有沒(méi)有高手能解決一下呀.

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2006-06-15 18:15 |只看該作者
Jun 15 18:05:17 localhos ppp[761]: tun0: Chat: Received: OK^M
Jun 15 18:05:17 localhos ppp[761]: tun0: Chat: Send: ATE1Q0^M
Jun 15 18:05:17 localhos ppp[761]: tun0: Chat: Expect(100): OK
Jun 15 18:05:17 localhos ppp[761]: tun0: Chat: Received: ATE1Q0^M^M
Jun 15 18:05:17 localhos ppp[761]: tun0: Chat: Received: OK^M
Jun 15 18:05:17 localhos ppp[761]: tun0: Chat: Send: ATDT#777^M
Jun 15 18:05:19 localhos ppp[761]: tun0: Chat: Expect(40): CONNECT
Jun 15 18:05:20 localhos ppp[761]: tun0: Chat: Received: ATDT#777^M^M
Jun 15 18:05:20 localhos ppp[761]: tun0: Chat: Received: CONNECT^M
Jun 15 18:05:20 localhos ppp[761]: tun0: Phase: deflink: dial -> carrier
Jun 15 18:05:21 localhos ppp[761]: tun0: Phase: deflink: carrier -> login
Jun 15 18:05:21 localhos ppp[761]: tun0: Phase: deflink: login -> lcp
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP: FSM: Using "deflink" as a transport
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP: deflink: State change Initial --> Closed
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP: deflink: State change Closed --> Stopped
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP: deflink: RecvConfigReq(1) state = Stopped
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  MRU[4] 1514
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  ACCMAP[6] 0x00000000
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  MAGICNUM[6] 0x09f57fd1
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  PROTOCOMP[2]
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  ACFCOMP[2]
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  ACFCOMP[2]
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  PROTOCOMP[2]
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  ACCMAP[6] 0x00000000
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  MRU[4] 1500
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  MAGICNUM[6] 0x1387c724
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP: deflink: SendConfigAck(1) state = Stopped
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  MRU[4] 1514
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  ACCMAP[6] 0x00000000
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  MAGICNUM[6] 0x09f57fd1
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  PROTOCOMP[2]
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP:  ACFCOMP[2]
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP: deflink: LayerStart
Jun 15 18:05:21 localhos ppp[761]: tun0: LCP: deflink: State change Stopped --> Ack-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP: deflink: RecvConfigAck(1) state = Ack-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP:  ACFCOMP[2]
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP:  PROTOCOMP[2]
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP:  ACCMAP[6] 0x00000000
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP:  MRU[4] 1500
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP:  MAGICNUM[6] 0x1387c724
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP: deflink: LayerUp
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP: deflink: SendIdent(0) state = Opened
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP:  MAGICNUM 1387c724
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP:  TEXT user-ppp 3.4.2 (built May  7 2006)
Jun 15 18:05:22 localhos ppp[761]: tun0: Phase: bundle: Authenticate
Jun 15 18:05:22 localhos ppp[761]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
Jun 15 18:05:22 localhos ppp[761]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from BJ-PDSN-9)
Jun 15 18:05:22 localhos ppp[761]: tun0: Phase: Chap Output: RESPONSE (card)
Jun 15 18:05:22 localhos ppp[761]: tun0: Phase: Chap Input: SUCCESS
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP: FSM: Using "deflink" as a transport
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP: deflink: State change Initial --> Closed
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP: deflink: LayerStart.
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP: MPPE: Not usable without CHAP81
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP:  DEFLATE[4] win 15
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP:  PRED1[2]
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP: deflink: State change Closed --> Req-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: Phase: deflink: lcp -> open
Jun 15 18:05:22 localhos ppp[761]: tun0: Phase: bundle: Network
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: FSM: Using "deflink" as a transport
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: State change Initial --> Closed
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: LayerStart.
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  IPADDR[6] 127.0.0.1
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots with slot compression
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  PRIDNS[6] 202.106.46.151
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  SECDNS[6] 255.255.255.255
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: RecvConfigReq(3) state = Req-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots without slot compression
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  IPADDR[6] 220.192.0.9
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: SendConfigAck(3) state = Req-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots without slot compression
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  IPADDR[6] 220.192.0.9
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP: deflink: RecvProtocolRej(4) state = Opened
Jun 15 18:05:22 localhos ppp[761]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
Jun 15 18:05:22 localhos ppp[761]: tun0: CCP: deflink: State change Req-Sent --> Stopped
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: RecvConfigNak(1) state = Ack-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  IPADDR[6] 220.205.141.101
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  IPADDR[6] changing address: 127.0.0.1  --> 220.205.141.101
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots without slot compression
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  COMPPROTO[6] changing compproto: 002d0f01 --> 002d0f00
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  PRIDNS[6] 220.192.0.130
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  SECDNS[6] 220.192.8.58
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: Primary nameserver set to 220.192.0.130
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: Secondary nameserver set to 220.192.8.58
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  IPADDR[6] 220.205.141.101
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots without slot compression
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  PRIDNS[6] 220.192.0.130
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  SECDNS[6] 220.192.8.58
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: RecvConfigAck(2) state = Ack-Sent
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  IPADDR[6] 220.205.141.101
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  COMPPROTO[6] 16 VJ slots without slot compression
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  PRIDNS[6] 220.192.0.130
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP:  SECDNS[6] 220.192.8.58
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: deflink: LayerUp.
Jun 15 18:05:22 localhos ppp[761]: tun0: IPCP: myaddr 220.205.141.101 hisaddr = 220.192.0.9

論壇徽章:
0
5 [報(bào)告]
發(fā)表于 2006-06-15 18:40 |只看該作者
沒(méi)用過(guò), 不過(guò)下面的信息可能會(huì)幫到你! 看看能否成功!:wink::wink::wink:

http://unix.derkeiler.com/Mailin ... s/2005-06/0350.html


Hi


Don't know why attachment couldn't go through.


So I put it in body:


  


Append to FILE: src/sys/dev/usb/usbdevs


vendor AIRPRIME 0x0f3d AirPrime, Incorporated


vendor NOVATEL 0x1410 Novatel


/* AirPrime products */


product AIRPRIME PC5220 0x0112 CDMA Wireless PC Card


  


/* Novatel products */


product NOVATEL PC620 0x1110 CDMA Wireless PC Card


  


Append to FILE: /etc/usbd.conf


device "Verizon wireless Airprime"


        devname "ucom0"


        vendor 0x0f3d


        product 0x0112


        #attach "/usr/sbin/pppctl /var/run/ppp/3g-ppp quit all;/usr/sbin/ppp
-auto 3g"


        attach "/usr/sbin/ppp -auto 3g"


        detach "/usr/sbin/pppctl /var/run/ppp/3g-ppp quit all"


  


device "Verizon wireless Novatel"


        devname "ucom0"


        vendor 0x1410


        product 0x1110


        #attach "/usr/sbin/pppctl /var/run/ppp/3g-ppp quit all;/usr/sbin/ppp
-auto 3g"


        attach "/usr/sbin/ppp -auto 3g"


        detach "/usr/sbin/pppctl /var/run/ppp/3g-ppp quit all"


  


Append to FILE: /etc/ppp/pppd.conf


3g:


set device /dev/ucom0


set speed 460800 # SPEED IS GOOD!


set phone \#777 # 1 refers to CID


  


# The chat script is a little bit different


set dial "ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 \


                        \"\" AT OK-AT-OK \


                        AT OK-AT-OK \\dATD\\T TIMEOUT 40 CONNECT"


enable dns


set authname wap


set authkey wap


accept PAP


set login


add default HISADDR


set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0


disable ipv6cp


disable mppe


set reconnect 3 15


  


new FILE: src/sys/dev/usb/uveriz.c,v


  


#include <sys/cdefs.h>


__FBSDID("$FreeBSD: src/sys/dev/usb/uveriz.c,v 1.1 2005/06/08 12:44:09
akurilov Exp $";


  


#include "opt_uvscom.h"


  


#include <sys/param.h>


#include <sys/systm.h>


#include <sys/kernel.h>


#include <sys/malloc.h>


#include <sys/module.h>


#include <sys/fcntl.h>


#include <sys/conf.h>


#include <sys/tty.h>


#include <sys/file.h>


#if defined(__FreeBSD__)


#include <sys/bus.h>


#include <sys/ioccom.h>


#if __FreeBSD_version >= 500014


#include <sys/selinfo.h>


#else


#include <sys/select.h>


#endif


#else


#include <sys/ioctl.h>


#include <sys/device.h>


#endif


#include <sys/proc.h>


#include <sys/poll.h>


#include <sys/sysctl.h>


#include <sys/taskqueue.h>


  


#include <dev/usb/usb.h>


#include <dev/usb/usbcdc.h>


  


#include <dev/usb/usbdi.h>


#include <dev/usb/usbdi_util.h>


#include "usbdevs.h"


#include <dev/usb/usb_quirks.h>


  


#include <dev/usb/ucomvar.h>


  


/* */


#define uveriz_DEBUG 1


  


#ifdef uveriz_DEBUG


#define DPRINTF(x) if (uverizdebug) printf x


#define DPRINTFN(n,x) if (uverizdebug>(n)) printf x


int uverizdebug = 0;


#else


#define DPRINTF(x)


#define DPRINTFN(n,x)


#endif


  


struct uveriz_softc {


            struct ucom_softc sc_ucom;


            u_int16_t sc_flags;


};


  


#define UVERIZ_CONFIG_INDEX 0


#define UVERIZ_IFACE_INDEX 0


#define UVERIZ_MODVER 1


#define UVERIZ_BUFSIZE 1024


  


static const struct usb_devno uveriz_devs[] = {


{ USB_VENDOR_AIRPRIME, USB_PRODUCT_AIRPRIME_PC5220 },


{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_PC620 },


};


#define uveriz_lookup(v, p) usb_lookup(uveriz_devs, v, p)


  


  


Static void uveriz_close(void *, int);


  


struct ucom_callback uveriz_callback = {


            NULL,


            NULL,


            NULL,


            NULL,


            NULL,


            uveriz_close,


            NULL,


            NULL,


};


  


/*USB_DECLARE_DRIVER(uveriz);*/


Static device_probe_t uveriz_match;


Static device_attach_t uveriz_attach;


Static device_detach_t uveriz_detach;


Static device_method_t uveriz_methods[] = {


       /* Device interface */


       DEVMETHOD(device_probe, uveriz_match),


       DEVMETHOD(device_attach, uveriz_attach),


       DEVMETHOD(device_detach, uveriz_detach),


       { 0, 0 }


};


  


  


Static driver_t uveriz_driver = {


       "ucom",


       uveriz_methods,


       sizeof (struct uveriz_softc)


};


  


DRIVER_MODULE(uveriz, uhub, uveriz_driver, ucom_devclass, usbd_driver_load,
0);


MODULE_DEPEND(uveriz, usb, 1, 1, 1);


MODULE_DEPEND(uveriz, ucom, UCOM_MINVER, UCOM_PREFVER, UCOM_MAXVER);


MODULE_VERSION(uveriz, UVERIZ_MODVER);


  


  


USB_MATCH(uveriz)


{


USB_MATCH_START(uveriz, uaa);


  


if (uaa->iface != NULL)


return (UMATCH_NONE);


  


DPRINTFN(20,("uveriz: vendor=0x%x, product=0x%x\n",


uaa->vendor, uaa->product));


  


return (uveriz_lookup(uaa->vendor, uaa->product) != NULL ?


UMATCH_VENDOR_PRODUCT : UMATCH_NONE);


}


  


USB_ATTACH(uveriz)


{


            USB_ATTACH_START(uveriz, sc, uaa);


            usbd_device_handle dev = uaa->device;


            usbd_interface_handle iface;


            usb_interface_descriptor_t *id;


            usb_endpoint_descriptor_t *ed;


            char *devinfo;


            const char *devname;


            int i;


            usbd_status err;


            struct ucom_softc *ucom;


  


            devinfo = malloc(1024, M_USBDEV, M_WAITOK);


            ucom = &sc->sc_ucom;


  


            bzero(sc, sizeof (struct uveriz_softc));


            usbd_devinfo(dev, 0, devinfo);


    /*USB_ATTACH_SETUP;*/


            ucom->sc_dev = self;


            device_set_desc_copy(self, devinfo);


  


            ucom->sc_udev = dev;


            ucom->sc_iface = uaa->iface;


  


            devname = USBDEVNAME(ucom->sc_dev);


            printf("%s: %s\n", devname, devinfo);


  


            DPRINTFN(10,("\nuveriz_attach: sc=%p\n", sc));


  


            /* Move the device into the configured state. */


            err = usbd_set_config_index(dev, UVERIZ_CONFIG_INDEX, 1);


            if (err) {


                        printf("\n%s: failed to set configuration,
err=%s\n",


                               devname, usbd_errstr(err));


                        goto bad;


            }


  


            err = usbd_device2interface_handle(dev, UVERIZ_IFACE_INDEX,
&iface);


            if (err) {


                        printf("\n%s: failed to get interface, err=%s\n",


                               devname, usbd_errstr(err));


                        goto bad;


            }


  


            printf("%s: %s\n", devname, devinfo);


  


            /*sc->sc_flags = uveriz_lookup(uaa->vendor,
uaa->product)->uv_flags;*/


  


            id = usbd_get_interface_descriptor(iface);


  


            ucom->sc_udev = dev;


            ucom->sc_iface = iface;


  


            ucom->sc_bulkin_no = ucom->sc_bulkout_no = -1;


            for (i = 0; i < id->bNumEndpoints; i++) {


                        int addr, dir, attr;


                        ed = usbd_interface2endpoint_descriptor(iface, i);


                        if (ed == NULL) {


                                   printf("%s: could not read endpoint
descriptor"


                                          ": %s\n", devname,
usbd_errstr(err));


                                   goto bad;


                        }


  


                        addr = ed->bEndpointAddress;


                        dir = UE_GET_DIR(ed->bEndpointAddress);


                        attr = ed->bmAttributes & UE_XFERTYPE;


                        if (dir == UE_DIR_IN && attr == UE_BULK)


                                   ucom->sc_bulkin_no = addr;


                        else if (dir == UE_DIR_OUT && attr == UE_BULK)


                                   ucom->sc_bulkout_no = addr;


                        else if (attr == UE_INTERRUPT) {


            printf("interrupt\n";


        }


                        else {


                                   printf("%s: unexpected endpoint(%d
%d)\n", devname, dir, attr);


                                   goto bad;


                        }


            }


            if (ucom->sc_bulkin_no == -1) {


                        printf("%s: Could not find data bulk in\n",


                               USBDEVNAME(ucom->sc_dev));


                        goto bad;


            }


            if (ucom->sc_bulkout_no == -1) {


                        printf("%s: Could not find data bulk out\n",


                               USBDEVNAME(ucom->sc_dev));


                        goto bad;


            }


  


            ucom->sc_parent = sc;


            ucom->sc_portno = UCOM_UNK_PORTNO;


            /* bulkin, bulkout set above */


            ucom->sc_ibufsize = UVERIZ_BUFSIZE;


            ucom->sc_obufsize = UVERIZ_BUFSIZE;


            ucom->sc_ibufsizepad = UVERIZ_BUFSIZE;


            ucom->sc_opkthdrlen = 0;


            ucom->sc_callback = &uveriz_callback;


  


            if (err) {


                        printf("%s: init failed, %s\n",
USBDEVNAME(ucom->sc_dev),


                               usbd_errstr(err));


                        goto bad;


            }


  


            usbd_add_drv_event(USB_EVENT_DRIVER_ATTACH, ucom->sc_udev,


                                      USBDEV(ucom->sc_dev));


  


            DPRINTF(("uveriz: in=0x%x out=0x%x\n", ucom->sc_bulkin_no,
ucom->sc_bulkout_no));


            ucom_attach(&sc->sc_ucom);


  


            USB_ATTACH_SUCCESS_RETURN;


  


bad:


            DPRINTF(("uveriz_attach: ATTACH ERROR\n");


            ucom->sc_dying = 1;


            USB_ATTACH_ERROR_RETURN;


}


  


/*


int


uveriz_activate(device_ptr_t self, enum devact act)


{


struct uveriz_softc *sc = (struct uveriz_softc *)self;


int rv = 0;


  


switch (act) {


case DVACT_ACTIVATE:


return (EOPNOTSUPP);


break;


  


case DVACT_DEACTIVATE:


sc->sc_dying = 1;


if (sc->sc_subdev)


rv = config_deactivate(sc->sc_subdev);


break;


}


return (rv);


}*/


  


USB_DETACH(uveriz)


{


    USB_DETACH_START(uveriz, sc);


    int rv = 0;


  


    DPRINTF(("uveriz_detach: sc=%p\n", sc));


            sc->sc_ucom.sc_dying = 1;


            rv = ucom_detach(&sc->sc_ucom);


  


            usbd_add_drv_event(USB_EVENT_DRIVER_DETACH, sc->sc_ucom.sc_udev,


                                      USBDEV(sc->sc_ucom.sc_dev));


  


            return (rv);


}


  


void


uveriz_close(void *addr, int portno)


{


            /*struct uvisor_softc *sc = addr;


            usb_device_request_t req;


            struct uveriz_connection_info coninfo;


            int actlen;


  


            if (sc->sc_ucom.sc_dying)


                        return;


  


            req.bmRequestType = UT_READ_VENDOR_ENDPOINT;


            req.bRequest = UVISOR_CLOSE_NOTIFICATION;


            USETW(req.wValue, 0);


            USETW(req.wIndex, 0);


            USETW(req.wLength, UVISOR_CONNECTION_INFO_SIZE);


            (void)usbd_do_request_flags(sc->sc_ucom.sc_udev, &req, &coninfo,


                                                   USBD_SHORT_XFER_OK,
&actlen,


                                                   USBD_DEFAULT_TIMEOUT);*/


}


  


  


Best regards.


Alexander Kurilovich


  _____


From: Alexander Kurilovich [mailto:alexander_kurilovich@hotmail.com]
Sent: Friday, June 24, 2005 3:34 PM
To: 'freebsd-hackers@freebsd.org'
Subject: Wireless CDMA cards for Verizon


  


Hi


  


I've implemented 2 PCMCI wireless CDMA-3G cards from Verizon. I use them via
'ppp' using 'ucom'.


  


It might be helpful for somebody. Code, ppp.conf and usbd.conf in attached
file.


  


Alexander Kurilovich

論壇徽章:
0
6 [報(bào)告]
發(fā)表于 2006-06-15 18:42 |只看該作者

論壇徽章:
0
7 [報(bào)告]
發(fā)表于 2006-06-15 21:00 |只看該作者
代碼太長(zhǎng)了 郁悶ing

論壇徽章:
2
IT運(yùn)維版塊每日發(fā)帖之星
日期:2015-10-05 06:20:00操作系統(tǒng)版塊每日發(fā)帖之星
日期:2015-10-05 06:20:00
8 [報(bào)告]
發(fā)表于 2006-06-15 23:47 |只看該作者
對(duì)LZ說(shuō):

不要一跳上來(lái)就問(wèn)有沒(méi)高手,Unix系統(tǒng)做桌面是需要很大耐心的。如果你覺(jué)得CU沒(méi)有高手你試試問(wèn)誰(shuí)會(huì)WEB負(fù)載均衡,誰(shuí)會(huì)數(shù)據(jù)庫(kù)優(yōu)化,誰(shuí)會(huì)NFS,絕對(duì)給你的答案讓你暈乎暈乎的。所以,不要說(shuō)有沒(méi)高手,要虛心請(qǐng)教。

論壇徽章:
0
9 [報(bào)告]
發(fā)表于 2006-06-16 01:52 |只看該作者
不是有種做法是模擬WIN的驅(qū)動(dòng)來(lái)運(yùn)行嗎

不知道這個(gè)可不可以

HANDBOOK里頭說(shuō)的哪個(gè)

PS:嚴(yán)重同意樓上的意見(jiàn)

論壇徽章:
1
金牛座
日期:2014-05-29 15:55:47
10 [報(bào)告]
發(fā)表于 2006-06-16 09:11 |只看該作者
回答你的問(wèn)題才算高手?
我們這里幾十萬(wàn)人現(xiàn)在都不是高手。
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP