I'm attempting to setup a Siemens TC35i GSM Modem with my Raspberry PI using an USB to RS232 adaptor. http://www.abcproducts.com/abc-products-rs-232-usb-to-9-pin-db9-serial-adaptor-cable and create a web interface with php-serial.)
I'd much rather use serial, however for some reason the GSM modem does not seem to receive any data (although it is being transmitted).
The USB to RS232 seems to work fine for the most part, until however I reboot / cycle my Pi.
If I plug my USB device in, the modem lights up nicely and access /dev/ttyUSB0 through a web browser and / or minicom without any problems and can do so for days without any issue.
As soon as I restart or cycle my Pi however, it will not work unless I unplug the device, then plug it back in again.
This is not always ideal... So I have been looking for workarounds - specifically this usbreset C script (https://gist.github.com/x2q/5124616) - which I have set to run on boot.
This almost resolves my issue... However it requires me to start up minicom, before it will send SMS again.
Ideally - I'd like to be able to resolve these issues on boot so if I want to use the GSM modem, I won't have to complete steps a, b, c and so on.
Does anyone have any thoughts as to why this might be happening? FYI - I also tried using ruby-serialport - same results.