gionni88
|
2011-01-11
, 13:49
|
Posts: 435 |
Thanked: 769 times |
Joined on Apr 2010
|
#71
|
|
2011-01-11
, 13:51
|
Posts: 1,042 |
Thanked: 430 times |
Joined on May 2010
|
#72
|
amixer -c0 cset numid=55 On
amixer -c0 cset numid=61 On
amixer -c0 cset numid=64 1
amixer -c0 cset numid=10 50
amixer -c0 cset numid=13 100
amixer -c0 cset numid=64 0
# set headphone volume low or it will blow your ears away
amixer -qc0 cset iface=MIXER,name='Headphone Playback Volume' 5,5
amixer -qc0 cset iface=MIXER,name='Left DAC_L1 Mixer Line Switch' off
amixer -qc0 cset iface=MIXER,name='Left DAC_L1 Mixer HP Switch' on
amixer -qc0 cset iface=MIXER,name='Right DAC_R1 Mixer Line Switch' off
amixer -qc0 cset iface=MIXER,name='Right DAC_R1 Mixer HP Switch' on
amixer -qc0 cset iface=MIXER,name='HP DAC Playback Volume' 50,50
amixer -qc0 cset iface=MIXER,name='Speaker Function' 1
amixer -qc0 cset iface=MIXER,name='Left DAC_L1 Mixer Line Switch' on
amixer -qc0 cset iface=MIXER,name='Left DAC_L1 Mixer HP Switch' off
amixer -qc0 cset iface=MIXER,name='Right DAC_R1 Mixer Line Switch' on
amixer -qc0 cset iface=MIXER,name='Right DAC_R1 Mixer HP Switch' off
amixer -qc0 cset iface=MIXER,name='HP DAC Playback Volume' 0,0
amixer -qc0 cset iface=MIXER,name='Speaker Function' 0
#!/bin/sh
if [ "${1}" == "speaker" ] ; then
# low headphone playback volume
amixer -qc0 cset iface=MIXER,name='Headphone Playback Volume' 5,5
amixer -qc0 cset iface=MIXER,name='Left DAC_L1 Mixer Line Switch' off
amixer -qc0 cset iface=MIXER,name='Left DAC_L1 Mixer HP Switch' on
amixer -qc0 cset iface=MIXER,name='Right DAC_R1 Mixer Line Switch' off
amixer -qc0 cset iface=MIXER,name='Right DAC_R1 Mixer HP Switch' on
amixer -qc0 cset iface=MIXER,name='HP DAC Playback Volume' 50,50
amixer -qc0 cset iface=MIXER,name='Speaker Function' 1
else if [ "${1}" == "headphone" ] ; then
amixer -qc0 cset iface=MIXER,name='Left DAC_L1 Mixer HP Switch' off
amixer -qc0 cset iface=MIXER,name='Left DAC_L1 Mixer Line Switch' on
amixer -qc0 cset iface=MIXER,name='Right DAC_R1 Mixer HP Switch' off
amixer -qc0 cset iface=MIXER,name='Right DAC_R1 Mixer Line Switch' on
amixer -qc0 cset iface=MIXER,name='HP DAC Playback Volume' 0,0
amixer -qc0 cset iface=MIXER,name='Speaker Function' 0
else
echo 'Please specify option: "speaker" or "headphone"' ;
fi
fi
The Following 2 Users Say Thank You to Radicalz38 For This Useful Post: | ||
|
2011-01-11
, 13:58
|
Posts: 1,341 |
Thanked: 708 times |
Joined on Feb 2010
|
#73
|
No idea on how to set speakers as output, on web documentation I read about QAudioDeviceControl while on sdk there is no trace about it, and no clue on how to use amixer to set it, if someone has an idea I'm all ears.
...
Integration with recaller not possible, no DBUS or terminal way to call it.
.
|
2011-01-11
, 14:07
|
Posts: 435 |
Thanked: 769 times |
Joined on Apr 2010
|
#74
|
The Following User Says Thank You to gionni88 For This Useful Post: | ||
|
2011-01-11
, 14:17
|
Posts: 1,042 |
Thanked: 430 times |
Joined on May 2010
|
#75
|
|
2011-01-11
, 15:02
|
Posts: 435 |
Thanked: 769 times |
Joined on Apr 2010
|
#76
|
Great! Now hopefully on the next update I can use it with my daily routine
|
2011-01-13
, 10:04
|
Posts: 53 |
Thanked: 17 times |
Joined on Oct 2010
|
#77
|
|
2011-01-13
, 11:02
|
Posts: 1,994 |
Thanked: 3,342 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#78
|
#2: Frequencies below 87,5 are shown if you change the region, though its not setting the frequency. So you always hear 87,5MHz but none of the lower frequencies even if the display is saying for example 86,0MHz.
|
2011-01-13
, 11:54
|
Posts: 435 |
Thanked: 769 times |
Joined on Apr 2010
|
#80
|
First, how do you change the region? I haven't seen such a button in QRadio itself (0.2.0?), and since PR1.3 I don't see the /sys/class/.../region file at all. I can cd to the directory, but echo and touch all refuse to create file 'region' or to write anything to it.
Note: After I installed QRadio and opened it (no headphones inserted), espeak and media player went mute, and microphone went deaf (VU meter). Will have to reboot.
Any updates? Hehehe
The Following 2 Users Say Thank You to gionni88 For This Useful Post: | ||