I was flying home a few days ago and ran into an interesting "issue". While going through security, one of my bags got flagged for having "organic materials" on top of "wires". Well, put that way, it sounds kinda scary. On the other hand, a few bags of ground coffee and some ear buds sounds a lot less threatening.
The up shot is don't pack food and wires together.