Reply
Thread Tools
Posts: 2 | Thanked: 1 time | Joined on Jun 2019
#1
Hi,everyone

Few days ago I bought a Nokia N900 , just for play as a small linux toys,.So I remove a lot of phone functions such as rtcom,address book...I followed ruskie's remove list and remove some other packages on my own.My N900 works well after reboot .

The only problem is that sound continues came from speaker , when I connect my headphones.The system show a headphone icon when connected, so it won't be a hardware problem.I think it's some packages I removed causes this,but I don't know which one.

Does anyone know which missing package may cause such a problem?

Sorry for my bad English,I hope it's not confuse you guys.thank you for reading.
 

The Following User Says Thank You to ydb For This Useful Post:
Posts: 29 | Thanked: 88 times | Joined on Oct 2015
#2
'ohmd' should be running and listening at least

as root:
# lsof -i

ohmd 779 root 7u IPv4 4271 UDP localhost:3002
ohmd 779 root 36u IPv4 4408 UDP localhost:3001
 

The Following 2 Users Say Thank You to ontime For This Useful Post:
Posts: 2 | Thanked: 1 time | Joined on Jun 2019
#3
Originally Posted by ontime View Post
'ohmd' should be running and listening at least
Thanks for reply! I run lsof -i, it's really not have "ohmd" runing or listening ,but it's already been install on my device,so how can I activate that daemon?

Best Wishes
 
Posts: 29 | Thanked: 88 times | Joined on Oct 2015
#4
as root:

# start ohmd

file '/etc/event.d/ohmd' must exists

also you can check this:

for speakers on:
amixer -qc0 set "Speaker Function" On
amixer -qc0 set "Right DAC_R1 Mixer HP" unmute
amixer -qc0 set "Left DAC_L1 Mixer HP" unmute

for speakers off:
amixer -qc0 set "Speaker Function" Off
amixer -qc0 set "Right DAC_R1 Mixer HP" mute
amixer -qc0 set "Left DAC_L1 Mixer HP" mute

It's no matter if headset / eaphones are plugged in.
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:23.