RxTx has some trouble identifying specific port names. Check here: http://smslib.org/doc/smslib/troubleshooting/#Linux_and_undetectable_ports
On Jan 12, 11:04 pm, Bo Visfeldt <[email protected]> wrote: > Hi there. > I have installed the smslib under Ubuntu Jaunty using RxTX serial > driver. > I am using a Sony Ericsson K300i (which should be supported) phone > connected through a USB-To-Serial Cable > Compiled and run with java-6-openjdk > > Every time I get the following: > > Searching for devices... > Experimental: JNI_OnLoad called. > Stable Library > ========================================= > Native lib Version = RXTX-2.1-7 > Java lib Version = RXTX-2.1-7 > > Found port: /dev/ttyUSB0 > Trying at 1200... no device found > Trying at 2400... no device found > Trying at 4800... no device found > Trying at 9600... no device found > Trying at 14400... no device found > (gnu.io.UnsupportedCommOperationException: Invalid Parameter) > Trying at 19200... no device found > Trying at 28800... no device found > (gnu.io.UnsupportedCommOperationException: Invalid Parameter) > Trying at 33600... no device found > (gnu.io.UnsupportedCommOperationException: Invalid Parameter) > Trying at 38400... no device found > Trying at 56000... no device found > (gnu.io.UnsupportedCommOperationException: Invalid Parameter) > Trying at 57600... no device found > Trying at 115200... no device found > > I tried: > Adding 1200, 2400 and 4800 baud. > Setting responsetime to 2500 milisecs > Running with both: > /usr/lib/jvm/java-6-openjdk/bin/java .:smslib-3.4.4.jar:RXTXcomm.jar > misc/CommTest > and > /usr/lib/jvm/java-6-openjdk/bin/java -Dsmslib.serial.polling - > cp .:smslib-3.4.4.jar:RXTXcomm.jar misc/CommTest > > I do not think it is the usb-to-serial connection that fails because i > can connect withoug problems to ttyUSB0 through gtkterm. > > ... but for good measurements, here is the output of dmesg: > [ 234.340101] usb 3-1: new full speed USB device using uhci_hcd and > address 2 > [ 234.510140] usb 3-1: configuration #1 chosen from 1 choice > [ 234.650737] usbcore: registered new interface driver usbserial > [ 234.650767] USB Serial support registered for generic > [ 234.650850] usbcore: registered new interface driver > usbserial_generic > [ 234.650855] usbserial: USB Serial Driver core > [ 234.659845] USB Serial support registered for pl2303 > [ 234.659886] pl2303 3-1:1.0: pl2303 converter detected > [ 234.671525] usb 3-1: pl2303 converter now attached to ttyUSB0 > [ 234.671554] usbcore: registered new interface driver pl2303 > [ 234.671560] pl2303: Prolific PL2303 USB to serial adaptor driver > > Does anyone have an an idea of what might be wrong? I am running out > of ideas...
-- You received this message because you are subscribed to the Google Groups "SMSLib for Java User Group" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/smslib?hl=en.
