DeBesten / opentx

Automatically exported from code.google.com/p/opentx
0 stars 0 forks source link

Taranis and Noname drives remount instantly #108

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which board (stock / gruvin9x / sky9x / Taranis) are you using?
Taranis
What is your openTx FW version?
2688
What is your openTx EEPROM version?
215
What steps will reproduce the problem?
1.Try to Eject/unmount Taranis and Noname drives from Mac OS
2.Drives remount faster than you can disconnect cable.
3.Not sure if this is a hardware or firmware issue, but thought I would mention 
it.

What is the expected output? What do you see instead?
Drives stay unmounted until cable can be disconnected.
Please provide any additional information below.

Original issue reported on code.google.com by oldjoecl...@gmail.com on 15 Aug 2013 at 1:28

GoogleCodeExporter commented 8 years ago
Failed to say that I have just been pulling the cable and accepting the OS X 
warning with no apparent ill effects.

Original comment by oldjoecl...@gmail.com on 15 Aug 2013 at 2:02

GoogleCodeExporter commented 8 years ago
Do you see a Tx reboot when you unmount the Taranis?

Original comment by bson...@gmail.com on 30 Aug 2013 at 1:29

GoogleCodeExporter commented 8 years ago
I can't remember at the moment Bertrand. It has been a couple of weeks. I 
believe the TX does reboot when you pull the cable.  I will check tonight.

Thanks,
Ken

Original comment by oldjoecl...@gmail.com on 30 Aug 2013 at 1:33

GoogleCodeExporter commented 8 years ago
Yes, Bertrand the TX reboots when you pull the cable.  I have seen no problems 
or error from this other than the fact that the Mac OS does not like and throws 
up a warning about unmounting improperly.  

Original comment by oldjoecl...@gmail.com on 31 Aug 2013 at 12:55

GoogleCodeExporter commented 8 years ago
when you simply unmount, does it reboots ?

Original comment by romolo.m...@gmail.com on 31 Aug 2013 at 1:06

GoogleCodeExporter commented 8 years ago
When you select "eject drive" on either Taranis or Noname it does not reboot. 
The drive remount within a second or two.  No time to remove the cable before 
they remount.  Since I cannot successfully in mount the drives I just pull the 
cable. That does produce a reboot. 

Original comment by oldjoecl...@gmail.com on 31 Aug 2013 at 1:31

GoogleCodeExporter commented 8 years ago
The reboot is normal. But I really don't see what your computer does when it 
ejects the drive!

Original comment by bson...@gmail.com on 31 Aug 2013 at 7:00

GoogleCodeExporter commented 8 years ago
André I don't have a MAC ... would you check on yours?

Original comment by bson...@gmail.com on 31 Aug 2013 at 7:04

GoogleCodeExporter commented 8 years ago
Yes, can duplicate here...

Original comment by bernet.a...@gmail.com on 31 Aug 2013 at 7:20

GoogleCodeExporter commented 8 years ago
Thanks, I realize the reboot is normal. The only issue is that normally when 
you unmount an external drive, it stays unmounted.  These remount immediately, 
although it doesn't seem to harm anything. Thanks for having a look!

Ken

Original comment by oldjoecl...@gmail.com on 31 Aug 2013 at 9:45

GoogleCodeExporter commented 8 years ago
I had a look through the USB code but could not find the right hooks for this.
But basically what would need to happen is that once the drive got ejected 
(safely remove hardware blah blah) it should stay disconnected until the cable 
gets pulled and plugged back in.
Right now it seems to immediately reload the stack once the device got ejected.

I'm sure the USB stack has a way to recognize both events. But yea, I got lost 
in the code.

This issue is especially annoying in OSX but even with every other OS, a hard 
drive should not be yanked out but safely ejected.

Original comment by TilmanBa...@gmail.com on 30 Oct 2013 at 5:57

GoogleCodeExporter commented 8 years ago
On other OSs it's not automatically remounted...
I can confirm about linux and windows

Original comment by romolo.m...@gmail.com on 30 Oct 2013 at 6:48

GoogleCodeExporter commented 8 years ago
Romolo, do we reproduce on a virtual machine? If yes I can give it a try, if no 
that would be more difficult ...

Original comment by bson...@gmail.com on 30 Oct 2013 at 6:52

GoogleCodeExporter commented 8 years ago
Issue 198 has been merged into this issue.

Original comment by bernet.a...@gmail.com on 4 Jan 2014 at 6:45

GoogleCodeExporter commented 8 years ago
I have just received my Taranis and I can replicate this problem. I notice that 
even when I switch off the Taranis with the cable plugged in the Taranis screen 
remains ON. Is there a risk I will corrupt anything when I pull the cable from 
the Taranis?

George

Original comment by george.c...@gmail.com on 10 Apr 2014 at 10:23

GoogleCodeExporter commented 8 years ago
I forgot to mention I am running opentx-r2940.

Original comment by george.c...@gmail.com on 10 Apr 2014 at 10:24

GoogleCodeExporter commented 8 years ago
This problem is fixed in OpenTX 1.99. You may test in the nightly builds here:
http://jenkins.open-tx.org/firmware/nightly-builds/

Original comment by bson...@gmail.com on 10 Apr 2014 at 10:38

GoogleCodeExporter commented 8 years ago
1.99 is a Windows build but our problem is with Mac OSX?

Original comment by george.c...@gmail.com on 10 Apr 2014 at 9:49