• 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

    Pic16f18877 oread

    Thread Starter: evoortman

    Hi, On a PIC16F18877 the OREAD command doesn't seem to work. The code is working on a PIC16F1939. Both controllers use 32MHz int osc. If i...

    towlerg Today, 15:38 Go to last post
    Tim-107

    Lin bus and auto baud detection

    Thread Starter: Tim

    Lin bus looks to be a great system for an application i'm working on. One of the main things is the slave can be really simple without needing a...

    Tim Today, 18:28 Go to last post