lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201302171740.41985@pali>
Date:	Sun, 17 Feb 2013 17:40:41 +0100
From:	Pali Rohár <pali.rohar@...il.com>
To:	Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc:	Eric Piel <eric.piel@...mplin-utc.net>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: Re: Driver lis3lv02d_i2c not working on Nokia RX-51

On Sunday 17 February 2013 17:25:24 Mark Brown wrote:
> On Sun, Feb 17, 2013 at 12:46:25AM +0100, Pali Rohár wrote:
> > Accelerometer driver lis3lv02d_i2c not working on Nokia
> > RX-51 with linux kernel 3.8-rc3. Probing for i2c device
> > failing.
> > 
> > I tried to compile older version and it working without
> > problem. Then I bisected commit which broke support for
> > RX-51.
> > 
> > That commit is ec400c9fab99d16a491cea17d27d0c6a5780b97c
> > "lis3lv02d: make regulator API usage unconditional"
> > 
> > CCing everybody who signed off that commit. When I reverted
> > that commit on top of 3.8-rc3, lis3lv02d working without
> > problem.
> > 
> > It looks like driver is trying to use some regulator, but
> > there is nothing defined for RX-51.
> > 
> > Any idea what to do?
> 
> It would be helpful to provide some more detailed information
> on the problem you are seeing than "the probe is failing". 
> Are there any error messages or other indications as to where
> in the probe the error occurs?

I booted kernel without reverted that commit and here is dmesg output:

$ dmesg | grep lis3
[  110.454345] lis3lv02d_i2c 3-001d: Failed to get supply 'Vdd': -517
[  110.457397] i2c 3-001d: Driver lis3lv02d_i2c requests probe deferral
[  111.507415] lis3lv02d_i2c 3-001d: Failed to get supply 'Vdd': -517
[  111.510528] i2c 3-001d: Driver lis3lv02d_i2c requests probe deferral
[  126.720458] lis3lv02d_i2c 3-001d: Failed to get supply 'Vdd': -517
[  126.728149] i2c 3-001d: Driver lis3lv02d_i2c requests probe deferral
[  135.842803] lis3lv02d_i2c 3-001d: Failed to get supply 'Vdd': -517
[  135.856292] i2c 3-001d: Driver lis3lv02d_i2c requests probe deferral

-- 
Pali Rohár
pali.rohar@...il.com

Download attachment "signature.asc " of type "application/pgp-signature" (199 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ