Loading...
Pages: 1 [2]   Go Down
Author Topic: Arduino on Fedora 11 64bit  (Read 823 times)
0 Members and 1 Guest are viewing this topic.
tytower
Guest
 Bigger Bigger  Smaller Smaller  Reset Reset

Yep your dead right . I got to work and as data was being sent to the terminal ,it was too fast for me and you can't stop it . So I unplugged the device and then when I tried to close the terminal window I got a beep and a kernel failure report . So it wrote home and told mum on me.

Move to a new desktop or minimise all windows and start it  again and it comes up with the next port number and all works fine until you pull the plug again.

OK so it looks like add your user to
Lock
uucp
Dialup and
Wheel? //dont know what that one does yet

Changing the owner did not work as every time the board is plugged in it is set up with root as the owner.
« Last Edit: November 05, 2009, 08:53:52 pm by tytower » Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

wheel isn't necessary for this, it's for something else.  You can add yourself if you want, but it won't do anything
Logged

tytower
Guest
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes I find by experimentation that
uucp
is not necessary either.

So just Lock and Dialup should do it
Logged

Indiana, US
Offline Offline
Newbie
*
Karma: 0
Posts: 39
*_+
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Since my last post I have moved onto Fedora 12 64bit (and wished I hadn't for about a million new bugs)

but I have had success compiling sketches by installing the following:

Code:
yum install avr-gcc avr-libc avrdude avr-g++ avr-gcc-c++ -y

And using Ardunio 0016 from here:
http://www.cibomahto.com/2009/07/arduino-on-64-bit-linux/

Now my question is: How do I upload it to the Board??
I have added myself to all of the groups mentioned and I changed my preferences.txt to:

Code:
serial.port=/dev/ttyUSB0

Tools -> Serial Port
is also Greyed Out and I am getting the error:

Code:
/dev/ttyUSB0 not found
« Last Edit: December 05, 2009, 06:06:20 am by action_owl » Logged

0
Offline Offline
Full Member
***
Karma: 3
Posts: 218
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I notice you are using 0016 rather than 0017 ,is this because there is no 64bit version . If so I read a post that said 0017 worked with 64 bit. No idea where

You changed the preferences .txt . I did not do that , I still have it as it was
Quote
# ARDUINO PREFERENCES
board = atmega328

upload.using = bootloader

serial.port=COM1
serial.databits=8
serial.stopbits=1
serial.parity=N
serial.debug_rate=9600
If the port is  greyed out have a look as root at /dev/ and watch what happens as you plug and unplug the board , then check what your system has as the port owner and add yourself to that group .  Mine was /dev/ttyUSB0  owner root group  dialup  Thats all I have to suggest at this time  
« Last Edit: December 05, 2009, 06:40:21 am by april.steel » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

april said
Quote
I notice you are using 0016 rather than 0017 ,is this because there is no 64bit version . If so I read a post that said 0017 worked with 64 bit. No idea where

You changed the preferences .txt . I did not do that , I still have it as it was
Quote
# ARDUINO PREFERENCES
board = atmega328

upload.using = bootloader

serial.port=COM1
serial.databits=8
serial.stopbits=1
serial.parity=N
serial.debug_rate=9600

If the port is  greyed out have a look as root at /dev/ and watch what happens as you plug and unplug the board , then check what your system has as the port owner and add yourself to that group .  Mine was /dev/ttyUSB0  owner root group  dialup  Thats all I have to suggest at this time  

You are very knowledgeable for a 1st time poster. Your experience matches tytower's so there is nothing new here.
Logged

tytower
Guest
 Bigger Bigger  Smaller Smaller  Reset Reset

presumptuous foolish and wrong too
Logged

UK
Offline Offline
Faraday Member
**
Karma: 15
Posts: 2852
Gorm deficient
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Odd that the language used, and the eccentric use of a space before a comma matches, though, dontcha think?
Logged

Per Arduino ad Astra

tytower
Guest
 Bigger Bigger  Smaller Smaller  Reset Reset

As above . Why dont you use your time constructively and try to answer peoples questions or ask meaningful sensible ones . This continuance is pointless , fruitless and simply the acts of stupid , selfish people who hijack threads to make meaningless posts ,mostly to see their name in lights . No more from me on the matter
Logged

UK
Offline Offline
Faraday Member
**
Karma: 15
Posts: 2852
Gorm deficient
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

From "april":
Quote
I notice you are using 0016 rather than 0017 ,is this because there is no 64bit version . If so

From "tytower"
Quote
continuance is pointless , fruitless and simply the acts of stupid , selfish

See what I mean?
Spookily similar, huh?
(That, and calling people "clown" in a now-deleted post)
Logged

Per Arduino ad Astra

0
Offline Offline
Full Member
***
Karma: 3
Posts: 218
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

such silly people here.
my experience is with Fedora11 and I have just put it on my puta. Whats it toya?
See the clown icon person is a new poster . Very experienced for a new poster NO?
what foolishness - perhaps not fully grown yet

All info here followed
Add to dialout
Add to lock
yum install avr-gcc-c++ -y

but still not finding the avr.h and other files .
Does someone know why?

Right no had to install avr-libc to
« Last Edit: December 07, 2009, 07:40:17 pm by april.steel » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just did a complete system upgrade to Fedora 12 x86_64 and Arduino 17. It all works for me.

basic process I used:

download and install Arduino 17
confirm usb (with arduino plugged in to a usb port)

$lsusb

you should see/find in the output list:

Bus 004 Device 003: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC

The important part is the FTDI driver being present. If you don't see this then you need to check your usb drivers and hardware connections, etc.

Then:

$su
passwd:
# yum install avr-libc avr-binutils avr-gdb avr-gcc avr-gcc-c++ avrdude -y
# usermod -a -G lock [login_id]
# usermod -a -G dailout [login_id]
^D

You will then need to logout and login again for the user group changes to take effect.

I also needed to download and use rxtx-2.2pre2-bins.zip

That did it for me. Also, the java I'm using is:

java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)
Logged

Pages: 1 [2]   Go Up
Print
 
Jump to: