Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Matt_H on June 10, 2008, 04:26:03 PM

Title: Anyone using cdcacm.class?
Post by: Matt_H 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?)
Title: Re: Anyone using cdcacm.class?
Post by: Varthall 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
Title: Re: Anyone using cdcacm.class?
Post by: Matt_H 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.