[CentOS] Help with GSM or CDMA hardware on CentOS and SMSTools question please

Carel Lubbe carel.lubbe at gmail.com
Thu Mar 26 02:06:42 UTC 2009


Hi everyone,

I would realy appreciate your help and guidense with a problem I have.
Im trying to set up a SMS Gateway as a alert system for my network.
Although the Aircard is picked up as a usb device and has a driver in
the kernel, it does not have a /dev/XXX device name. So my question is
how do I create this /dev/XXX device and make it persistent.


I have installed CentOS as my base with smstools-3.0.10-4.el5.i386.rpm
as my application.

[root at odie ~]# cat /etc/redhat-release
CentOS release 5.2 (Final)

[root at odie ~]# uname -rvpi
2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 12:03:43 EST 2008 i686 i386

[root at odie ~]# rpm -qa | grep smstools
smstools-3.0.10-4.el5

The config file for this software looks like this

[root at odie ~]# cat /etc/smsd.conf
# Example smsd.conf. Read the manual for a description
#
#devices = (eg. GSM1)
#logfile = /var/log/smsd.log
#loglevel = 7
#
#[GSM1]
#device = /dev/ttyS0
#incoming = yes
#pin = 1111
#
devices = (eg. CDMA1 or GSM1)

   logfile = /var/log/smsd.log

   loglevel = 5

   [CDMA1]

   device = /dev/ttyUSB0 <==== How do I check this and what about
after a reboot ... can I force it to stay the same?

   incoming = yes

   baudrate = 115200

The hardware is a Compaq nc 8000 laptop (The laptop will be located in
my server room ...)
I have installed a Mobile broadband data PCMCIA card ==> Sierra
Wireless AirCard 580 from our local telecom provider

[root at odie ~]# lspcmcia
Socket 0 Bridge:        [yenta_cardbus]         (bus ID: 0000:02:06.0)
Socket 1 Bridge:        [yenta_cardbus]         (bus ID: 0000:02:06.1)
  CardBus card -- see "lspci" for more information
Socket 2 Bridge:        [yenta_cardbus]         (bus ID: 0000:02:06.3)

[root at odie ~]# lspci
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O
Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP
Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M)
USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface
Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE
Controller (rev 03)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M)
AC'97 Modem Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc RV350
[Mobility Radeon 9600 M10]
02:06.0 CardBus bridge: O2 Micro, Inc. OZ711M3/MC3 4-in-1
MemoryCardBus Controller
02:06.1 CardBus bridge: O2 Micro, Inc. OZ711M3/MC3 4-in-1
MemoryCardBus Controller
02:06.2 System peripheral: O2 Micro, Inc. OZ711Mx 4-in-1 MemoryCardBus
Accelerator
02:06.3 CardBus bridge: O2 Micro, Inc. OZ711M3/MC3 4-in-1
MemoryCardBus Controller
02:0d.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A
IEEE-1394a-2000 Controller (PHY/Link)
02:0e.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705M_2
Gigabit Ethernet (rev 03)
05:00.0 USB Controller: Agere Systems USS-312 USB Controller (rev 10)

[root at odie ~]# lsmod
Module                  Size  Used by
airprime               12229  0
usbserial              33065  1 airprime

[root at odie ~]# lsusb
Bus 002 Device 006: ID 1199:0112 Sierra Wireless, Inc. CDMA 1xEVDO PC
Card, AirCard 580
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000

Here is a list of all my /dev/ devices.... The aircard does not exist here

[root at odie ~]# ls /dev/
adsp          disk           fd0u1040  fd0u830     initctl  MAKEDEV
parport2  ram14    root        tty1   tty21  tty33  tty45  tty57
ttyS2           usbdev2.6_ep00  vcs1   X0R
agpgart       dsp            fd0u1120  floppy      input    mapper
parport3  ram15    rtc         tty10  tty22  tty34  tty46  tty58
ttyS3           usbdev2.6_ep05  vcs2   zero
audio         dsp1           fd0u1440  floppy-fd0  kmsg     md0
port      ram2     sequencer   tty11  tty23  tty35  tty47  tty59
ttyUSB0         usbdev2.6_ep0b  vcs3
audio1        dvd            fd0u1680  full        log      mem
ppp       ram3     sequencer2  tty12  tty24  tty36  tty48  tty6
ttyUSB1         usbdev2.6_ep81  vcs4
bus           dvd-hdb        fd0u1722  gpmctl      loop0    mixer
ptmx      ram4     shm         tty13  tty25  tty37  tty49  tty60
ttyUSB2         usbdev2.6_ep82  vcs5
cdrom         dvdrw          fd0u1743  hda         loop1    mixer1
pts       ram5     snapshot    tty14  tty26  tty38  tty5   tty61
ttyUSB3         usbdev2.6_ep8a  vcs6
cdrom-hdb     dvdrw-hdb      fd0u1760  hda1        loop2    net
ram       ram6     snd         tty15  tty27  tty39  tty50  tty62
ttyUSB4         usbdev3.1_ep00  vcsa
cdrw          dvdwriter      fd0u1840  hda2        loop3    null
ram0      ram7     stderr      tty16  tty28  tty4   tty51  tty63
ttyUSB5         usbdev3.1_ep81  vcsa1
cdrw-hdb      dvdwriter-hdb  fd0u1920  hda3        loop4    nvram
ram1      ram8     stdin       tty17  tty29  tty40  tty52  tty7
urandom         usbdev4.1_ep00  vcsa2
cdwriter      fb             fd0u360   hda4        loop5    oldmem
ram10     ram9     stdout      tty18  tty3   tty41  tty53  tty8
usbdev1.1_ep00  usbdev4.1_ep81  vcsa3
cdwriter-hdb  fb0            fd0u720   hda5        loop6    par0
ram11     ramdisk  systty      tty19  tty30  tty42  tty54  tty9
usbdev1.1_ep81  usbdev5.1_ep00  vcsa4
console       fd             fd0u800   hdb         loop7    parport0
ram12     random   tty         tty2   tty31  tty43  tty55  ttyS0
usbdev2.1_ep00  usbdev5.1_ep81  vcsa5
core          fd0            fd0u820   hpet        lp0      parport1
ram13     rawctl   tty0        tty20  tty32  tty44  tty56  ttyS1
usbdev2.1_ep81  vcs             vcsa6


More information about the CentOS mailing list