User Tools

Site Tools


opendcc:opendcc-usb-nl

OpenDCC

InhoudCentral StationsOpenDCC



Een gedetailleerd HowTo staat op de OpenDcc web-site:


Ubuntu 9.10

Ubuntu 9.10 maps the OpenDCC USB out of the box:

lsusb

Bus 003 Device 005: ID 0403:bfd8 Future Technology Devices International, Ltd 

Messages

Mar 19 10:10:04 rocbuntu kernel: [ 1172.952065] usb 3-2: new full speed USB device using uhci_hcd and address 6
Mar 19 10:10:04 rocbuntu kernel: [ 1173.149326] usb 3-2: configuration #1 chosen from 1 choice
Mar 19 10:10:04 rocbuntu kernel: [ 1173.160195] ftdi_sio 3-2:1.0: FTDI USB Serial Device converter detected
Mar 19 10:10:04 rocbuntu kernel: [ 1173.160234] usb 3-2: Detected FT232RL
Mar 19 10:10:04 rocbuntu kernel: [ 1173.160237] usb 3-2: Number of endpoints 2
Mar 19 10:10:04 rocbuntu kernel: [ 1173.160240] usb 3-2: Endpoint 1 MaxPacketSize 64
Mar 19 10:10:04 rocbuntu kernel: [ 1173.160243] usb 3-2: Endpoint 2 MaxPacketSize 64
Mar 19 10:10:04 rocbuntu kernel: [ 1173.160245] usb 3-2: Setting MaxPacketSize 64
Mar 19 10:10:04 rocbuntu kernel: [ 1173.163969] usb 3-2: FTDI USB Serial Device converter now attached to ttyUSB0


Mac OS X

Load Device driver

Info.plist

Add following section into /System/Library/Extensions/FTDIUSBSerialDriver.kext/Contents/Info.plist

                <key>USB-IF OpenDCC V1.2</key>
                <dict>
                        <key>CFBundleIdentifier</key>
                        <string>com.FTDI.driver.FTDIUSBSerialDriver</string>
                        <key>IOClass</key>
                        <string>FTDIUSBSerialDriver</string>
                        <key>IOProviderClass</key>
                        <string>IOUSBInterface</string>
                        <key>bConfigurationValue</key>
                        <integer>1</integer>
                        <key>bInterfaceNumber</key>
                        <integer>0</integer>
                        <key>idProduct</key>
                        <integer>49112</integer>
                        <key>idVendor</key>
                        <integer>1027</integer>
                </dict>

Reload kernel extension:

sudo kextload /System/Library/Extensions/FTDIUSBSerialDriver.kext

The device:

ls -l /dev/tty.*
crw-rw-rw-  1 root  wheel   11,   6 19 Mär 10:26 /dev/tty.usbserial-FTT1Y40V


Auto load

The cache must be updated for the modified Info.plist.
The easiest way to accomplish this is to reboot OS X in Safe Mode:

  • Hold down the shift key until the Apple Logo appears. This takes some time.
  • Reboot again, in normal mode, when the Login dialog appears.
opendcc/opendcc-usb-nl.txt · Last modified: 2018/11/12 08:56 by 127.0.0.1