Rockbox

Tasklist

FS#8745 - iPod 1G scrollwheel not enabled

Attached to Project: Rockbox
Opened by Mark Fawcus (yapper) - Sunday, 16 March 2008, 16:21 GMT
Last edited by Dominik Riebeling (bluebrother) - Saturday, 14 February 2009, 21:32 GMT
Task Type Bugs
Category User Interface
Status Closed
Assigned To No-one
Operating System iPod 1G/2G
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Version 3.1
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

There's a response from the four surrounding buttons and the centre button (the backlight switches on when any of these are pressed), but the scroll wheel isn't being read at all.
r16657 - reported by forum user bidmead.
Also reported by forum user Dindojul.

http://forums.rockbox.org/index.php?topic=15929
This task depends upon

Closed by  Dominik Riebeling (bluebrother)
Saturday, 14 February 2009, 21:32 GMT
Reason for closing:  Out of Date
Additional comments about closing:  patch is now at FS#8778, no need to have two tasks for this open.
Comment by Mark Fawcus (yapper) - Sunday, 16 March 2008, 21:04 GMT
My initial suspicion was that the bug was related to scrollwheel power saving implemented in Aug 2007 (r14386), but apparently a build with the attached patch (reverting the powersaving changes) did not help.
Comment by Mark Fawcus (yapper) - Sunday, 16 March 2008, 21:58 GMT
From http://www.chipmunk.nl/klantenservice/applemodel.html, Dindojul has identified his player as:

Name: iPod (First generation)
Model: M8513 iPod 5GB Generation=1
Family name: M8541
Factory: U2 (Taiwan)
Comment by Mark Fawcus (yapper) - Sunday, 16 March 2008, 22:34 GMT
From Mac OSX System Profiler bidmead identified his player as:

Unit Software Version: 0x10483
Unit Spec ID: 0x609E
Firmware Revision: 0xA2700
Product Revision Level: 1.33
Comment by Mark Fawcus (yapper) - Sunday, 16 March 2008, 23:20 GMT
bidmead's player info matches Dindojul's

Name: iPod (First generation)
Model: M8513 iPod 5GB Generation=1
Family name: M8541
Factory: U2 (Taiwan)
Comment by Dave Chapman (linuxstb) - Tuesday, 18 March 2008, 16:42 GMT
What would be useful would be the "ipod hardware revision" - this is the 8 (hex) digit number used to distinguish different ipod hardware versions. Easiest way to find it is via the Rockbox bootloader:

So it would be useful if 1G owners could do the following:

1) Hold the PLAY button whilst booting (this will cause the Rockbox bootloader to try and load an ipodlinux kernel, which should fail).

2) You should see some info messages on the screen - the third line should be something like:

IPOD version: 0x00010001

(with the last digit being 0, 1 or 2).

3) Post that number here, along with a statement saying if the scrollwheel works or not.
Comment by Jens Arnold (amiconn) - Tuesday, 18 March 2008, 22:33 GMT
Now it's known what happens: The button code doesn't treat those iPods as 1st Gen, and hence doesn't enable the wheel, because the hardware revision is being read as 0xffffffff. I've made a special test build that will dump the ROM contents to a file. See forum: http://forums.rockbox.org/index.php?topic=15929.msg119549#msg119549
Comment by Mark Fawcus (yapper) - Thursday, 20 March 2008, 03:02 GMT
Why not invert the logic (look for the 0x0002000X identifier to see if it's a 2nd gen, and if thats NOT found, assume a 1st Gen)?
Comment by Steve Bavin (pondlife) - Thursday, 20 March 2008, 07:11 GMT
I suggested that, but there have been problems in the past where iPod Videos returned 0xffffffff. This was due to a bug which has now been fixed, but positive identification is preferred for something so critical.
Comment by Dave Chapman (linuxstb) - Thursday, 20 March 2008, 11:35 GMT
The ipod video issue with 0xffffffff isn't relevant - a) it's been fixed (ipod videos now correctly report their hardware revision), and b) the build knows it's either running on a 1g or 2g.

However, neither the 1G or 2G versions of Rockbox appear to have had very much testing, so there's always a risk that 2g ipods may also be detected as 0xffffffff using the current code - so simply reversing the logic might just move the problem to 2g users instead...

But it's not a big problem - there are other ways to identify ipods.
Comment by Mark Fawcus (yapper) - Friday, 21 March 2008, 18:08 GMT
The attached patch has been tested on a 1G and 2G, and simply replaces the search for the identifier being == 1 to being != 2.
Comment by Mark Fawcus (yapper) - Friday, 21 March 2008, 18:24 GMT
Submitted the patch as FS#8778

Loading...