Plug Mustang 1 V2 segmentation fault

Issue #44 resolved
BaBoOn922
created an issue

Hi, first of all a big thank you for your work and this wonderful software making our Amp Fender Mustang capable of running Linux.

Everything worked correctly until this weekend. Just to clarify, I'm Jessie Debian AMD64 without pinning. At home, the versions of the deposit have never worked, Plug launches is not able to find the amp root or not, so I always compile Plug with this method to use it:

qmake plug.pro make

and launched su ./plug

Plug works for me only in root account otherwise it refuses to connect to the amp, I following the method ubuntu

SUBSYSTEM == "usb", ATTRS idVendor {} == "1ed8" ATTRS idProduct {} == "0004", GROUP = "plugdev", MODE = "0666" SUBSYSTEM == "usb", ATTRS idVendor {} == "1ed8" ATTRS idProduct {} == "0005", GROUP = "plugdev", MODE = "0666" SUBSYSTEM == "usb", ATTRS idVendor {} == "1ed8" ATTRS idProduct {} == "0006", GROUP = "plugdev", MODE = "0666" SUBSYSTEM == "usb", ATTRS idVendor {} == "1ed8" ATTRS idProduct {} == "0007", GROUP = "plugdev", MODE = "0666"

The amp is recognized by lsusb and PulseAdui, Alsa, Jack ... Enterprise1 baboon @: ~ $ lsusb Bus 002 Device 004: ID 0738: 1705 Mad Catz, Inc. Bus 002 Device 003: ID 046d: 0825 Logitech, Inc. Webcam C270 Bus 002 Device 002: ID 8087: 0020 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0738: 1107 Mad Catz, Inc. Bus 001 Device 004: ID 1ed8: 0014 Bus 001 Device 002: ID 8087: 0020 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hub

And since this weekend I can not use Plug neither root nor in Normal user. Plug starts but when I try to connect it to the amp, it makes me crash and a segmentation fault.

Enterprise1 root @: / home / baboon / plug / plug # ./plug Qt: Session management error: Authentication Rejected, reason: None of the authentication protocols specified are supported and host-based authentication failed Segmentation fault

I use the latest version: hg clone https://bitbucket.org/piorekf/plug

That if you had an idea would be cool. I never updated the firmware of the amp

Best regards

Ps: sorry for my very bad English

Comments (5)

  1. Luca Santini

    Hi, i experienced similar issues on Archlinux (Mustang I V2). Please have a look to #45.

    Long story short:

    • be sure to have plugdev group into your system

    • be sure to have your user into the plugdev group

    • be sure to have the right udev rules in the right place... in Archlinux it is /lib/udev/rules.d/50-mustang.rules

    • be sure to restart udev and re-connect ampli after changes

    • execute plug as a user, not as root.

    hope this helps...

    p.s.: my rules in Archlinux are :

    $ cat /lib/udev/rules.d/50-mustang.rules

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0004", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0005", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0006", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0007", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0010", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0011", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0012", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0013", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0014", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0015", GROUP="plugdev"

  2. BaBoOn922 reporter

    Really great thanks Luca, it work for Plug compile by source, not for the Debian deposit version

    For help some people on Debian Jessie, i did:

    su

    mousepad /etc/udev/rules.d/50-mustang.rules

    I remove in:

    SUBSYSTEM=="usb", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0004", GROUP="plugdev", MODE="0666"

    SUBSYSTEM=="usb", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0005", GROUP="plugdev", MODE="0666"

    SUBSYSTEM=="usb", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0006", GROUP="plugdev", MODE="0666"

    SUBSYSTEM=="usb", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0007", GROUP="plugdev", MODE="0666"

    I past in:

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0004", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0005", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0006", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0007", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0010", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0011", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0012", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0013", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0014", GROUP="plugdev"

    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1ed8", ATTRS{idProduct}=="0015", GROUP="plugdev"

    groupadd plugdev

    adduser baboon plugdev

    service udev restart

    And Plug re-run and as a user, not as root.

    THX

    You have right in #45, i hope it will write in readme file

  3. Log in to comment