Opened 9 years ago

Closed 9 years ago

#377 closed defect (duplicate)

Headset does not work.

Reported by: TAsn Owned by: TAsn
Priority: major Milestone:
Component: Frameworkd / FSO Version: SHR-unstable
Keywords: Cc:

Description (last modified by dos)

The framework loads the gsmhandset state file although the headset is attached, I'm not proficient with the rules, though a rule mod should suffice... Please someone make it.


Attachments (2)

gsmspeakerout.state (16.9 KB) - added by TAsn 9 years ago.
rules.yaml (3.7 KB) - added by TAsn 9 years ago.

Download all attachments as: .zip

Change History (10)

Changed 9 years ago by TAsn

comment:1 Changed 9 years ago by TAsn

Also added my modification to rules.yaml.
This is what I use to make headset work, I find it to be a subtle change, and of course it works.
Actually I think it's also a better behavior than having a state file load automatically, because this way allows the dialer to initiate a call with speaker on from the start!
Anyhow, just replace rules.yaml, reboot.
You have to initiate:
cp /usr/share/openmoko/scenarios/gsmhandset.state /usr/share/openmoko/scenarios/gsmcall.state
mdbus -s org.freesmartphone.odeviced /org/freesmartphone/Device/Audio org.freesmartphone.Device.Audio.StoreScenario? gsmcall
before the whole process

Changed 9 years ago by TAsn

comment:2 Changed 9 years ago by TAsn

One comment, although the rules.yaml solution is good, it's not complete.
Having a script that loads the correct scenario is smarter! because this solution for instance, does not know how to handle insertion of the headset while in a call. (It does, it'll do nothing...)

comment:3 Changed 9 years ago by dos

  • Description modified (diff)
  • Priority changed from critical to major
  • Summary changed from Speaker and Headset do not work. to Headset does not work.

Speaker is fixed, headset not.

comment:4 Changed 9 years ago by dos

  • Component changed from SHR Image to frameworkd / FSO
  • Owner changed from ainulindale to daniel

comment:5 Changed 9 years ago by TAsn

I think we can work around this on our part, I mean, I can easily add this to to phonegui-efl though it won't be automatic!

comment:6 Changed 9 years ago by TAsn

  • Owner changed from daniel to TAsn
  • Status changed from new to assigned

comment:7 Changed 9 years ago by TAsn

  • Status changed from assigned to accepted

comment:8 Changed 9 years ago by TAsn

  • Resolution set to duplicate
  • Status changed from accepted to closed

Fixed #663 that also made a sane way to fix this, opened #699 that describes exactly what needed, though headset support is now there, only few UI mods are in order.

Note: See TracTickets for help on using tickets.