Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Ipod nano 2nd gen - white screen
« previous next »
  • Print
Pages: [1] 2

Author Topic: Ipod nano 2nd gen - white screen  (Read 23557 times)

Offline siouxes

  • Member
  • *
  • Posts: 9
Ipod nano 2nd gen - white screen
« on: April 18, 2011, 06:18:52 PM »
Hi guys,

 i have an old ipod nano 2nd generation and some days ago i read about rockbox. I am not a linux noob and i use the rockboxutility to reborn my pod to a new life.
So, i read on port status that now ipod 2nd gen is supported, since rockbox 3.7.

RockBox utility says that installation was going all done, but after reset my ipod, after the apple logo, i can read "rockbox" on the screen for a while, and than all the LCD fade to a 100% white.

The strange things, is that if i connect my earpiece, and move the clickwheel, i hear rockbox TTS that says to me in wich menu item i am!!!

So, seems to be that rockbox is working, but somethings goes wrong on LCD initialization, i think.

Just for information, i tried all version under the 'release' folder, from 3.7 to last one 3.8.1. I have also tested the latest build version with the same behaviour.
Notice that between one version to the other, i always recover my ipod via itunes, so i am sure that firmware nor files on my pod was corrupted.

I am available to any test, i really want to have rockbox installed (and working) on my ipod.

BR to all.

Simone
Logged
Ipod Nano 2nd Gen

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Ipod nano 2nd gen - white screen
« Reply #1 on: April 18, 2011, 09:25:35 PM »
See if this helps:
http://forums.rockbox.org/index.php?topic=26365.0
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline bertrik

  • Developer
  • Member
  • *
  • Posts: 171
    • Homepage Bertrik Sikken
Re: Ipod nano 2nd gen - white screen
« Reply #2 on: April 19, 2011, 10:42:52 AM »
I'm no ipod nano 2g expert, but a slow fade to white (like a blooming effect) of the LCD generally means that the display is no longer driven by the LCD controller.

It's a bit odd that you do see a rockbox logo at the start. Perhaps the logo was shown by the rockbox bootloader and the display driver is somehow not working in the main rockbox firmware.
Logged
Meizu M6SP, Samsung YP-S3, iPod nano 1g, Sansa c200, Sansa e200, Sansa Clip, Sansa Clip+, Sansa Clip Zip
 

Offline siouxes

  • Member
  • *
  • Posts: 9
Re: Ipod nano 2nd gen - white screen
« Reply #3 on: April 19, 2011, 11:36:45 AM »
Hi bertrik, from the wiki:

http://www.rockbox.org/wiki/IPodNano2GPort

in status section, says:

LCD driver    - Done - Full functionality implemented and reasonably optimized (since r28813)

I am using latest SVN source, r29749.

I think that my ipod, probably, has some hardware difference or other things that i don't know... the reason for this thread is that i googled this problem and i found other rockbox users with the same issue... so, i have some time to spent over this and i think that is good to use this time to help this project to enlarge the device compatibility.

(excuse for my english, i hope it's clear...)
« Last Edit: April 19, 2011, 12:30:43 PM by siouxes »
Logged
Ipod Nano 2nd Gen

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Ipod nano 2nd gen - white screen
« Reply #4 on: April 19, 2011, 02:17:52 PM »
Your English is perfectly clear.  :)

I agree that initial display of the Rockbox logo then a slow fade to white gives the appearance that the bootloader and firmware are doing something a bit differently.  Do different contrast values have any effect?
« Last Edit: April 19, 2011, 03:11:26 PM by Chronon »
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline siouxes

  • Member
  • *
  • Posts: 9
Re: Ipod nano 2nd gen - white screen
« Reply #5 on: April 19, 2011, 02:27:39 PM »
I don't know how to change it. From the ipod i didn't find the contrast settings (i can only use the voice guidance) and from other thread i read that it can be changed by the file config.cfg... but i didn't find it in the .rockbox directory nor into sources.
Logged
Ipod Nano 2nd Gen

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Ipod nano 2nd gen - white screen
« Reply #6 on: April 19, 2011, 03:13:20 PM »
If you browse the .rockbox directory with your PC's file browser you don't see a config.cfg file?
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline siouxes

  • Member
  • *
  • Posts: 9
Re: Ipod nano 2nd gen - white screen
« Reply #7 on: April 19, 2011, 03:17:49 PM »
Really not... this is the content of my .rockbox ...

Code: [Select]
user@user-ubuntu:~/Scaricati/ipodnano/rockbox/build/.rockbox$ ls -l
total 608
drwxr-xr-x 2 user user   4096 2011-04-19 01:32 backdrops
drwxr-xr-x 2 user user   4096 2011-04-19 01:32 codecs
drwxr-xr-x 2 user user   4096 2011-04-19 01:32 codepages
-rw-r--r-- 1 user user      0 2011-04-19 01:32 database.ignore
drwxr-xr-x 2 user user   4096 2011-04-19 01:32 docs
drwxr-xr-x 2 user user   4096 2011-04-19 01:32 eqs
drwxr-xr-x 2 user user   4096 2011-04-19 01:32 fonts
drwxr-xr-x 2 user user   4096 2011-04-19 01:32 icons
drwxr-xr-x 2 user user   4096 2011-04-19 01:32 langs
-rw-r--r-- 1 user user    712 2011-04-19 01:32 rockbox-info.txt
-rw-r--r-- 1 user user 553532 2011-04-19 01:32 rockbox.ipod
drwxr-xr-x 6 user user   4096 2011-04-19 01:32 rocks
-rw-r--r-- 1 user user   8896 2011-04-19 01:32 tagnavi.config
drwxr-xr-x 2 user user   4096 2011-04-19 01:32 themes
-rw-r--r-- 1 user user   1753 2011-04-19 01:32 viewers.config
drwxr-xr-x 8 user user   4096 2011-04-19 01:32 wps
Logged
Ipod Nano 2nd Gen

Offline gbl08ma

  • Member
  • *
  • Posts: 249
    • My blog
Re: Ipod nano 2nd gen - white screen
« Reply #8 on: April 19, 2011, 03:25:47 PM »
BTW, iPod Nano's don't have contrast... at least, mine (2nd gen) doesn't have.

When the backlight of the screen is at its lowest value, it's still readable enough.

What can be happening is that the setting of the inactivity display shutdown is set to 0 seconds (immediately), and I don't know if that's possible, but that will leave the screen dark and shutdown, not 100% white.
Logged
http://gbl08ma.com | http://i.tny.im

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Ipod nano 2nd gen - white screen
« Reply #9 on: April 19, 2011, 03:33:36 PM »
The manual says this:
Quote
A special case configuration file can be used to force a particular setting or settings every time Rockbox starts up (e.g. to set the volume to a safe level). Format a new configuration file as above with the required setting(s) and save it into the /.rockbox directory with the filename fixed.cfg.

Try creating this file with desired contrast level in it.   Contrast is listed as a valid config option for this player, so it should work.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline siouxes

  • Member
  • *
  • Posts: 9
Re: Ipod nano 2nd gen - white screen
« Reply #10 on: April 19, 2011, 03:50:20 PM »
OK... somthing happens... i try to explain:

i read the manual regarding config files...
i have created fixed.cfg into .rockbox, first time only with "contrast: 0", then with "contrast: 10", then 32 and then 63; nothing changes...
after this, i try with brightness settings... lowering it to 0 makes the screen a solid gray... seems to be that in a strange way this settings really modify the display brightness...

Seems to be that the firmware can't write to the display in the right way, or perhaps make a wrong initialization... digging into the source, i found this:

Code: [Select]
/* LCD init */
void lcd_init_device(void)
{ 
#if CONFIG_LCD == LCD_IPODCOLOR
    if (IPOD_HW_REVISION == 0x60000) {
        lcd_type = 0;
    } else {
        lcd_type = (GPIOA_INPUT_VAL & 0x2) | ((GPIOA_INPUT_VAL & 0x10) >> 4);
    }
    if ((lcd_type&1) == 0) {
        lcd_cmd_data(0xef, 0x0);
        lcd_cmd_data(0x01, 0x0);
        lcd_cmd_data(0x80, 0x1);
        lcd_cmd_data(0x10, 0xc);
        lcd_cmd_data(0x18, 0x6);
        lcd_cmd_data(0x7e, 0x4);
        lcd_cmd_data(0x7e, 0x5);
        lcd_cmd_data(0x7f, 0x1);
    }
#elif CONFIG_LCD == LCD_IPODNANO
    /* iPodLinux doesn't appear have any LCD init code for the Nano */
#endif
}

this code chunk is from firmware/target/arm/ipod/lcd-color_nano.c

i don't know if it's related...
Logged
Ipod Nano 2nd Gen

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: Ipod nano 2nd gen - white screen
« Reply #11 on: April 19, 2011, 04:03:38 PM »
Can you please enter the iPod's Diagnostic Mode (first press and hold MENU + SELECT until the iPod resets, then -- during the Apple logo -- press and hold BACK + SELECT). In the Diag Mode select "Others", then "Status", then switch to the 2nd page. How are "LCD Detect0" and "LCD Detect1" set?
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

Offline siouxes

  • Member
  • *
  • Posts: 9
Re: Ipod nano 2nd gen - white screen
« Reply #12 on: April 19, 2011, 04:17:02 PM »
LCD Detect0:1
and
LCD Detect1:0

...i have tried also with LCD->color pattern and i correctly see some graphicals page... in the LCD->brightness control i can correctly switch on and off the backlight...
« Last Edit: April 19, 2011, 04:20:23 PM by siouxes »
Logged
Ipod Nano 2nd Gen

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: Ipod nano 2nd gen - white screen
« Reply #13 on: April 19, 2011, 04:19:39 PM »
Strange, same LCD type as mine... Mine works since ages. Can you compile rockbox on your own?
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

Offline siouxes

  • Member
  • *
  • Posts: 9
Re: Ipod nano 2nd gen - white screen
« Reply #14 on: April 19, 2011, 04:21:44 PM »
yes... i have already compiled from source and now i am doing all this tests with r29749.. from SVN...
Logged
Ipod Nano 2nd Gen

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Ipod nano 2nd gen - white screen
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.111 seconds with 21 queries.