On 6/30/14, Matthieu Herrb <matthieu.he...@laas.fr> wrote:
> On Mon, Jun 30, 2014 at 06:04:11PM -0700, patrick keshishian wrote:
>> This prevents one to write a simple one-wire protocol
>> using the gpio ioctl interface, where a data pin needs to
>> switch directions between in and out. Which is where
>> I'm stuck ATM.
>
> Do you know about gpioow(4) and onewire(4) ? Sure writing kernel
> drivers for simple one-wire device is a bit of overkill but it's a

I noticed them while I was "studying" the gpio manuals.
That may be an option, if i can get my head around how
things are done in kernel land.


>> > Nothing prevents you to run permanently at securelevel 0 if you
>> > need it and can afford the risk.
>>
>> so i tried setting securelevel=0 in /etc/rc.securelevel, but(!) ...
>
> you need to set  'option INSECURE' in your kernel config for permanent
> insecure mode.

ahh... it comes with its very own child-proof cap!

also noticed, following comment in /etc/rc:

        # If we are in secure level 0, assume single user mode.

so  more pitfalls lurking about ...

Thanks again,
--patrick

Reply via email to