From owner-freebsd-usb@freebsd.org Tue Nov 10 16:28:58 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 36755A2B1F0 for ; Tue, 10 Nov 2015 16:28:58 +0000 (UTC) (envelope-from bsmply@gmail.com) Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com [IPv6:2607:f8b0:4003:c01::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 006011101 for ; Tue, 10 Nov 2015 16:28:58 +0000 (UTC) (envelope-from bsmply@gmail.com) Received: by obdgf3 with SMTP id gf3so1395530obd.3 for ; Tue, 10 Nov 2015 08:28:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=MzA2QfN1iEFrGPc5Hno1p3942fbwP7aN8DOdqJzT8Rc=; b=AyBYHyIlz9KRnXAOOd1eQD5yUaTINhEXWcoDH8cwO4oq11D0uR4gFeTp7dwuYl59hY mr554+JkkUT5higLfvo62d+gRAc6xci8eFn5A3e6NpVtmMFIw/gfDjthq3uP2poeGuAd PmqUK4bvJr8asHmeRBjlm3QhimgbevZ/LiCS29z0aHiwEjeYeZdGR8dESGVEwv00J1Gy GsBh8UwMPBIvEzauZdZffIoe1JTLqjqOanZ5NT0Qz+eDmWHDghp++QxImnbRfbpCrjTT NqdHr4zq1D+ZLdRy1rdYa7FsT0+34AvK3NdOjdSx4onAkDpAE4b+x0E6xi272H2CdKzI D6Dw== MIME-Version: 1.0 X-Received: by 10.182.88.165 with SMTP id bh5mr2155260obb.21.1447172937373; Tue, 10 Nov 2015 08:28:57 -0800 (PST) Received: by 10.76.44.145 with HTTP; Tue, 10 Nov 2015 08:28:57 -0800 (PST) Date: Tue, 10 Nov 2015 11:28:57 -0500 Message-ID: Subject: How to access a FTDI usb device with a custom vendor and product id's From: Burton Sampley To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2015 16:28:58 -0000 Greetings, I am a long time FreeBSD user (started with FreeBSD 2.1.5R). I took a break with FreeBSD for a while with a Linux desktop, but have recently returned. I am now running a 10.2R desktop. I am having problems getting a a FTDI based USB to serial cable to provide CAT control to my Yaesu FT-897d amateur radio. The cable is made by RT-Systems with vendor ID 0x2100 and a product ID 0x9e56. In Linux, using a udev rule, the cable works correctly with a command like the following: modprobe ftdi_sio vendor=0x2100 product=0x9e56 or a udev rule similar to the following: SYSFS{idVendor}=="2100", SYSFS{idProduct}=="9e56", RUN+="/sbin/modprobe -q ftdi_sio vendor=0x2100 product=0x9e56" How do I accomplish the same in FreeBSD? When the cable is plugged in, I get the following in /var/log/messages: Nov 10 08:17:58 kernel: ugen2.3: at usbus2 (disconnected) Nov 10 08:18:06 kernel: ugen2.3: at usbus2 Nov 10 08:18:06 devd: Executing 'logger Unknown USB device: vendor 0x2100 product 0x9e56 bus uhub4' Nov 10 08:18:06 root: Unknown USB device: vendor 0x2100 product 0x9e56 bus uhub4 Nov 10 08:47:31 devd: Executing 'logger Unknown USB device: vendor 0x2100 product 0x9e56 bus uhub4' Nov 10 08:47:31 root: Unknown USB device: vendor 0x2100 product 0x9e56 bus uhub4 and usbconfig shows the following: $ /usr/local/bin/sudo /usr/sbin/usbconfig -d ugen2.3 dump_device_desc ugen2.3: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (90mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x2100 idProduct = 0x9e56 bcdDevice = 0x0600 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 bNumConfigurations = 0x0001 $ I have installed devel/libftdi from the ports collection, but I have not found documentation on how to configure my system to be able to use this device. Once this issue is resolved, I want to use hamlib or FLRIG and FLDIGI for amateur radio digital communications. I have been searching for days to find documentation on what I need to do to make this work and have struck out. Regards, -Burton -- Your mind is like a parachute, it works much better when it is open.