LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 07-28-2012, 01:15 PM   #1
JonL
LQ Newbie
 
Registered: Jul 2012
Posts: 4

Rep: Reputation: Disabled
Alix 1D GPIO controlling


Hi,

I'm using an Alix 1D board for my system, and I'm trying to use its' GPIO header to control this relay board (http://arduino-direct.com/sunshop/in...t_detail&p=181).

Well, I know that the Alix can drive the relay board properly, because if I change the GPIO pin's value on the BIOS, the relay opens/closes accordingly.

Anyway, I'm not able to control it using the /sys/class/gpio fs.

The cs5535-gpio module is loaded, I set up the pin for export and set it for writing (out).

Assigning a value (1 or 0) to the pin doesn't operate the relay board at all.

Kernel is v3.2.17.

Any help?
 
Old 07-29-2012, 11:03 AM   #2
JonL
LQ Newbie
 
Registered: Jul 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Well, this is weird...

Just noticed that when I send high (1) or low (0) values to the GPIO pin, I hear a small beep from the buzzer... The relay doesn't change at all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GPIO access on a Fujitsu Mini-ITX Industrial Mainboard, PCI Driver for GPIO mechatrix Linux - Embedded & Single-board computer 3 11-20-2011 03:57 PM
Controlling a servo with GPIO icemetal Linux - Embedded & Single-board computer 4 10-22-2011 09:58 AM
Slack on ALix mini pc koloth Slackware 3 02-09-2011 10:21 PM
Using GPIO (from kernel GPIO support) in MY application DannyGilbert Linux - Kernel 2 03-16-2009 07:52 AM
ALiX - Business Software Environment omgkthxbye General 2 10-24-2002 11:07 PM


All times are GMT -5. The time now is 08:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration