You are viewing outdated content for BUG. If you have a BUG Y.T. edition or 2.0 series device, please visit our updated wiki:

R1.4 Release notes

From BUG Wiki

Jump to: navigation, search


Build R1.4

This Production release contains major and minor API changes for the BUGlocate, BUGvonHippel, BUGview (Acceleration service) modules. Initial release of the driver and API for the BUGsound module. Beta release for BUGwifi/BT module support including command line & limited GUI support for Network management.




  • Javadoc is available at
  • Initial implementation of Advanced Power Management support w/ UI - Battery status is now displayed on BUGview desktop.
  • BUGview
    • Acceleration web service has been implemented for the BUGview Accelerometer.
    • Java Apps now render on Slots 0 & 2. In R1.3 and earlier, BUG apps would display on slots 1 or 3 (X DISPLAY 1), but in R1.4 they are now display on slots 0 or 2 (X DISPLAY 0). This relates to the video overlay feature, which is currently only available on X DISPLAY 0.
  • GPS API enhancements & fixes
    • New INMEASentenceSubscriber and IPositionSubscriber interfaces reside in - These services are registered by the client and receive notification when new position information is available.
    • GPS defaults to external antenna
  • VonHippel API:
    • GPIO pin setting/clearing
    • IOX pin setting/clearing
    • check status of VH module
    • RS232 Serial support (this affects phoneME)
      • Corresponding OSGi Service: It allows users to configure the serial port settings (baud rate, etc).
      • Input/Output
    • Documentation (found in IVonHippelModuleControl)
    • VonHippel web service with the status of the GPIO/IOX pins. This is read-only, but future plans are to make the web-service POST-able to change pin status
    • Known Issue
      • The DAC/ADC support makes a lot of assumptions about what users want to do, and in the case of DAC does not work. NOTE: It is not broken, it is just not implemented fully. For R1.5 the plan is to make this more Object Oriented, requiring less bit-fiddling on the part of API users.
  • Audio Module
    • There was no real user-level support for the Audio module in R1.3, so the entire audio API is new to R1.4.
    • Changed the audio backend API (which existed in R1.3 for the BUGbase audio support) to MIDPath-ALSA based API.
      • This affects the com.buglabs.bug.base.IAudioPlayer and services.
    • Implemented ioctl wrappers from Java: service, which handles the LED toggling and switching on/off the speakers.
    • Much more robust audio mixing capabilities from java, whose classes may be found in the project in SVN. These are all new for R1.4, but the OSGi service for the Audio Module is fairly basic, with methods to play, pause, resume, and stop the native audio player.
    • Audio Module button support - They are fully programmable, as is the convention for all modules. This means that technically you could write an app that uses the Audio Module buttons to take pictures.
    • Interrupts for jack insertion/removal is implemented. Users wishing to use this should register with the IAudioEventProvider and implement IButtonEventListener. Info about what kind of events you can filter out may be found in IAudioEventProvider source.
    • Known Issues
      • No capture support. This is not supported in the open-source MIDPath native implementation. This is planned for R1.5
      • No mixer capabilities at the java layer for different output routes (lineout, HP out).
        • This is planned for R1.5 but can be achieved in R1.4 with some hackery. (Runtime.getRuntime().exec(new String[]{"amixer"......}); or circumnavigating the OSGi IAudioPlayer service and implementing your own more complex OSGi service, with the ability to retrieve a reference to the SoftMixer and audio Lines for dynamic volume modulation).
      • WAV is assumed by the IAudioPlayer.
        • There is OGG support in the API, but for now the API assumes that WAV files are played only. There are plans for R1.5 to make a more complex service available to OSGi-land with ogg support as well.
  • BUG apps use persistent storage.
    • Application data stored in /usr/shared/java/storage
    • Fail safes - hold the following BUGbase hotkey (HK) buttons down during concierge startup.
      • HK1 + HK3 - Deletes java storage from /usr/shared/java/storage
      • HK2 + HK4 - Deletes all Applications from /usr/shared/java/apps
      • More Information: Reset BUG
  • New BUG support page via Web Service.
    • Go to http://<bugip>/support
    • Displays current version information of the software on your BUG.
  • U-boot support
    • Existing BUG owners this is an alternative to current boot loader Redboot. Please review this tutorial for more information.
  • bug_kflash module is now built into the kernel.
  • Wifi Module support



Please note that these Tasks are from an internal tool.

Defect Management

Known Issues

  • Trac (internal tool)
    • 153 bug_audio vs bugbeep
    • 324 GUI bug apps clobber screen calibration
    • 455 Camera device/sysfs nodes and control points mismanagement
    • 509 Numbered Control Device Nodes for LCD [1]
    • 512 alsa: set default volume for hw:0,0 (base) lower
  • Bugzilla (external )
    • 190 HTTP Service Resource Handling
    • 191 HTTP Service Resource Name Registration Incorrect
    • 223 dropbear config: no user/pass required for ssh sessions
    • 288 setDelayMode to 0 causes MotionAccelerometerSampleStream to throw NPE
    • 339 BUG connection over usb must be unplugged and reattached after every reboot
    • 360 MENU Bundle can't be restarted if it has been stopped
    • 361 Should we add link to Web Services page
    • 363 Audio module: there is audio output through speaker after headphones are plugged in
    • 376 With large apps cvm doesn't have a chance to clean up freed memory
    • 380 Attaching 2nd LCD fails with error
    • 381 Removing 2 audio modules causes BUG, SDK to freeze
    • 382 LCD Accelerometer: Puck unresponsive when LCD Accelerometer is used

Closed Defects

Report a Defect