Announcement

Collapse
No announcement yet.

USB Drive Monitor Plugin

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • USB Drive Monitor Plugin

    This Plugin is very simple in use and in its function, all it does is, monitors
    the system for usb drives, and informs the user if a drive is detected or
    removed,

    the Plugin has 2 events, and some labels to display info about the last drive
    inserted, some buttons to show all drives available, and safely eject them.


    Buttons:

    "usbmon_eject" ;safely ejects a usb drive. i.e. "usbmon_eject;F:\"

    'usbmon_list" ;list all usb drives on a CL, "CLText" holds,
    drives letter(F:\), "CLDesc" drives full info.

    Labels:

    "usbmon_driveinfo" ;displays all the info from usb drive.

    "usbmon_letter" ;displays drive's letter, "F"

    "usbmon_size" ;total drives size.

    "usbmon_free" ;drives free space.

    "usbmon_state" ;last event.

    "usbmon_type" ;type of usb drive.

    "usbmon_maker" ;drives maker.

    Indicators:

    "usbmon_connected" ;on when at least one usb drive is detected.

    Variables:

    "USBMONLETTER" ;holds drives letter, updated on any event, "F:\"


    Events:


    "*USBMON_ONARRIVAL" ;event fires when a usb drive is inserted and ready.

    "*USBMON_ONREMOVED" ;event fires when a drive is removed.


    There is no test skin for this , but a simple popup will do the trick , or a full screen with a CL
    list in it for the display of Drives....

    Plugin found in the usual place

    www.carputer1.com

    Enjoy
    Riderunner / Genesis
    Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
    New Home for Genesis & BassRR :adding to site ,, Hellfyre night
    Bassrr Beta Release :Version 1.3.7
    Movie_info Release :Version 3.1.0
    Wifiman_NET:Version 1.0.0

    Every Future, Needs A Beginning

  • #2
    does this monitor only usb flash drives or ALL usb devices. I've always thought of creating a plugin that lists all devices so i can be warned if a device disappears or bugs out. Its hard maintaining 24 usb devices when they're all tucked away and hidden somewhere lol
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

    Comment


    • #3
      Labels and buttons works fine. Exception: indicator "usbmon_connected" doesn't show anything (allways false) in Windows 7...
      Intel D945GCLF2, 2GB RAM, 160GB SATA, DVD-ROM SATA, WiFi Belkin USB, Navibe-GPS-Mouse, TFT 7" Lilliput, Win XP SP3, Silabs-radio, bluetooth by bluesoleil, RR last versions

      Comment


      • #4
        No function in win XP. I dont't get any results with differents USB-Sticks. As I said: works under win 7 (excep. indicator).
        Intel D945GCLF2, 2GB RAM, 160GB SATA, DVD-ROM SATA, WiFi Belkin USB, Navibe-GPS-Mouse, TFT 7" Lilliput, Win XP SP3, Silabs-radio, bluetooth by bluesoleil, RR last versions

        Comment


        • #5
          i have no issue under xp it see's all 10 of my sticks , make sure the dll is reg'ed via the rr plugin manager or debug
          Riderunner / Genesis
          Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
          New Home for Genesis & BassRR :adding to site ,, Hellfyre night
          Bassrr Beta Release :Version 1.3.7
          Movie_info Release :Version 3.1.0
          Wifiman_NET:Version 1.0.0

          Every Future, Needs A Beginning

          Comment


          • #6
            The RR plugin manager says about usb mon: all is good...
            The register.cmd shows some (warning) messages in Win 7 and Win XP, but the reg was successful.



            Do I need a special version of .NET?
            10 USB-Sticks? Are you a stick gatherer?
            Intel D945GCLF2, 2GB RAM, 160GB SATA, DVD-ROM SATA, WiFi Belkin USB, Navibe-GPS-Mouse, TFT 7" Lilliput, Win XP SP3, Silabs-radio, bluetooth by bluesoleil, RR last versions

            Comment


            • #7
              make sure you have .net 3.5 ,, i get sticks free lol biggest is 32 gig
              Riderunner / Genesis
              Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
              New Home for Genesis & BassRR :adding to site ,, Hellfyre night
              Bassrr Beta Release :Version 1.3.7
              Movie_info Release :Version 3.1.0
              Wifiman_NET:Version 1.0.0

              Every Future, Needs A Beginning

              Comment


              • #8
                yes... its a misuse of the codebase parameter for the .net assembly
                it should be removed
                -Thanks
                Mitch
                www.rush2112.net

                "Did you test it in carwings??"

                Sun, Come shine my way
                May healing waters bury all my pain
                Wind, Carry me home
                The fabric of reality is tearing apart
                The piece of me that died
                Will return To live again

                Comment


                • #9
                  btw, who is releasing plugins without installers, no user should be messing with registering dlls
                  -Thanks
                  Mitch
                  www.rush2112.net

                  "Did you test it in carwings??"

                  Sun, Come shine my way
                  May healing waters bury all my pain
                  Wind, Carry me home
                  The fabric of reality is tearing apart
                  The piece of me that died
                  Will return To live again

                  Comment


                  • #10
                    Originally posted by mitchjs View Post
                    btw, who is releasing plugins without installers, no user should be messing with registering dlls

                    Most people.


                    In fact I have only just moved over to installers only because my new ones have more than one DLL to place and register.



                    In fact I prefer it when plugins come without installers. (which kind of goes against me now using installers hmmmm?)

                    Comment


                    • #11
                      I did'nt realize that Installers are now standard where's the thread makeing it so ,i used it once or twice, but left it up the the big boys to play with , thought it was just a flashy way of doing the install,

                      so its another bit of software to learn

                      as for this PI , i did not make it , i just released it and tested on my 5 systems here with no issues a tall .....
                      Riderunner / Genesis
                      Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
                      New Home for Genesis & BassRR :adding to site ,, Hellfyre night
                      Bassrr Beta Release :Version 1.3.7
                      Movie_info Release :Version 3.1.0
                      Wifiman_NET:Version 1.0.0

                      Every Future, Needs A Beginning

                      Comment


                      • #12
                        no problem... at anytime i can help you with an installer

                        I have an inno script i use when i do plugins, takes 2 mins to tweak
                        and seconds to build

                        you could use other setups, but Inno Setup is powerfull and free
                        -Thanks
                        Mitch
                        www.rush2112.net

                        "Did you test it in carwings??"

                        Sun, Come shine my way
                        May healing waters bury all my pain
                        Wind, Carry me home
                        The fabric of reality is tearing apart
                        The piece of me that died
                        Will return To live again

                        Comment


                        • #13
                          OK Thanks to Mitch , for his efforts in the installer,,
                          USBmon has now been updated
                          Codebase fixed
                          connected indicator fixed

                          Get it while its Hot
                          Riderunner / Genesis
                          Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
                          New Home for Genesis & BassRR :adding to site ,, Hellfyre night
                          Bassrr Beta Release :Version 1.3.7
                          Movie_info Release :Version 3.1.0
                          Wifiman_NET:Version 1.0.0

                          Every Future, Needs A Beginning

                          Comment


                          • #14
                            i had problems about installing this plugin and wifi, i've found solution about wifi installing as first
                            while the solution i've found installing this plugin is:
                            - Run the installer and install the plugin MAKE SURE THE FOLDER IS CALLED "USBMon 1.0.0" ON STANDARD PATH THE "1.0.0" IS MISSING
                            - Once installed see if works, if will not work then regasm command "regasm /unregister USBMon.dll"
                            - Then regasm this other command "regasm /codebase /tlb USBMon.dll"
                            - Now should work, if will not then repeat from step 2 and the last step don't use /codebase as argument

                            UPDATE: ok it was too good to be finished, the plugin load so i was going to make the skin for manage the drives and noone of the commands work :| i can see the plugin on the list as ENABLED
                            for test i've add "USBMON_ONARRIVAL","Load;message.skin" in ExecTBL but when i insert the usb nothing happen, i've test with 2 usb sticks
                            i've also test buttons for example B,180,420,88,60,"usbmon_eject;D:\" but is still possible to access the usb stick
                            Last edited by Diavoletto; 07-08-2012, 02:01 PM.

                            Comment


                            • #15
                              i havent touch this in a very long time but try this....

                              Code:
                              "*USBMON_ONARRIVAL","Load;message.skin"
                              see the difference on the code?

                              using this code on SkinTool i can eject a drive(i recommend to use this tool to debug and test commands)
                              Code:
                              usbmon_eject;G:\

                              edit:
                              i just tested the pi and all works fine, FYI pi needs .net 3.5

                              Click image for larger version

Name:	usbarrival.jpg
Views:	1
Size:	103.5 KB
ID:	2284437
                              Last edited by EL CAMINO; 07-08-2012, 09:02 PM.
                              BASSRR ==> [Audio Player/MusicDB/Cd Player/Ripper/Rate/Internet Radio/Audio Capture/Youtube Video]
                              RRTube ==> [View/Download Youtube Videos]
                              WifiMan ==> [Wifi Manager]
                              RRec ==> [Audio Capture]

                              If You Want To Be Given Everything, Give Everything Up ...
                              Bird York -- In The Deep --

                              Comment

                              Working...
                              X