Author |
Post |
|
#1 Fri Oct 15, 2010 23:15, 171 months ago.
|
Member
Registered: Oct 2010
Location: Ravenstein, Netherlands
|
Operating system name and version: BusyBox Version of smsd: 3.1.14 Smsd installed from: sources Name and model of a modem / phone: nokia e71 / htc 3600 Interface: USB Hello, I'am trying to sens a sms; but i only get errors. First i tried with the Nokia; and after that i tried with the htc. After connecting the phone to the diskstation by an usb cable the contents of the directory /dev/ changes: The config file has this configuration in it: After sending a sms with the sendsms command: I get this error in the logfile: Hope somebody can help me. Regards, Thomas The Netherlands
|
|
#2 Sat Oct 16, 2010 11:19, 171 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Probably you have to select some communication mode in the phone, "PC Suite" with Nokia. I do not know about HTC.
If the device still does not answer, try different ports and different baudrates.
In any case, your devices are "to smart". With Nokia you will not be able to read messages, because those kind of devices do not show messages through the external interface.
|
|
#3 Sat Oct 16, 2010 11:29, 171 months ago.
|
Member
Registered: Oct 2010
Location: Ravenstein, Netherlands
Topic owner
|
Hello Keke,
Thanks for the quick reply.
How can i find the configuration of the path which i have to use in the config?
Thomas
|
|
#4 Sat Oct 16, 2010 11:50, 171 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
ThomasL wrote How can i find the configuration of the path which i have to use in the config?
Probably I did not understand ... Do you mean a device? After you plug in your device, what does dmesg say?
|
|
#5 Sat Oct 16, 2010 11:58, 171 months ago.
|
Member
Registered: Oct 2010
Location: Ravenstein, Netherlands
Topic owner
|
Yes, the mobile phone which i connect
|
|
#6 Sat Oct 16, 2010 12:12, 171 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Have you tried with device = /dev/ttyp2?
Some devices provide more than one port, and there is no general rule for selecting which one will work. You just have to try with all possibilities.
You could disconnect the device, run dmesg -c, and reconnect the device. After the device is settle, run dmesg and show the result here.
|
|
#7 Sat Oct 16, 2010 12:48, 171 months ago.
|
Member
Registered: Oct 2010
Location: Ravenstein, Netherlands
Topic owner
|
I have tried many ports already; dmesg doesn't give me a clue am i wright?
|
|
#8 Sat Oct 16, 2010 14:34, 171 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
It looks like you first connected phone using "file transfer" mode, then disconnected and reconnected using "PC Suite" mode. Something is missing, or goes wrong, but I do not know what. When I connect N95 using "PC Suite" mode, dmesg says: Is your box " Synology DiskStation DS<something>"?
|
|
#9 Sat Oct 16, 2010 15:11, 171 months ago.
|
Member
Registered: Oct 2010
Location: Ravenstein, Netherlands
Topic owner
|
I changed the configuration of my telephone so it would be default in "PC Suite"-mode.
But after changing and disconnect and connect i get this in /var/log/messages
Oct 16 18:20:21 kernel: usb 1-1.3: new full speed USB device using ehci_platform and address 45 Oct 16 18:20:21 kernel: Got empty serial number. Generate serial number from product.
Thomas
|
|
#10 Sat Oct 16, 2010 15:14, 171 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
You had those messages previously in output of dmesg too.
Is your box "Synology DiskStation DS<something>"? If not, then what is the name and model?
|
|
#11 Sat Oct 16, 2010 15:20, 171 months ago.
|
Member
Registered: Oct 2010
Location: Ravenstein, Netherlands
Topic owner
|
Hello Keke,
It's indeed a diskstation from Synology.
|
|
#12 Sat Oct 16, 2010 15:29, 171 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
You probably need to update the kernel, or add ACM support to it, create udev or mdev rules, or something... I think that Synology's forum will give the best help for you: http://forum.synology.com/enu/
|
|
#13 Sat Oct 16, 2010 16:06, 171 months ago.
|
Member
Registered: Oct 2010
Location: Ravenstein, Netherlands
Topic owner
|
Oke, i will trie it there. Thanks for your help!
|
|
#14 Sun Oct 17, 2010 10:46, 171 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Just for curiosity, what is the exact model of your Synology DiskStation?
|
|
#15 Mon Oct 18, 2010 05:46, 171 months ago.
|
Member
Registered: Oct 2010
Location: Ravenstein, Netherlands
Topic owner
|
Hello Keke,
it is a ds206; a really great device!
Thomas
|
|
#16 Mon Oct 18, 2010 09:52, 171 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
I did not find operating system for DS206, but based on quick view with DS207 and DS1010+ it seems that those boxes have no support for USB modems.
If you like, you could check what you have in /tmp directory, and if there is a file usbdebug, remove it and plug in your phone. After hotplug has failed, check what is in that file.
|
|
#17 Mon Oct 18, 2010 10:04, 171 months ago.
|
Member
Registered: Oct 2010
Location: Ravenstein, Netherlands
Topic owner
|
Hello Keke,
Sorry, it is a 207+; Os is busybox i believe. I installed the last firmware this morning.
I did read some forum topics of other people who could connect a mobile device with the diskstation.
/tmp/usbdebug gives these alerts after connecting the mobile device: DEVNAME(1-1.3) is an unknown device. DEVNAME(1-1.3:1.0) is an unknown device. DEVNAME(1-1.3:1.0) is an unknown device. DEVNAME(1-1.3:1.6) is an unknown device. DEVNAME(1-1.3:1.7) is an unknown device. DEVNAME(1-1.3:1.12) is an unknown device. DEVNAME(1-1.3) is an unknown device. DEVNAME(1-1.3:1.5) is an unknown device. DEVNAME(1-1.3:1.11) is an unknown device. DEVNAME(1-1.3:1.1) is an unknown device. DEVNAME(1-1.3:1.13) is an unknown device. DEVNAME(1-1.3:1.3) is an unknown device. DEVNAME(1-1.3:1.9) is an unknown device. DEVNAME(1-1.3:1.15) is an unknown device. DEVNAME(1-1.3:1.4) is an unknown device. DEVNAME(1-1.3:1.10) is an unknown device. DEVNAME(1-1.3:1.2) is an unknown device. DEVNAME(1-1.3:1.14) is an unknown device. DEVNAME(1-1.3:1.8) is an unknown device.
|
|
#18 Mon Oct 18, 2010 11:38, 171 months ago.
|
Member
Registered: Oct 2010
Location: Ravenstein, Netherlands
Topic owner
|
Hello Keke, I installed kernel-module-cdc-acm by ipkg and after that i did insmod kernel-module-cdc-acm When i connect my device after these changes i see the next lines: But when i look in the '/dev/'-directory i can't find ttyACM0....
|
|
#19 Mon Oct 18, 2010 11:56, 171 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
What is the output from dmesg and what is in /tmp/usbdebug?
You could unplug the phone first, then delete /tmp/usbdebug and run dmesg -c. After that reconnect the phone and show the output.
|
|
#20 Mon Oct 18, 2010 12:12, 171 months ago.
|
Member
Registered: Oct 2010
Location: Ravenstein, Netherlands
Topic owner
|
|
|
#21 Mon Oct 18, 2010 12:18, 171 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Please try again:
- disconnect the phone - rm /tmp/usbdebug - dmesg -c - connect the phone - wait couple of seconds - show the output
|
|
#22 Mon Oct 18, 2010 12:22, 171 months ago.
|
Member
Registered: Oct 2010
Location: Ravenstein, Netherlands
Topic owner
|
Was wrong phone; this are the logfiles with the nokia
usbdebug: same
DiskStation> dmesg -c usb 1-1.3: new full speed USB device using ehci_platform and address 16 Got empty serial number. Generate serial number from product. cdc_acm 1-1.3:1.10: ttyACM0: USB ACM device
|
|
#23 Mon Oct 18, 2010 12:40, 171 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Try this:
mknod /dev/ttyACM0 c 188 0
Then repeat exactly as in post #21.
|
|
#24 Tue Oct 19, 2010 08:39, 171 months ago.
|
Member
Registered: Oct 2010
Location: Ravenstein, Netherlands
Topic owner
|
After a sendsms command this is in the smsd.log
|
|
#25 Tue Oct 19, 2010 08:57, 171 months ago.
|
Member
Registered: Oct 2010
Location: Ravenstein, Netherlands
Topic owner
|
|