linux-on-hi10 icon indicating copy to clipboard operation
linux-on-hi10 copied to clipboard

working sd card

Open pgrobelny opened this issue 6 years ago • 14 comments

Hello I made my SDHC sard working by changing sdcard from ACPI mode to PCI in bios under bridges settings :) try it yourself

pgrobelny avatar Oct 26 '17 14:10 pgrobelny

@crackgm thanks for sharing ❤️ I hope that someone will be able to fix the remaining problems too (Speekers, cameras and accelerometer)

aminehmida avatar Oct 26 '17 15:10 aminehmida

did you get it working too?

pgrobelny avatar Oct 26 '17 16:10 pgrobelny

Thank you for sharing it! As soon as I test it, I will let you know if it works for me.

If you feel like contributing in some way, don't hesitate to ask for write permission, as I don't have much time to fiddle with the device by myself.

On 26 October 2017 16:53:01 CEST, crackgm [email protected] wrote:

Hello I made my SDHC sard working by changing sdcard from ACPI mode to PCI in bios under bridges settings :) try it yourself

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/danielotero/linux-on-hi10/issues/4

-- Sent from my Android device with K-9 Mail. Please excuse my brevity.

danielotero avatar Oct 26 '17 17:10 danielotero

My BIOS is awfully detailed. Do you mean the settings under Chipset/South Bridge/LPSS & SCC Configuration/SCC SD Card Support?

If I change it to PCI Mode the card does not even shows on the kernel log. In ACPI mode at least I get:

error: -110 whilst initialising SD card

Do we have the same device? Mine is a Chuwi Hi10 Pro Z8350 S/N HQ64G4217010xxxx

danielotero avatar Oct 26 '17 21:10 danielotero

The same tablet. Maybe kernel? I use antergos with newest kernel

pgrobelny avatar Oct 27 '17 08:10 pgrobelny

As I noted in a different issue, the microSD slot worked right away for me.

Possibly relevant System info:

[taeyeon:~] % cat /sys/block/mmcblk2/device/uevent
DRIVER=mmcblk
MMC_TYPE=SD
MMC_NAME=GD4QT
MODALIAS=mmc:block
[taeyeon:~] % uname -a
Linux 4.13.0-3-hi10 #1 SMP PREEMPT Wed Aug 30 11:49:11 UTC 2017 x86_64 GNU/Linux
[taeyeon:~] % sudo dmidecode
# dmidecode 3.1
[...]
BIOS Information
        Vendor: American Megatrends Inc.
        Version: 5.11
        Release Date: 12/23/2016
[...]
System Information
        Manufacturer: CHUWI INNOVATION AND TECHNOLOGY(SHENZHEN)CO.LTD
        Product Name: Hi10 pro tablet
        SKU Number: P1D6_C109D
[...]
Base Board Information
        Manufacturer: Hampoo
        Product Name: Cherry Trail CR
        Version: V100
[...]

S/N is HQ64G421703XXXXX Bios settings are default (It keeps resetting on me); Dualboot with windows using efistub and rEFInd (though the bios has serious issues actually doing what it's supposed to and not messing up the bootorder every other boot)

Orochimarufan avatar Oct 27 '17 12:10 Orochimarufan

I'm using the kernel config that is published in this repo. I should try with the stock one (but I think the brightness setting wasn't yet fixed) and with different SDCards, as maybe some other chip works.

Also, I can't get rid of the preloaded bootloader that came in the device (the white one that let me choose between Windows and Android, before I clean all the eMMC storage), and I have to load Arch through the Android option before I reach the gummiboot efi loader. Maybe that issue is affecting the BIOS settings in some way. I should study that.

danielotero avatar Oct 27 '17 20:10 danielotero

Just to let you know:

[daniel.otero:~] $ dmesg
[...]    
mmc2: error -110 whilst initialising SD card
[daniel.otero:~] $ uname -a
Linux chuwi 4.14.0-2-hi10 #1 SMP PREEMPT Fri Sep 29 00:11:30 CEST 2017 x86_64 GNU/Linux
[daniel.otero:~] # dmidecode 
# dmidecode 3.1
[...]
BIOS Information
	Vendor: American Megatrends Inc.
	Version: 5.11
	Release Date: 11/10/2016
[...]
System Information
	Manufacturer: CHUWI INNOVATION AND TECHNOLOGY(SHENZHEN)CO.LTD
	Product Name: Hi10 pro tablet
	SKU Number: I1D6_C109D_Hi10Pro
[...]
Base Board Information
	Manufacturer: Hampoo
	Product Name: Cherry Trail CR
	Version: V103

There are a couple of differences. I wonder if it has anything to do with it...

danielotero avatar Oct 27 '17 20:10 danielotero

You can disable the built in boot menu from Windows by using the SwitchNOW app and selecting No in the promt that asks to switch to Android. Unfortunately it comes back sometimes. That BIOS has some serious voodoo included that tries to fix broken boot setups, conversely it breaks stuff all the time if your setup doesn't match what it expects :(

The bios and board rev are different. Now that I look at it, we also fall into a different bracket in the official downloads thread: http://forum.chuwi.com/thread-2341-1-1.html yours falls into 2) while mine is 3). Unfortunately they don't provide bios updates for the hi10 pro and it's not particularly safe to flash a bios that came with a different board rev.

Orochimarufan avatar Oct 28 '17 00:10 Orochimarufan

Just to let you know, my sdcard is working but once 2-3 reboots it behaves like it doesn't exist.

pgrobelny avatar Oct 28 '17 17:10 pgrobelny

A small update on my part: My SD card has been acting up a lot recently. The symptoms are similar to others described here, but I believe it's more of a case of flaky hardware than a Linux issue because I've since experienced similar problems in Windows, though I'm not entirely sure there since Windows error reporting sucks. When it's gone in windows, the event log entry just says there was a paging error detected related to harddisk1. I've also noticed occasional severe slowdowns in both OSes that seem to be the system trying to deal with the SD card.

Orochimarufan avatar Nov 11 '17 05:11 Orochimarufan

Android detects my card just fine, however on Linux it'll just failed to initialize.

Danct12 avatar May 26 '19 02:05 Danct12

It's a hardware issue. Even on Windows 10 and Android, mSD reader fails, and no way to read mSD cards. Android ask to format and format (after accepting) forever, and Windows 10 (native default version) doesn't recognize any card. So Chuwi is the bug, not any os.

RafaelLinux avatar May 16 '21 14:05 RafaelLinux

I noticed that too, I haven't gone back to my tablet since I got my Pinebook Pro.

But it seems to be a common issue as well, someone I know ran into the issue and it was also discussed on russian forum boards.

Danct12 avatar May 16 '21 14:05 Danct12