**** BEGIN LOGGING AT Mon Jul 11 02:59:56 2011 Jul 11 13:17:50 hey, i'm working with an Ericsson F5521gw using the mbm driver. i was having problems communicating with the modem until i modified the driver to call g_at_tty_open with options that set the baud, parity, stop bits, and data bits. Jul 11 13:17:57 has anyone else run into a situation like this? Jul 11 13:18:04 is there a reason these things aren't set in most calls to g_at_tty_open? Jul 11 13:23:13 most usb devices are not true serial devices, so these options are ignored Jul 11 13:27:18 aturley: Ericsson told me that these are needed. Jul 11 13:28:00 + options = g_hash_table_new(g_str_hash, g_str_equal); Jul 11 13:28:02 + Jul 11 13:28:02 + if (options == NULL) Jul 11 13:28:02 + return -ENOMEM; Jul 11 13:28:02 + Jul 11 13:28:03 + g_hash_table_insert(options, "Baud", "115200"); Jul 11 13:28:03 + g_hash_table_insert(options, "Parity", "none"); Jul 11 13:28:05 + g_hash_table_insert(options, "StopBits", "1"); Jul 11 13:28:06 + g_hash_table_insert(options, "DataBits", "8"); Jul 11 13:28:10 + g_hash_table_insert(options, "RtsCts", "on"); Jul 11 13:28:57 The also needed a double flush. Jul 11 13:28:58 tcflush(fd, TCIOFLUSH); Jul 11 13:28:58 tcsetattr(fd, TCSANOW, &ti); Jul 11 13:28:58 + tcflush(fd, TCIOFLUSH); Jul 11 13:28:58 + tcflush(fd, TCIOFLUSH); Jul 11 13:29:15 Seems the F5521gw is rather picky about its serial lines. Jul 11 13:30:54 holtmann: thanks. Jul 11 13:31:10 I have one of these modules at home. Just not tried it yet. Jul 11 13:31:12 i haven't had to use the double flush, but it probably woudln't hurt. Jul 11 13:34:59 would you expect these changes to cause problems with other devices that use the mbm driver? Jul 11 13:37:00 These probably should be set specifically for the F5521 Jul 11 13:37:12 a udev env variable might be needed Jul 11 15:54:22 [ org.ofono.NetworkRegistration ] Jul 11 15:54:23 Status = denied Jul 11 15:54:23 Mode = auto Jul 11 15:54:23 Name = Jul 11 15:54:47 This is from my ZTE Vodafone stick Jul 11 15:55:36 So it probes the atom fine Jul 11 16:02:23 It might has a network lock. Jul 11 16:03:20 I'm using an Australian SIM Jul 11 16:03:28 But that is besides the point, CREG=? works on this device Jul 11 16:09:31 Seems like these other ZTE dongles are broken heavily. **** ENDING LOGGING AT Mon Jul 11 20:00:49 2011 **** BEGIN LOGGING AT Mon Jul 11 20:02:14 2011 **** ENDING LOGGING AT Tue Jul 12 02:59:57 2011