Re: Vibrations on Droid 4?
From: Sebastian Reichel
Date: Tue Jul 10 2018 - 06:11:54 EST
Hi,
On Tue, Jul 10, 2018 at 12:02:11AM +0200, Pavel Machek wrote:
> Hi!
>
> > > Do you have vibrations on d4 working?
> > > I believe I have required drivers enabled, but no luck:
> > >
> > > user@devuan:/sys/bus/platform/drivers$ ls pwm-vibrator/
> > > bind uevent unbind
> > > user@devuan:/sys/bus/platform/drivers$ ls omap-dmtimer-pwm/
> > > bind uevent unbind
> >
> > Have you checked probe deferrals?
>
> Not really. Is there easier way to do that than adding printks in the
> probe function? (I can go through dmesg tommorow).
Option 1: https://lkml.org/lkml/2018/7/8/63
Option 2: dynamic debug via kernel commandline (needs CONFIG_DYNAMIC_DEBUG)
dyndbg="func deferred_probe_work_func +p; func driver_deferred_probe_add +p"
Option 3: use "initcall_debug" kernel commandline
-- Sebastian
Attachment:
signature.asc
Description: PGP signature