From mboxrd@z Thu Jan 1 00:00:00 1970 From: Denis Kenzior Subject: Re: Motorola motmdm support Date: Sat, 29 Dec 2018 15:16:08 -0600 Message-ID: References: <20181229094953.GA15358@amd> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20181229094953.GA15358@amd> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ofono-bounces-bdc2hr5oBkPYtjvyW6yDsg@public.gmane.org Sender: "ofono" To: Pavel Machek , ofono-bdc2hr5oBkPYtjvyW6yDsg@public.gmane.org, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org, sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, nekit1000-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, mpartap-hi6Y0CQ0nG0@public.gmane.org, merlijn-tF0PIh4TN3odnm+yROfE0A@public.gmane.org List-Id: linux-omap@vger.kernel.org Hi Pavel, On 12/29/2018 03:49 AM, Pavel Machek wrote: > Hi! > > Motorola phones use "interesting" setup. > > There's qmi and "normal" (but very buggy) AT interface on > them. Unfortunately that uses USB and uses too much power (which is a > problem on phone). > > Plus there's /dev/motmdm1, motmdm3 and motmdm9, multiplexed over > serial line. Kernel 27.010 multiplexer or something else entirely? > > It uses subset of AT commands (good) with slightly modified > protocol... it says ":OK" instead of "OK" and puts ~ before > unsolicited messages. Funny > > Other major difference is that commands need to be sent to the right > device. It seems motmdm1 is for status and call control, and motmdm9 > is for incoming sms. > > I guess that right way to do this is to introduce > drivers/motorolamodem (or can we just have drivers/motorola?). > For some weird historic reason we called the atom drivers and thus the subdirectory housing the relevant sources with the 'modem' suffix. So I guess we should stick to that just to be consistent. We can have a separate discussion on whether it makes sense to drop the 'modem' suffix and what the implications are (probably none). If we decide to drop the suffix, then we should/will do it for all drivers. Regards, -Denis