[Voyage-linux] [Fwd: What about GPIO support for ALIX.3D3?]

Yago Fernandez Hansen (spam-protected)
Mon Jun 7 18:06:17 HKT 2010


Just another stupid question. Can you help me to read a switch value
On/OFF?



El lun, 07-06-2010 a las 15:27 +0800, Michael Fung escribió:

>  
> 
> Perhaps these can help:
>  
> voyage:~# modprobe cs5535_gpio
> 
> voyage:~# dmesg | grep gpio
> [   14.847516] cs5535_gpio: base=0x6100 mask=0xb003c66 major=253
>  
> voyage:~# lsmod | grep gpio
> cs5535_gpio             3744  0
> 
> voyage:~# ls -l /dev/cs5535*
> crw-rw---- 1 root root 253,  1 Jun  6 21:37 /dev/cs5535_gpio1
> crw-rw---- 1 root root 253, 10 Jun  6 21:37 /dev/cs5535_gpio10
> crw-rw---- 1 root root 253, 11 Jun  6 21:37 /dev/cs5535_gpio11
> crw-rw---- 1 root root 253, 12 Jun  6 21:37 /dev/cs5535_gpio12
> crw-rw---- 1 root root 253, 13 Jun  6 21:37 /dev/cs5535_gpio13
> crw-rw---- 1 root root 253,  2 Jun  6 21:37 /dev/cs5535_gpio2
> crw-rw---- 1 root root 253, 24 Jun  6 21:37 /dev/cs5535_gpio24
> crw-rw---- 1 root root 253, 25 Jun  6 21:37 /dev/cs5535_gpio25
> crw-rw---- 1 root root 253, 27 Jun  6 21:37 /dev/cs5535_gpio27
> crw-rw---- 1 root root 253,  5 Jun  6 21:37 /dev/cs5535_gpio5
> crw-rw---- 1 root root 253,  6 Jun  6 21:37 /dev/cs5535_gpio6
> 
>  
> Rgds,
> Michael
>  
>         ----- Original Message ----- 
>         From: Yago Fernandez Hansen 
>         To: voyage-linux 
>         Sent: Monday, 07 June, 2010 2:22 PM
>         Subject: [Voyage-linux] [Fwd: What about GPIO support for
>         ALIX.3D3?]
>         
>         
>         
>         Dear developers:
>         
>         
>         I am designing a new project using voyage Linux 0.6.5 and Alix
>         3D3
>         motherboard. I think I have readed everything in your wiki,
>         mailing list
>         and Google. Your OS is very very stable and very well done I
>         have to 
>         say. Thank you for your work.
>         
>         
>         
>         I need to implement minimun a switch and some more sensors.
>         For the 
>         sensors I will try to develop them using I2C. I have not
>         tested it yet. 
>         But I am working now with the switch.
>         
>         
>         
>         I have readed this very good article:
>         
>         http://www.twam.info/linux/gpio-on-alix3d3 about it. But I do
>         not know 
>         enough yet for patching or recompiling the kernel. Is it
>         necessary? Do 
>         you haven't made it? I do not find in /sys this GPIO 24 port. 
>         
>         
>         Can you help me?
>         
>         
>         Thank you 
>         
>         
>         ______________________________________________________________
>         
>         _______________________________________________
>         Voyage-linux mailing list
>         Voyage-linux at list.voyage.hk
>         http://list.voyage.hk/mailman/listinfo/voyage-linux


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20100607/56d452d1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Esta parte del mensaje est? firmada digitalmente
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20100607/56d452d1/attachment.sig>


More information about the Voyage-linux mailing list