Welcome to the Linux Foundation Forum!

Catching usb event.

Hello,

What I want to do is waiting for a usb plug and mount the new device in a shell script.

Is there a easy mean to do that ?

Xavier.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Posts: 20
    It's possible with Udev and there's a brilliant guide Here detailing how to set it up. This shows you how to run external scripts/programs upon the event as opposed to simply giving the device a custom node.
  • Posts: 7
    Thank you very much for the udev tuto Jinux.
  • Posts: 2,177
    Jinux,
    Thank you for posting a link to that informative guide.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training