# Using the CDC driver for RZUSBSTICK

The HIF driver for the Raven USB stick implements a CDC device. This can be handled by generic virtuell COM port driver.

The Vendor/Device ID used by µracoli is:

- Vendor ID: 5824 0x16C0
- Product ID: 2183 0x887

see also http://www.frank-buss.de/pid.txt

Linux

- /usr/sbin/lsusb
  - `Bus 003 Device 009: ID 16c0:0887`
- for SuSE 10.0 the driver cdc_acm was not loaded automatically, in this case the command "modprobe cdc_acm" loads the driver.
- dmesg | grep ACM ==> "cdc_acm 3-1.4:1.0: ttyACM0: USB ACM device"
- Some older pyserial versions come up with the following error: `[Errno 11] Resource temporarily unavailable` In this case apply the patch or upgrade pyserial: http://mail.python.org/pipermail/python-list/2004-November/294242.html

Windows

- µracoli provids a INF file that installs the usbserial.sys driver. uracoli-cdc.inf

      ; Windows uracoli CDC Setup File
      ; http://uracoli.nongnu.org
      ;
      ; Copyright (c) 2000 Microsoft Corporation

      [Version]
      Signature="$Windows NT$"
      Class=Ports
      ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
      Provider=%COMPANY%
      LayoutFile=layout.inf
      DriverVer=06/06/2006,1.0.0.0

      [Manufacturer]
      %MFGNAME% = ManufName

      [DestinationDirs]
      DefaultDestDir=12

      [ManufName]
      ; FIXME: use correct uracoli VID/PID
      %Modem3% = Modem3, USB\VID_16C0&PID_0887
      ;------------------------------------------------------------------------------
      ;  Windows 2000/XP Sections
      ;------------------------------------------------------------------------------

      [Modem3.nt]
      CopyFiles=USBModemCopyFileSection
      AddReg=Modem3.nt.AddReg

      [USBModemCopyFileSection]
      usbser.sys,,,0x20

      [Modem3.nt.AddReg]
      HKR,,DevLoader,,*ntkern
      HKR,,NTMPDriver,,usbser.sys
      HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

      [Modem3.nt.Services]
      AddService=usbser, 0x00000002, DriverService

      [DriverService]
      DisplayName=%SERVICE%
      ServiceType=1
      StartType=3
      ErrorControl=1
      ServiceBinary=%12%\usbser.sys

      ;------------------------------------------------------------------------------
      ;  String Definitions
      ;------------------------------------------------------------------------------

      [Strings]
      COMPANY="uracoli Library"
      MFGNAME="uracoli"
      Modem3="USB Virtual Serial Port"
      SERVICE="USB Virtual Serial Port CDC Driver"