Thanks. This should help me too.

On Thu, Mar 5, 2009 at 2:04 AM, Hari S N <[email protected]> wrote:
>
> Hi,
>
> I'm using SMSLib in Linux (Slackware 12 kernel 2.6.21.5-smp) and it
> works well.
> Follow these instructions (normal):
>
> 1. connect your modem
> 2. open terminal and type this syntax:
>
> # dmesg
>
> sample output:
> usb 3-1.4: new full speed USB device using ohci_hcd and address 8
> usb 3-1.4: configuration #1 chosen from 1 choice
> pl2303 3-1.4:1.0: pl2303 converter detected
> usb 3-1.4: pl2303 converter now attached to ttyUSB3
>
> 3. the output above means that your modem attached at /dev/ttyUSB3
> 4. configure your javax.comm.properties file and add your modem
> location :
>
> # Paths to server-side serial port devices (example)
> serpath0 = /dev/ttyS0
> serpath1 = /dev/ttyS1
> serpath2 = /dev/ttyACM0
> serpath3 = /dev/ttyUSB0
> serpath4 = /dev/ttyUSB1
> serpath5 = /dev/ttyUSB2
> serpath6 = /dev/ttyUSB3
>
> 5. You can now use your modem to send SMS, configuration example:
>
> SerialModemGateway gateway = new SerialModemGateway("modem.com1", "/
> dev/ttyUSB3", 115200, "", "");
>
> ******************************************************************
>
> If your modem not detected automatically you can follow these
> instructions:
>
> 1. open terminal and type this syntax:
>
> # less /proc/bus/usb/devices
>
> example output:
> T:  Bus=03 Lev=02 Prnt=05 Port=02 Cnt=01 Dev#=  7 Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=0af0 ProdID=6600 Rev= 0.01
> S:  Manufacturer=Option N.V.
> S:  Product=Fusion UMTS Quad-GPRS
> S:  SerialNumber=Serial Number
>
> 2. find your modem manufacture, edit file /etc/modprobe.conf and add
> this line:
>
> install usbcore modprobe usbserial
> options usbserial vendor=0af0 product=6600
>
> 3. reboot your computer and do the normal instruction, if your modem
> still not detected you have to find your modem driver for Linux.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to