I've recently got my hands on an Option N.V. Globetrotter HSUPA Modem,
rev 2.00/0.00, addr 2.

Here's the usbconfig dump:

ugen6.2: <Globetrotter HSUPA Modem Option N.V.> at usbus6, cfg=0
md=HOST spd=HIGH (480Mbps) pwr=ON

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x00ff
  bDeviceSubClass = 0x00ff
  bDeviceProtocol = 0x00ff
  bMaxPacketSize0 = 0x0040
  idVendor = 0x0af0
  idProduct = 0x7a05
  bcdDevice = 0x0000
  iManufacturer = 0x0002  <Option N.V.>
  iProduct = 0x0001  <Option Configuration>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001

After adding the product to sys/dev/usb/usbdevs:

product OPTION GTHSUPA_2        0x7a05  Globetrotter HSUPA

and  sys/dev/usb/net/uhso.c:

UHSO_DEV(OPTION, GTHSUPA_2, UHSO_AUTO_IFACE),

...I got the driver to attach. Here's the message when I plug the device in:

ugen6.2: <Option N.V.> at usbus6
uhso0: <Diagnostic port> at <Option N.V. Globetrotter HSUPA Modem> on uhub6
uhso0: "Diagnostic" port at cuaU0
uhso1: <Application port> at <Option N.V. Globetrotter HSUPA Modem> on uhub6
uhso1: "Application" port at cuaU1
uhso2: <Control port> at <Option N.V. Globetrotter HSUPA Modem> on uhub6
uhso2: "Control" port at cuaU2
uhso0: bpf attached
uhso3: <Network port> at <Option N.V. Globetrotter HSUPA Modem> on uhub6
uhso4: <Modem port> at <Option N.V. Globetrotter HSUPA Modem> on uhub6
uhso4: "Modem" port at cuaU3
umass0: <Option N.V. Globetrotter HSUPA Modem, rev 2.00/0.00, addr 2> on usbus6
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:3:0:-1: Attached to scbus3
(probe0:umass-sim0:0:0:0): SCSI status error
(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:0): SCSI status: Check Condition
(probe0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(probe0:umass-sim0:0:0:0): Error 6, Unretryable error
GEOM: new disk da0
pass2 at umass-sim0 bus 0 scbus3 target 0 lun 0
pass2: <SD HSUPA Modem > Removable Direct Access SCSI-2 device
pass2: 40.000MB/s transfers
(da0:umass-sim0:0:0:0): SCSI status error
(da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(da0:umass-sim0:0:0:0): Error 6, Unretryable error
da0 at umass-sim0 bus 0 scbus3 target 0 lun 0
da0: <SD HSUPA Modem > Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): SCSI status error
(da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(da0:umass-sim0:0:0:0): Error 6, Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): SCSI status error
(da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(da0:umass-sim0:0:0:0): Error 6, Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): SCSI status error
(da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(da0:umass-sim0:0:0:0): Error 6, Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): SCSI status error
(da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(da0:umass-sim0:0:0:0): Error 6, Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): SCSI status error
(da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(da0:umass-sim0:0:0:0): Error 6, Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): SCSI status error
(da0:umass-sim0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI status: Check Condition
(da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
(da0:umass-sim0:0:0:0): Error 6, Unretryable error
Opened disk da0 -> 6

Here's the relevant output via sysctl(1):

dev.uhso.0.%desc: Diagnostic
dev.uhso.0.%driver: uhso
dev.uhso.0.%location: bus=1 hubaddr=1 port=6 devaddr=2 interface=0
dev.uhso.0.%pnpinfo: vendor=0x0af0 product=0x7a05 devclass=0xff
devsubclass=0xff sernum="" release=0x0000 intclass=0xff
intsubclass=0xff ttyname=U0 ttyports=1
dev.uhso.0.%parent: uhub6
dev.uhso.0.type: Serial
dev.uhso.0.radio: 1
dev.uhso.0.ports: 1
dev.uhso.0.port.diagnostic.tty: cuaU0
dev.uhso.0.port.diagnostic.desc: Diagnostic
dev.uhso.1.%desc: Application
dev.uhso.1.%driver: uhso
dev.uhso.1.%location: bus=1 hubaddr=1 port=6 devaddr=2 interface=3
dev.uhso.1.%pnpinfo: vendor=0x0af0 product=0x7a05 devclass=0xff
devsubclass=0xff sernum="" release=0x0000 intclass=0xff
intsubclass=0xff ttyname=U1 ttyports=1
dev.uhso.1.%parent: uhub6
dev.uhso.1.type: Serial
dev.uhso.1.radio: 1
dev.uhso.1.ports: 1
dev.uhso.1.port.application.tty: cuaU1
dev.uhso.1.port.application.desc: Application
dev.uhso.2.%desc: Control
dev.uhso.2.%driver: uhso
dev.uhso.2.%location: bus=1 hubaddr=1 port=6 devaddr=2 interface=4
dev.uhso.2.%pnpinfo: vendor=0x0af0 product=0x7a05 devclass=0xff
devsubclass=0xff sernum="" release=0x0000 intclass=0xff
intsubclass=0xff ttyname=U2 ttyports=1
dev.uhso.2.%parent: uhub6
dev.uhso.2.type: Serial
dev.uhso.2.radio: 1
dev.uhso.2.ports: 1
dev.uhso.2.port.control.tty: cuaU2
dev.uhso.2.port.control.desc: Control
dev.uhso.3.%desc: Network
dev.uhso.3.%driver: uhso
dev.uhso.3.%location: bus=1 hubaddr=1 port=6 devaddr=2 interface=5
dev.uhso.3.%pnpinfo: vendor=0x0af0 product=0x7a05 devclass=0xff
devsubclass=0xff sernum="" release=0x0000 intclass=0xff
intsubclass=0xff
dev.uhso.3.%parent: uhub6
dev.uhso.3.netif: uhso0
dev.uhso.3.type: Network
dev.uhso.3.radio: 1
dev.uhso.4.%desc: Modem
dev.uhso.4.%driver: uhso
dev.uhso.4.%location: bus=1 hubaddr=1 port=6 devaddr=2 interface=6
dev.uhso.4.%pnpinfo: vendor=0x0af0 product=0x7a05 devclass=0xff
devsubclass=0xff sernum="" release=0x0000 intclass=0xff
intsubclass=0xff ttyname=U3 ttyports=1
dev.uhso.4.%parent: uhub6
dev.uhso.4.type: Serial
dev.uhso.4.radio: 1
dev.uhso.4.ports: 1
dev.uhso.4.port.modem.tty: cuaU3
dev.uhso.4.port.modem.desc: Modem

I haven't been able to get the device to work yet. I really don't know
exactly what I'm doing though :)

I have been able to get the device to respond to this command:

brandon@x300:~$ sudo uhsoctl -a wap.cingular -r /etc/resolv.conf uhso0
Registered to "AT&T" (UMTS)

Also, I tried doing something like this (as per the uhso(4) man page):

brandon@x300:~$ sudo cu -l /dev/cuaU2
Connected
uhso2: failed to set ctrl line state to 0x01: USB_ERR_TIMEOUT
uhso2: failed to set ctrl line state to 0x03: USB_ERR_TIMEOUT
ޭ���T+CGDCONT=1,,
OK
uhso1: failed to set ctrl line state to 0x01: USB_ERR_TIMEOUT
uhso1: failed to set ctrl line state to 0x03: USB_ERR_TIMEOUT
_OWANCALL: 1, 1
aޭ��aޭ��Aޭ��Aޭ��Aޭ��Aޭ��Aޭ��Aޭ�ޭ��Aޭ�ޭ��

That's where I'm stuck.

-Brandon
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to