View Single Post
Posts: 4 | Thanked: 3 times | Joined on May 2010
#97
Originally Posted by Wikiwide View Post
Can somebody explain what's written in
http://do1not3panic8.blogspot.com/20...a-n900-fm.html
?
Google Translate confuses me completely.
I just want to know: success or failure, if success, then how...
For me it looks like it doesn't work, as it seems that he is just playing around with those /sys/..../region settings. That didn't work for me. But you are right, GoogleTranslate is really bad with japanese. Maybe here is some japanese guy who can tell us what it says?!

Originally Posted by Wikiwide View Post
So, how do I change a binary and what binary should I change?
Get the file /lib/modules/current/radio-bcm2048.ko from your device, open it in a hex editor, go to position 0x2774. According to jacekowski this is the position which holds the DEFAULT_REGION value. There I changed 0x02 to 0x04 and put the file back to my N900.

After that change, v4l2-ctl shows the japan-wide's range by default:
Code:
Tuner:
	Name                 : FM Receiver
	Capabilities         : 62.5 Hz stereo 
	Frequency range      : 76.0 MHz - 108.0 MHz
But when I try to tune to a frequency lower than 87.5, it still fails:
Code:
Nokia-N900:/home/user# ./v4l2-ctl -d /dev/radio1 -f 95.8  
Frequency set to 1532800 (95.800000 MHz)
Nokia-N900:/home/user# ./v4l2-ctl -d /dev/radio1 -f 86.5  
VIDIOC_S_FREQUENCY: failed: Input/output error
Nokia-N900:/home/user# ./v4l2-ctl -d /dev/radio1 -f 90.0
Frequency set to 1440000 (90.000000 MHz)
The problem seems to be somewhere deeper...
 

The Following 2 Users Say Thank You to Ulukai For This Useful Post: