All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Debian Jessie on QNAP TS-112P - Reboot instead of shutdown
       [not found]                 ` <57A7827D.20007@gmx.com>
@ 2016-08-08  7:13                   ` Uwe Kleine-König
  0 siblings, 0 replies; only message in thread
From: Uwe Kleine-König @ 2016-08-08  7:13 UTC (permalink / raw)
  To: Helge Wiemann; +Cc: debian-arm, linux-i2c

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

Hello Helge,

Cc: += linux-i2c

On Sun, Aug 07, 2016 at 08:48:29PM +0200, Helge Wiemann wrote:
> I located the battery and removed it for 60 seconds, then booted up my NAS
> and performed your commands. My syslog and tracelog are attached.
> 
> I think this made no difference. The date is still incorrect.

This didn't help, the bus is still stuck:

> [    2.817881] i2c i2c-0: mv64xxx_i2c_fsm: Ctlr Error -- state: 0x7, status: 0x38, addr: 0x30, flags: 0x1

This translates to:
	state: MV64XXX_I2C_STATE_WAITING_FOR_SLAVE_DATA
	status: MV64XXX_I2C_STATUS_MAST_LOST_ARB

Not sure this is accurate though.

From a quick look the mv64xxx driver doesn't support bus recovery. So
unless someone implements this the best bet is probably:

 - do it by hand, maybe from the bootloader
 - do it really by hand, by shortcutting ground and SCL up to 9 times
   until SDA goes high again.

Maybe someone from the i2c folks has a better idea.

Best regards
Uwe

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-08  7:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20160717115512.GA10098@perseus.defre.kleine-koenig.org>
     [not found] ` <578D1EE6.1070803@gmx.com>
     [not found]   ` <20160718192720.GA30825@perseus.defre.kleine-koenig.org>
     [not found]     ` <578E83B8.3000009@gmx.com>
     [not found]       ` <20160719201014.GA19250@perseus.defre.kleine-koenig.org>
     [not found]         ` <57A6328F.4060102@gmx.com>
     [not found]           ` <0a25e444-4103-ff2b-a1e4-9027db7c4ae3@kleine-koenig.org>
     [not found]             ` <57A70175.6090305@gmx.com>
     [not found]               ` <2c5a5526-2325-8683-aaa1-de067ae38d29@kleine-koenig.org>
     [not found]                 ` <57A7827D.20007@gmx.com>
2016-08-08  7:13                   ` Debian Jessie on QNAP TS-112P - Reboot instead of shutdown Uwe Kleine-König

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.