phone-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH 0/3] Add initial support for BQ Aquaris X5
       [not found] ` <20210124210119.GA27676@amd>
@ 2021-01-24 21:49   ` Stephan Gerhold
  2021-01-27 22:24     ` Pavel Machek
  0 siblings, 1 reply; 4+ messages in thread
From: Stephan Gerhold @ 2021-01-24 21:49 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Jonathan Albrieux, linux-kernel, ~postmarketos/upstreaming,
	Andy Gross, Bjorn Andersson, Rob Herring, linux-arm-msm,
	devicetree, phone-devel

Hi Pavel,

On Sun, Jan 24, 2021 at 10:01:19PM +0100, Pavel Machek wrote:
> Hi!
> 
> > Aquaris X5 (Longcheer L8910) is a smartphone released by BQ in 2015.
> > 
> > As part of msm8916-mainline project, this series aims to bring initial
> > mainline support for it.
> 
> Good to see another phone being supported. Can I ask you to cc:
> phone-devel@vger.kernel.org with phone stuff?
> 
> > Features added:
> >  - SDHCI (internal and external storage)
> >  - USB Device Mode
> >  - UART
> >  - Regulators
> >  - WiFi/BT
> >  - Volume buttons
> >  - Vibrator
> >  - Touchkeys backlight
> >  - Accelerometer and gyroscope sensor
> >  - Magnetometer sensor
> 
> How close are you to having useful phone calls?
> 

You can do phone calls (with audio) and you can use mobile data, if you
have the patches for that. :) I'm trying to find time to finish up the
drivers needed for that, but I've been a bit short on time lately.

Actually we have come pretty far with MSM8916-based smartphones.
Most functionality is (somewhat) working at this point, the primary
open task is optimizing suspend/power consumption. Battery/charging
and camera is also tricky but works somewhat on some of the devices.

Most of the functionality is packaged in postmarketOS [1] and you can
find a list of the devices in the postmarketOS wiki [2]. Especially
the ones in the "community" category are quite similar in terms of
working functionality.

Stephan

[1]: https://postmarketos.org
[2]: https://wiki.postmarketos.org/wiki/Qualcomm_Snapdragon_410/412_(MSM8916)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/3] Add initial support for BQ Aquaris X5
  2021-01-24 21:49   ` [PATCH 0/3] Add initial support for BQ Aquaris X5 Stephan Gerhold
@ 2021-01-27 22:24     ` Pavel Machek
  2021-01-28  9:27       ` Stephan Gerhold
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Machek @ 2021-01-27 22:24 UTC (permalink / raw)
  To: Stephan Gerhold
  Cc: Jonathan Albrieux, linux-kernel, ~postmarketos/upstreaming,
	Andy Gross, Bjorn Andersson, Rob Herring, linux-arm-msm,
	devicetree, phone-devel

[-- Attachment #1: Type: text/plain, Size: 1882 bytes --]

Hi!

> > > Aquaris X5 (Longcheer L8910) is a smartphone released by BQ in 2015.
> > > 
> > > As part of msm8916-mainline project, this series aims to bring initial
> > > mainline support for it.
> > 
> > Good to see another phone being supported. Can I ask you to cc:
> > phone-devel@vger.kernel.org with phone stuff?
> > 
> > > Features added:
> > >  - SDHCI (internal and external storage)
> > >  - USB Device Mode
> > >  - UART
> > >  - Regulators
> > >  - WiFi/BT
> > >  - Volume buttons
> > >  - Vibrator
> > >  - Touchkeys backlight
> > >  - Accelerometer and gyroscope sensor
> > >  - Magnetometer sensor
> > 
> > How close are you to having useful phone calls?
> 
> You can do phone calls (with audio) and you can use mobile data, if you
> have the patches for that. :) I'm trying to find time to finish up the
> drivers needed for that, but I've been a bit short on time lately.

:-). 

> Actually we have come pretty far with MSM8916-based smartphones.
> Most functionality is (somewhat) working at this point, the primary
> open task is optimizing suspend/power consumption. Battery/charging
> and camera is also tricky but works somewhat on some of the devices.

Yes, power consumption is a lot of fun :-(.

> Most of the functionality is packaged in postmarketOS [1] and you can
> find a list of the devices in the postmarketOS wiki [2]. Especially
> the ones in the "community" category are quite similar in terms of
> working functionality.

I know about postmarketOS (I even contributed a bit some time ago),
and watch it from time to time. Currently I'm using old Nokia 6151 for
phone calls, but would not mind switching. Work is ongoing in Droid 4
land -- phone calls are also "almost there". But the almost seems to
be a lot of work :-(.

Best regards,
								Pavel
-- 
http://www.livejournal.com/~pavelmachek

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/3] Add initial support for BQ Aquaris X5
  2021-01-27 22:24     ` Pavel Machek
@ 2021-01-28  9:27       ` Stephan Gerhold
  2021-02-02 13:13         ` Pavel Machek
  0 siblings, 1 reply; 4+ messages in thread
From: Stephan Gerhold @ 2021-01-28  9:27 UTC (permalink / raw)
  To: Pavel Machek
  Cc: Jonathan Albrieux, linux-kernel, ~postmarketos/upstreaming,
	Andy Gross, Bjorn Andersson, Rob Herring, linux-arm-msm,
	devicetree, phone-devel

On Wed, Jan 27, 2021 at 11:24:07PM +0100, Pavel Machek wrote:
> > > How close are you to having useful phone calls?
> > 
> > You can do phone calls (with audio) and you can use mobile data, if you
> > have the patches for that. :) I'm trying to find time to finish up the
> > drivers needed for that, but I've been a bit short on time lately.
> 
> > Most of the functionality is packaged in postmarketOS [1] and you can
> > find a list of the devices in the postmarketOS wiki [2]. Especially
> > the ones in the "community" category are quite similar in terms of
> > working functionality.
> 
> I know about postmarketOS (I even contributed a bit some time ago),
> and watch it from time to time. Currently I'm using old Nokia 6151 for
> phone calls, but would not mind switching. Work is ongoing in Droid 4
> land -- phone calls are also "almost there". But the almost seems to
> be a lot of work :-(.
> 

It's fairly simple on Qualcomm SoCs once audio DSP and modem are working
(which is not that simple). I basically just tell the audio DSP to
stream voice call audio to the audio ports and then it does that without
involving the kernel.

It seems to work quite well, so far no one complained about quality or
something like that. Not sure if anyone is actively using it already
though :)

The work left is mainly making the driver more generic so it can work on
other Qualcomm SoCs as well (right now I have some things hardcoded).
Also, I still haven't fully figured out what is the best way to
integrate it into ASoC/UCM/..., so that it can be easily activated when
starting a voice call.

Stephan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/3] Add initial support for BQ Aquaris X5
  2021-01-28  9:27       ` Stephan Gerhold
@ 2021-02-02 13:13         ` Pavel Machek
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2021-02-02 13:13 UTC (permalink / raw)
  To: Stephan Gerhold
  Cc: Jonathan Albrieux, linux-kernel, ~postmarketos/upstreaming,
	Andy Gross, Bjorn Andersson, Rob Herring, linux-arm-msm,
	devicetree, phone-devel

[-- Attachment #1: Type: text/plain, Size: 1926 bytes --]

Hi!

> > > > How close are you to having useful phone calls?
> > > 
> > > You can do phone calls (with audio) and you can use mobile data, if you
> > > have the patches for that. :) I'm trying to find time to finish up the
> > > drivers needed for that, but I've been a bit short on time lately.
> > 
> > > Most of the functionality is packaged in postmarketOS [1] and you can
> > > find a list of the devices in the postmarketOS wiki [2]. Especially
> > > the ones in the "community" category are quite similar in terms of
> > > working functionality.
> > 
> > I know about postmarketOS (I even contributed a bit some time ago),
> > and watch it from time to time. Currently I'm using old Nokia 6151 for
> > phone calls, but would not mind switching. Work is ongoing in Droid 4
> > land -- phone calls are also "almost there". But the almost seems to
> > be a lot of work :-(.
> > 
> 
> It's fairly simple on Qualcomm SoCs once audio DSP and modem are working
> (which is not that simple). I basically just tell the audio DSP to
> stream voice call audio to the audio ports and then it does that without
> involving the kernel.
> 
> It seems to work quite well, so far no one complained about quality or
> something like that. Not sure if anyone is actively using it already
> though :)

Ok, thanks for info :-). 

> The work left is mainly making the driver more generic so it can work on
> other Qualcomm SoCs as well (right now I have some things hardcoded).
> Also, I still haven't fully figured out what is the best way to
> integrate it into ASoC/UCM/..., so that it can be easily activated when
> starting a voice call.

On droid 4, we use mixer settings to configure audio system for a
call. Maemo Leste has some kind of component to automatically adjust
mixers when call is started. We use ofonod.

Best regards,
								Pavel
-- 
http://www.livejournal.com/~pavelmachek

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-02 13:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210124135409.5473-1-jonathan.albrieux@gmail.com>
     [not found] ` <20210124210119.GA27676@amd>
2021-01-24 21:49   ` [PATCH 0/3] Add initial support for BQ Aquaris X5 Stephan Gerhold
2021-01-27 22:24     ` Pavel Machek
2021-01-28  9:27       ` Stephan Gerhold
2021-02-02 13:13         ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).