Support for Mustang Mini

Issue #33 resolved
Paul Vint
created an issue

Hello, Tried this out on my Mustang Mini, and it did not find the device.

I created a fork with a couple minor changes to support the Mustang Mini. (Note that I have NOT yet tested firmware updates)

See https://bitbucket.org/pvint/plug

Cheers, and thanks for the great program, Paul

Comments (4)

  1. fabien_polette

    Hello,

    I am sorry for my previous message which wasn't enough detailed. To get working the Fender Mustang Floor, i adding a new PID in mustang.h and a new "if block" in mustang.cpp file.

    mustang.h:

    // amp's VID and PID
    #define USB_VID 0x1ed8
    #define OLD_USB_PID 0x0004  //Mustang I and II
    #define NEW_USB_PID 0x0005  //Mustang III, IV and V
    #define V2_USB_PID 0x0014   // Mustang II (and I?) V2
    #define MINI_USB_PID 0x0010 //Mustang Mini
    #define FLOOR_USB_PID 0x0012 //Mustang Floor
    
    // amp's VID and PID while in update mode
    #define USB_UPDATE_VID 0x1ed8
    #define OLD_USB_UPDATE_PID 0x0006  //Mustang I and II
    #define NEW_USB_UPDATE_PID 0x0007  //Mustang III, IV, V
    #define MINI_USB_UPDATE_PID 0x0011 //Mustang Mini
    #define FLOOR_USB_UPDATE_PID 0x0013 //Mustang Floor
    

    mustang.cpp:

    if((amp_hand = libusb_open_device_with_vid_pid(NULL, USB_VID, OLD_USB_PID)) == NULL)
                if((amp_hand = libusb_open_device_with_vid_pid(NULL, USB_VID, NEW_USB_PID)) == NULL)
                    if((amp_hand = libusb_open_device_with_vid_pid(NULL, USB_VID, V2_USB_PID)) == NULL)
                      if((amp_hand = libusb_open_device_with_vid_pid(NULL, USB_VID, MINI_USB_PID)) == NULL)
                        if((amp_hand = libusb_open_device_with_vid_pid(NULL, USB_VID, FLOOR_USB_PID)) == NULL)
                        {
                          libusb_exit(NULL);
                          return -100;
                        }
    

    Thanks.

  2. Log in to comment