Double ttyACM node device from Sony Ericsson C510
Hi.
I'm using smstools3 and Sony Ericsson Phones to send SMS. My system did work well with 4 phones, now I want to connect 20. The issue is that each phone generates two ttyACMXX devices using cdc_acm driver, and for limitations the driver supports up to 32 ACM devices Code:
Aug 31 09:51:19 smsgw kernel: cdc_acm 2-2:1.1: ttyACM31: USB ACM device So I was wondering if it is possible to remove a ttyACM from /sys/class/tty/ttyACM1 I tried unlink /dev/ttyACM1, but it persist as a device on /sys/class/tty/ The devices are removed if I disconnect the phone, So I think would be possible also that the driver only create one ttyACM device.. Please guide me... Thanks in advance. |
Greetingz!
I would take a look at the code for the driver and make sure that 32 device limitation isn't there for a reason. From what I understand, you can setup up to 16 phones this way, yes? How big are the SMS messages you're sending? (Can you provide example?) Maybe more phones isn't the best answer? |
Thanks for your interest
Quote:
That is correct up to 16 phones. Quote:
I need to send 50000 SMS by campaign and deliver as soon as possible, for costs reason we can send only 2500 sms per phone line. Each phone can send 8 sms per minute in average. So we can send about 480 hour/phone, using the 20 phones are about 9600 sms/hour, I can deliver the whole campaign in 5.3 hours. using the 16 phones are about 7680 sms/hour, I can deliver the whole campaign in 6.51 hours. (disconnecting other phone lines ) I was thinking, maybe would be possible cancel the auto configure option for the phones when connecting, and using udev or something only configure the ttyACM needed, in udev monitor I can see that the only difference are the interface number of each device. Regards.. |
Finally, I Found it.
Modifying the " #define ACM_TTY_MINORS " I use 90 instead of 32. Using a fresh install of Gentoo Linux. Maybe compile the driver only is the best, but honestly I do not know how. |
Quote:
Thanks in advanced for your answer!! |
Quote:
regards. |
Quote:
|
Quote:
Do you speak Spanish? Thanks in advance! |
All times are GMT -5. The time now is 07:15 PM. |