ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How does connection detection on audio jack work?

  • 6 การตอบกลับ
  • 6 คนมีปัญหานี้
  • 37 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย alfonso.ortiz.rodriguez

more options

Device: Alcatel One Touch Fire Firefox OS version: 1.1

When I plug my headphones, the phone turns into "headphone" mode and all audio is played on the headphones. When I plug any other audio cable, for example, to try to connect the phone to other audio device like the audio in port on the computer, it just don't work. The phone does not turn into "headphone" mode, as if no cable is plugged into the jack.

All cables have been tested with other phones or devices and work as expected.

Does it have something to do with the hardware or the OS?

I think it has something to do with how the phone detects the cable. In theory, if I plug an audio cable (broken or not) the phone must always turn into "headphone" mode. Is that correct?

Any ideas?

Thanks in advance.

Device: Alcatel One Touch Fire Firefox OS version: 1.1 When I plug my headphones, the phone turns into "headphone" mode and all audio is played on the headphones. When I plug any other audio cable, for example, to try to connect the phone to other audio device like the audio in port on the computer, it just don't work. The phone does not turn into "headphone" mode, as if no cable is plugged into the jack. All cables have been tested with other phones or devices and work as expected. Does it have something to do with the hardware or the OS? I think it has something to do with how the phone detects the cable. In theory, if I plug an audio cable (broken or not) the phone must always turn into "headphone" mode. Is that correct? Any ideas? Thanks in advance.

วิธีแก้ปัญหาที่เลือก

Hey, right so I am not sure how the os detects what kind of device is attached to audio so I did this test with a 1.2 build:

  1. phone connected to headphones - mode on and audio worked
  2. phone connected to computer male to male - mode on, no audio (configurations? )
  3. phone connected to speakers via male connection of hdmi/audio cable - mode on and audio worked.

So, we can probably isolate the issue with the os as my hardware is the same as yours. How the headphone mode is detected is simply when an audio cord is plugged into it. The computer does not detect the device speakers or either or hardware from either ended even in usb debugging mode. It most likely is not detected because there is no code to initialize either system on either end. For example, in my embedded systems class you have to write the c code for the hardware to perform what you program it to do. By the looks of it, its only programmed to recognize if an audio cord is plugged in and give audio out. Speakers work in 1.2 though, so that is good news for 1.3 release :-)

อ่านคำตอบนี้ในบริบท 👍 2

การตอบกลับทั้งหมด (6)

more options

Hi alfonso.ortiz.rodriguez,

In version 1.1 all the audio could do was send out audio. In version 1.3 however audio speaker out is added.

Depending on the carrier and the update this should bee seen. However I am not sure what you try to do when you connect the phone to the computer with the audio.

If you are interested in learning more technical info on how this works, the audio channel api policy https://wiki.mozilla.org/WebAPI/AudioChannels

Let us know if that clears anything up, we are happy to follow up with clarification as well. Looking forward to your reply.

more options

Thanks for your response guigs2

The phone is not detecting that a cable is connected on the audio jack. If I want to connect the audio output of the phone to, for example, the audio input of a home theater with a "3.5 mm male to male audio cable", it just won't detect it.

In fact audio is directed to whatever device is connected when the phone turns into "headphone mode" (I understand that that functionality is optional on version 1.3), the problem is that a simple cable, which in turn I may connect to other device is just not detected.

Is there something on the OS that prevents the phone to be turned into "headphone mode" when "detects" that there is nothing on the other extreme of the cable? I know it sound strange, but in fact is technically possible, and it may be already implemented on the OS and/or the hardware.

I attached a diagram to try to explain myself better.

more options

วิธีแก้ปัญหาที่เลือก

Hey, right so I am not sure how the os detects what kind of device is attached to audio so I did this test with a 1.2 build:

  1. phone connected to headphones - mode on and audio worked
  2. phone connected to computer male to male - mode on, no audio (configurations? )
  3. phone connected to speakers via male connection of hdmi/audio cable - mode on and audio worked.

So, we can probably isolate the issue with the os as my hardware is the same as yours. How the headphone mode is detected is simply when an audio cord is plugged into it. The computer does not detect the device speakers or either or hardware from either ended even in usb debugging mode. It most likely is not detected because there is no code to initialize either system on either end. For example, in my embedded systems class you have to write the c code for the hardware to perform what you program it to do. By the looks of it, its only programmed to recognize if an audio cord is plugged in and give audio out. Speakers work in 1.2 though, so that is good news for 1.3 release :-)

more options

Ok, not the most "beginner user" experience but is working now. I know we should try to get some updates when things don't work properly, but I could not give them a try because the manufacturer (Alcatel) is not passing updates to the devices. I had to update, which was the difficult part because I had to install a newer version (1.5) by myself (search for an image, flash the device, etc).

I know is not on Mozilla to get the updates on the devices, as I understand, is on the manufacturers. Anyway, at least for now, is kind of hard for users with no experience on this things to get started on devices with Firefox OS.

Thanks for the feedback and the guidance.

Greetings.

more options

Hi Alfonso,

Thanks for reporting this issue. I experienced this as well, and was able to replicate on Geeksphone Keon version 1.5

I created a bug to address this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=991952

- Ralph

more options

Hi Ralph

I did not knew if this was on the hardware or the software. Now that you replicated the issue on other device, we may think its more on the software.

As of today, the only way I found to make it work (the auxiliary cable) is quite tricky:

1. Open the music application.

2. Plug the headphones.

3. Start playing music (music plays on the headphones)

4. Unplug the headphones (music stops)

5. Plug the auxiliary cable

6. Push the play music button again (music plays on whatever device you have on the other end of the cable).

I hope we can get more updates on this issue through your post on the bugs forum.

Thanks a lot for your response.

เปลี่ยนแปลงโดย alfonso.ortiz.rodriguez เมื่อ