I have a SIMCOM 7100 modem with udev rules that i want to deploy. The device is seen as multiple usb devices like:
ttyUSB0 ttyUSB1 ttyUSB2 ttyUSB3 ttyUSB4
I have a container running based on the node red resin io container: https://github.com/resin-io-projects/resin-node-red
Now i have followed the script on: https://resin.io/blog/where-are-my-devices/ and added this to the docker file with loading the script named startdev:
#!/bin/bash mount -t devtmpfs none /dev udevd & udevadm trigger
With this line:
# copy udev rules COPY ./app/udev-rules/* /etc/udev/rules.d/ # start dev CMD ["bash", "/usr/src/app/startdev.sh"]
When i check it doesn’t look like the udev rules are deployed because i don’t see the following symlinks:
/dev/modemS1 and/or /dev/modemGPS
/dev/modemS2 and/or /dev/modemAT
/dev/modemS3 and/or /dev/modemPPP
Also i have added a config with the right APN in system-connections folder in img like the default from the documentation.
Is there something that goes wrong and how can I test if the modem is working at all, with or without the symlinks?