I know that the ACLU and EFF have fought to defend Americans from having their laptops/phones inspected at the border, but I believe I read they haven't had much success in the legal system.
I still don't understand the rationale behind being able to inspect someones computer/mobile phone. Even in the case of say, possessing child pornography, I would assume most people are caught by tracked websites than random searches at the border?