Skip to main content
Topic: The Bus Pirate on Linux: From /dev/ttyUSB? to /dev/bus_pirate (Read 2562 times) previous topic - next topic

The Bus Pirate on Linux: From /dev/ttyUSB? to /dev/bus_pirate

This may be common knowledge, I'm note sure, but the other night I figured out how to create a UDEV rule to allow my bus pirate to be accessed in Linux via:

[font=courier:]/dev/bus_pirate[/font:]

irrespective of which USB port it is inserted into, or how many other ttyUSB? devices are also plugged into my system.

No more having to use dmesg to figure out which ttyUSB? the bus pirate is connected to today!

This could be of particular use when using a script to interact with the bus pirate using the new binmode interface.

I have posted a full tutorial-style write up of what I did here:

http://wiki.countercaster.com/The_Bus_Pirate_on_Linux:_From_/dev/ttyUSB%3F_to_/dev/bus_pirate

Hopefully this information will come in handy for other users of the bus pirate.

Cheers,

blue.zener

Re: The Bus Pirate on Linux: From /dev/ttyUSB? to /dev/bus_pirate

Reply #1
Thanks, I'll add it to the manual.
Got a question? Please ask in the forum for the fastest answers.

Re: The Bus Pirate on Linux: From /dev/ttyUSB? to /dev/bus_pirate

Reply #2
Cool -- just one small thing, the link in the manual appears to be broken.

I think that the "?" needs to be escaped as "%3F", as follows:

[font=courier:]http://wiki.countercaster.com/The_Bus_Pirate_on_Linux:_From_/dev/ttyUSB%3F_to_/dev/bus_pirate[/font:]

Cheers,

blue.zener

Re: The Bus Pirate on Linux: From /dev/ttyUSB? to /dev/bus_pirate

Reply #3
Thanks! Updated.
Got a question? Please ask in the forum for the fastest answers.

Re: The Bus Pirate on Linux: From /dev/ttyUSB? to /dev/bus_pirate

Reply #4
wrong thread

Re: The Bus Pirate on Linux: From /dev/ttyUSB? to /dev/bus_pirate

Reply #5
wrong thread, please delete