Rockbox FM Tuner Progression
Last edited March 15, 2007
More by Ticky »
The following is a copy of the chat log (With unnecessary bits removed) of the conversation in IRC i had with Barry Wardell. and anyone who would listen. 

14:53:40

*

iwantanimac wishes someone was going to work on radio for the H10...

14:54:27

barrywardell

iwantanimac: I tried at one stage, but could't get it working

14:54:35

amiconn

barrywardell: Doesn't the H10 use the philips TEA5767 as well?

14:54:57

iwantanimac

where do i look for the radio stuff?

14:55:04

barrywardell

amiconn: yes, but it didn't respond to any I2C I tried

14:55:21

amiconn

Hmm, perhaps it's not hooked to the i2c you tried?

14:56:13

barrywardell

amiconn: I'm not too sure. It has been a while since I looked at it

14:57:50

amiconn

barrywardell: I didn't check; either the pp has more than one i2c bus, or it might also be hooked to some gpio ports using bitbanged i2c

14:58:01

amiconn

Disassembling the of should tell us more

15:01:02

barrywardell

amiconn: I used these i2c functions: http://pastebin.ca/396066

15:01:43

barrywardell

amiconn: and the tuner debug screen just gave 0 for the tuner regs

15:12:13

iwantanimac

barrywardell: Is CONFIG_TUNER set for the H10? (It's TEA5767, right?)

15:12:43

JdGordon

iwantanimac: iirc its commented out...

15:12:51

barrywardell

iwantanimac: not yet. I should be once the tuner is working (and yes)

15:13:56

iwantanimac

barrywardell: it needs to be to get FM working, right? As a noob to C, where would i best set it (Having multiple targets is confusing. You guys are awesome)?

15:15:16

barrywardell

iwantanimac: here's an old patch I have: http://pastebin.ca/396078

15:15:28

barrywardell

it should give you an idea of what's necessary

15:15:59

GodEater

iwantanimac: I think that's neat whenever I see it too

15:17:51

iwantanimac

barrywardell: I'm guessing there's no need to look in /trunk/apps/recorder/radio.c then...

15:19:10

barrywardell

iwantanimac: I'm not sure. I think it's quite possible that we have to figure out how to enable power to the tuner

15:22:54

iwantanimac

barrywardell: So the main problem at this point is actually turning power on to the tuner.

15:23:16

barrywardell

iwantanimac: that's my best Idea at what's wrong, yes

15:23:31

barrywardell

iwantanimac: I suspected a gpio port, but couldn't find anything

15:24:12

iwantanimac

barrywardell: i was just going to ask if there's any feedback from what you've tried... what f ADC_UNKNOWN_1 has something to do with it?

15:24:35

barrywardell

iwantanimac: so far I have had found no feedback whatsoever

15:25:30

iwantanimac

barrywardell: but you would obviously expect thereto be some feedback when it happens. Is there any chance there's some input form (GPIO or other) that's been missed?

15:26:46

barrywardell

iwantanimac: it's very possible. there's a lot in the gpio that we don't know about yet.

That's the whole of the first conversation. Hopefully this will help someone.. maybe... unfortunately I'm not great with C, so I'm the least likely person to get it working if Barry couldn't. I will hopefully do more later...
The content on this page is provided by a Google Notebook user, and Google assumes no responsibility for this content.