On Thu, Sep 26, 2013 at 09:12:50AM -0400, Ian Chapman wrote:
>      I have a silly problem.  Mspdebug runs and reports :--
> #mspdebug rf2500
> MSPDebug version 0.19 - debugging tool for MSP430 MCUs
> Copyright (C) 2009-2012 Daniel Beer <dlb...@gmail.com>
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> usbutil: unable to find a device matching 0451:f432
> 
>      but it's okay if I do a su "super user" first.  I'm using 
> MintDerbian and I've tried adding myself to the admin groups but need a 
> pointer from a Linux expert.  I guess I can work as a superuser for 
> now.  Thanks in advance Ian.

Hi Ian,

Not sure why the error message is that one in particular if the problem
is due to permissions (maybe an old bug in 0.19?). Anyway, to allow
normal user access to USB devices, you need to add udev rules. If you
find out where your rules are stored (mine are in /lib/udev/rules.d),
add a file called 99-mspdebug.rules, containing these lines:

ATTRS{idVendor}=="0451", ATTRS{idProduct}=="f430", MODE="0660", GROUP="plugdev"
ATTRS{idVendor}=="0451", ATTRS{idProduct}=="f432", MODE="0660", GROUP="plugdev"
ATTRS{idVendor}=="2047", ATTRS{idProduct}=="0200", MODE="0660", GROUP="plugdev"
ATTRS{idVendor}=="2047", ATTRS{idProduct}=="0010", MODE="0660", GROUP="plugdev"
ATTRS{idVendor}=="2047", ATTRS{idProduct}=="0013", MODE="0660", GROUP="plugdev"

Then:

  * run: udevadm control --reload-rules
  * add yourself to the plugdev group
  * log out and in again
  * replug your device

Hopefully you should then be able to use the device as a normal user.
You might need to pick a different group if you don't have a "plugdev"
group -- it doesn't really matter.

Cheers,
Daniel

-- 
Daniel Beer <dlb...@gmail.com>    www.dlbeer.co.nz
IRC: inittab (Freenode)    PGP key: 2048D/160A553B

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to