📜 ⬆️ ⬇️

Problems with SDHC and their solution

kingston
Probably many have encountered the problem of recording SDHC cards on an EEE PC. I want to talk about the way I achieved the normal operation of the memory card.
I have a memory card, a fairly common trademark Kingston, with a capacity of 4 gb, class 6. The problems began when I tried to write files of more than 100 mb. The record indicator just hung, after a while a message about the write error was displayed. At first, I thought the curve map, then I remembered that under XP it worked fine. He began again to scour the forum. It turned out that many are faced with such a problem, mainly SDHC cards, ranging in size from 4gb, from various manufacturers. On the forum I found a list of memory cards that are supported by EEE PC. My card was not on the list. After an exhausting search, I came across the first solution to the problem.
  1. Reboot the computer.
  2. Click " F2 " and get into the BIOS.
  3. Select the " Advanced " tab.
  4. The item " OS Installation " is changed from Finish to Start .
  5. Press " F10 " select Yes.

That's basically it. We are loading, checking the map and see that everything is written successfully on it. This solution was not suitable for me. As it turned out, the web-camera stops working. When converting the Finish value to Start, the speed of the USB ports changes from 2.0 to 1.1. The built-in camera does not work on USB 1.1. In addition, the recording speed is also several times lower. Skype has to be used every day, all the time switching through the BIOS, I did not want to. Maybe someone can use this method, for example, on versions of EEE PC 4 serf and below. I continued my search for solutions.
The next solution is a bit more complicated, but there are no minuses in the work of the EEE PC.
We need the module " eee.ko ". We open the terminal and write the following:

wget eeepc-linux.googlecode.com/files/eeepc-linux-0.2.tar.gz
tar -zxvf eeepc-linux-0.2.tar.gz
cd eeepc-linux / module /
sudo make

The file " eee.ko " appears . Now we need to copy it into " /lib/modules/2.6.22-14-generic/kernel "
')
sudo cp eee.ko /lib/modules/2.6.22-14-generic/kernel

Next, run depmod -a

sudo depmod -a

We need to edit " /etc/modprobe.d/blacklist " and comment out " i2c_i801 " there

sudo gedit /etc/modprobe.d/blacklist

find the string:

blacklist i2c_i801

Replace with:

#blacklist i2c_i801

Editing " / etc / modules "

sudo gedit / etc / modules

At the very end add:

i2c_i801
eee

Now at the next boot, the " eee " module will automatically load. But that is not all.
Edit " /etc/init.d/checkfs.sh "

sudo gedit /etc/init.d/checkfs.sh

at the very end add:
#make sdhc card safe for checking
modprobe i2c-i801
modprobe eee
echo 70 24 1> / proc / eee / fsb

Save, reboot. Now really everything.
We can check the recording speed:

go to the memory card

cd / media / data

where the data folder is where you have a memory stick mounted, by default it's usually just disk
create file
dd if = / dev / zero of = test bs = 1024 count = 102400

This will create a 100mb file. In my case, I got the following result:

alex @ alex-laptop: / media / data $ dd if = / dev / zero of = test bs = 1024 count = 102400
102400 + 0 records read
102400 + 0 records written
104857600 bytes (105 MB), 11.848 seconds, 8.9 MB / s are copied
alex @ alex-laptop: / media / data $

8.9 MB, s is a good indicator for my card. That's actually
now everything works fine.

Taken from eee-blog.ru

Source: https://habr.com/ru/post/24790/


All Articles