Results 1 to 8 of 8
  1.    #1  
    Hi could anyone help me with this? I have been able to hack in to the to get to the root@castle on my mac but I can't figure out how to get to the point where I can edit the files I need to make the headphone volume louder.
    Thanks in advance,
    Chad
    here is the basic thread of what I want to do:


    Edit the section below of /etc/audio/b/media_headset.txt for the 0x19 and 0x1a registers as follows:


    begin media_headset_media
    # for audio going to headset only (disables speaker)
    # R1 and L1 DACs ONLY
    setreg 0x17 0x03
    # restore headset volume to default when media is playing
    # +2dB
    # setreg 0x19 0x2b (Original value for +2dB, next line sets right gain to +12)
    setreg 0x19 0x03
    # +2dB
    # setreg 0x1a 0x2b (Original value for +2dB, next line sets left gain to +12)
    setreg 0x1a 0x03
    # disable RXR2
    setreg 0x1c 0x00
    # disable H-bridge
    setreg 0x2a 0x00
    end
  2. jc-Treo's Avatar
    Posts
    439 Posts
    Global Posts
    444 Global Posts
    #2  
    Hello. I think that was from my earlier post.

    It turns out they changed things with the 1.3.1 update. My modded /etc/audio/b/media_headset.txt file is posted below and includes the changes to make it work with 1.3.1.

    I think the easiest thing for you to do is to use WebOS Quick Install to copy the file over to your mac, edit it, then save it back to your pre. I think that should work, although I have not tried it.

    Good luck!!!

    WebOS Quick Install is here:

    http://forums.precentral.net/canuck-...ll-v2-9-a.html

    Here is the modified file:

    # modified: 091005 by Georges Berenger: new default to headset only. Replaced "media" with "alerts"
    # modified: 090103 by Damian Kowalewski
    # 9/10 - routing/gain changes
    # 10/8 - reduced overall gain to avoid clipping
    # 11/18 - added 'powerdown' and 'poweup' states to save power
    # 01/03 - changed the default/alternative to default/media
    begin media_headset
    # enable RXR2, RXR1, RXL1
    setreg 0x02 0xc0
    setreg 0x04 0x01
    setreg 0x05 0x02
    setreg 0x06 0x00
    setreg 0x07 0x08
    setreg 0x08 0x00
    setreg 0x0f 0x00
    # RXR1 0dB
    setreg 0x10 0x3f
    # RXL2 0dB
    setreg 0x11 0x3f
    # RXR2 0dB
    setreg 0x12 0x3f
    # R1 and L1 DACs ONLY
    setreg 0x17 0x03
    # +2dB
    ########## I modded the next two lines for webos 1.3.1
    setreg 0x19 0x03
    # +2dB
    setreg 0x1a 0x03
    # disable RXR2
    setreg 0x1c 0x00
    setreg 0x1e 0x00
    setreg 0x21 0x00
    # RXL1 0dB
    setreg 0x25 0x22
    # RXR1 0dB
    setreg 0x26 0x22
    # disable H-bridge
    setreg 0x2a 0x00
    setreg 0x43 0x1a
    end
    begin media_headset_alerts
    # for audio going to back speaker & headset
    # R1, L1, and R2 DACs
    setreg 0x17 0x07
    # +6dB
    setreg 0x1c 0x1b
    # input=RXR2
    setreg 0x2a 0x20
    setreg 0x2a 0x30
    setreg 0x2a 0x3e
    end
    begin media_headset_default
    # for audio going to headset only (disables speaker)
    # R1 and L1 DACs ONLY
    setreg 0x17 0x03
    # restore headset volume to default when media is playing
    # +2dB
    ########## I also changed the next two entries
    setreg 0x19 0x03
    # +2dB
    setreg 0x1a 0x03
    # disable RXR2
    setreg 0x1c 0x00
    # disable H-bridge
    setreg 0x2a 0x00
    end
    begin media_headset_powerdown
    setreg 0x25 0x00
    setreg 0x26 0x00
    setreg 0x19 0x00
    setreg 0x1a 0x00
    setreg 0x17 0x00
    end
    begin media_headset_powerup
    setreg 0x17 0x03
    setreg 0x19 0x2b
    setreg 0x1a 0x2b
    setreg 0x25 0x22
    setreg 0x26 0x22
    end
    Last edited by jc-Treo; 11/17/2009 at 09:52 PM.
  3. #3  
    Quote Originally Posted by chadster View Post
    Hi could anyone help me with this? I have been able to hack in to the to get to the root@castle on my mac but I can't figure out how to get to the point where I can edit the files I need to make the headphone volume louder.
    Thanks in advance,
    Chad
    here is the basic thread of what I want to do:


    Edit the section below of /etc/audio/b/media_headset.txt for the 0x19 and 0x1a registers as follows:


    begin media_headset_media
    # for audio going to headset only (disables speaker)
    # R1 and L1 DACs ONLY
    setreg 0x17 0x03
    # restore headset volume to default when media is playing
    # +2dB
    # setreg 0x19 0x2b (Original value for +2dB, next line sets right gain to +12)
    setreg 0x19 0x03
    # +2dB
    # setreg 0x1a 0x2b (Original value for +2dB, next line sets left gain to +12)
    setreg 0x1a 0x03
    # disable RXR2
    setreg 0x1c 0x00
    # disable H-bridge
    setreg 0x2a 0x00
    end

    I've been posting message and going crazy and finally gave up and got a stereo bluetooth headset.

    No one seemed at the time to understand what I have be saying that something changed a while back with 1.3.1 (I'm on 1.4.1.1 now) with the headset volume.

    It had gotten so low that a wired headset was unusable.

    Now I have vindication that it was not me and that Palm did alter the settings.

    Thank you so much!

    I'm going to get the modified file from this thread and apply it right away!

    Hallelujah

    Rob
    Robert L
    Astoria Queens, N.Y.C
    - Palm Pre (Sprint) - formally Palm Treo 650
    Version 1.4.1.1
    Sprint Configuration 2.3
    Model: P100EWW
    Hardware Version: A
    Firmware: CC1.4(510)

  4. #4  
    hi again,

    One quick question, when I go into /etc/audio/b I am finding several files.

    I do find the media_headset.txt but I am also finding media_front_speaker.txt, media_back_speaker.txt, media_headset.txt and media_wirless.txt.

    So if I wanted to raise the volume on the front I would edit the media_front_speaker.txt file and so on?

    And, I don't have a hex calculator handy, but the hex values are the decibels and if I did the exchange to decimal it would be +12 for the modified media_headset.txt values.

    Thanks again!

    Rob
    Robert L
    Astoria Queens, N.Y.C
    - Palm Pre (Sprint) - formally Palm Treo 650
    Version 1.4.1.1
    Sprint Configuration 2.3
    Model: P100EWW
    Hardware Version: A
    Firmware: CC1.4(510)

  5. jc-Treo's Avatar
    Posts
    439 Posts
    Global Posts
    444 Global Posts
    #5  
    Quote Originally Posted by rlanza1054 View Post
    hi again,

    One quick question, when I go into /etc/audio/b I am finding several files.

    I do find the media_headset.txt but I am also finding media_front_speaker.txt, media_back_speaker.txt, media_headset.txt and media_wirless.txt.

    So if I wanted to raise the volume on the front I would edit the media_front_speaker.txt file and so on?

    And, I don't have a hex calculator handy, but the hex values are the decibels and if I did the exchange to decimal it would be +12 for the modified media_headset.txt values.

    Thanks again!

    Rob
    Hello.

    Yes, you would edit the appropriate file for the front speaker. However, it likely uses a different register(s) so I am not sure it would work.

    The stock setting is +2db. The above file gives +12db for a total increase of +10db.

    You might also look here for more info:

    http://forums.precentral.net/gsm-pre...ml#post2065222

    and here:

    http://forums.precentral.net/palm-pr...ml#post2377171

    Good luck!
  6. #6  
    Here is the patch of chadseter and jctreo's work

    Have you tried tweaking this file etc/audio/b/media_wireless.txt
    Attached Files Attached Files
  7. kulf's Avatar
    Posts
    84 Posts
    Global Posts
    98 Global Posts
    #7  
    Is there a way to introduce more (subtler) volume steps?
    If I'm not mistaken, the pre currently alters volume by + or -3dB every time you press a button. Would love to fine-tune this to +/-1dB or even .5dB because currently, most of the time it's either "too loud" or "too quiet" with nothing in between...
  8. #8  
    Quote Originally Posted by kulf View Post
    Is there a way to introduce more (subtler) volume steps?
    If I'm not mistaken, the pre currently alters volume by + or -3dB every time you press a button. Would love to fine-tune this to +/-1dB or even .5dB because currently, most of the time it's either "too loud" or "too quiet" with nothing in between...
    I've taken the lazy approach and use this...
    Gold-Plated Volume Control Cable for Stereo Headphones : Headphones | RadioShack.com
    Developer of: FFplayer - a file/folder based music player. FFplayer home

Posting Permissions