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
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  iPod first generation install?
« previous next »
  • Print
Pages: 1 [2] 3 4 ... 6

Author Topic: iPod first generation install?  (Read 46245 times)

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: iPod first generation install?
« Reply #15 on: March 13, 2008, 06:52:48 PM »
If I remember correctly, the 1st Gen has a specific 'scroll-wheel-enable' bit, as the scroll-wheel used lots of power, compared to the touch wheel on the 2nd Gen - it sounds like the enable isn't being turned on (or is being pulsed but too fast for the wheel to actually enable)

I'll have a fumble around the code to see if I can spot anything to concur with my theory.

Edit: Per IPodLinux.org/GPIO, GPIOB bit 0 is the enable for the 1st Gen scroll wheel
« Last Edit: March 13, 2008, 06:55:27 PM by yapper »
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline bidmead

  • Member
  • *
  • Posts: 26
Re: iPod first generation install?
« Reply #16 on: March 13, 2008, 07:00:25 PM »
Thanks, yapper.  That sounds like a plan.

Meanwhile, here, I hope is the real mbr.  Sorry for being so rusty on this.
Code: [Select]
G4:~ bidmead$ dd if=/dev/disk3 of=mbr_1G.bin count=1
1+0 records in
1+0 records out

--
Chris
* mbr_1G.bin (0.5 kB - downloaded 523 times.)
Logged

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: iPod first generation install?
« Reply #17 on: March 13, 2008, 07:09:59 PM »
There is definitely stuff in button-1g-3g.c related to enabling the scroll wheel periodically, and only keeping it enabled if there is activity.

My grasp of C is insufficient to spot if there are any problems in the code, but someone else may be able to help.
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: iPod first generation install?
« Reply #18 on: March 14, 2008, 10:25:37 AM »
Completely OT here, but, are you the Chris Bidmead that writes for Personal Computer World and PC Plus ?
Logged

Read The Manual Please

Offline bidmead

  • Member
  • *
  • Posts: 26
Re: iPod first generation install?
« Reply #19 on: March 14, 2008, 10:33:21 AM »
Wrote a UNIX col in PCW until 2001.  Long term columnist for PC Plus and Microscope.

--
Chris
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: iPod first generation install?
« Reply #20 on: March 14, 2008, 10:38:13 AM »
Neat - I'm a fan of your work :)

Can we expect a Rockbox article soon then ? :D
Logged

Read The Manual Please

Offline bidmead

  • Member
  • *
  • Posts: 26
Re: iPod first generation install?
« Reply #21 on: March 14, 2008, 11:14:15 AM »
I'd probably need a few more thoughts on "Ways to Stop Your Scroll Wheel Working" before I had enough for a whole article...  :-)

--
Chris
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: iPod first generation install?
« Reply #22 on: March 14, 2008, 11:23:52 AM »
Hmm, we have some more generic ways to stop your whole iPod working (see http://www.rockbox.org/wiki/GoldenQuotes on the Rockbox recommended way to "brick" your iPod) but I expect we could manage a few interesting ways to stop your scroll wheel working too :D
Logged

Read The Manual Please

Offline Dindojul

  • Member
  • *
  • Posts: 7
Re: iPod first generation install?
« Reply #23 on: March 16, 2008, 11:42:08 AM »
Hi folks!

I just install rockbox on my iPod 1G and obtain exactly the same problem as bidmead: the wheel dosen't work!
I tried with older version, so there is another problem: the battery isn't recognised and the iPod reboot indefinitely...
It seems only to be a bit to set or not...
http://ipodlinux.org/GPIO

Can anyone doing that?

Thanx for that great work!
Logged

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: iPod first generation install?
« Reply #24 on: March 16, 2008, 12:11:41 PM »
Well that seems to confirm that there is a bug in the 1G implementation.

I had submitted a Flyspray task regarding headphone detection on the 2G  http://www.rockbox.org/tracker/task/8519 and when I was investigating it I noticed a few odd things that suggested the 1G and 3G might have problems related to GPIO.

Edit:
I've opened a Flyspray task http://www.rockbox.org/tracker/task/8745 for the 1G scrollwheel issue.

If a 1G user could find an older version where the scrollwheel DOES work, it would making tracking down this issue easier. Bear in mind than anything older than r16547 might exhibit the problem that made builds fail .... 'bad' build would either freeze early in the boot process, or display various error messages.
« Last Edit: March 16, 2008, 12:37:24 PM by yapper »
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline Dindojul

  • Member
  • *
  • Posts: 7
Re: iPod first generation install?
« Reply #25 on: March 16, 2008, 12:58:54 PM »
Earlier rev of 16659 doesn't work due to the low battery detection/shutdown problem...
So, with rev 16659 and 16673 the wheel doesn't work.
Logged

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: iPod first generation install?
« Reply #26 on: March 16, 2008, 02:46:36 PM »
It looks like the dynamic scrollwheel enable code for the 1G was added back in August 2007 r14386, so it seems a bit odd that no one has reported issues up to now (although I suspect there may be only a few Rockbox users with 1G iPod). Prior to r14383 it appears the scrollwheel was left permanently enabled.

It *might* be that the scrollwheel behaves slightly differently across the different versions of the 1G iPod??? http://iPodLinux.org/Generations lists three values of gestalt ('IPOD_HW_REVISION' in Rockbox terms) for the 1G: 0x00010000, 0x00010001, or 0x000100002, and the Rockbox code doesn't differentiate between them regarding scrollwheel enable....??
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline Dindojul

  • Member
  • *
  • Posts: 7
Re: iPod first generation install?
« Reply #27 on: March 16, 2008, 03:03:01 PM »
Is there any way to use an earlier version... is it possible to disable the battery check with an option in the config file by example?
Logged

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: iPod first generation install?
« Reply #28 on: March 16, 2008, 04:39:05 PM »
@Dindojul:
I have PM'ed you (and bidmead) with details of a test build that may allow the scrollwheel to work. This is NOT an official build, so is not officialy supported, but it may allow Rockbox to boot sufficiently to give some clues about the problem.

Edit:
The test build should have removed the two changes that implemented powersaving for the 1G scrollwheel. Dindojul has reported that this did NOT help.
« Last Edit: March 16, 2008, 04:59:57 PM by yapper »
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline bidmead

  • Member
  • *
  • Posts: 26
Re: iPod first generation install?
« Reply #29 on: March 16, 2008, 05:02:56 PM »
Alas, no change here either.  The scroll-wheel still isn't being read.

For what it's worth, here's the gen on my 1G iPod (from Mac OSX System Profiler)

  Unit Software Version:   0x10483
  Unit Spec ID:   0x609E
  Firmware Revision:   0xA2700
  Product Revision Level:   1.33


--
Chris
« Last Edit: March 16, 2008, 05:59:13 PM by bidmead »
Logged

  • Print
Pages: 1 [2] 3 4 ... 6
« previous next »
+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  iPod first generation install?
 

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

Page created in 0.166 seconds with 23 queries.