[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <C7520082-95CC-4D4F-BCE4-96A7D6346DB3@goldelico.com>
Date: Thu, 3 Oct 2013 21:40:34 +0200
From: "Dr. H. Nikolaus Schaller" <hns@...delico.com>
To: David Miller <davem@...emloft.net>
Cc: Jan Dumon <j.dumon@...ion.com>,
Belisko Marek <marek.belisko@...il.com>,
linux-usb@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] hso: fix problem with wrong status code sent by OPTION GTM601 during RING indication
Hi,
Am 03.10.2013 um 21:29 schrieb David Miller:
> From: "Dr. H. Nikolaus Schaller" <hns@...delico.com>
> Date: Wed, 2 Oct 2013 09:00:18 +0200
>
>> From f5c7e15b61f2ce4fe3105ff914f6bfaf5d74af0d Mon Sep 17 00:00:00 2001
>> From: "H. Nikolaus Schaller" <hns@...delico.com>
>> Date: Thu, 15 Nov 2012 14:40:57 +0100
>> Subject: [PATCH 1/1] hso: fix problem with wrong status code sent by OPTION
>> GTM601 during RING indication
>>
>> It has been observed that the GTM601 with 1.7 firmware sometimes sends a value
>> wIndex that has bit 0x04 set instead of being reset as the code expects. So we
>> mask it for the error check.
>>
>> See http://lists.goldelico.com/pipermail/gta04-owner/2012-February/001643.html
>>
>> Signed-off-by: NeilBrown <neilb@...e.de>
>> Signed-off-by: H. Nikolaus Schaller <hns@...delico.de>
>
> I think we should look more deeply into what this bit might mean
> and why the firmware might be setting it before we even consider
> applying a patch like this one.
Yes, that would be the right way.
The problem is that the firmware is a black box and the packet format has no
(public) documentation (unless someone inside OPTION has access to it).
I have made the bug observation from debug log that this bit is set in a response
each time the modem has a RING message. It might be specific to this modem
and firmware version, i.e. a firmware bug. But we have no means to verify or even
change it in the firmware.
I.e. the driver must handle it in a better way.
Because the notification is rejected by the driver, the driver will hang up and the
whole modem connection breaks down.
With this patch, the problem was never observed again in ~2 years.
I'd hope the maintainer of this driver can shed some light on it.
BR,
Nikolaus Schaller
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists