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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Third Party
| |-+  Repairing and Upgrading Rockbox Capable Players
| | |-+  Clip plus - disabled radio and slot radio ad
« previous next »
  • Print
Pages: [1]

Author Topic: Clip plus - disabled radio and slot radio ad  (Read 3822 times)

Offline pdrachman

  • Member
  • *
  • Posts: 5
Clip plus - disabled radio and slot radio ad
« on: April 17, 2012, 10:02:46 AM »
How do I disable the radio and also the slot radio promotional ad in Rock box please?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Clip plus - disabled radio and slot radio ad
« Reply #1 on: April 17, 2012, 12:30:11 PM »
You can remove the radio from the main menu, see 13.1.1  Customising The Main Menu.  Alternatively, you can compile your own build without even the radio driver by commenting out

#define CONFIG_TUNER (SI4700|RDA5802)

in firmware/export/config/sansaclipplus.h

As for the slot radio ad, its an mp3 that comes with your player.  Either delete it, or just don't listen to it. 
Logged

Offline pdrachman

  • Member
  • *
  • Posts: 5
Re: Clip plus - disabled radio and slot radio ad
« Reply #2 on: April 17, 2012, 02:21:08 PM »
I am sorry I don't undertsand what you wrote - could you please be much more explicit

1. From 13.1.1 - how do I remove the radio from the main menu?

2. Where do I save "#define CONFIG_TUNER (SI4700|RDA5802)" to?

3. What is the name of the slot radio ad MP3 and how do you remove the text also from showing in the display.

Thank you very much.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Clip plus - disabled radio and slot radio ad
« Reply #3 on: April 17, 2012, 03:22:13 PM »
13.1.1 is a section in the rockbox manual. 
Logged

Offline pdrachman

  • Member
  • *
  • Posts: 5
Re: Clip plus - disabled radio and slot radio ad
« Reply #4 on: April 17, 2012, 04:09:06 PM »
I undserstood that it was in the manual 13.1 - but don't know what text to write to remove the radio from the main menu!

Also where do I save "#define CONFIG_TUNER (SI4700|RDA5802)" to?

What is the name of the slot radio ad MP3 and how do you remove the text also from showing in the display.


Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Clip plus - disabled radio and slot radio ad
« Reply #5 on: April 17, 2012, 04:48:34 PM »
If you have a specific question about the instructions, you should ask it here.  I'm not too familiar with how the main menu is customized though.  Off hand I don't remember what the name of the slot radio ad is, I never put it on my player in the first place.   
Logged

Offline tpijag

  • Member
  • *
  • Posts: 65
Re: Clip plus - disabled radio and slot radio ad
« Reply #6 on: April 17, 2012, 05:37:20 PM »
Lets start with the simple. The slot radio ad has zero to do with RockBox. I will assume you understand how to add and remove music from your unit. It should be trivial to find a music track that exists that you did not add to the unit. Erase it.
Quote
Also where do I save "#define CONFIG_TUNER (SI4700|RDA5802)" to?

You have not understood. This is not a file to save anywhere. It was written in earlier post that this is the part of the rockbox code to remove/comment out after which you would recompile rockbox. If the term recompiling does not make sense to you , suffice it to say this is more than likely beyond your current knowledge/ability to do. Details are in the Wiki:
http://www.rockbox.org/wiki/DocsIndex#For_Developers
http://www.rockbox.org/wiki/HowToCompile
Quote
I undserstood that it was in the manual 13.1 - but don't know what text to write to remove the radio from the main menu!

As I read it, it says that by writing the following line root menu order: bookmarks, files, database, wps, settings, recording, radio, playlists, plugins, system_menu, shortcuts you would have a main menu the includes these items in the order that they are typed. Remove the word radio and radio is removed from the main menu.

As per the manual the text is put into a text file with .cfg as extension. You may call it anything you like, say, NoRadioMenu.cfg. Copy it to your player. I believe it can be placed anywhere. The .rockbox folder would be a good choice. This configuration will now be able to be loaded by you. Further details are available throughout this page: http://download.rockbox.org/daily/manual/rockbox-sansaclipplus/rockbox-buildch13.html
« Last Edit: April 17, 2012, 05:42:58 PM by tpijag »
Logged

Offline e_orz

  • Member
  • *
  • Posts: 4
Re: Clip plus - disabled radio and slot radio ad
« Reply #7 on: June 25, 2012, 08:38:17 AM »
I was able to compile rockbox.
But, when I commented "#define CONFIG_TUNER (SI4700|RDA5802)" make finished with this error:
CC apps/menus/recording_menu.c
/home/eli/Downloads/rockBoxRoot/rockbox/apps/menus/recording_menu.c: In function ‘recsource_func’:
/home/eli/Downloads/rockBoxRoot/rockbox/apps/menus/recording_menu.c:85: error: ‘LANG_FM_RADIO’ undeclared (first use in this function)
/home/eli/Downloads/rockBoxRoot/rockbox/apps/menus/recording_menu.c:85: error: (Each undeclared identifier is reported only once
/home/eli/Downloads/rockBoxRoot/rockbox/apps/menus/recording_menu.c:85: error: for each function it appears in.)
/home/eli/Downloads/rockBoxRoot/rockbox/apps/menus/recording_menu.c:85: warning: missing initializer
/home/eli/Downloads/rockBoxRoot/rockbox/apps/menus/recording_menu.c:85: warning: (near initialization for ‘names[1].string’)
/home/eli/Downloads/rockBoxRoot/rockbox/apps/menus/recording_menu.c:91: warning: implicit declaration of function ‘radio_hardware_present’
make: *** [/home/eli/Downloads/rockBoxRoot/rockbox/build/apps/menus/recording_menu.o] Error 1

What should I change in order to successfully compile the program?

thanks,
Eli
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Clip plus - disabled radio and slot radio ad
« Reply #8 on: June 25, 2012, 10:07:29 AM »
You also need to change:
#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
to
#define INPUT_SRC_CAPS SRC_CAP_MIC

because it's still trying to compile the "record from radio" code.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline e_orz

  • Member
  • *
  • Posts: 4
Re: Clip plus - disabled radio and slot radio ad
« Reply #9 on: June 26, 2012, 03:02:03 PM »
thanks torne ! works as advertised...
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Third Party
| |-+  Repairing and Upgrading Rockbox Capable Players
| | |-+  Clip plus - disabled radio and slot radio ad
 

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

Page created in 0.095 seconds with 14 queries.