Proton BASIC Compiler - Proton on Linux Pt1


  • PicŪ Basic


  • Proton on Linux Pt1

    I have spent hours trying to get VMWare and/or VirtualBox to use the sparkey dongle. It has been the same old story about "A Service installation section on this INF is invalid" on both virtualization programs, in windows 98 and XP clients -with Linux hosting it.
    I tried every inf and suggestion I could find. Finally I got it to work in VirtualBox, I used the vista32 spark key files and changed the inf as follows:

    ...picbasic.org says that my inf is an invalid file and wont take it, so I've tried to attach it as a zip,
    Here it is as code as well:

    Code:
     
    [Version]
    Signature="$CHICAGO$"
    Class=USB
    ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
    provider=%MSFT%
    LayoutFile=layout.inf
    DriverVer=08/05/2007,5.00.2064
    CatalogFile=sparkey.cat
     
    [Manufacturer]
    %MfgName%=Microsoft
    [Microsoft]
    %USB\VID_01b4&PID_0f1f.DeviceDesc%=BULKUSB.Dev, USB\VID_01b4&PID_0f1f
    [PreCopySection]
    HKR,,NoSetupUI,,1
    [DestinationDirs]
    BULKUSB.Files.Ext = 10,System32\Drivers
    [BULKUSB.Dev]
    CopyFiles=BULKUSB.Files.Ext
    AddReg=BULKUSB.AddReg
    [BULKUSB.Dev.NT]
    CopyFiles=BULKUSB.Files.Ext
    AddReg=BULKUSB.AddReg
    [BULKUSB.Dev.NT.Services]
    Addservice = SPARKEY, 0x00000002, BULKUSB.AddService
    [BULKUSB.AddService]
    DisplayName    = %BULKUSB.SvcDesc%
    ServiceType    = 1                 
    StartType      = 2                 
    ErrorControl   = 1                 
    ServiceBinary  = %10%\System32\Drivers\sparkey.sys
    ;LoadOrderGroup = Base
    [BULKUSB.AddReg]
    HKR,, DevLoader,,"*ntkern"
    HKR,, NTMPDriver,,"sparkey.sys"
    [BULKUSB.Files.Ext]
    sparkey.sys
     
    ;---------------------------------------------------------------;
    [Strings]
    MSFT = "spark ltd"
    MfgName = "spark ltd"
    USB\VID_01b4&PID_0f1f.DeviceDesc = "SparK Usb Key "
    BULKUSB.SvcDesc = "sparkey driver"
    I think what made it work was I uncommented these parts:

    Code:
     
    ;CopyFiles=BULKUSB.Files.Ext
    but I am not certain since I was changing it all over.
    I hope this can help save somebody else a couple of hours of misery.
    Regards,
    Jon
    This article was originally published in forum thread: Linux started by Bougor View original post
  • Recent Activity

    towlerg-21522

    Beta Testers Wanted

    Thread Starter: towlerg

    Actually, it's probably more alpha. While adding endless PRINT statements to show intermediate results, it occurred to me that there had to be a...

    towlerg Yesterday, 20:44 Go to last post
    Stephen Moss-711

    Help for Fatigue testing controller

    Thread Starter: amod

    Iam making LCD based fatigue test controller.In My program My UP & UD does not work when i set it to Word and lcd hangs.I have problem in Frequency...

    Stephen Moss Today, 09:17 Go to last post