Re: Delta PLC serial USB port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 11, 2013 at 11:01:59AM -0800, Greg KH wrote:

> > I'm successfully talking with a Delta (www.delta.com.tw) PLC DVP-12SE with
> > the generic USB driver.
> Why are you using the generic usb-serial driver for this device?  It
> "should" work just fine with the cdc-acm driver that is in the kernel.

Hello Greg. I just compiled in the cdc-acm to check and no, it doesn't work.
That's all I get from the log:

usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

No more, no char devices are generated.

> If you don't tell the kernel to use the generic driver, does it work
> properly?

I don't get any char device; I have a customized kernel config (3.7.6) so maybe
there's something wrong with it? Other USB serial devices (like for
instance those based on Winchiphead CH341) are working without problems
(with the appropriate driver).

> Can you provide a copy of this .inf file?  Odds are it is using the
> default class driver in Windows as well, so it should be doing the same
> thing in Linux, no need to override anything at all.

Attached.

Best regards,
Andrea Baldoni
;----------------------------------------------------------------
;              Delta Electronics, Inc.
;       Communication Device Class (CDC) INF file
;----------------------------------------------------------------

[Version]
Signature="$Windows NT$" 
Class=Ports
ClassGuid = {4D36E978-E325-11CE-BFC1-08002BE10318}
Provider = %STRING_PROVIDER%
LayoutFile = layout.inf

DriverVer = 18/8/2011,2.1.1000

[DestinationDirs]
DefaultDestDir = 12


;----------------------------------------------------------------
;              Table of content
;----------------------------------------------------------------
[Manufacturer]
%PLC.Mfg% = PLC.Section, NTamd64
%TP.Mfg% = TP.Section, NTamd64


;============== PLC Section =====================================
[PLC.Section]
%STRING_PLC% = DriverInstall, USB\VID_05DD&PID_FFFF
%STRING_PLC% = DriverInstall, USB\VID_05DD&PID_0001

[PLC.Section.NTamd64]
%STRING_PLC% = DriverInstall, USB\VID_05DD&PID_FFFF
%STRING_PLC% = DriverInstall, USB\VID_05DD&PID_0001

;============== TP Section =====================================
[TP.Section]
%STRING_TP% = DriverInstall, USB\VID_05DD&PID_0002
%STRING_TP% = DriverInstall, USB\VID_05DD&PID_003E    ; Old Device

[TP.Section.NTamd64]
%STRING_TP% = DriverInstall, USB\VID_05DD&PID_0002
%STRING_TP% = DriverInstall, USB\VID_05DD&PID_003E    ; Old Device

;============== MC Section =====================================
[MC.Section]
%STRING_MC% = DriverInstall, USB\VID_05DD&PID_0003

[MC.Section.NTamd64]
%STRING_MC% = DriverInstall, USB\VID_05DD&PID_0003

;============== HMI Section =====================================
[HMI.Section]
%STRING_HMI% = DriverInstall, USB\VID_05DD&PID_0100

[HMI.Section.NTamd64]
%STRING_HMI% = DriverInstall, USB\VID_05DD&PID_0100

;============== ICD Section =====================================
[ICD.Section]
%STRING_ICD% = DriverInstall, USB\VID_05DD&PID_0200

[ICD.Section.NTamd64]
%STRING_ICD% = DriverInstall, USB\VID_05DD&PID_0200

;============== DMV Section =====================================
[DMV.Section]
%STRING_DMV% = DriverInstall, USB\VID_05DD&PID_0201

[DMV.Section.NTamd64]
%STRING_DMV% = DriverInstall, USB\VID_05DD&PID_0201

;============== AMD Section =====================================
[AMD.Section]
%STRING_AMD% = DriverInstall, USB\VID_05DD&PID_0300

[AMD.Section.NTamd64]
%STRING_AMD% = DriverInstall, USB\VID_05DD&PID_0300

;============== ASD Section =====================================
[ASD.Section]
%STRING_ASD% = DriverInstall, USB\VID_05DD&PID_0400

[ASD.Section.NTamd64]
%STRING_ASD% = DriverInstall, USB\VID_05DD&PID_0400

;============== GMC Section =====================================
[GMC.Section]
%STRING_GMC% = DriverInstall, USB\VID_05DD&PID_0500

[GMC.Section.NTamd64]
%STRING_GMC% = DriverInstall, USB\VID_05DD&PID_0500


;----------------------------------------------------------------
;              Windows 2000/XP/Vista 32 support
;----------------------------------------------------------------
[DriverInstall.nt]
include = mdmcpq.inf
CopyFiles = FakeModemCopyFileSection
AddReg = DriverInstall.NT.AddReg

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

[DriverInstall.NT.Services] 
AddService=usbser, 0x00000002, DriverService.NT

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

;----------------------------------------------------------------
;              Windows 7/Vista 64 support
;----------------------------------------------------------------
[DriverInstall.NTamd64]
include = mdmcpq.inf
CopyFiles = FakeModemCopyFileSection
AddReg = DriverInstall.NTamd64.AddReg

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

[DriverInstall.NTamd64.Services] 
AddService=usbser, 0x00000002, DriverService.NTamd64

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

;----------------------------------------------------------------
;              String Definitions
;----------------------------------------------------------------
[Strings]
STRING_PROVIDER = "PLC Network Product Department"
PLC.Mfg = "Delta Electronics, Inc."
TP.Mfg = "Delta Electronics, Inc."
MC.Mfg = "Delta Electronics, Inc."
HMI.Mfg = "Delta Electronics, Inc."
ICD.Mfg = "Delta Electronics, Inc."
DMV.Mfg = "Delta Electronics, Inc."
AMD.Mfg = "Delta Electronics, Inc."
ASD.Mfg = "Delta Electronics, Inc."
GMC.Mfg = "Delta Electronics, Inc."
STRING_PLC = "Delta PLC"
STRING_TP = "Delta TP"
STRING_TP = "Delta MC"
STRING_TP = "Delta HMI"
STRING_TP = "Delta ICD"
STRING_TP = "Delta DMV"
STRING_TP = "Delta AMD"
STRING_TP = "Delta ASD"
STRING_TP = "Delta GMC"
STRING_SERVICE = "Virtual Com Driver"

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux