08-03-2019, 04:22 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Aug 2019
Device: Kobo Aura
|
Setting VCOM
I replaced the screen on my Kobo Aura. It seems to work for the most part, but there are some minor issues with the screen: the images appear "faded" as everything seems to be a bit lighter than it should be and there is a lot of ghosting. These issues line up with what I'd expect to happen when the VCOM voltage* is too low. Now, my old screen needed -2.25 and my new one needs -2.33, so that's actually pretty close. I still think that setting the correct VCOM voltage might be the way to go.
I have searched on the internet a lot, but I didn't find anyone describing the process of setting the VCOM voltage for a Kobo e-reader. The closest I got was a post on this forum in which someone asked for exactly that, but never got an answer. So, I started experimenting. --- I did some speculation. The first assumption I made is that the VCOM voltage is set through software in the factory. Basically, that's just the more maintainable production process. There also doesn't seem to be a physical potentiometer on the PCB. And while the digitizer ribbon cable has a chip on it, the EPD ribbon cable doesn't. The second bit of speculation is that the VCOM value probably has to come from somewhere other than KoboRoot.tgz. This idea comes from putting myself in their shoes. I wouldn't want to build a new image for every new batch of screens, so I would use a standard KoboRoot.tgz and get the VCOM value from some other file or input. Now, I have still been looking at KoboRoot as it's still a main look into the device, but it was something for me to keep in mind. My main discovery has been that there is a bash script "vcom_store" which seems to validate at least some of my assumptions. It also suggests that there might be some preprocessing necessary to get from the voltage to the actual number that needs to be set. Unfortunately, it doesn't work. That's because it uses "/sys/class/hwmon/hwmon0/device/vcom_value" but the hwmon part of the tree is unpopulated. For reference, these are the contents of the vcom_store script: Code:
#!/bin/sh input=${1#-} #echo $input big=`echo ${input} |awk '{printf "%.2f\n",$1*100+16384}'` #big=$(echo "${input}*100+16384"|bc) #echo $big num=${big%%.*} #echo $num result=`printf 0x%x'\n' $num` #echo $result if [ -e /bin/busybox ]; then echo "Set vcom_value to $result " echo $result > /sys/class/hwmon/hwmon0/device/vcom_value fi --- *: Or does the V in VCOM stand for voltage, meaning that you can't say VCOM voltage because you would be saying voltage twice? |
08-04-2019, 04:05 PM | #2 |
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
The voltages are stored in the raw disk. They're called the waveform data.
Kobo provides a way to update this waveform data as part of software updates but, sadly, I couldn't find that specific blob in any fw upgrade. A few years ago I repurposed some "broken" kobos for a local library and I remember I had to dump and copy data between devices to have the proper settings when swapping screens between them. I'm pretty bad taking notes but a quick google search returned this https://news.ycombinator.com/item?id=14085861 The blob is loaded by uboot. I could provide more info if you are interested |
08-05-2019, 05:22 AM | #3 |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
there's also some vcom setting in hwconfig but it's set to 0 I believe
the value printed on my H2O replacement display was completely different from what was in it before The old display I don't have it anymore and it's blurry on the picture https://www.mobileread.com/forums/at...hmentid=172062 but it was -2.1x something and -1.27 on the new one https://www.mobileread.com/forums/sh...d.php?t=320264 so this is a big difference, no? and yet it works just fine so ... I never worried about it |
08-05-2019, 11:07 AM | #4 | |||
Junior Member
Posts: 5
Karma: 10
Join Date: Aug 2019
Device: Kobo Aura
|
Quote:
Based on different things I read, my guess would be that VCOM is the voltage, and the waveform is the timing of when the voltage should be applied, when the inverted voltage should be applied and when no voltage should be applied. That's just guessing, though, the one thing I'm sure of is that VCOM is not the same thing as the waveform. Quote:
Quote:
Hm... that's interesting. Maybe it's not VCOM that's causing my issues. It it's not, though, I'm not sure what is. |
|||
10-02-2019, 03:05 AM | #5 |
Junior Member
Posts: 1
Karma: 10
Join Date: Oct 2019
Device: kobo aura
|
Same problem
Same problem here. I replaced the screen of my kobo aura v2 and the contrast is very poor. I managed to rewrite the vcom values (I hope I got them right) with ntx_hwconfig, but nothing changed.
Did you manage to get yours fixed? Thanks! |
10-03-2019, 04:18 AM | #6 |
Addict
Posts: 243
Karma: 359054
Join Date: Nov 2012
Device: default
|
Well I stumbled across some info during my investigation of the TPS65185 chip. In the datasheet, section 8.37.
It seems that the PMIC can measure and save the adjustment value but how uboot or the kernel can be persuaded to make that happen I don't know. I have a suspicion that the second serial header on my Aura H2O is there for the purpose of doing that at the factory, so maybe that is the only possibility, no doubt you would need some special programmer to interface with it. If some of you smart hackers can figure out how to do it, I'd be interested to sse the result. ETA: here, maybe? Last edited by DomesticExtremis; 10-03-2019 at 04:36 AM. |
10-13-2019, 11:03 AM | #7 |
Member
Posts: 19
Karma: 10
Join Date: Oct 2019
Location: Kuala Lumpur, Malaysia
Device: Kobo Aura
|
I'm about to replace my Kobo Aura screen soon...has anybody succeeded yet?
|
10-13-2019, 12:29 PM | #8 |
Member
Posts: 16
Karma: 10
Join Date: Jan 2008
Location: Bentonville, AR
Device: REB1100,Kobo:1,Wifi,Touch,Mini,Aura,Glo
|
The below link is for the ancient Kobo Wifi, but later models of Kobo also seem to have these data blocks in the raw partition:
http://blog.ringerc.id.au/2011/01/ta...i-without.html I had similar poor display issues when using a SD image from one Kobo mini on another Kobo mini. Transplanting the data blocks mentioned in the above link from the corrupted SD card to the image from the working SD card not only fixed the display, but also set the mac address. Something to consider. |
10-13-2019, 06:40 PM | #9 | |
Member
Posts: 19
Karma: 10
Join Date: Oct 2019
Location: Kuala Lumpur, Malaysia
Device: Kobo Aura
|
Quote:
|
|
10-13-2019, 10:08 PM | #10 | ||
Addict
Posts: 243
Karma: 359054
Join Date: Nov 2012
Device: default
|
Quote:
Quote:
|
||
10-14-2019, 05:25 AM | #11 |
Member
Posts: 19
Karma: 10
Join Date: Oct 2019
Location: Kuala Lumpur, Malaysia
Device: Kobo Aura
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura H2O Vcom voltage changing | m4103 | Kobo Developer's Corner | 0 | 09-29-2018 07:51 AM |
VCOM and Aging_test? | soviet911 | Onyx Boox | 1 | 11-12-2014 10:42 AM |
Adjusting VCOM voltage to fix fading display | rudyt | Sony Reader Dev Corner | 3 | 08-21-2010 06:35 AM |
Which setting? | Stitchawl | Calibre | 5 | 05-26-2010 04:21 PM |