Google coral board disconnects randomly - disconnect

I connect to google coral development board using ubuntu terminal with mdt shell command which basically connects via ssh through USB (no wifi required). It has occurred many times that the board disconnects, or becomes unresponsive. Since it happens randomly, I do not know what triggers it and when it will happen, nor can I reproduce it. To confirm, I run mdt devices whenever it happens and it outputs nothing.
Has anyone faced this issue? If yes, what could be the reason and how to deal with it? It will be used for long time demonstration in a fair, so this is a big problem.

Just to confirm, are you running Ubuntu Terminal on Ubuntu OS or Windows running ubuntu terminal?
I had similar issues when I tried doing mdt devices but after I switched to Ubuntu OS, everything worked fine.
Second thing you can try is different cable, maybe the cable is having a lose connection
Let me know if this works.

Related

Java Mail Hangs (after suspend?)

I am using java mail 1.6 on Kubuntu Linux 18.04. It all works beautifully. I am connecting to an IMAP server, getting email, etc.
But there is one thing that is causing me grief.
After I close my laptop for a short period of time (so the laptop is probably sleeping), and then open it up, java mail keeps working just fine.
However after I close my laptop for a long period of time (overnight, so the laptop has probably suspended), and then I open it open it up, two things happen:
idle stops working (I have coded this with both IdleManager and
folder.idle, and get the same issue)
when I close a Store or a Folder javamail simpy hangs.
I am guessing that somehow the TCP connection to the IMAP server has died, or maybe I have some timeout set wrong.
I would post code but its buried in a large application, and I am hoping someone has seen this issue before and it has a simple fix.
gym

Disconnecting Monitor From Raspberry Pi while Running Script

I currently have a C script on the Pi that controls a spectrometer (through a USB input) and a servo motor through the GPIO pins on a Raspberry Pi. The program requires a few user inputs, so I need a monitor connected to start the program. However, I may be needing to run this script for a while, so I need to unplug my laptop once the script is running. Right now, when I unplug my laptop, the script stops running, but it is fine to run as long as I ask it to when I keep the laptop hooked up. Any advice on how to remotely run a script that still requires a user input in the terminal window?
You could get the IP address of the Pi using ifconfig and remotely log into it from a different computer and run the script remotely
Use utilities like screen or tmux. They will be available through your package manager.

Embedded System Hangs

I am using TIOMAP/AM3517 based custom board which has ARM7 core + Linux 2.6.32 running on it.
Recently, I started observing an issue in which all the interfaces serial console, RNDIS/USB, Network stops responding (my type on keyboard connected to serial port/console port doesn't go through + no device is detected upon removal/insertion of USB sticks/BT dongle + Ethernet/network activities are stopped (can't login over ssh or access webPage that the system has.
I checked the power to the CPU and other power rails using DMM and it looks fine.
There is no keyboard attached so MagicSysRq cannot be used while the issue happens.
I have watchdog on the system which rebooted the system, however to reproduce the issue and to get more information of the system's state, now i have disabled the watchdog.
Finally, my system/linux is configured to reboot upon detecting softlockup which is not happening either. Also, I have enabled verbose debug options under kernel hacking but nothing seems to give any more information.
How do I debug the issue to identify the rot cause of it?

Raspberry Pi usb redirect issue

Okay I am going to try and be as discriptive as possible here to get this problem solved. I work at a company that makes BIG gear boxes and we have computers that run our Mills/Laths. These computers are currently FIT-PCs running XP. These computers are used to control the laths/mills via a usb to serial converter (PL2303_Prolific usb to serial converter). When it is plugged into an xp machine it is recognized as a com port. SO these machines are very old and are fail left and right, I intend to replace them with a raspberry pi running xfreerdp but I can't seem to get the usb serial device to be redirected to the virtual machine it is remoting into. Has anyone ran into this/know a fix for it? Please ask me questions if you are unsure of something because I am completely stuck here. TLDR Using raspberry pis as thin clients need to push a usb 2 serial cable through to the virtual xp machine
Unfortunately there are known issues with USB on Raspberry Pi. They're aware of the issue and working on it, but it is as of yet unresolved.
The USB Redux thread was created to capture the state of the work as well as the current list of work-arounds. The USB/serial converters are broken is a related thread.
There is hope, however. First, they are working actively to fix it, so I suspect it's just a matter of time. Second, there are a few things you can try.
There's a config file in
/boot/cmdline.txt where you can try adding a few entries. One that appears quite effective is dwc_otg.speed=1 and dwc_otg.fiq_fix_enable=1 (but they didn't help me). See this page for some examples.
Update the kernel (search for rpi-update) to at least #348 (use uname -a to determine the kernel level)
Good luck.
Update (Mar 13 2013). There appears to be a fix for the majority of USB issues as of kernel #389. Use rpi-update to update.

BB Simulator does not start

When I run my BB Simulator; I keep getting the following error:
Port in Use - BlackBerry Smartphone Simulator
Could not open port 19780 because it is in use by another program (possibly another instance of this simulator). You must close the other program for network operations to function correctly.
I have modified rimpublic.properties under MDS/config, but no luck.
[UDP]
UDP.receive.port=29781
UDP.send.default=29780
Any suggestions to get MDS and Simulator running???
I am running Win 7.
I had Microsoft Client for ISA Server installed on my machine and that seems to be causing problems for BB MDS simulator. MDS and BB Simulator work fine after disabling the ISA client.
In general if the MDS simulator is having problems running, there is a another web server running on the machine which is causing port conflicts.

Resources