Re: HSDPA USB Modem

2009-09-05 Thread Peter N. M. Hansteen
w39071_0-sergio w39071_0-ser...@mb8-2.1blu.de writes:

 I have a ZTE MF626 Modem, when I plug it in my USB interface, OpenBSD
 detects it as a iso9660 filesystem, so I need a software like
 usb_modeswitch. 

Are you sure that the CD device is the only one that shows up when you plug it 
in?

Here's what happens when I plug my Huawei E220 into my laptop:

Sep  5 15:33:33 thingy /bsd: umsm0 at uhub3 port 1 configuration 1 interface 0 
HUAWEI Technologies HUAWEI Mobile Modem rev 1.10/0.00 addr 2
Sep  5 15:33:34 thingy /bsd: umsm0: umass only mode. need to reattach
Sep  5 15:33:34 thingy /bsd: umsm0 detached
Sep  5 15:33:35 thingy /bsd: umsm0 at uhub3 port 1 configuration 1 interface 0 
HUAWEI Technologies HUAWEI Mobile Modem rev 1.10/0.00 addr 2
Sep  5 15:33:35 thingy /bsd: ucom0 at umsm0
Sep  5 15:33:35 thingy /bsd: umsm1 at uhub3 port 1 configuration 1 interface 1 
HUAWEI Technologies HUAWEI Mobile Modem rev 1.10/0.00 addr 2
Sep  5 15:33:35 thingy /bsd: ucom1 at umsm1
Sep  5 15:33:35 thingy /bsd: umass0 at uhub3 port 1 configuration 1 interface 2 
HUAWEI Technologies HUAWEI Mobile Modem rev 1.10/0.00 addr 2
Sep  5 15:33:35 thingy /bsd: umass0: using SCSI over Bulk-Only
Sep  5 15:33:35 thingy /bsd: scsibus3 at umass0: 2 targets, initiator 0
Sep  5 15:33:36 thingy /bsd: cd1 at scsibus3 targ 1 lun 0: HUAWEI, Mass 
Storage, 2.31 SCSI2 5/cdrom removable

notice the umsm and ucom devices, once they're usefully configured
they're accessible as cuaU0 or thereabouts.  useful, if not the
fastest connectivity you'll find.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



HSDPA USB Modem

2009-09-05 Thread w39071_0-sergio
Hi, this is my first post.

I have a ZTE MF626 Modem, when I plug it in my USB interface, OpenBSD
detects it as a iso9660 filesystem, so I need a software like
usb_modeswitch. ThatB4s ok, I supose can compile it to interface with usb
through libusb, although havent tried. My doubt is afterwards, after
having, lets say, /dev/ttyUSB0 device file (this was the case under linux),
I couldnt get it to work cause don't know how to manually configure the
connection. Apparently, through Network Manager can get that automatically,
but Im not willing to run even X, so need an alternative.

Thanks for reading :)



Re: HSDPA USB Modem

2009-09-05 Thread Jonathan Gray
On Sat, Sep 05, 2009 at 03:20:42PM +0200, w39071_0-sergio wrote:
 Hi, this is my first post.
 
 I have a ZTE MF626 Modem, when I plug it in my USB interface, OpenBSD
 detects it as a iso9660 filesystem, so I need a software like
 usb_modeswitch. ThatB4s ok, I supose can compile it to interface with usb
 through libusb, although havent tried. My doubt is afterwards, after
 having, lets say, /dev/ttyUSB0 device file (this was the case under linux),
 I couldnt get it to work cause don't know how to manually configure the
 connection. Apparently, through Network Manager can get that automatically,
 but Im not willing to run even X, so need an alternative.
 
 Thanks for reading :)

Include the output of usbdevs -v with the device plugged in.
We do all mode switching like this in the kernel so people don't have
to screw around with weird userspace things to get a working device.

In this case of this device the kernel is not aware of it yet, so can
not issue the relevant commands to it.



Re: HSDPA USB Modem

2009-09-05 Thread Jonathan Gray
On Sat, Sep 05, 2009 at 08:06:04PM +0200, w39071_0-sergio wrote:
  Include the output of usbdevs -v with the device plugged in.
  We do all mode switching like this in the kernel so people don't have
  to screw around with weird userspace things to get a working device.
  
  In this case of this device the kernel is not aware of it yet, so can
  not issue the relevant commands to it.
 
 Sorry about not posting dmesg, console output or usbdev, I just couldnt :)

usbdevs -v is needed that is why it was asked for.
Your mail server does not accept incoming connections, sending to misc.

 
 Here is dmesg:
 ZTE CDMA Technologies MSM rev 2.00/0.00 addr 3
 umass2: using ATAPI over Bulk-Only
 scsibus3 at umass2: 2 targets, initiator 0
 cd1 at scsibus3 targ 1 lun 0: ZTE, USB SCSI CD-ROM, 2.31 ATAPI 5/cdrom
 removable
 cd1 detached
 scsibus3 detached
 umass2 detached
 
 usbdevs:
 addr 1: EHCI root hub, Intel
  addr 2: USB2.0-CRW, Generic
  addr 3: Integrated_Webcam_1.3M, Sonix Technology Co., Ltd.
 addr 1: EHCI root hub, Intel
  addr 3: ZTE CDMA Technologies MSM, ZTE, Incorporated
  addr 2: DataTraveler G2, Kingston
 addr 1: UHCI root hub, Intel
 addr 1: UHCI root hub, Intel
 addr 1: UHCI root hub, Intel
 addr 1: UHCI root hub, Intel
 
 
 Just cdrom... :S