[Ham-Mac] How to create a device driver???
K6LMP
k6lmp at mac.com
Sun Apr 9 10:57:20 EDT 2006
I recently purchased on eBay a CAT cable for my Yaesu FT-897Dthat
has a built in signal level converter so that it goes directly from
the CAT port of the FT-897 to a USB port on the computer. I thought
this would be preferable to using the Yaesu CAT cable connected to a
serial-USB converter, simply because it would be a cleaner and more
compact installation.
However, the only drivers that are available from the Chinese
manufacturer of the device are for Windows. I am asking if anyone
knows where a driver might be available, or how I can get the system
to recognize the device.
USB Prober shows the following information about this device:
Full Speed device @ 3
(0x53540000): .............................................
Composite device: "USB-UART Controller"
Device Descriptor
Descriptor Version Number: 0x0110
Device Class: 0 (Composite)
Device Subclass: 0
Device Protocol: 0
Device MaxPacketSize: 64
Device VendorID/ProductID: 0x6547/0x0232 (unknown vendor)
Device Version Number: 0x0001
Number of Configurations: 1
Manufacturer String: 1 "ArkMicroChips"
Product String: 3 "USB-UART Controller"
Serial Number String: 0 (none)
I found a web site in German that provides the following information
about this device:
========
Da dieses Gerät nicht automatisch erkannt und das passende Modul
geladen wird, muß man sich hier selbst weiterhelfen.
USB-Device:
: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=6547 ProdID=0232 Rev= 0.01
S: Manufacturer=ArkMicroChips
S: Product=USB-UART Controller
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=1ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
Modul usbserial laden:
modprobe usbserial vendor=0×6547 product=0×0232
Damit wird dann unter /dev/ttyUSB0 ein Device-Node erstellt.
======
Apple's Sherlock translates this information as follows:
======
Since this device is not detected automatically and the suitable
module is loaded, one must help oneself here.
USB DEVICE:
: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev # = 3 Spd=12 MxCh = 0
D: =
1,10 Cls=00(>ifc) Sub=00 Prot=00 MxPS=64 # Cfgs = 1 P: Vendor=6547
ProdID=0232 Rev = 0,01 S: Manufacturer=ArkMicroChips S: Product=USB
UART CONTROLLER C: * # Ifs = 1 Cfg # = 1 Atr=80 MxPwr=500mA I: If # =
0 alto = 0 # EPs = 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) E:
Ad=81(I) Atr=03(Int.) MxPS = 4 Ivl=1ms E: Ad=02(O) Atr=02(Bulk) MxPS =
64 Ivl=0ms E: Ad=82(I) Atr=02(Bulk) MxPS = 64 Ivl=0ms
Module usbserial load: modprobe usbserial vendor=0×6547
product=0×0232 thereby is then created under /dev/ttyUSB0 a DEVICE
Node.
======
The translation indicates to me that it is possible to create a
device driver using the provided information, but I don't know enough
about working in Linux to do it. Can anyone provide guidance on how I
can use the information provided to create this device driver?
thanks and 73
Lew K6LMP
More information about the Ham-Mac
mailing list