• 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

    xldaedalus-432

    Mysterious PORTB problem

    Thread Starter: xldaedalus

    I'm using Proton+ to develop firmware for a product with switches. The MCU is an 18F26K22. Most of the switches reside on PORTB. I am NOT using a...

    xldaedalus Today, 00:57 Go to last post
    joesaliba-353

    Watchdog timer

    Thread Starter: joesaliba

    I have a code that basically looks for four input and four outputs, depends on various timing and input conditions. I use interrupt and some delays...

    joesaliba Yesterday, 12:10 Go to last post