DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 26th October 2010
openbsdNewbie openbsdNewbie is offline
New User
 
Join Date: Oct 2010
Posts: 3
Thanked 0 Times in 0 Posts
Default OpenBSD 4.7 - Cellular Modem - iCON322

I'm attempting to set up a machine with a cellular modem. While I have programming experience, I'm fairly new to both OpenBSD and to Cellular Modems.

Machine OS: OpenBSD 4.7 /i386
Modem Hardware: Option iCON322

Has anyone gotten one of these devices to work, and if so, could someone share a little insight.

I see in the docs that most cellular modems are supported by OpenBSD. The manufacturer does not provide BSD support -- only Windows, OSX, and Linux.

At this point, I have:
1. Confirmed that the device is working on a windows device.
2. Confirmed via usbdevs -v that the OS can see the device
3. Set up the ppp.conf file
4. I have created a ppp.log file, but have not successfully gotten output

> ppp -background mobile
fails to dial

Any thoughts or advice would be appreciated. Thanks.

Newbie
Reply With Quote
  #2   (View Single Post)  
Old 26th October 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,888
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by openbsdNewbie View Post
Has anyone gotten one of these devices to work, and if so, could someone share a little insight.
While you might get a response here, your best bet is to take the time to search the project's official misc@ archives. Do a thorough search.

Information on subscribing (if you are interested, but is not required to search...), along with a list of various archive sites can be found at the following:

http://www.openbsd.org/mail.html
Reply With Quote
  #3   (View Single Post)  
Old 27th October 2010
openbsdNewbie openbsdNewbie is offline
New User
 
Join Date: Oct 2010
Posts: 3
Thanked 0 Times in 0 Posts
Default

Thanks. I have done some research.

Here is some more information that I have discovered:

vendor: 0x0af0
product: 0xd033

DMESG info

umass0 at uhub0 port 8 configuration 1 interface 0 "Option Wireless Technology GlobeTrotter Icon322" rev 2.00/1.00 addr 3
scsibus0 at umass0: 2 targets, 1 initiator0
cd0 at scsibus0 target 1 lun 0 <zcoption, Icon322, 1.00> scsi2 5/cdrom removeable

It appears that the problem is the ZeroCD technology and that BSD is interpreting the device as a CDROM instead of a USB Cellular Modem.

The log (which I got working) indicates that the device is not configured. Is there a way to configure it? Research from FreeBSD indicates that a program like usb_modeswitch is necessary to correct this problem ... but other posts indicate that OpenBSD 4.0 built in support for this ZeroCD technology specifically to address the Option Icon (GlobeTrotter) devices.

Assuming that OpenBSD does support this device, I'm sure that I'm failing to understand some that I need to configure (so any help would be appreciated).

If it is a known fact that this device does not work, are there any known USB GSM Cellular Modems that work with OpenBSD? (I have US Sim card data-only plan)

Thanks.
Reply With Quote
  #4   (View Single Post)  
Old 28th October 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,888
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by openbsdNewbie View Post
...are there any known USB GSM Cellular Modems that work with OpenBSD?
I do recall that this has come up on misc@ at least twice this past year. A quick search revealed the following:

http://marc.info/?l=openbsd-misc&w=2...cell+modem&q=b

Ferreting out what might be useful is up to you.
Reply With Quote
  #5   (View Single Post)  
Old 28th October 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

There are a few quirk methods in the driver to nudge devices into the proper mode, but it requires adding your product to a list and recompiling.. usually it involves testing a few of the methods and picking the one that works.

If you're fretting this, a temporary solution that works in some cases is to use eject(1) in base to send a SCSI command to the virtual cd(4) device.. more specifically, it tells it to "eject the tray" which is often used to indicate you're finished installing the bundled drivers.

So, try this and report back:
$ sudo eject /dev/rcd0c

Posting the full dmesg in [code][/code] blocks is usually a better idea, just so we're sure you haven't missed anything or improperly truncated.
Reply With Quote
  #6   (View Single Post)  
Old 28th October 2010
openbsdNewbie openbsdNewbie is offline
New User
 
Join Date: Oct 2010
Posts: 3
Thanked 0 Times in 0 Posts
Default

Thanks for the help. Again, I realize that I'm new to this, so if there is some information that I can provide that I am not, please let me know.

Below is my attempt at the eject command. Also I have included the full DMESG output.

1. Attempt at eject comand

> sudo eject /dev/rcd0c

Here is the result:

Code:
cd0(umass0:1:0): Check Condition (error 0x70) on opcode 0x1b
  SENSE KEY:  Not Ready
   ASC/ASCQ:  Medium Not Present
2. Full DMESG output

Code:
OpenBSD 4.7 (GENERIC) #558: Wed Mar 17 20:46:15 MDT 2010
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Celeron(R) CPU 2.66GHz ("GenuineIntel" 686-class) 2.67 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,TM2,CNXT-ID,CX16,xTPR
real mem  = 1063378944 (1014MB)
avail mem = 1021603840 (974MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 02/20/06, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ 0xf0450 (73 entries)
bios0: vendor Dell Inc. version "A06" date 02/20/2006
bios0: Dell Inc. OptiPlex GX520
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET
acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI2(S5) PCI3(S5) PCI1(S5) PCI5(S5) PCI6(S5) MOU_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 133MHz
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 4 (PCI4)
acpiprt1 at acpi0: bus 2 (PCI2)
acpiprt2 at acpi0: bus 3 (PCI3)
acpiprt3 at acpi0: bus 1 (PCI1)
acpiprt4 at acpi0: bus -1 (PCI5)
acpiprt5 at acpi0: bus -1 (PCI6)
acpiprt6 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpibtn0 at acpi0: VBTN
bios0: ROM list: 0xc0000/0xa800! 0xca800/0x2000! 0xcc800/0x3800
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945G Host" rev 0x02
ppb0 at pci0 dev 1 function 0 "Intel 82945G PCIE" rev 0x02: apic 8 int 16 (irq 11)
pci1 at ppb0 bus 1
vga1 at pci0 dev 2 function 0 "Intel 82945G Video" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xe0000000, size 0x10000000
inteldrm0 at vga1: apic 8 int 16 (irq 11)
drm0 at inteldrm0
"Intel 82945G Video" rev 0x02 at pci0 dev 2 function 1 not configured
ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 8 int 16 (irq 11)
pci2 at ppb1 bus 2
bge0 at pci2 dev 0 function 0 "Broadcom BCM5751" rev 0x01, BCM5750 A1 (0x4001): apic 8 int 16 (irq 11), address 00:13:72:c8:32:3c
brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x01: apic 8 int 17 (irq 10)
pci3 at ppb2 bus 3
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 8 int 21 (irq 9)
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 8 int 22 (irq 5)
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 8 int 18 (irq 3)
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 8 int 23 (irq 10)
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 8 int 21 (irq 9)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1
pci4 at ppb3 bus 4
auich0 at pci0 dev 30 function 2 "Intel 82801GB AC97" rev 0x01: apic 8 int 23 (irq 10), ICH7 AC97
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at auich0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 ignored (disabled)
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 31 function 2 "Intel 82801GB SATA" rev 0x01: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 8 int 20 (irq 5) for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <ST3808110AS 41N3267 LEN>
wd0: 16-sector PIO, LBA48, 76324MB, 156312576 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: SMI
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-4200CL5
spdmem1 at iic0 addr 0x52: 512MB DDR2 SDRAM non-parity PC2-4200CL5
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
umass0 at uhub0 port 8 configuration 1 interface 0 "Option Wireless Technology GlobeTrotter Icon322" rev 2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
cd0 at scsibus0 targ 1 lun 0: <ZCOPTION, Icon 322, 1.00> SCSI2 5/cdrom removable
uhidev0 at uhub1 port 2 configuration 1 interface 0 "Plus More Enterprise LTD. USB-compliant keyboard" rev 1.10/1.00 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub1 port 2 configuration 1 interface 1 "Plus More Enterprise LTD. USB-compliant keyboard" rev 1.10/1.00 addr 2
uhidev1: iclass 3/1, 3 report ids
uhid0 at uhidev1 reportid 1: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
ums0 at uhidev1 reportid 3: 0 button, Z dir
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
3. Research into changing mode

USB_SWITCHMODE
From some reading on various posts, it appears that in FreeBSD and some Linux flavors, you can compile this program to change the mode of the modem. People online seemed to have "given up" compiling this for OpenBSD. I suspect that the underlying problem is that the libraries are not compatible.

4. Compiling
I'm open to compiling some c code, etc.; within limits.
Reply With Quote
  #7   (View Single Post)  
Old 28th October 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Alright, that method doesn't appear to work for you.. again, a userland device mode switcher is NOT available on OpenBSD.

You'll have better luck sending usbdevs -v output to the mailing lists, alone with a dmesg, perhaps someone can assist you in patching the appropriate driver.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[3G modem] HDM EC122 installation maroxe General Hardware 1 16th July 2010 10:50 PM
modem network. ros2468 OpenBSD General 12 15th March 2010 12:06 PM
Modem PPPoE vs OpenBSD PPPoE ryoken OpenBSD Security 13 15th June 2008 10:07 PM
proftpd and ppp modem mtx General software and network 3 11th June 2008 11:33 AM
USB EV-DO modem support Bruco FreeBSD General 1 6th June 2008 09:50 PM


All times are GMT. The time now is 08:56 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick