Name serial usb interfaces - Raspberry Pi Forums
is there way give names usb serial devices.
have 2 ftdi , usb 3g modem.
name self /dev/ttyusb*
usb 3g when activated usb_modeswitch 4 serial devices like
/dev/ttyusb0
/dev/ttyusb1
/dev/ttyusb2
/dev/ttyusb3
there reliable way know serial device connected usb hole or force name device.
e.g.
usb modem
/dev/tty3g0
/dev/tty3g1
/dev/tty3g2
/dev/tty3g3
/dev/ttyftdi0 - ftdi device connected in first usb hole
/dev/ttyftdi1 - ftdi device connected in second usb hole
have 2 ftdi , usb 3g modem.
name self /dev/ttyusb*
usb 3g when activated usb_modeswitch 4 serial devices like
/dev/ttyusb0
/dev/ttyusb1
/dev/ttyusb2
/dev/ttyusb3
there reliable way know serial device connected usb hole or force name device.
e.g.
usb modem
/dev/tty3g0
/dev/tty3g1
/dev/tty3g2
/dev/tty3g3
/dev/ttyftdi0 - ftdi device connected in first usb hole
/dev/ttyftdi1 - ftdi device connected in second usb hole
you can stuff udev rules.
raspberrypi
Comments
Post a Comment