Re: [crisos] Re: CrisOs and Sensirion humidity and temperature sensor |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/crisos Archives
]
- To: crisos@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [crisos] Re: CrisOs and Sensirion humidity and temperature sensor
- From: Claudio <claudyus84@xxxxxxxxx>
- Date: Fri, 27 Jun 2008 16:02:47 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=ABni3V8shebm7hvcFqgFoXUwKpQD/RH8ams5FR+gNiw=; b=Auk+IXvZXzWD/jOf9xdOqLLKX2hG43STaGNWd+a9bU5Fzsr17y4KI0T7amIUl59WeJ QDYjAnRoc1Hk4T7s3P+CvidbpXVgBFcb3WL0SxNKI0hHHvMAcbFk3cBHbcNPZuI520ON SLihH+EIFI5z6K2PFZSrLkSBO4/ciev5CdgIE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=keVCgBqi9m69anT3T65ezFch3k/PgwdZWlvYxgJmMgkIfFQqawy5mgTzxO82Xtdd8t UqBsLvnfCue6xWPDdxcU6luN9WUVVrZoKXTOrFg4JZISChn6ayZjJA8dHYUhDT6b1SoH ZHgpj0R9NxAehAD+q4LX0N8nS34FsXhO1NhOM=
Hi Frederick
2008/6/25 Frederic AYRAULT <fred@xxxxxxxxxxx>:
> Hi all,
>
> I do some other tests.
>
> I can control a led and read the status of a switch using :
> the setbits and readbits commands ( http://www.acmesystems.it/?id=17 )
> or the file descriptor method in C ( http://www.acmesystems.it/?id=22 )
Yes , the set/readbit utils use the /dev interface, the gpiosyscall
was implement from blogic (the prozen sdk maintainer) and are used to
modify directly the porta/b/g register.
Something appear to be changed inside kernel as reported here
http://ubuntuforums.org/archive/index.php/t-321969.html
I can obtain the same error compiling the source with:
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -I$(BUILD_DIR)/linux/include"
endef
I'm little busy at the moment but i will fix it soon as possible.
Any help is appreciated
>
> But I am not able to do it using the GPIO syscalls
>
> Regards,
>
> Frederic
>
> PS : With DarwinFox, you need to create the GPIO device files
> mknod /dev/gpioa c 120 0
> mknod /dev/gpiob c 120 1
> mknod /dev/gpiog c 120 3
--
Claudio
User linux #415284
- http://www.crisos.org/
---
CrisOs mailing list
Official multi-language http://www.crisos.org/ mailing list
For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with subject unsubscribe.