Author |
Post |
|
#1 Fri Feb 04, 2011 14:08, 166 months ago.
|
Member
Registered: Feb 2011
Location: United Kingdom
|
Operating system name and version: CentOS release 5.5 Version of smsd: 3.1.14 Smsd installed from: sources Name and model of a modem / phone: USB Tri-band GPRS Modem - from deal extreme (benq m32) Interface: USB
Okay, I have centos 5.5 with virtualmin installed. I inserted the usb modem and if i do - lsusb the modem is detected. However it is not creating a device file. there are no tty usb devices detected, i get this also if i plug in a usb mem stick.
Has anyone got any idea how to get this device detected properly... I have been trolling the web for 2 days and not having much success. I heard it may be something to do with (xen virtual passthrough??) I am not a linux expert so i'm a bit stuck. Any help appreciated.
Andy
|
|
#2 Mon Feb 07, 2011 10:10, 166 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
First check the id's: # sudo su# /sbin/lsusbBus 002 Device 001: ID 0000:0000 Bus 001 Device 002: ID 067b:0609 Prolific Technology, Inc. Bus 001 Device 001: ID 0000:0000 Then try: # /sbin/modprobe -r usbserial# /sbin/modprobe usbserial vendor=0x067b product=0x0609Use dmesg to see what ttyUSB you now have. To make this change permanent, you need to install usb_modeswitch and setup correct values for vendor and product. As I do not currently run CentOS, I cannot give detailed instructions for this. By default, CentOS does not recognize BenQ M32, and situation is the same with many Huawei devices too. For example E1820 and E1552 are not recognized. With keywords "centos usb_modeswitch E1552" some instructions can be found. Also, www.centos.org Forum is a good place for CentOS specific questions.
|
|
#3 Wed Mar 02, 2011 21:39, 166 months ago.
|
Member
Registered: Feb 2011
Location: United Kingdom
Topic owner
|
Keke Thanks for the reply, sorry its been a while replying. I can now see the deivce as ttyUSB0. When I try to send a text I get the following: And so on. Config file: # Global configuration
devices = GSM1
loglevel = 7
logfile = /var/log/sms/smstools.log
outgoing = /var/spool/sms/outgoing checked = /var/spool/sms/checked failed = /var/spool/sms/failed incoming = /var/spool/sms/incoming sent = /var/spool/sms/sent
delaytime = 6 errorsleeptime = 12 blocktime = 180
autosplit = 3 receive_before_send = no
# Modem configuration
# Benq GSM
[GSM1] device = /dev/ttyUSB0 init = AT+CNMI=0,0,0,1,0 incoming = yes check_memory_method = 31 phonecalls = clip voicecall_hangup_ath = yes voicecall_cpas = yes needs_wakeup_at = yes using_routed_status_report = yes routed_status_report_cnma = no 'smsdconf' Syntax Highlight powered by GeSHi Any help please Regards
|
|
#4 Thu Mar 03, 2011 11:18, 166 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
/dev/ttyUSB0 does not work properly. Did you install usb_modeswitch, or did you just use the modprobe? But in any case, I think that I'm unable to help you . You will get better and faster help from here: www.centos.org Forum.
|