dallas 1-wire over gpio

Ask questions about Arch Linux ARM. Please search before making a new topic.

dallas 1-wire over gpio

Postby vbsaltydog » Sat Mar 09, 2013 10:34 pm

I am running 3.7.2-2-ARCH and I want to connect dallas 1-wire devices to a designated gpio pin. I know there is a w1-gpio kernel module and owfs for referencing the detected 1-wire devices but I am not sure how much my arch build can do natively.

I dont want to add/configure kernel modules if there is existing support. Can anyone offer a detailed roadmap for running a 1-wire bus on a gpio pin and how to manage the bus devices (owfs?) for the 3.7.2-2-ARCH build?

I already have access to the gpios through /sys/class/gpio/gpioX so I dont need help with that aspect, just the 1-wire/gpio aspect.

Thank you
vbsaltydog
 
Posts: 10
Joined: Sat Mar 09, 2013 10:18 pm

Re: dallas 1-wire over gpio

Postby WarheadsSE » Sun Mar 10, 2013 3:27 am

Shall I assume this is on Pi ?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: dallas 1-wire over gpio

Postby vbsaltydog » Sun Mar 10, 2013 5:07 am

negative. Its on the olimex maxi.
vbsaltydog
 
Posts: 10
Joined: Sat Mar 09, 2013 10:18 pm

Re: dallas 1-wire over gpio

Postby WarheadsSE » Sun Mar 10, 2013 2:08 pm

It does help a lot when you say which device you are using :)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: dallas 1-wire over gpio

Postby vbsaltydog » Sun Mar 10, 2013 11:42 pm

Are you referring to the olimex or the 1-wire device?

The 1-wire device will be the

http://www.adafruit.com/products/381

or similar.
vbsaltydog
 
Posts: 10
Joined: Sat Mar 09, 2013 10:18 pm

Re: dallas 1-wire over gpio

Postby WarheadsSE » Mon Mar 11, 2013 12:41 am

I usually mean both pieces of hardware, so people have a reference.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: dallas 1-wire over gpio

Postby vbsaltydog » Mon Mar 11, 2013 6:17 pm

anyone?
vbsaltydog
 
Posts: 10
Joined: Sat Mar 09, 2013 10:18 pm

Re: dallas 1-wire over gpio

Postby xxcn » Sat May 11, 2013 3:24 pm

1-wire support is missing from the current linux-olinuxino package, so you'll need to recompile your kernel if you want the 1w-gpio module.
xxcn
 
Posts: 3
Joined: Tue Jul 05, 2011 2:48 pm

Re: dallas 1-wire over gpio

Postby WarheadsSE » Sat May 11, 2013 7:14 pm

Still, WHICH olimex board? There are now:
- imx23
- a13
- a10s
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: dallas 1-wire over gpio

Postby vbsaltydog » Sat May 11, 2013 9:25 pm

The imx233.

I recompiled the kernel with 1-wire support and the 1wire gpio support as a kernel module but the module will not load because the gpio to use for the 1wire bus is not defined.

Does anybody know how to do that?
vbsaltydog
 
Posts: 10
Joined: Sat Mar 09, 2013 10:18 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 3 guests

cron