User avatar
Posts: 11527
Joined: Sun May 06, 2012 5:17 am
Location: Essex, UK

USB memory stick causes Pi to shutdown

Fri Jan 04, 2013 4:34 pm

(note: Please read entire post before replying. Ta :-) )

Every time I plug a certain USB memory stick into my Raspi, it shuts down!

This is not a problem with the Pi, it is a deliberate effect.

I often use my Pi as a simple media player. No keyboard or mouse, just a few simple udev rules that run on insertion of certain USB memory sticks.

Any USB device that has a first partition having a label of "VIDEO_nnn" will be automounted and a menu run that allows playing of video files recorded from my MythTV system on it.

One particular memory stick (an old 128MB, unreliable unit), with a certain UUID will trigger "shutdown -h now".

It's a very handy way of doing a controlled shutdown of my Pi when I have no other way of connecting to it :-)

Return to “General discussion”

Who is online

Users browsing this forum: BerryRoss, NotRequired, W. H. Heydt and 53 guests