Perry Howell
unread,Mar 9, 2011, 1:54:11 PM3/9/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Beagle Board, pho...@css-design.com
There was a thread discussing a issue I'm seeing exactly.
I'm trying to open a serial port and see the output below.
This was originally posted in 2008, but the thread ended without a
final response. Did this get resolved?
**some basic information**
Used bitbake to build mono.
******mono package info******
phowell@Perrys-Linux-Box:~/projects/bin/Debug$ dpkg -l mono-common
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/
Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version
Description
+++-===========================-===========================-
======================================================================
rc mono-common 2.0.1-4ubuntu0.1 common
files for Mono
phowell@Perrys-Linux-Box:~/projects/bin/Debug$ dpkg -l libmono0
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/
Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version
Description
+++-===========================-===========================-
======================================================================
ii libmono0 2.6.7-3ubuntu1 Mono JIT
library
phowell@Perrys-Linux-Box:~/projects/bin/Debug$ wc -l /etc/mono/config
27 /etc/mono/config
***********************************
**********error output at runtime*************
root@beagleboard:/home# mono XXX.exe
XXX starting, version (1.0.0.0)
[XXX::Reset] Resetting the XXX object
[Main::Main] Creating main
[Main::Main] Unable to open com port
System.DllNotFoundException: libMonoPosixHelper.so
at (wrapper managed-to-native)
System.IO.Ports.SerialPortStream:open_serial (string)
at System.IO.Ports.SerialPortStream..ctor (System.String portName,
Int32 baudRate, Int32 dataBits, Parity parity, StopBits stopBits,
Boolean dtrEnable, Boolean rtsEnable, Handshake handshake, Int32
readTimeout, Int32 writeTimeout, Int32 readBufferSize, Int32
writeBufferSize) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check)
System.IO.Ports.SerialPortStream:.ctor
(string,int,int,System.IO.Ports.Parity,System.IO.Ports.StopBits,bool,bool,System.IO.Ports.Handshake,int,int,int,int)
at System.IO.Ports.SerialPort.Open () [0x00000] in <filename
unknown>:0
at (wrapper remoting-invoke-with-check)
System.IO.Ports.SerialPort:Open ()
at XXX.XXXConnection.set_XXXSerialPort (System.IO.Ports.SerialPort
value) [0x00000] in <filename unknown>:0
at XXX.XXXConnection..ctor (System.IO.Ports.SerialPort port)
[0x00000] in <filename unknown>:0
at XXX.XXXConnection..ctor (Int32 commPort) [0x00000] in <filename
unknown>:0
at XXX.Main.SetupXXXConnection (Int32 commPort) [0x00000] in
<filename unknown>:0
at XXX.Main..ctor (Int32 commPort, Int32 XXXDetectMinutes) [0x00000]
in <filename unknown>:0
Any assistance would be greatly appreciated.
PH