Welcome, Guest. Please login or register.

Author Topic: Anyone using cdcacm.class?  (Read 1131 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Matt_HTopic starter

Anyone using cdcacm.class?
« on: June 10, 2008, 04:26:03 PM »
I'm trying to set up my cell phone as a fax/modem through usbmodem.device. Poseidon correctly detects the phone and binds it to the class, but STFax hangs whenever I try to access the device. I suspect I need the correct init string, but I'd like to see if I can solve this without battling with my provider's tech support (and the phone manual is utterly useless as well).

Does anyone have any experience in doing this, even with a stand-alone USB modem?

(Incidentally, with Poseidon 4.0/Deneb, a whole bunch of question marks are tacked on to the end of the cell phone name. This doesn't happen under Poseidon 3.3/Pegasos or on a PC. Bug, or crappy cell phone electronics?)
 

Offline Varthall

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 633
    • Show only replies by Varthall
Re: Anyone using cdcacm.class?
« Reply #1 on: June 10, 2008, 04:44:52 PM »
Does STFax manage to open the serial port, and if so, can you see what AT commands is sending to the phone? Regarding init strings, you usually need to set just the FAX class to use, usually 2.0, with AT+FCLASS=2.0 . You can check if it's STFax' or Poseidon/cell phone fault by trying to manually make a fax call: using e.g. Term open the phone's serial port, then issue

AT+FCLASS=2.0
ATD12345678

where 12345678 is the number of a fax machine you want to call. Some cell phones (e.g. Siemens ones) have a "fax call enable/disable" switch in the configuration menu, and others just don't support fax calls.

Varthall
AmigaOne XE - AmigaOS 4.1 - Freescale 7457 1GHz - 1GB ram
MPlayer for OS4: https://sourceforge.net/projects/mplayer-amigaos/
 

Offline Matt_HTopic starter

Re: Anyone using cdcacm.class?
« Reply #2 on: June 10, 2008, 05:00:13 PM »
@ Varthall

The STFax logfile says that it's opened usbmodem.device, but given that any activity on said device locks up the program, I'm not sure if it's been successful.

I'll give Term a try, but it'll have to wait until later. It sounds like a good diagnostic, though.

The phone is an LG CU515. According to the documentation I can find, it definitely supports faxes. There's a data transfer mode setting that toggles it between massstorage.class, cdcacm.class, and some proprietary format, but I'll have to look more carefully for additional fax settings.

Thanks for the pointers.