Re: Re: Need help with msp430 software

"Reginald Beardsley [email protected] [msp430]" <[email protected]> Mon, 2 Mar 2015 07:26:56 -0800
Newsgroups gmane.comp.hardware.texas-instruments.msp430.discuss
Message-ID <[email protected]>
I already answered that question, though not intentionally.

 > ....  On one
> occasion the source code editor was the active focus and "hello
> world" was inserted in the source code which I then removed, changed
> focus and then pressed buttons 1 & 2 in the console tab without
> problems. 

I should note that the board does not show up as an HID on OpenIndiana, the Solaris derivative.  I've not investigated further.  There are a number of potential causes. I suspect that the root cause lies with the TI driverlib not correctly configuring the USB device.  Linux sort of configures it when it connects, but doesn't get it quite correct.  OI cfgadm(1m) shows the device as an unconfigured USB hub, but does not show either the mass storage device or the HID.  I've not queried the device with CentOS yet but will do that later today.

Linux would be completely unusable if keyboard input when the focus was not in an editor or terminal  window caused it to crash.  So I think the answer is it's not quite an HID device.  It's  close enough to trick Linux whereas OI more correctly refuses to accept its claims.

Have Fun!
Reg

--------------------------------------------
On Mon, 3/2/15, Friedrich Lobenstock [email protected] [msp430] <[email protected]> wrote:

 Subject: [msp430] Re: Need help with msp430 software
 To: [email protected]
 Date: Monday, March 2, 2015, 8:19 AM
     
       Hi!
  
 Reginald Beardsley [email protected] [msp430] wrote on
 2015-02-28
 
 22:20 MET:
 
 > In the process of  doing this I built and ran the
 entire demo
 
 > successfully several times.  I got both button 1 &
 2 to display text
 
 > in the console window.  But on one occasion, pressing
 button 1 caused
 
 > Linux to crash and on the other,  pressing button 2
 caused it to
 
 > crash.  In both cases the console was the active focus.
  On one
 
 > occasion the source code editor was the active focus
 and "hello
 
 > world" was inserted in the source code which I
 then removed, changed
 
 > focus and then pressed buttons 1 & 2 in the console
 tab without
 
 > problems.  The last time it crashed I had just pressed
 button 1
 
 > twice, gotten "hello world" twice.  It then
 crashed when I pressed
 
 > button 2.  I had touched neither mouse nor keyboard
 between pressing
 
 > the 2 buttons.
 
 
 
 Just a quick check, does your system work as normal when an
 editor
 
 program (gedit, kate, kwrite, LibreOffice Write, or the
 like) has the
 
 active focus INSTEAD of the console when you press the
 buttons?
 

 
 -- 
 
 MfG / Regards
 
 Friedrich Lobenstock
 
 



------------------------------------
Posted by: Reginald Beardsley <[email protected]>
------------------------------------

To unsubscribe from the msp430 group, send an email to:
[email protected]