RetroBSD / retrobsd

Main RetroBSD Operating System
BSD 3-Clause "New" or "Revised" License
341 stars 55 forks source link

DuinoMite-Mini UART doesn't work for Windows #58

Open petrock6 opened 9 years ago

petrock6 commented 9 years ago

I've gotten RetroBSD on my DuinoMite-Mini and it seems like Windows doesn't like the serial device. Strange, because MMBasic worked just fine. No driver is detected, but Windows realizes the device as "RetroBSD console." I don't know much about Windows drivers, but I do know that some need to be signed now. I don't know how this works with Plug-n-Play drivers, but I'm guessing it doesn't.

Kali Linux bootdisk allowed RetroBSD to boot and give a serial connection to minicom. However, the Duinomite would need to be plugged in at Linux boot. So if RetroBSD crashes, I had to restart the entire Linux system. Trying to reset the USB bus through /sys/bus/pci didn't work well, but Linux is pretty different from each distribution.

I am using Windows 7 64-bit, I could potentially test on 32-bit using a VM. The version of RetroBSD is from late May (LCD Hackaday article prebuild.)

Someone else on forums mentioned this issue in 2012: http://retrobsd.org/viewtopic.php?f=4&t=2945

sergev commented 9 years ago

Sounds like some protocol incompatibility between RetroBSD USB stack and Windows. It works pretty stable with Ubuntu Linux and Mac OS X. No stuck connections and no need for reboot.

If MMbasic works fine, then it makes sense to compare the procotol using some kind of USB analyzer, and find out the difference.

alexfru commented 9 years ago

I'm using Windows 7 x64 and DUINOMITE-MEGA from Olimex. It's working just fine. However, it is true that sometimes Windows takes time and several attempts to recognize a new USB device. Once it's done, and if you keep using the same USB port, it works.