2016-08-15 7 views
0

私はDebian Linuxで使用しようとしているUSB経由の仮想シリアルポートで動作する赤外線温度計を持っています。残念ながら、システムは/dev/ttyUSBデバイスを列挙しません。ここでLinux上のCygnal Integrated Productsシリアルポート

は、デバイスのdmesgです:

usb 5-1: new full-speed USB device number 3 using uhci_hcd 
usb 5-1: New USB device found, idVendor=10c4, idProduct=834b 
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 
usb 5-1: Product: Infrared Online Sensor Adapter 
usb 5-1: Manufacturer: Silicon Labs 
usb 5-1: SerialNumber: CT00092755 

そして、ここではlsusb -v次のとおりです。

Bus 005 Device 003: ID 10c4:834b Cygnal Integrated Products, Inc. 
Couldn't open device, some information will be missing 
Device Descriptor: 
    bLength    18 
    bDescriptorType   1 
    bcdUSB    1.10 
    bDeviceClass   0 (Defined at Interface level) 
    bDeviceSubClass   0 
    bDeviceProtocol   0 
    bMaxPacketSize0  64 
    idVendor   0x10c4 Cygnal Integrated Products, Inc. 
    idProduct   0x834b 
    bcdDevice   1.00 
    iManufacturer   1 
    iProduct    2 
    iSerial     3 
    bNumConfigurations  1 
    Configuration Descriptor: 
    bLength     9 
    bDescriptorType   2 
    wTotalLength   32 
    bNumInterfaces   1 
    bConfigurationValue  1 
    iConfiguration   0 
    bmAttributes   0x80 
     (Bus Powered) 
    MaxPower    100mA 
    Interface Descriptor: 
     bLength     9 
     bDescriptorType   4 
     bInterfaceNumber  0 
     bAlternateSetting  0 
     bNumEndpoints   2 
     bInterfaceClass  255 Vendor Specific Class 
     bInterfaceSubClass  0 
     bInterfaceProtocol  0 
     iInterface    2 
     Endpoint Descriptor: 
     bLength     7 
     bDescriptorType   5 
     bEndpointAddress  0x81 EP 1 IN 
     bmAttributes   2 
      Transfer Type   Bulk 
      Synch Type    None 
      Usage Type    Data 
     wMaxPacketSize  0x0040 1x 64 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  0x0040 1x 64 bytes 
     bInterval    0 

は、どのように私はこの作業を取得することができますので、私はシリアルポートとそれに接続することができますか?

答えて

1

このデバイスは標準のSilicon Labs CP2102インタフェースチップを使用していることがわかります。これは、デバイスメーカーがカスタムidProduct番号をロードしたものです。チップはcp210x.koドライバと100%互換性がありますが、idProductはシステムによって認識されず、ドライバと関連付けられません。この時点で

は、いくつかの可能なソリューションがあります

  • 手動でこのidProductcp210x.koドライバを使用するようにシステムに指示します。
  • idProductopen source driverに追加し、コンパイルしてインストールします。次に、変更を標準のLinuxリポジトリにプッシュしようとします。
  • カスタマイズされたチップを汎用チップに置き換えます。
  • チップ上にidProductを書き換えます。

idProductを書き換えました。 Silicon Labsにはちょうどこれを行うfree utilityがあります。私はこのチップのデフォルトであるidProduct=EA60を設定しました。このデバイスは標準の内蔵ドライバによって認識され、完全に動作します。

関連する問題