Pine64 $15 card killed my $120 keyboard
#20
Electrically USB supports hot plugging but most operating system use caching so USB data storage appears faster this by redirecting reads to the USB storage device to the cache. If the most recent data is still in the cache then the cache returns the result and read stops there. Writes to, data still pending, can be written to the cache instead resulting a massive increase in access speed but is comes with a hidden cost.

Caching acts like a temporary ramdisk and has an inherant flaw, namely that the OS shows that data writes have completed before all cached data has actually been written to the USB device, thus if you remove the device before the cache is empty then not all the data is written resulting in, what the OS sees as, data loss and formatting errors.

Again the need to unplug/eject USB media is the Operating System's need rather than the USB's, the later is quite happy if you remove a device half way through writing, it didn't lie about what data was written, it was the OS that lied.

Since USB is designed to be hot pluggable and only a problem with storage devices because of the OS lying about write completions then by rights you should be able to plug and unplug a normally keyboard for instance as many times as you like, assuming both manufacturers have kept to the USB standard then there should be no problems.

The OP had a device which had been working fine, it failed when it was plugged into his pine, many things could have gone wrong and we as outsiders cannot legitimately have any opinion about why it failed given the information available from the OP. The OP who I would say is not competent (surmised from what he did post) to make the decision that the pine caused his keyboard to fail made a statement based upon belief as well and I read his post as such.

We all, I presume, want to be helpful but posting mere opinion as fact cannot be seen as being helpful, presenting your faith as evidence doesn't make it convincing. I say faith because unless you understand the why of something based upon facts then your mantra of protection is just that a belief, one I now hope has now changed into an understanding based upon facts instead.

I do not like to be pedantic but I have noticed that one poster here and across the forum is quick ( in IMHO ) to post his opinion (to often based purely upon faith) as being fact and, I would say, that posts of this type are no help at all. It may be a problem of translation between brain and keyboard but I would ask that person to think first and check twice what he has written before hitting post. If it is just an opinion then make that clear by including "I think", "I believe", "in my opinion", "in my experience" etc otherwise you are annoying people because you are countering their statements based upon faith alone when this is not a religious forum.


Messages In This Thread
Pine64 $15 card killed my $120 keyboard - by exa - 06-29-2016, 05:45 AM
RE: Pine64 $15 card killed my $120 keyboard - by Oscar - 07-01-2016, 09:20 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question External storage problem for pine64 Dani6102 4 2,519 08-22-2023, 08:36 AM
Last Post: gulshan212
  PINE A64 SBC: Clone of a functional 32GB SD card doesn't boot burningkrome 3 2,347 05-19-2023, 07:43 AM
Last Post: crocspot
  Pine64 as wireless audio device S265 3 3,999 04-07-2022, 10:39 PM
Last Post: S265
  Pine64(+) and manjaro dsychan 0 1,421 04-05-2022, 11:32 PM
Last Post: dsychan
Thumbs Down Pine64 was a Useless Project pushpendrak 18 31,731 11-21-2020, 10:17 PM
Last Post: tllim
  Pine64 LCD rstcologne 0 3,406 09-22-2020, 12:43 PM
Last Post: rstcologne
  Pine64+ power button PaddyChan 0 3,076 09-14-2020, 09:55 AM
Last Post: PaddyChan
Exclamation Can't boot when SD card inserted kivox 5 8,934 03-15-2020, 06:00 AM
Last Post: kivox
  Pine64 OS dpcons 2 5,397 03-02-2020, 04:32 PM
Last Post: dpcons
  Jailhouse supports Pine64+ vj-kumar 0 3,106 02-17-2020, 11:39 PM
Last Post: vj-kumar

Forum Jump:


Users browsing this thread: 5 Guest(s)