Even with my current job as a systems analyst, a software developer/programmer, I felt a need to document my learning, so I have something to always look back to, especially with my advancing age. But no, I'm not that old yet...
Showing posts with label Universal Serial Bus. Show all posts
Showing posts with label Universal Serial Bus. Show all posts
English: A Sandisk-brand USB thumb drive, SanDisk Cruzer Micro, 4GB. (Photo credit: Wikipedia)
16-Nov-2014
I am looking at the possibility of logging USB thumb drive transactions, like copy to and fro, delete, format, etc. This, unfortunately, I cannot find anything on the world wide web.
Can anybody help me?
I don't even find it in CodeProject.com repository. Or maybe I am just not looking hard enough?
At any rate, I am curious how this works, if ever.
I need help. Anybody, if you know, or if you can direct me to some other articles that has the answer, please feel free to let me know.
I have been using CyanogenMod ROM in my android phones for quite some time now, and perhaps I got a bit tired of it, and I started checking on the other custom ROMs.
A check on some details and features, and I was off to trying OmniROM.
To be honest, I was impressed. I am actually using it in my Samsung Galaxy Note II.
But in my Galary Royale unit, it wasn't that smooth-running as in my Note 2 phone. There is one big problem that I actually found out - and only until 2 days ago - I confirmed where it was coming from.
OmniROM causes my Galary R phone not be to recognized by my laptop. And that is some major problem to me. While the unit isn't sporting some fancy features, this problem of 'unrecognized device' occurred at some critical time: just when I was starting on my self-study of Android mobile device programming.
And I thought it was the USB driver that was the issue. Or the unit itself.
Since the unit isn't recognized, I had to disassemble the cover and the battery out in order to remove the SD card, so I can plug it in to another adapter, insert it into my SD card slot, and copy over the zip files.
And rightly so, after flashing my Galaxy R with a CWM customer ROM, it was immediately identified by my laptop. I didn't have to verify this 'restored' USB recognition with another laptop.
At any rate, I still run into some quirky problems. Yes, quirky.
With OmniROM, I am able to get the keyboard (AOSP) up and running. That doesn't work in CWM ROM. So while I am able to get the device recognized by the PC, I am not able to get google apps working, since I cannot connect to WiFi, or enter my user credentials.
Until I again found out that my CWM ROM 4.4.x must go with the GApps 4.4.x version. I was simply 'forcing' the one I already have, JB GApps 4.3.x, to work with the new CWM 4.4.x ROM.
After several tries, and confirming that CWM ROM gets my Galary R recognized by my PC, I looked for the rightful mate, GApps 4.4.x. I did another flashing, and this time, using the two 4.4.x versions, and voila!
The unit is recognized by my laptop, and at the same time, my Google account I can enter, and my apps all restored, and all.
This is my experience, so it doesn't mean it applies to all... but then again, I believe it is not an isolated incident.
Today, I wanted to give the chance to Dolphin Browser HD, whether it really is causing the problem of android phones self-reset cycle. After finding the cause of my phone’s first such self-reset mystery, and finding out that the actual reason was the over-transferring of apps from the phone memory to the SD card, I believe it is just right to clear the slate for Dolphin Browser HD, and declare it a ‘clean’ apps.
And I have decided to do that today, not later, as I may forget, and things become worse later on, since having the chance now, I didn’t grab it, and I lost the opportunity, just because of procrastination.
So that’s today. I have already installed Dolphin Browser HD, and a number of its auxiliary apps installed as well: like Dolphin Google Services, Browse Faster for Dolphin, Ultimate Flag and Text Sizer.
So if my phone don’t go loco, then I will have to tell the world that Dolphin Browser HD is okay! At least on my phone it is… hey, an hour, and my phone’s not dying on me after installing Dolphin Browser HD.
But I will give it enough days to prove itself before I declare it myself.
(Just to be clear, I have installed MX Video Player together with Dolphin Browser HD, in case there is a conflict of apps, I know which ones to hunt…)
I have not always been so keen on the difference between NTFS and FAT file system. I mean, we apply and implement them in our work PCs and servers, but at home, who cares?
I should. At least now I know why.
Last Friday, I was downloading some worship video songs, and when done, I converted them to .avi format, so I can copy them to a USB drive and play them on the Philips integrated Hi-Fi system equipped with USB drive.
What I did was simply un-use one of my currently plugged USB drives from being a ReadyBoost device. Then I copied over the converted files, unplugged them from my laptop, and plugged them to the Hi-Fi system.
Sure enough, USB is detected, but there isn't any file shown!
I turned off my Hi-Fi system, turned on again, and selected USB input, and it is the same: no files!
I turned to one of the other USB drives still plugged in to my laptop, un-use it from being a ReadyBoost device, copied over the files, unplugged it, then plugged it to the Hi-Fi, and the result is the same!
I verified by copying over the files to other USB drives that are currently used for watching movies, and there they are, the files are showing immediately once USB input is selected.
Then another one was used to verify, an SD card, and the same result was got: the files are being shown and are able to play; these on the SC card and the USB card.
Then I was wondering, "What's the difference?"
Then I remembered, the USB drives that 'don't work' were used as ReadyBoost devices, which were formatted with NTFS file system, while the other USB drive and the SD card, well, they are formatted using FAT/FAT32 file system.
So naturally, I took one of the USB drives that 'don't work', formatted it using FAT32 file system, copied over the same video files, plugged it to the Hi-Fi system, and sure enough, it works!
In case you encounter the same problem, the solution may be the same: FAT or FAT32 file system for your Hi-Fi System, an NTFS for your ReadyBoost. Hey, that is what makes it go past beyond the 4GB limitation.
This may be a very common item, but then again, i am prompted to post this short article on how to eject a thumb drive. Well, there's no robotic arm to physically eject and disconnect your thumb drive from your USB socket, but this is to electrically disconnect your thumb drive from your computer, so it is "safe" for removal.
Many do a right click on the "Safely Remove Hardware" icon in the system tray. This results to opening up the hardware dialog, and you have to select which USB device to disconnect.
Nothing wrong with this, but try to make a mistake and see what happens.
Instead of doing a right click on the said icon, do a left click, and you are ready to select, if there are many USB devices connected, which particular item to remove.
In most cases, it is only one, and that is your USB thumb drive.
Left click, then click on your thumb drive, and voila! You can pull out your thumb drive!
Mountains of incompatible chargers have been generated by wireless industry
Universal adaptor to be introduced in Europe on January 1, 2010
Rest of the world is unlikely to lag behind Europe in adopting universal charger
Most cell phones currently rely on different chargers, causing mountains of waste electronic.
(CNN) -- The frantic hunt for the right cell-phone charger will soon be a thing of the past -- in Europe at least -- as major manufacturers on Monday agreed to introduce a universal adaptor within six months.
Industry leaders, including Apple, Motorola, Nokia, Samsung and Sony Ericsson, have struck a deal with the European Union to introduce the one-size-fits-all charger by January 1, 2010, offering a solution to one of modern life's chief frustrations.
As the number of cell phones has exploded over the past few years, so have the number of chargers -- generating mountains of waste technology as users change or upgrade handsets.
Now the cell phone industry has agreed to standardize its chargers, making all handsets compatible with a micro-USB plug already standard on handsets such BlackBerrys.
Last year an estimated 1.2 billion cell phones were sold worldwide, according to University of Southern Queensland data reported by industry umbrella group GSMA (Groupe Speciale Mobile Association), generating up to 82,000 tonnes of chargers.
With concerns over the level of waste generated by redundant or outmoded chargers, European legislators had, prior to Monday's agreement, considered forcing manufacturers to adopt universal technology.
"I am very pleased that industry has found an agreement which will make life much simpler for consumers," Gunter Verheugen, vice-president of the EU's executive arm, the European Commission, said in a statement.
"This also means considerably less electronic waste, because people will no longer have to throw away chargers when buying new phones."
With the Europe-wide agreement in place, the rest of the world is unlikely to lag behind.
GSMA, which represents 750 of the world's cell-phone operators, has already pledged a January 2012 deadline for introducing a universal charger.
Enjoy higher contrast and enhanced efficiency on this media-friendly television set
Hedirman Supian, hedirman@mediacorp.com.sg
FLAT-PANEL television sets are becoming a commodity, no thanks to sliding prices. But how can manufacturers differentiate their products to lure the picky consumer? Well, electronics giant Samsung has gone the extra mile this time with its new series of LED-based full high-definition television sets.
Divided into three lines (the 8000, 7000 and 6000), the series employs light-emitting diodes (LEDs), instead of conventional cold cathode fluorescent lamps (CCFLs), for backlighting. LED technology makes the sets slimmer, increases the screen contrast and enhances energy efficiency.
The 40-inch model from the B7000 series appears amazingly svelte, looking thinner than the 3cm it actually measures at its thickest point. The only drawback was that it took quite a shove for some of the thicker cables to be plugged in, as the ports are positioned in such a manner that they are almost flush with the back surface.
Samsung has categorised the product’s interactive and content features under what it calls Medi@2.0, which includes Internet@TV, Content Library, USB 2.0 Movie and DLNA Wireless. Like its recent predecessor, the B7000 incorporates a range of pre-loaded content dubbed the Content Library. It includes a picture gallery, games, as well as cooking and fitness programmes.
You can download new content online and delete content you no longer need. USB 2.0 lets you hook up USB-based storage to view JPEG images, listen to MP3s, or watch movies. Its DNLA Wireless feature lets you access media on other DNLA-compatible devices, like the Sony PlayStation 3, mobile phones and computers. We loved the built-in YouTube feature because it provided a wealth of easily-accessible content. The movies on the online video-sharing site loaded fast and looked great even on the 40-inch TV.
With the TV being so reliant on networking and Internet connectivity for so many of its interactive features and content, we like the fact that Samsung is bundling a free wireless USB dongle with each set.
In terms of performance, the TV offered a marked difference in contrast, allowing you to see textures and details in dark scenes. While the display brightness was way above average, we noticed some over exposure in brightly-lit conditions and had to tone down the settings. Fast-moving action scenes weren’t as smooth as expected when it came to movies at 1080p resolution. There was slight fuzziness, but it was a non-issue over time when we started playing action games at 1080p using a PlayStation 3. The TV also ran much cooler than other sets we’ve reviewed before.
Apart from the long remote that allows for total control of the B7000, you get a mini-remote that lets you adjust the volume and switch channels. This was a nice touch, but with the plethora of cable boxes and other home theatre equipment hooked up to the TV, you’ll be better off with the full-featured remote, which also has a nifty backlight that allows you to use it in the dark.
The Samsung B7000 series ($5,399) shows that there’s still much room for improvement for TVs when it comes to bundling it with content and Internet connectivity. The added YouTube feature is a first for a TV and the device’s media-friendly features certainly make it easy for you to access content without the hassle of hooking it up to a computer or media centre.