[Gta04-owner] Modem Reenumeration

Dr. H. Nikolaus Schaller hns at goldelico.com
Thu Dec 19 11:35:12 CET 2013


HI,
I am in the progress to upstream the GTM601 fix in the HSO driver. It turns out that it is not only
GTM601 related but a general bug. It checks for an USB interface number 2 but some OPTION modems
use USB interface number 6.

While testing this I just got an reenumeration event. And the good thing is that I have
full DEBUG enabled in the HSO driver (not in the USB).

Anyone with an idea how to interpret the log?

BR,
Nikolaus


[ 8318.469787] [710:handle_usb_error]: hso_std_serial_read_bulk_callback: received USB status - endpoint not enabled (-2)
[ 8318.483032] tiocmget_intr_callback: serial de68f800
[ 8318.488128] tiocmget_intr_callback: status fffffffe
[ 8318.493255] [710:handle_usb_error]: tiocmget_intr_callback: received USB status - endpoint not enabled (-2)
[ 8318.503662] [710:handle_usb_error]: hso_std_serial_read_bulk_callback: received USB status - endpoint not enabled (-2)
[ 8320.571472] tiocmget_intr_callback: serial de68f800
[ 8320.576568] tiocmget_intr_callback: status 00000000
[ 8320.581665] tiocmget_intr_callback: tiocmget de7eecc0
[ 8320.586975] tiocmget_intr_callback: serial_state_notification de7eece0
[ 8320.593780] tiocmget_intr_callback: wValue 0000
[ 8320.598510] tiocmget_intr_callback: wValue 06
[ 8320.603088] tiocmget_intr_callback: wValue 0002
[ 8320.607818] usb 1-2: hso received valid serial state notification
[ 8320.614227] hso[1528:tiocmget_intr_callback]a1 20 00 00 06 00 02 00 03 00                    . ........

this was the status packet sent on the Modem port which translates into the RING indication.

[ 8320.625457] tiocmget_intr_callback: serial de68f800
[ 8320.630584] tiocmget_intr_callback: status 00000000
[ 8320.635681] tiocmget_intr_callback: tiocmget de7eecc0
[ 8320.640960] tiocmget_intr_callback: serial_state_notification de7eece0
[ 8320.647796] tiocmget_intr_callback: wValue 0000
[ 8320.652526] tiocmget_intr_callback: wValue 06
[ 8320.657073] tiocmget_intr_callback: wValue 0002
[ 8320.661834] usb 1-2: hso received valid serial state notification
[ 8320.668212] hso[1528:tiocmget_intr_callback]a1 20 00 00 06 00 02 00 03 00                    . ........
[ 8320.679473] tiocmget_intr_callback: serial de68f800
[ 8320.684570] tiocmget_intr_callback: status 00000000
[ 8320.689666] tiocmget_intr_callback: tiocmget de7eecc0
[ 8320.694946] tiocmget_intr_callback: serial_state_notification de7eece0
[ 8320.701782] tiocmget_intr_callback: wValue 0000
[ 8320.706512] tiocmget_intr_callback: wValue 06
[ 8320.711090] tiocmget_intr_callback: wValue 0002
[ 8320.715820] usb 1-2: hso received valid serial state notification
[ 8320.722198] hso[1528:tiocmget_intr_callback]a1 20 00 00 06 00 02 00 03 00                    . ........
[ 8320.841613] [1215:hso_std_serial_read_bulk_callback]: 
[ 8320.841613] --- Got serial_read_bulk callback 00 ---
[ 8320.852172] [1216:hso_std_serial_read_bulk_callback]: Actual length = 16
[ 8320.852172] 
[ 8320.860748] hso[1217:hso_std_serial_read_bulk_callback]0d 0a 5f 4f 53 49 47 51 3a 20 31 38 2c 30 0d 0a  .._OSIGQ: 18,0..
[ 8320.872131] [2047:put_rxbuf_data]: data to push to tty
[ 8322.061157] [1215:hso_std_serial_read_bulk_callback]: 
[ 8322.061157] --- Got serial_read_bulk callback 00 ---
[ 8322.071746] [1216:hso_std_serial_read_bulk_callback]: Actual length = 12
[ 8322.071746] 
[ 8322.080322] hso[1217:hso_std_serial_read_bulk_callback]0d 0a 5f 4f 43 54 49 3a 20 32 0d 0a              .._OCTI: 2..

This means the cell type did switch back from 3G to GPRS mode. Before that there were some unsolicited responses
on the Application port:

_OCTI: 1

_OPON: 1,312631,3

_OSSYSI: 0

_OSIGQ: 18,0

_OCTI: 2

[ 8322.091339] [2047:put_rxbuf_data]: data to push to tty

here the reenum starts all of a sudden:

[ 8322.504913] usb 1-2: USB disconnect, device number 2
[ 8322.513671] [710:handle_usb_error]: hso_std_serial_read_bulk_callback: received USB status - protocol error (-71)
[ 8322.524444] [710:handle_usb_error]: hso_std_serial_read_bulk_callback: received USB status - protocol error (-71)
[ 8322.535247] [3132:reset_device]: unable to lock device for reset: -19
[ 8322.535247] 
[ 8322.547546] [710:handle_usb_error]: hso_std_serial_read_bulk_callback: received USB status - protocol error (-71)
[ 8322.590911] tiocmget_intr_callback: serial de68f800
[ 8322.596038] tiocmget_intr_callback: status ffffff94
[ 8322.601135] [710:handle_usb_error]: tiocmget_intr_callback: received USB status - device disabled (-108)
[ 8322.731262] [3128:reset_device]: No reset during disconnect
[ 8322.731262] 
[ 8322.777862] [3128:reset_device]: No reset during disconnect
[ 8322.777862] 
[ 8326.098419] usb 1-2: new high-speed USB device number 3 using ehci-omap
[ 8326.280700] usb 1-2: New USB device found, idVendor=0af0, idProduct=8800
[ 8326.287719] usb 1-2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 8326.318328] usb 1-2: Product: Globetrotter HSUPA Modem
[ 8326.323730] usb 1-2: Manufacturer: Option N.V.
[ 8326.381683] [2436:hso_net_init]: sizeof hso_net is 100
root at gta04:~# 




More information about the Gta04-owner mailing list