Dangerous Prototypes

Dangerous Prototypes => Bus Pirate Support => Topic started by: pcfe on February 14, 2011, 08:30:02 pm

Title: v3 on Fedora 14
Post by: pcfe on February 14, 2011, 08:30:02 pm
my notes from taking my Seeed BPv3 into use on F14 x86_64

1. As long as RHBZ Bug 663124 is not fixed, use the work-around from Comment #1 in that bug. This means adding a line to /etc/sysconfig/gpsd to prevent gpsd from attaching to the BP.
Code: [Select]
USBAUTO=no

2. add this to udev rules (one line)
Code: [Select]
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="12345678", MODE="0660", SYMLINK+="buspirate"
obviously, instead of 12345678 you need to use the serial of your BP, find it out with
Code: [Select]
# dmesg | grep -A 5 -B 5 SerialNumber
after plugging in the BP.

3. configure minicom with minicom -s buspirate to end up with /etc/minirc.buspirate as follows
Code: [Select]
# Machine-generated file - use "minicom -s" to change parameters.
pu port            /dev/buspirate
pu minit            ?^M
pu mreset          ^M
pu mdialpre       
pu mdialsuf       
pu mdialpre2       
pu mdialsuf2       
pu mdialpre3       
pu mdialsuf3       
pu rtscts          No
the initstring used has the advantage that I get BP's help output on connect.

4. use the BP (ideally not as root, just have your user in the right group or play with the MODE in the udev rule.
Code: [Select]
$ minicom buspirate

The above is meant to be terse, the forum and wiki have all the info needed, there was just no search result for Fedora and if I ever need to re-do the setup, It will be nice to have all the parts in one post.
Title: Re: v3 on Fedora 14
Post by: ian on February 14, 2011, 08:34:54 pm
Thanks pcfe - may I copy this to a wiki page too (CC-BY-SA license)?
Title: Re: v3 on Fedora 14
Post by: pcfe on February 14, 2011, 08:38:00 pm
[quote author="ian"]Thanks pcfe - may I copy this to a wiki page too (CC-BY-SA license)?[/quote]

Yes. CC-BY-SA is fine.
Title: Re: v3 on Fedora 14
Post by: ian on February 15, 2011, 09:04:53 am
Thank you, added here:
http://dangerousprototypes.com/docs/Usi ... _Fedora_14 (http://dangerousprototypes.com/docs/Using_the_Bus_Pirate_with_Fedora_14)

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01092064800session_write_close ( )...(null):0
20.01122196392ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01122197168Database_MySQL->query( ).../DatabaseHandler.php:119
40.06012335904Database_MySQL->error( ).../Db-mysql.class.php:273