12-29-2012, 06:26 AM | #16 | |
Connoisseur
Posts: 58
Karma: 4158
Join Date: Nov 2012
Device: Kobo Glo, Kobo Aura H2O, Kobo Aura One
|
Quote:
|
|
12-29-2012, 12:02 PM | #17 | |
Junior Member
Posts: 5
Karma: 12050
Join Date: Dec 2012
Location: Germany
Device: Kobo Aura
|
Quote:
|
|
Advert | |
|
01-20-2013, 01:18 PM | #18 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
I've noticed that if I plug my Glo into a USB cable and turn the frontlight on and then off that the LEDs will often go dimmer than the lowest level for a few seconds. I'd say that it's about half as bright as the lowest setting, and hardly noticeable in a bright room.
|
01-21-2013, 05:47 AM | #19 | |
Connoisseur
Posts: 71
Karma: 18140
Join Date: Jul 2011
Device: PRS-T1&KOBOTOUCH
|
Quote:
1.when the frontlight is off, pluged the usb into GLO, GLO asked me if I want to connect to pc? 2.I chose cancel, then pressed the light button, the led is on. 3.I pressed the light button again, the led is just off. 4.Unconnected the usb, turn on the led, the light didn't go to a dimmer level. What's wrong with the above steps? Last edited by xuyn2003; 01-21-2013 at 05:51 AM. |
|
01-21-2013, 01:47 PM | #20 | |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Quote:
1. Plug USB into Glo, choose cancel when asked to connect to PC. 2. Turn on frontlight. 3. Turn off frontlight. The light goes dim for a second, then goes completely off. Sometimes the frontlight only goes dimmer for a fraction of a second, and you'd miss it if you weren't looking for it. A few times, I've had it stay at half-brightness for 10-15 seconds. Here are two photos of my Glo in an almost completely dark room, first at normal lowest brightness: And then at a dimmer level after pressing the light button to turn the frontlight off while connected to a USB charger: |
|
Advert | |
|
01-22-2013, 03:30 AM | #21 |
Connoisseur
Posts: 71
Karma: 18140
Join Date: Jul 2011
Device: PRS-T1&KOBOTOUCH
|
Thank you, it will be great if the half-brightness level could be kept.
|
01-25-2013, 04:07 PM | #22 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
|
OK cool, at least you've made some progress. Just found this forum after searching about the brightness of the Kobo Glo. I was really disappointed because I fell for the marketing saying it could be read "even in pitch darkness". It's way too bright at minimum level for my eyes.
I guess if the ioctl doesn't work, we need to go lower and look at the device driver that ioctl interfaces with (if that's accessible, I've no idea as not tried to root mine yet). staropram |
02-05-2013, 10:15 AM | #23 |
Zealot
Posts: 100
Karma: 470830
Join Date: Nov 2012
Location: Berlin
Device: Nook Simple Touch, Kobo Aura H2O, Kobo Libra 2
|
If I turn the light on with this program, it stays on when the device enters sleep mode. If I turn the light on through the button, it gets turned off for sleep mode
So it would seem that pressing the light button sets a flag somewhere, which is then being read by the sleep routine. I was looking for a script somewhere that handles sleep mode, but couldn't find anything. Running strace on nickel also didn't give me recognizable hints. Any ideas? |
02-06-2013, 04:54 AM | #24 |
Time Waster
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
|
I've made some research on this. I've added a little code used in kernel:
Code:
#include <stdio.h> #include <fcntl.h> #include <sys/ioctl.h> static unsigned short FL_table0[100]={ 0x0001,0x0006,0x0007,0x0009,0x000C,0x000D,0x000E,0x000F,0x0011,0x0012, 0x0014,0x0015,0x0017,0x0018,0x001A,0x001B,0x001C,0x001D,0x001F,0x0020, 0x0022,0x0023,0x0025,0x0027,0x0028,0x002A,0x002B,0x002D,0x002E,0x0030, 0x0031,0x0033,0x0035,0x0036,0x0038,0x0039,0x003B,0x003C,0x003E,0x0040, 0x0041,0x0043,0x0044,0x0046,0x0047,0x0049,0x004A,0x0051,0x0057,0x005D, 0x0063,0x006A,0x0070,0x0076,0x007C,0x0083,0x0089,0x008F,0x0095,0x009C, 0x00A2,0x00A8,0x00AE,0x00B5,0x00B9,0x00BB,0x00C1,0x00C7,0x00CE,0x00D4, 0x00DA,0x00E0,0x00E7,0x00ED,0x00F3,0x00F9,0x0100,0x0106,0x010C,0x0112, 0x0118,0x011F,0x0125,0x012B,0x0131,0x0138,0x013E,0x0144,0x014A,0x0151, 0x0157,0x015D,0x0163,0x016A,0x0170,0x0176,0x017C,0x0183,0x0189,0x018F }; int main(int argc, char *argv[]) { if ( argc != 2 ) { printf("Usage: %s brightness \n", argv[0]); return 1; } int light; // Open the file for reading and writing if ((light = open("/dev/ntx_io", O_RDWR)) == -1) { printf("Error opening ntx_io device"); } int brightness = atoi ( (argv[1]) ); ioctl(light, 243, brightness); return 0; } /* case CM_FRONT_LIGHT_SET:241 if(0!=gptHWCFG->m_val.bFrontLight) { if (p) { printk ("\nset front light level : %d\n",p); if(p>0 && p<=50) { gpio_direction_output(FL_R_EN,0); msp430_write (0xA7, FL_table0[2*(p-1)]&0xFF00); msp430_write (0xA6, FL_table0[2*(p-1)]<<8); printk("PWMCNT : 0x%04x\n", FL_table0[2*(p-1)]); }else if(p>50 && p<=100){ gpio_direction_output(FL_R_EN,1); msp430_write (0xA7, FL_table0[p-1]&0xFF00); msp430_write (0xA6, FL_table0[p-1]<<8); printk("PWMCNT : 0x%04x\n", FL_table0[p-1]); }else{ printk("Wrong number! level range from 0 to 100\n"); } if (0 == last_FL_duty){ msp430_write (0xA1, 0xFF00); msp430_write (0xA2, 0xFF00); msp430_write (0xA5, 0x0100); msp430_write (0xA4, 0x9000); msp430_write (0xA3, 0x0100); msleep(100); gpio_direction_output(FL_EN,0); } } else { printk ("turn off front light\n"); msp430_write (0xA3, 0); gpio_direction_input(FL_EN); gpio_direction_output(FL_R_EN,0); } last_FL_duty = p; } break; case CM_FRONT_LIGHT_DUTY:243 if(0!=gptHWCFG->m_val.bFrontLight) { if (p) { printk ("\nSet front light PWMCNT : 0x%4X\n",p); printk ("Current front light Frequency : (8MHz/0x%4X)\n",current_FL_freq); msp430_write (0xA7, p&0xFF00); msp430_write (0xA6, p<<8); if (0 == last_FL_duty){ msp430_write (0xA1, 0xFF00); msp430_write (0xA2, 0xFF00); // msp430_write (0xA5, 0xFF00); // msp430_write (0xA4, 0xFF00); msp430_write (0xA3, 0x0100); msleep(100); gpio_direction_output(FL_EN,0); } } else { printk ("turn off front light\n"); msp430_write (0xA3, 0); gpio_direction_input(FL_EN); } last_FL_duty = p; } break; case CM_FRONT_LIGHT_FREQUENCY:244 if(0!=gptHWCFG->m_val.bFrontLight) { if (p) { printk ("set front light Frequency : (8MHz/0x%4X)\n",p); // msp430_write (0xA4, (p<<8)); msp430_write (0xA5, p&0xFF00); msp430_write (0xA4, (p<<8)); current_FL_freq = p; } } break; */ I'd say the state in which there's only a faint light on the screen is here: printk ("turn off front light\n"); msp430_write (0xA3, 0); //hang somehow gpio_direction_input(FL_EN); gpio_direction_output(FL_R_EN,0); so that FL_R_EN is not yet set to 0. |
02-06-2013, 03:56 PM | #25 | |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
Quote:
|
|
02-19-2013, 06:35 AM | #26 |
Member
Posts: 11
Karma: 10
Join Date: Feb 2013
Device: kobo glo
|
Is it working on new 2.4.0 firmware?
|
02-19-2013, 10:40 AM | #27 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
|
03-02-2013, 08:38 AM | #28 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2013
Device: Kobo Glo
|
Hello,
I 'm new to this fora. I just bought a kobo glo and while the reader is great, I also find the frontlight too bright. I put the code in the main folder of my kobo, but nothing seems to happen. I also don 't see how I can 'execute' it. Apologies if this is a stupid question, but is there something more I need to install/do before this code will work on the kobo? Thanks in advance! An |
03-02-2013, 09:27 AM | #29 |
Addict
Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
You have to use the Kobo Tweaks plugin to use the frontlight program. After you install the plugin, add these lines to kobotweaks.ini (in the .kobo folder on your Glo):
Code:
[CustomCommands] Frontlight=tweaks.executeSystemCmd(\"/mnt/onboard/frontlight 1\") Just a note: while this program does let you set the frontlight to a lower level, there is really hardly any difference at all between the Glo's default lowest brightness and this program's lowest. |
03-02-2013, 02:17 PM | #30 |
Wizard
Posts: 1,775
Karma: 2694823
Join Date: Dec 2011
Location: The Netherlands
Device: Kobo Touch, Glo, Clara HD
|
Yes I noticed this. Rather a shame. I'm assuming the LEDs are dimmed by switching them on and off in a certain frequency with a certain length of _on_ time. Would there be a way to make this _on_ time shorter? The Kindle Paperwhite seems to be able to dim its LEDs right down with no disturbing "flickering" – and I see no disturbing flickering with the Glo light=1 setting either... so I'd really like to try and glo lower.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Odyssey Odyssey HD FrontLight available for preorder | Chi Cygni | Bookeen | 66 | 12-21-2012 02:55 AM |
Frontlight + touchscreen + moths | GeoffR | Kobo Reader | 7 | 12-12-2012 05:21 PM |
Kobo Glo vs Cybook Odyssey Frontlight | Magean | Which one should I buy? | 4 | 11-30-2012 06:50 AM |
Frontlight: How to reset? | WS64 | Bookeen | 18 | 11-26-2012 04:47 AM |
Odyssey Odyssey HD FrontLight battery | Gardenman | Bookeen | 4 | 11-12-2012 03:46 AM |