2014-03-07 72 views
3

我最後一天買了beaglebone黑色,並嘗試使用USB連接它。正如我已閱讀它預裝的Linux Distro運行在192.168.7.2,我們可以使用ssh訪問它。但我無法連接。使用隨設備提供的start.html,我已經運行了腳本(我使用的是Linux而不是窗口)來安裝驅動程序,它實際上添加了一些udev規則。我發現在腳本中提供的product idvendor id與設備的不匹配(我使用lsusb進行了檢查)。我附上我設備的lsusb輸出。您可以在http://beagleboard.org/static/Drivers/Linux/FTDI/mkudevrule.sh找到Linux的在線腳本(驅動程序安裝)。請讓我知道如何連接我的設備如何連接到beaglebone黑色

======================== lsusb ========== ===============

 
Bus 002 Device 013: ID 1d6b:0104 Linux Foundation Multifunction Composite Gadget 
Device Descriptor: 
    bLength    18 
    bDescriptorType   1 
    bcdUSB    2.00 
    bDeviceClass   239 Miscellaneous Device 
    bDeviceSubClass   2 ? 
    bDeviceProtocol   1 Interface Association 
    bMaxPacketSize0  64 
    idVendor   0x1d6b Linux Foundation 
    idProduct   0x0104 Multifunction Composite Gadget 
    bcdDevice   3.08 
    iManufacturer   2 Circuitco 
    iProduct    3 BeagleBoneBlack 
    iSerial     4 6A-0414BBBK1966 
    bNumConfigurations  1 
    Configuration Descriptor: 
    bLength     9 
    bDescriptorType   2 
    wTotalLength   164 
    bNumInterfaces   5 
    bConfigurationValue  1 
    iConfiguration   5 Multifunction with RNDIS 
    bmAttributes   0xc0 
     Self Powered 
    MaxPower    2mA 
    Interface Association: 
     bLength     8 
     bDescriptorType  11 
     bFirstInterface   0 
     bInterfaceCount   2 
     bFunctionClass   2 Communications 
     bFunctionSubClass  6 Ethernet Networking 
     bFunctionProtocol  0 
     iFunction    9 RNDIS 
    Interface Descriptor: 
     bLength     9 
     bDescriptorType   4 
     bInterfaceNumber  0 
     bAlternateSetting  0 
     bNumEndpoints   1 
     bInterfaceClass   2 Communications 
     bInterfaceSubClass  2 Abstract (modem) 
     bInterfaceProtocol 255 Vendor Specific (MSFT RNDIS?) 
     iInterface    7 RNDIS Communications Control 
     CDC Header: 
     bcdCDC    1.10 
     CDC Call Management: 
     bmCapabilities  0x00 
     bDataInterface   1 
     CDC ACM: 
     bmCapabilities  0x00 
     CDC Union: 
     bMasterInterface  0 
     bSlaveInterface   1 
     Endpoint Descriptor: 
     bLength     7 
     bDescriptorType   5 
     bEndpointAddress  0x82 EP 2 IN 
     bmAttributes   3 
      Transfer Type   Interrupt 
      Synch Type    None 
      Usage Type    Data 
     wMaxPacketSize  0x0008 1x 8 bytes 
     bInterval    9 
    Interface Descriptor: 
     bLength     9 
     bDescriptorType   4 
     bInterfaceNumber  1 
     bAlternateSetting  0 
     bNumEndpoints   2 
     bInterfaceClass  10 CDC Data 
     bInterfaceSubClass  0 Unused 
     bInterfaceProtocol  0 
     iInterface    8 RNDIS Ethernet Data 
     Endpoint Descriptor: 
     bLength     7 
     bDescriptorType   5 
     bEndpointAddress  0x81 EP 1 IN 
     bmAttributes   2 
      Transfer Type   Bulk 
      Synch Type    None 
      Usage Type    Data 
     wMaxPacketSize  0x0200 1x 512 bytes 
     bInterval    0 
     Endpoint Descriptor: 
     bLength     7 
     bDescriptorType   5 
     bEndpointAddress  0x01 EP 1 OUT 
     bmAttributes   2 
      Transfer Type   Bulk 
      Synch Type    None 
      Usage Type    Data 
     wMaxPacketSize  0x0200 1x 512 bytes 
     bInterval    0 
    Interface Association: 
     bLength     8 
     bDescriptorType  11 
     bFirstInterface   2 
     bInterfaceCount   2 
     bFunctionClass   2 Communications 
     bFunctionSubClass  2 Abstract (modem) 
     bFunctionProtocol  1 AT-commands (v.25ter) 
     iFunction    12 CDC Serial 
    Interface Descriptor: 
     bLength     9 
     bDescriptorType   4 
     bInterfaceNumber  2 
     bAlternateSetting  0 
     bNumEndpoints   1 
     bInterfaceClass   2 Communications 
     bInterfaceSubClass  2 Abstract (modem) 
     bInterfaceProtocol  1 AT-commands (v.25ter) 
     iInterface    10 CDC Abstract Control Model (ACM) 
     CDC Header: 
     bcdCDC    1.10 
     CDC Call Management: 
     bmCapabilities  0x00 
     bDataInterface   3 
     CDC ACM: 
     bmCapabilities  0x02 
      line coding and serial state 
     CDC Union: 
     bMasterInterface  2 
     bSlaveInterface   3 
     Endpoint Descriptor: 
     bLength     7 
     bDescriptorType   5 
     bEndpointAddress  0x84 EP 4 IN 
     bmAttributes   3 
      Transfer Type   Interrupt 
      Synch Type    None 
      Usage Type    Data 
     wMaxPacketSize  0x000a 1x 10 bytes 
     bInterval    9 
    Interface Descriptor: 
     bLength     9 
     bDescriptorType   4 
     bInterfaceNumber  3 
     bAlternateSetting  0 
     bNumEndpoints   2 
     bInterfaceClass  10 CDC Data 
     bInterfaceSubClass  0 Unused 
     bInterfaceProtocol  0 
     iInterface    11 CDC ACM Data 
     Endpoint Descriptor: 
     bLength     7 
     bDescriptorType   5 
     bEndpointAddress  0x83 EP 3 IN 
     bmAttributes   2 
      Transfer Type   Bulk 
      Synch Type    None 
      Usage Type    Data 
     wMaxPacketSize  0x0200 1x 512 bytes 
     bInterval    0 
     Endpoint Descriptor: 
     bLength     7 
     bDescriptorType   5 
     bEndpointAddress  0x02 EP 2 OUT 
     bmAttributes   2 
      Transfer Type   Bulk 
      Synch Type    None 
      Usage Type    Data 
     wMaxPacketSize  0x0200 1x 512 bytes 
     bInterval    0 
    Interface Descriptor: 
     bLength     9 
     bDescriptorType   4 
     bInterfaceNumber  4 
     bAlternateSetting  0 
     bNumEndpoints   2 
     bInterfaceClass   8 Mass Storage 
     bInterfaceSubClass  6 SCSI 
     bInterfaceProtocol  80 Bulk-Only 
     iInterface    1 Mass Storage 
     Endpoint Descriptor: 
     bLength     7 
     bDescriptorType   5 
     bEndpointAddress  0x85 EP 5 IN 
     bmAttributes   2 
      Transfer Type   Bulk 
      Synch Type    None 
      Usage Type    Data 
     wMaxPacketSize  0x0200 1x 512 bytes 
     bInterval    0 
     Endpoint Descriptor: 
     bLength     7 
     bDescriptorType   5 
     bEndpointAddress  0x03 EP 3 OUT 
     bmAttributes   2 
      Transfer Type   Bulk 
      Synch Type    None 
      Usage Type    Data 
     wMaxPacketSize  0x0200 1x 512 bytes 
     bInterval    1 
Device Qualifier (for other device speed): 
    bLength    10 
    bDescriptorType   6 
    bcdUSB    2.00 
    bDeviceClass   239 Miscellaneous Device 
    bDeviceSubClass   2 ? 
    bDeviceProtocol   1 Interface Association 
    bMaxPacketSize0  64 
    bNumConfigurations  1 
Device Status:  0x0001 
    Self Powered 
+1

您是否能夠解決此問題?如果不;當你嘗試ssh到beagle時,你會得到什麼信息? – bigtunacan

+0

一種連接方式是使用USB串行電纜。你可以在這裏找到它們。 http://elinux.org/Beagleboard:BeagleBone_Black_Accessories#Serial_Debug_Cables。連接USB串行電纜後,從xterm「screen/dev/ttyUSB0 115200」執行以下命令。您可以在這裏找到更多信息。 http://shallowsky.com/blog/hardware/talking-to-beaglebone.html –

回答

0

其簡單的只是打開網頁瀏覽器的Chrome或Mozilla火狐狸,然後在標題欄中的IP。多數民衆贊成你會得到它。如果您指定了您輸入的命令,則可以使用ssh來提供解決方案。

0

我有同樣的問題。將自動以太網連接到eth1可以連接大部分時間(有時您必須斷開並連接好幾次!),但最好的方法是使用screen命令。

sudo screen /dev/ttyACM0 115200

(也可以是ttyACM *或* ttyUSB,你必須檢查)。 你可以用這種方式登錄和連接。不知道它是否解決了你的問題。讓我知道。

0

其實你不必連接到以太網。通過將迷你USB連接到您的系統,您可以通過USB使用以太網。 Linux通常不需要安裝任何驅動程序。 連接之後,只需打開瀏覽器並繼續192.168.7.2(默認)

有時,您必須先按住S2按鈕(距離存儲卡插槽最近)插入USB電纜。還要刪除以太網連接。