long wire for the headphone jack and sailfish_x
hello,
I was using my Jolla 1 device till recently, the jack died. So I bought Xperia XA2, to be able to listen to music. As I did with Jolla - with headphones, and also by connecting via a longer wire to the AUX of my car's audio system. Now, XA2 under android did recognize the wire to the AUX of the car. Since I installed Sailfish on it, it only recognizes the connected headphones. The wire to the audio system is longer, and the device does not 'feel' the connected wire. I also tried at home, I have a 2 meter wire which I connect to the home audio system, and XA2 with Sailfish does not feel the connection. So I wonder if that's a kernel/sound driver issue, and if that driver could be tuned by writing something to /proc or /sys files. Thank you! |
Re: long wire for the headphone jack and sailfish_x
I very much doubt it has anything to do with the wire length.
More like with what's at the end of it. Headphones have a low impedance, usually 32Ω. The audio line input impedance varies depending on the producer, but it is usually in the range of tens or kΩ (47kΩ and 100kΩ being quite common). That's ten thousand times more! From the phone's point of view, that may look like an open circuit. Which is just a fancy way of saying "a cable with nothing connected at the other end". A very easy way to check would be just connecting your headphones at the end of the long cable, perhaps with something like this: https://i.ebayimg.com/images/g/LQsAA...56/s-l1600.jpg A bit more advanced may be to use a Y splitter that allows to plug in two sets of headphones and instead of the other set just plug in the cable to your audio system. The sound will come out through both the headphones and the audio system but it will prove the concept. |
Re: long wire for the headphone jack and sailfish_x
thank you, i'll try tonight!
meanwhile i found this: https://together.jolla.com/question/...post-id-197858 they say it's detected as lineout, and lineouts are not supported. now i think if i can get bluetooth to audio jack adapter to route audio via bt may be? |
Re: long wire for the headphone jack and sailfish_x
Quote:
|
Re: long wire for the headphone jack and sailfish_x
this solves my problem:
pacmd list-sinks to get list of outputs then pacmd set-sink-port sink.primary_output output-wired_headphone routes audio via jack, and pacmd set-sink-port sink.primary_output output-line also routes audio via jack, but the volume is a bit lower. i guess this is a correct setting. pacmd set-sink-port sink.primary_output output-speaker routes back to speaker. found it by following hints of someone helpful from telegram sailfish chat. |
Re: long wire for the headphone jack and sailfish_x
Quote:
|
Re: long wire for the headphone jack and sailfish_x
Perhaps you could use the Situations app to execute a script containing those commands. The trigger could be plugging in a charge cable.
|
Re: long wire for the headphone jack and sailfish_x
Quote:
if the wire is connected to the audio system, not headphones. apparently there is this thread https://together.jolla.com/question/...post-id-197869 as well. |
Re: long wire for the headphone jack and sailfish_x
Quote:
if it provides just assignable buttons, it's cool. i'll create two buttons, one for lineout, one for speaker. ah, three, one for headphones. |
Re: long wire for the headphone jack and sailfish_x
i did not find how to execute my command line or script with situations.
i'll do that from console. that is not a problem. |
All times are GMT. The time now is 08:20. |
vBulletin® Version 3.8.8