[Bug 154753] [usbdevs] [patch] Support for Qualcomm USB modem/storage on LG phone

2015-12-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=154753

Martin Wilke  changed:

   What|Removed |Added

 CC||m...@freebsd.org
 Resolution|--- |FIXED
 Status|In Progress |Closed

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: usb modem "Can't setup transfer"

2015-11-13 Thread Hans Petter Selasky

On 11/12/15 20:43, Alfred Perlstein wrote:

Hans,

Thank you, that allows it to attach and the device nodes appear in /dev/

However I then can not seem to send any AT commands and get a response
via either cu -l /dev/ttyU1 or cu -l /dev/ttyU1.

Any further steps?  Is there a way to virtually share this hardware with
you?


Hi,

You will need to capture a USB trace from a working driver to get 
further. Sounds like the device needs a custom driver to function.


--HPS

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


Re: usb modem "Can't setup transfer"

2015-11-12 Thread Alfred Perlstein

Hans,

Thank you, that allows it to attach and the device nodes appear in /dev/

However I then can not seem to send any AT commands and get a response 
via either cu -l /dev/ttyU1 or cu -l /dev/ttyU1.


Any further steps?  Is there a way to virtually share this hardware with 
you?


-Alfred

On 11/12/15 12:31 AM, Hans Petter Selasky wrote:

On 11/11/15 20:51, Alfred Perlstein wrote:




Hi,

The device is very special in that it uses an interrupt type of 
endpoint for receiving the data.




  Endpoint 1
 bLength = 0x0007
 bDescriptorType = 0x0005
 bEndpointAddress = 0x0084  
 bmAttributes = 0x0003  
 wMaxPacketSize = 0x003f
 bInterval = 0x0002
 bRefresh = 0x
 bSynchAddress = 0x



In umodem.c you might want to change the USB matching filter to accept 
interrupt endpoints:



[UMODEM_BULK_RD] = {
.type = UE_BULK, // change this to UE_BULK_INTR
.endpoint = UE_ADDR_ANY,
.direction = UE_DIR_RX,


This change will break other modem drivers, but at least it will give 
some clues if it works or not.


--HPS



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


Re: usb modem "Can't setup transfer"

2015-11-12 Thread Hans Petter Selasky

On 11/11/15 20:51, Alfred Perlstein wrote:




Hi,

The device is very special in that it uses an interrupt type of endpoint 
for receiving the data.




  Endpoint 1
 bLength = 0x0007
 bDescriptorType = 0x0005
 bEndpointAddress = 0x0084  
 bmAttributes = 0x0003  
 wMaxPacketSize = 0x003f
 bInterval = 0x0002
 bRefresh = 0x
 bSynchAddress = 0x



In umodem.c you might want to change the USB matching filter to accept 
interrupt endpoints:



[UMODEM_BULK_RD] = {
.type = UE_BULK, // change this to UE_BULK_INTR
.endpoint = UE_ADDR_ANY,
.direction = UE_DIR_RX,


This change will break other modem drivers, but at least it will give 
some clues if it works or not.


--HPS
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: usb modem "Can't setup transfer"

2015-11-11 Thread Hans Petter Selasky

On 11/11/15 04:37, Alfred Perlstein wrote:

Hello,

A friend gave me a usb modem recently.  The model is:
Multi-Tech Systems - Multi-Modem USB - MT5634ZBA

The Linux driver info is here:
ftp://ftp.multitech.com/usb/usb-linux2.txt

When I plug this device into FreeBSD I get a ugen0 device.

So I tried hacking into the driver itself:

diff --git a/sys/dev/usb/serial/umodem.c b/sys/dev/usb/serial/umodem.c
index c1e8812..9886294 100644
--- a/sys/dev/usb/serial/umodem.c
+++ b/sys/dev/usb/serial/umodem.c
@@ -136,6 +136,7 @@ static const STRUCT_USB_HOST_ID umodem_host_devs[] = {
 {USB_VPI(USB_VENDOR_KYOCERA, USB_PRODUCT_KYOCERA_AHK3001V, 1)},
 {USB_VPI(USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC5720, 1)},
 {USB_VPI(USB_VENDOR_CURITEL, USB_PRODUCT_CURITEL_PC5740, 1)},
+   {USB_VP(0x06e0, 0xf107)},
  };

  /*


Now I get the following:

Nov 10 19:19:54 spigot kernel: ugen3.3:  at
usbus3
Nov 10 19:19:54 spigot kernel: umodem0:  on
usbus3
Nov 10 19:19:54 spigot kernel: umodem0: data interface 1, has CM over
data, has no break
Nov 10 19:19:54 spigot kernel: umodem0: Can't setup transfer
Nov 10 19:19:54 spigot kernel: device_attach: umodem0 attach returned 6

I read the Linux driver and it seems pretty similar, although it does
look like they have a ton more quirks and edge cases the handle.  The
file in Linux I'm looking at is: linux/drivers/usb/class/cdc-acm.c (this
seems to make the most sense given the instructions given at
ftp://ftp.multitech.com/usb/usb-linux2.txt).

I tried turning on sysctl hw.usb.debug=10 however after doing so it
didn't seem to want to probe anymore.

Any ideas?

I can ship this modem to someone if they are interested and have a good
idea how to fix.


Hi,

Can you send the configuration descriptor dump:

usbconfig -d X.Y dump_device_desc dump_curr_config_desc

Maybe the modem fits into the U3G driver.

--HPS
___
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"


Re: usb modem "Can't setup transfer"

2015-11-11 Thread Alfred Perlstein



On 11/11/15 12:36 AM, Hans Petter Selasky wrote:

On 11/11/15 04:37, Alfred Perlstein wrote:

Hello,

A friend gave me a usb modem recently.  The model is:
Multi-Tech Systems - Multi-Modem USB - MT5634ZBA

The Linux driver info is here:
ftp://ftp.multitech.com/usb/usb-linux2.txt

When I plug this device into FreeBSD I get a ugen0 device.

So I tried hacking into the driver itself:

diff --git a/sys/dev/usb/serial/umodem.c b/sys/dev/usb/serial/umodem.c
index c1e8812..9886294 100644
--- a/sys/dev/usb/serial/umodem.c
+++ b/sys/dev/usb/serial/umodem.c
@@ -136,6 +136,7 @@ static const STRUCT_USB_HOST_ID 
umodem_host_devs[] = {

 {USB_VPI(USB_VENDOR_KYOCERA, USB_PRODUCT_KYOCERA_AHK3001V, 1)},
 {USB_VPI(USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC5720, 1)},
 {USB_VPI(USB_VENDOR_CURITEL, USB_PRODUCT_CURITEL_PC5740, 1)},
+   {USB_VP(0x06e0, 0xf107)},
  };

  /*


Now I get the following:

Nov 10 19:19:54 spigot kernel: ugen3.3:  at
usbus3
Nov 10 19:19:54 spigot kernel: umodem0:  on
usbus3
Nov 10 19:19:54 spigot kernel: umodem0: data interface 1, has CM over
data, has no break
Nov 10 19:19:54 spigot kernel: umodem0: Can't setup transfer
Nov 10 19:19:54 spigot kernel: device_attach: umodem0 attach returned 6

I read the Linux driver and it seems pretty similar, although it does
look like they have a ton more quirks and edge cases the handle.  The
file in Linux I'm looking at is: linux/drivers/usb/class/cdc-acm.c (this
seems to make the most sense given the instructions given at
ftp://ftp.multitech.com/usb/usb-linux2.txt).

I tried turning on sysctl hw.usb.debug=10 however after doing so it
didn't seem to want to probe anymore.

Any ideas?

I can ship this modem to someone if they are interested and have a good
idea how to fix.


Hi,

Can you send the configuration descriptor dump:

usbconfig -d X.Y dump_device_desc dump_curr_config_desc

Maybe the modem fits into the U3G driver.

--HPS


Hans,

Moving it to u3g on -current gives nearly same error:
Nov 11 11:38:48 spigot kernel: u3g0:
Nov 11 11:38:48 spigot kernel:  on usbus3
Nov 11 11:38:49 spigot kernel: u3g0: no ports found
Nov 11 11:38:49 spigot kernel: device_attach: u3g0 attach returned 6
Nov 11 11:38:56 spigot kernel: ugen3.3:  at 
usbus3 (disconnected)

Nov 11 11:39:00 spigot kernel: ugen3.3:  at usbus3
Nov 11 11:39:00 spigot kernel: u3g0:  on usbus3
Nov 11 11:39:00 spigot kernel: u3g0: no ports found
Nov 11 11:39:00 spigot kernel: device_attach: u3g0 attach returned 6



Output from usbconfig is as follows:

/usr/home/alfred # usbconfig -d 3.3 dump_device_desc dump_curr_config_desc
ugen3.3:  at usbus3, cfg=0 
md=HOST spd=FULL (12Mbps) pwr=ON (400mA)


  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0100
  bDeviceClass = 0x0002  
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0008
  idVendor = 0x06e0
  idProduct = 0xf107
  bcdDevice = 0x0100
  iManufacturer = 0x0001  
  iProduct = 0x0002  
  iSerialNumber = 0x  
  bNumConfigurations = 0x0002


 Configuration index 0

bLength = 0x0009
bDescriptorType = 0x0002
wTotalLength = 0x0029
bNumInterfaces = 0x0002
bConfigurationValue = 0x0001
iConfiguration = 0x0003  
bmAttributes = 0x00a0
bMaxPower = 0x00c8

Interface 0
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x
  bAlternateSetting = 0x
  bNumEndpoints = 0x
  bInterfaceClass = 0x00ff  
  bInterfaceSubClass = 0x00ff
  bInterfaceProtocol = 0x00ff
  iInterface = 0x0004  


Interface 1
  bLength = 0x0009
  bDescriptorType = 0x0004
  bInterfaceNumber = 0x0001
  bAlternateSetting = 0x
  bNumEndpoints = 0x0002
  bInterfaceClass = 0x00ff  
  bInterfaceSubClass = 0x00ff
  bInterfaceProtocol = 0x00ff
  iInterface = 0x0005  

 Endpoint 0
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0002  
bmAttributes = 0x0002  
wMaxPacketSize = 0x0010
bInterval = 0x
bRefresh = 0x
bSynchAddress = 0x

 Endpoint 1
bLength = 0x0007
bDescriptorType = 0x0005
bEndpointAddress = 0x0084  
bmAttributes = 0x0003  
wMaxPacketSize = 0x003f
bInterval = 0x0002
bRefresh = 0x
bSynchAddress = 0x



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


usb modem "Can't setup transfer"

2015-11-10 Thread Alfred Perlstein

Hello,

A friend gave me a usb modem recently.  The model is:
Multi-Tech Systems - Multi-Modem USB - MT5634ZBA

The Linux driver info is here:
ftp://ftp.multitech.com/usb/usb-linux2.txt

When I plug this device into FreeBSD I get a ugen0 device.

So I tried hacking into the driver itself:

diff --git a/sys/dev/usb/serial/umodem.c b/sys/dev/usb/serial/umodem.c
index c1e8812..9886294 100644
--- a/sys/dev/usb/serial/umodem.c
+++ b/sys/dev/usb/serial/umodem.c
@@ -136,6 +136,7 @@ static const STRUCT_USB_HOST_ID umodem_host_devs[] = {
{USB_VPI(USB_VENDOR_KYOCERA, USB_PRODUCT_KYOCERA_AHK3001V, 1)},
{USB_VPI(USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC5720, 1)},
{USB_VPI(USB_VENDOR_CURITEL, USB_PRODUCT_CURITEL_PC5740, 1)},
+   {USB_VP(0x06e0, 0xf107)},
 };

 /*


Now I get the following:

Nov 10 19:19:54 spigot kernel: ugen3.3:  at usbus3
Nov 10 19:19:54 spigot kernel: umodem0:  on 
usbus3
Nov 10 19:19:54 spigot kernel: umodem0: data interface 1, has CM over 
data, has no break

Nov 10 19:19:54 spigot kernel: umodem0: Can't setup transfer
Nov 10 19:19:54 spigot kernel: device_attach: umodem0 attach returned 6

I read the Linux driver and it seems pretty similar, although it does 
look like they have a ton more quirks and edge cases the handle.  The 
file in Linux I'm looking at is: linux/drivers/usb/class/cdc-acm.c  
(this seems to make the most sense given the instructions given at 
ftp://ftp.multitech.com/usb/usb-linux2.txt).


I tried turning on sysctl hw.usb.debug=10 however after doing so it 
didn't seem to want to probe anymore.


Any ideas?

I can ship this modem to someone if they are interested and have a good 
idea how to fix.


thank you,
-Alfred


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


Re: usb/154753: [usbdevs] [patch] Support for Qualcomm USB modem/storage on LG phone

2012-06-03 Thread miwi
Synopsis: [usbdevs] [patch] Support for Qualcomm USB modem/storage on LG phone

Responsible-Changed-From-To: miwi-freebsd-usb
Responsible-Changed-By: miwi
Responsible-Changed-When: Mon Jun 4 04:29:30 UTC 2012
Responsible-Changed-Why: 
back to pool.

http://www.freebsd.org/cgi/query-pr.cgi?pr=154753
___
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


Re: usb/154710: [ugen] Conexant USB Modem is not working in 8.x. In 7.x it works. [regression]

2012-03-01 Thread remko
Synopsis: [ugen] Conexant USB Modem is not working in 8.x. In 7.x it works. 
[regression]

State-Changed-From-To: open-closed
State-Changed-By: remko
State-Changed-When: Thu Mar 1 10:30:58 UTC 2012
State-Changed-Why: 
Feedback timeout

http://www.freebsd.org/cgi/query-pr.cgi?pr=154710
___
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


Re: usb/154753: [usbdevs] [patch] Support for Qualcomm USB modem/storage on LG phone

2011-11-20 Thread miwi
Synopsis: [usbdevs] [patch] Support for Qualcomm USB modem/storage on LG phone

Responsible-Changed-From-To: freebsd-usb-miwi
Responsible-Changed-By: miwi
Responsible-Changed-When: Sun Nov 20 12:31:39 UTC 2011
Responsible-Changed-Why: 
I'll take it.

http://www.freebsd.org/cgi/query-pr.cgi?pr=154753
___
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



Port/ Driver for USB Modem

2011-02-23 Thread Satyakam Phukan
To 
Free BSD Developers

In the countries like India Mobile Broadband (USB Modems) are one of the
 most popular and convenient modes of accessing the internet. The Ubuntu
 Linux has made itself popular by making many of these USB Modems 
compliant with there OS.


I have uploaded the files of two of these USB Modems, Teracom LW 273 
(Linktop) and Huawei 1260 in Hotfiles . I request all the Free BSD
community to see, if any Free BSD driver/port  can be prepared for them . 



Here are the links

http://hotfile.com/dl/106624194/c0ba...NL_3G.zip.html

http://hotfile.com/dl/106625408/c7e4..._1260.zip.html





DR SATYAKAM PHUKAN

General Surgeon
Jorpukhuripar, Uzanbazar
Guwahati, Assam
INDIA
P.I.N : 781001
Phone : +91 99540 46357




___
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


Re: Port/ Driver for USB Modem

2011-02-23 Thread Hans Petter Selasky
On Wednesday 23 February 2011 17:12:10 Satyakam Phukan wrote:
 To
 Free BSD Developers
 
 In the countries like India Mobile Broadband (USB Modems) are one of the
  most popular and convenient modes of accessing the internet. The Ubuntu
  Linux has made itself popular by making many of these USB Modems
 compliant with there OS.
 
 
 I have uploaded the files of two of these USB Modems, Teracom LW 273
 (Linktop) and Huawei 1260 in Hotfiles . I request all the Free BSD
 community to see, if any Free BSD driver/port  can be prepared for them .
 
 
 
 Here are the links
 
 http://hotfile.com/dl/106624194/c0ba...NL_3G.zip.html
 
 http://hotfile.com/dl/106625408/c7e4..._1260.zip.html

Hi,

Have you looked at the u3g driver in FreeBSD 8+?

/sys/dev/usb/serial/u3g.c

--HPS
___
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


Re: Port/ Driver for USB Modem

2011-02-23 Thread Dr Satyakam Phukan


Since the links were found to be not working, I am resending them hope it works
this time, otherwise copy paste in the browser.

http://hotfile.com/dl/106624194/c0ba06a/BSNL_3G.zip.html

http://hotfile.com/dl/106625408/c7e4121/Huawei_1260.zip.html



Dr Satyakam Phukan




___
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


Re: Port/ Driver for USB Modem

2011-02-23 Thread Hans Petter Selasky
On Thursday 24 February 2011 03:32:05 Dr Satyakam Phukan wrote:
 Since the links were found to be not working, I am resending them hope it
 works this time, otherwise copy paste in the browser.
 

Can you plug the devices into a FreeBSD 8+ box and dump the config and device 
descriptors using usbconfig and inline that in an e-mail?

--HPS
___
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


Re: usb/154710: Conexant USB Modem is not working in 8.x. In 7.x it works.

2011-02-13 Thread Hans Petter Selasky
On Saturday 12 February 2011 23:36:35 Benedikt Niessen wrote:
 FreeBSD 8.2-RC2 shows the same error message.
 
 Am 12.02.2011 um 22:18 schrieb Hans Petter Selasky:
  On Saturday 12 February 2011 17:22:49 Benedikt Niessen wrote:
  Number: 154710
  Category:   usb
  Synopsis:   Conexant USB Modem is not working in 8.x. In 7.x it
  works. Confidential:   no
  Severity:   non-critical
  Priority:   medium
  Responsible:freebsd-usb
  State:  open
  Quarter:
  Keywords:
  Date-Required:
  Class:  sw-bug
  Submitter-Id:   current-users
  Arrival-Date:   Sat Feb 12 16:30:07 UTC 2011
  Closed-Date:
  Last-Modified:
  Originator: Benedikt Niessen
  Release:8.1
  
  Organization:
  Could you try FreeBSD 8.2-RELEASE ?
  
  --HPS

Have you tried using an external USB HUB?

--HPS
___
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


Re: usb/154710: Conexant USB Modem is not working in 8.x. In 7.x it works.

2011-02-13 Thread Hans Petter Selasky
The following reply was made to PR usb/154710; it has been noted by GNATS.

From: Hans Petter Selasky hsela...@c2i.net
To: Benedikt Niessen po...@niessen.ch
Cc: freebsd-usb@freebsd.org,
 freebsd-gnats-sub...@freebsd.org
Subject: Re: usb/154710: Conexant USB Modem is not working in 8.x. In 7.x it 
works.
Date: Sun, 13 Feb 2011 09:21:15 +0100

 On Saturday 12 February 2011 23:36:35 Benedikt Niessen wrote:
  FreeBSD 8.2-RC2 shows the same error message.
  
  Am 12.02.2011 um 22:18 schrieb Hans Petter Selasky:
   On Saturday 12 February 2011 17:22:49 Benedikt Niessen wrote:
   Number: 154710
   Category:   usb
   Synopsis:   Conexant USB Modem is not working in 8.x. In 7.x it
   works. Confidential:   no
   Severity:   non-critical
   Priority:   medium
   Responsible:freebsd-usb
   State:  open
   Quarter:
   Keywords:
   Date-Required:
   Class:  sw-bug
   Submitter-Id:   current-users
   Arrival-Date:   Sat Feb 12 16:30:07 UTC 2011
   Closed-Date:
   Last-Modified:
   Originator: Benedikt Niessen
   Release:8.1
   
   Organization:
   Could you try FreeBSD 8.2-RELEASE ?
   
   --HPS
 
 Have you tried using an external USB HUB?
 
 --HPS
___
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


Re: usb/154710: Conexant USB Modem is not working in 8.x. In 7.x it works.

2011-02-13 Thread Benedikt Niessen
No, I don't have. But I will try to get one.

Am 13.02.2011 um 09:21 schrieb Hans Petter Selasky:

 On Saturday 12 February 2011 23:36:35 Benedikt Niessen wrote:
 FreeBSD 8.2-RC2 shows the same error message.
 
 Am 12.02.2011 um 22:18 schrieb Hans Petter Selasky:
 On Saturday 12 February 2011 17:22:49 Benedikt Niessen wrote:
 Number: 154710
 Category:   usb
 Synopsis:   Conexant USB Modem is not working in 8.x. In 7.x it
 works. Confidential:   no
 Severity:   non-critical
 Priority:   medium
 Responsible:freebsd-usb
 State:  open
 Quarter:
 Keywords:
 Date-Required:
 Class:  sw-bug
 Submitter-Id:   current-users
 Arrival-Date:   Sat Feb 12 16:30:07 UTC 2011
 Closed-Date:
 Last-Modified:
 Originator: Benedikt Niessen
 Release:8.1
 
 Organization:
 Could you try FreeBSD 8.2-RELEASE ?
 
 --HPS
 
 Have you tried using an external USB HUB?
 
 --HPS

___
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


Re: usb/154753: Support for Qualcomm USB modem/storage on LG phone

2011-02-13 Thread Hans Petter Selasky
On Sunday 13 February 2011 22:26:16 Goran Tal wrote:
 Number: 154753
 Category:   usb
 Synopsis:   Support for Qualcomm USB modem/storage on LG phone
 Confidential:   no
 Severity:   non-critical
 Priority:   low
 Responsible:freebsd-usb
 State:  open
 Quarter:
 Keywords:
 Date-Required:
 Class:  sw-bug
 Submitter-Id:   current-users
 Arrival-Date:   Sun Feb 13 21:30:11 UTC 2011
 Closed-Date:
 Last-Modified:
 Originator: Goran Tal
 Release:7-STABLE
 Organization:
 Environment:
 
 Description:
 These patches add ids to u3g driver and quirk to umass driver. Modem works
 with umodem driver, but u3g enables diagnostic port. Storage has
 READ_CAPACITY_OFFBY1 quirk. It seems that the same quirk is already
 reported in PR usb/122119
 

Your patch looks good.

--HPS
___
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


usb/154710: Conexant USB Modem is not working in 8.x. In 7.x it works.

2011-02-12 Thread Benedikt Niessen

Number: 154710
Category:   usb
Synopsis:   Conexant USB Modem is not working in 8.x. In 7.x it works.
Confidential:   no
Severity:   non-critical
Priority:   medium
Responsible:freebsd-usb
State:  open
Quarter:
Keywords:   
Date-Required:
Class:  sw-bug
Submitter-Id:   current-users
Arrival-Date:   Sat Feb 12 16:30:07 UTC 2011
Closed-Date:
Last-Modified:
Originator: Benedikt Niessen
Release:8.1
Organization:
Environment:
FreeBSD faxgw01.niessen.ch 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 
02:36:49 UTC 2010 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  
amd64
Description:
I have a Conexant USB 56k Modem. I freshly installed FreeBSD 8.1 AMD64. When I 
plugged in my Conexant USB Modem I get the message

usb_alloc_device: set address 2 failed (USB_ERR_TIMEOUT, ignored)
usb_alloc_device: getting device descriptor at addr 2 failed, USB_ERR_STALLED
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_STALLED, ignored)
usbd_req_re_enumerate: getting device descriptor at addr 2 failed, 
USB_ERR_STALLED

I reinstalled a FreeBSD 7.3 AMD64 system. When I plugged in my USB Modem I get 
the message 

ugen0: Conexant USB Modem, class 2/0, rev 1.10/1.00, addr 2 on uhub0
How-To-Repeat:
Install FreeBSD 8.1 and plug in the Conexant 56k USB Modem
Fix:


Release-Note:
Audit-Trail:
Unformatted:
___
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


Re: usb/154710: Conexant USB Modem is not working in 8.x. In 7.x it works.

2011-02-12 Thread Hans Petter Selasky
On Saturday 12 February 2011 17:22:49 Benedikt Niessen wrote:
 Number: 154710
 Category:   usb
 Synopsis:   Conexant USB Modem is not working in 8.x. In 7.x it works.
 Confidential:   no
 Severity:   non-critical
 Priority:   medium
 Responsible:freebsd-usb
 State:  open
 Quarter:
 Keywords:
 Date-Required:
 Class:  sw-bug
 Submitter-Id:   current-users
 Arrival-Date:   Sat Feb 12 16:30:07 UTC 2011
 Closed-Date:
 Last-Modified:
 Originator: Benedikt Niessen
 Release:8.1
 Organization:
 

Could you try FreeBSD 8.2-RELEASE ?

--HPS
___
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


Re: usb/154710: Conexant USB Modem is not working in 8.x. In 7.x it works.

2011-02-12 Thread Benedikt Niessen
FreeBSD 8.2-RC2 shows the same error message.

Am 12.02.2011 um 22:18 schrieb Hans Petter Selasky:

 On Saturday 12 February 2011 17:22:49 Benedikt Niessen wrote:
 Number: 154710
 Category:   usb
 Synopsis:   Conexant USB Modem is not working in 8.x. In 7.x it works.
 Confidential:   no
 Severity:   non-critical
 Priority:   medium
 Responsible:freebsd-usb
 State:  open
 Quarter:
 Keywords:
 Date-Required:
 Class:  sw-bug
 Submitter-Id:   current-users
 Arrival-Date:   Sat Feb 12 16:30:07 UTC 2011
 Closed-Date:
 Last-Modified:
 Originator: Benedikt Niessen
 Release:8.1
 Organization:
 
 
 Could you try FreeBSD 8.2-RELEASE ?
 
 --HPS

___
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


Re: usb/154710: Conexant USB Modem is not working in 8.x. In 7.x it works.

2011-02-12 Thread Benedikt Niessen
The following reply was made to PR usb/154710; it has been noted by GNATS.

From: Benedikt Niessen po...@niessen.ch
To: Hans Petter Selasky hsela...@c2i.net
Cc: freebsd-usb@freebsd.org,
 freebsd-gnats-sub...@freebsd.org
Subject: Re: usb/154710: Conexant USB Modem is not working in 8.x. In 7.x it 
works.
Date: Sat, 12 Feb 2011 23:36:35 +0100

 FreeBSD 8.2-RC2 shows the same error message.
 
 Am 12.02.2011 um 22:18 schrieb Hans Petter Selasky:
 
  On Saturday 12 February 2011 17:22:49 Benedikt Niessen wrote:
  Number: 154710
  Category:   usb
  Synopsis:   Conexant USB Modem is not working in 8.x. In 7.x it =
 works.
  Confidential:   no
  Severity:   non-critical
  Priority:   medium
  Responsible:freebsd-usb
  State:  open
  Quarter:
  Keywords:
  Date-Required:
  Class:  sw-bug
  Submitter-Id:   current-users
  Arrival-Date:   Sat Feb 12 16:30:07 UTC 2011
  Closed-Date:
  Last-Modified:
  Originator: Benedikt Niessen
  Release:8.1
  Organization:
 =20
 =20
  Could you try FreeBSD 8.2-RELEASE ?
 =20
  --HPS
 
___
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


Re: usb/129766: [usb] [panic] plugging in usb modem HUAWEI E226 panics system

2010-11-13 Thread arundel
Synopsis: [usb] [panic] plugging in usb modem HUAWEI E226 panics system

State-Changed-From-To: open-feedback
State-Changed-By: arundel
State-Changed-When: Sat Nov 13 14:22:33 UTC 2010
State-Changed-Why: 
Does this problem still occur? Please be sure dumpdev is set properly and if the
problem still occurs send in a backtrace from the kernel core dump.

http://www.freebsd.org/cgi/query-pr.cgi?pr=129766
___
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


Re: USB modem driver needed Solved

2010-08-12 Thread Hans Petter Selasky
On Wednesday 11 August 2010 23:02:31 Adrie wrote:
 Hi, I don't know if one of you had something to do with it , but here is
 the kernel with Neotel modems id's, and it works.
 Please have it in future releases!
 
 Thanks very much1
 
 Zani

Hi,

Can you send me that patch you applied to the source code?

Use:

diff -u old_file new_file  patch.txt

--HPS
___
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


Re: USB modem driver needed Solved

2010-08-12 Thread Nick Hibma
The example on Ubuntu below shows the ATDT style, and that should be through a 
normal (set of 2) serial port(s), not the HSO driver. The HSO driver requires 
different commands (AT_OWANDATA and friends).

So the IDs shouldbe added to the u3g.c driver.

Nick

On 11 Aug 2010, at 23:33, Adrie wrote:

  
 Hi, I don't know if one of you had something to do with it , but here is the 
 kernel with Neotel modems id's, and it works: 
 http://www.mediafire.com/?bcsv0efbdq3boyx
 Please have it in future releases!
  
 Thanks very much!
  
 Zani
  
  
  
  
  
  
 ---Original Message---
  
 From: Hans Petter Selasky
 Date: 2010/08/07 09:50:07 PM
 To: freebsd-usb@freebsd.org;  Fredrik Lindberg
 Cc: Adrie
 Subject: Re: Fw: Re: USB modem driver needed
  
 On Saturday 07 August 2010 20:08:43 Adrie wrote:
  Hi,
  More info for getting this device running under Ubuntu from a forum:
  
 I think the driver is called uhso.c, see /sys/dev/usb/net/uhso.c . Maybe there
 is a missing VID+PID in the table there if it does not get detected under
 FreeBSD 8+.
  
 --HPS
  
 image.gif
 stampa_girl_line_en.gif

___
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


Re: USB modem driver needed Solved

2010-08-11 Thread Adrie
 
Hi, I don't know if one of you had something to do with it , but here is the
kernel with Neotel modems id's, and it works: http://www.mediafire
com/?bcsv0efbdq3boyx
Please have it in future releases!
 
Thanks very much!
 
Zani
 
 
 
 
 
 
---Original Message---
 
From: Hans Petter Selasky
Date: 2010/08/07 09:50:07 PM
To: freebsd-usb@freebsd.org;  Fredrik Lindberg
Cc: Adrie
Subject: Re: Fw: Re: USB modem driver needed

On Saturday 07 August 2010 20:08:43 Adrie wrote:
 Hi,
 More info for getting this device running under Ubuntu from a forum:
 
I think the driver is called uhso.c, see /sys/dev/usb/net/uhso.c . Maybe
there
is a missing VID+PID in the table there if it does not get detected under
FreeBSD 8+.
 
--HPS
 ___
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


Fw: Re: USB modem driver needed

2010-08-07 Thread Adrie
Hi,
More info for getting this device running under Ubuntu from a forum:

 
 
How I got Neotel running on Ubuntu 9.04...
Decided to install Jaunty as my Hardy was very messy. I've been running
Linux since Breezy but still regard myself as a noobie.
After much trial and tribulation, and many failed attempts on Hardy, I
finally got my Neotel Prime running, first time round on Jaunty.
Following is a step-by-step process which I take NO CREDIT for!
I am merely posting this in an attempt to make the process a bit easier to
understand and follow for all Linux(Ubuntu) users out there wishing to use
Neotel.
This was done on a fresh installation of Ubuntu 9.04 Jaunty Jackalope.
It helps having an Internet connection for the first step of the process...
Otherwise packages can be downloaded seperately and Google will provide
details on unpacking and installing.
Step 1)
First download the necessary packages we need.
Open SystemAdministrationSynaptic Package Manager
Find and install:
Code:
1) wvdial
2) Linux-source
If the above are not listed, open terminal, use the code(s):
Code:
1) $ sudo apt-get install wvdial
2) $ sudo apt-get install Linux-source
Step 2) 
Open a terminal and type: 
Code:
$ sudo -s
$ cd /usr/src
$ tar xjvf Linux-source-2.6.28.tar.bz2
$ gedit /usr/src/Linux-source-2.6.28/drivers/USB/serial/option.c
Now look for static struct USB_device_id option_ids[] about line 300 and
add the following just above it:
Code:
// +++ chrisb
#define NEOTEL_DEVICE_VENDOR_ID 0x1d09
#define NEOTEL_DEVICE_PRODUCT_ID 0x4000
// +++
and then in the struct add: (the line in BOLD)
Code:
Static struct USB_device_id option_ids[] = {
{ USB_DEVICE(NEOTEL_DEVICE_VENDOR_ID, NEOTEL_DEVICE_PRODUCT_ID) },
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) },
Save and close gedit.
To compile:
Code:
$ cd /usr/src/Linux-source-2.6.28/drivers/USB/serial/
$ make -C /lib/modules/`uname -r`/build M=`pwd`
If successful you should see a long list without errors resembling the
following:
Code:
Make: Entering directory `/usr/src/Linux-headers-2.6.24-21-generic'
LD /usr/src/Linux-source-2.6.24/drivers/USB/serial/built-in.o
CC [M] /usr/src/Linux-source-2.6.24/drivers/USB/serial/USB-serial.o
CC [M] /usr/src/Linux-source-2.6.24/drivers/USB/serial/generic.o
CC [M] /usr/src/Linux-source-2.6.24/drivers/USB/serial/bus.o

Make: Leaving directory `/usr/src/Linux-headers-2.6.24-21-generic'
Backup the old drivers
Code:
$ mv /lib/modules/2.6.28-11-generic/kernel/drivers/USB/serial/option.ko
/lib/modules/2.6.28-11-generic/kernel/drivers/USB/serial/option.ko.backup
Now add new drivers (compiled):
Code:
$ cp /usr/src/Linux-source-2.6.28/drivers/USB/serial/option.ko
/lib/modules/2.6.28-11-generic/kernel/drivers/USB/serial/option.ko
You also need to load the new option:
Code:
$ gedit /etc/modules
And just add to the end of the file:
Code:
Option
Reboot your computer, open a terminal again and type:
Code:
$ lsusb
Which should produce, among others:
Code:
Bus 002 Device 002: ID 1d09:4000 TechFaith Wireless Technology Limited
Step 3) 
Open a terminal and type:
Code:
$ sudo -s
And then:
Code:
$ wvdialconf
Which should produce something similar to:
Code:
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
ttyS0*1: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0*1: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0*1: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan*1: S1 S2 S3 
WvModem*1: Cannot get information for serial port.
ttyUSB0*1: ATQ0 V1 E1 -- OK
ttyUSB0*1: ATQ0 V1 E1 Z -- OK
ttyUSB0*1: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 -- OK
ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 D2 -- OK
ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 -- OK
ttyUSB0*1: Modem Identifier: ATI -- Manufacturer: QUALCOMM INCORPORATED
ttyUSB0*1: Speed 9600: AT -- OK
ttyUSB0*1: Max speed is 9600; that should be safe.
ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 -- OK
WvModem*1: Cannot get information for serial port.
ttyUSB1*1: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB1*1: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB1*1: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0Info: Speed 9600; init ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
Now run:
$ gedit /etc/wvdial.conf
Copy and paste the following and change your username and password:
Code:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
Modem Type = USB Modem
Baud = 9600
New PPPD = yes
Modem = /dev/ttyUSB0
ISDN = 0
Stupid Mode = 1
Phone = #777
Modem = /dev/ttyUSB0
Username = 1234567...@neotel.co.za
Dial Command = ATDT
Password = 1234
Baud = 460800
PPPD Options = crtcts multilink usepeerdns lock defaultroute
[Dialer neotel]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
Baud = 460800
Stupid Mode = 1
Modem = /dev/ttyUSB0
Modem Type = USB Modem
Dial Command = ATDT
PPPD Options

Re: Fw: Re: USB modem driver needed

2010-08-07 Thread Hans Petter Selasky
On Saturday 07 August 2010 20:08:43 Adrie wrote:
 Hi,
 More info for getting this device running under Ubuntu from a forum:

I think the driver is called uhso.c, see /sys/dev/usb/net/uhso.c . Maybe there 
is a missing VID+PID in the table there if it does not get detected under 
FreeBSD 8+.

--HPS

 
 
 
 How I got Neotel running on Ubuntu 9.04...
 Decided to install Jaunty as my Hardy was very messy. I've been running
 Linux since Breezy but still regard myself as a noobie.
 After much trial and tribulation, and many failed attempts on Hardy, I
 finally got my Neotel Prime running, first time round on Jaunty.
 Following is a step-by-step process which I take NO CREDIT for!
 I am merely posting this in an attempt to make the process a bit easier to
 understand and follow for all Linux(Ubuntu) users out there wishing to use
 Neotel.
 This was done on a fresh installation of Ubuntu 9.04 Jaunty Jackalope.
 It helps having an Internet connection for the first step of the process...
 Otherwise packages can be downloaded seperately and Google will provide
 details on unpacking and installing.
 Step 1)
 First download the necessary packages we need.
 Open SystemAdministrationSynaptic Package Manager
 Find and install:
 Code:
 1) wvdial
 2) Linux-source
 If the above are not listed, open terminal, use the code(s):
 Code:
 1) $ sudo apt-get install wvdial
 2) $ sudo apt-get install Linux-source
 Step 2)
 Open a terminal and type:
 Code:
 $ sudo -s
 $ cd /usr/src
 $ tar xjvf Linux-source-2.6.28.tar.bz2
 $ gedit /usr/src/Linux-source-2.6.28/drivers/USB/serial/option.c
 Now look for static struct USB_device_id option_ids[] about line 300 and
 add the following just above it:
 Code:
 // +++ chrisb
 #define NEOTEL_DEVICE_VENDOR_ID 0x1d09
 #define NEOTEL_DEVICE_PRODUCT_ID 0x4000
 // +++
 and then in the struct add: (the line in BOLD)
 Code:
 Static struct USB_device_id option_ids[] = {
 { USB_DEVICE(NEOTEL_DEVICE_VENDOR_ID, NEOTEL_DEVICE_PRODUCT_ID) },
 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },
 { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) },
 Save and close gedit.
 To compile:
 Code:
 $ cd /usr/src/Linux-source-2.6.28/drivers/USB/serial/
 $ make -C /lib/modules/`uname -r`/build M=`pwd`
 If successful you should see a long list without errors resembling the
 following:
 Code:
 Make: Entering directory `/usr/src/Linux-headers-2.6.24-21-generic'
 LD /usr/src/Linux-source-2.6.24/drivers/USB/serial/built-in.o
 CC [M] /usr/src/Linux-source-2.6.24/drivers/USB/serial/USB-serial.o
 CC [M] /usr/src/Linux-source-2.6.24/drivers/USB/serial/generic.o
 CC [M] /usr/src/Linux-source-2.6.24/drivers/USB/serial/bus.o
 
 Make: Leaving directory `/usr/src/Linux-headers-2.6.24-21-generic'
 Backup the old drivers
 Code:
 $ mv /lib/modules/2.6.28-11-generic/kernel/drivers/USB/serial/option.ko
 /lib/modules/2.6.28-11-generic/kernel/drivers/USB/serial/option.ko.backup
 Now add new drivers (compiled):
 Code:
 $ cp /usr/src/Linux-source-2.6.28/drivers/USB/serial/option.ko
 /lib/modules/2.6.28-11-generic/kernel/drivers/USB/serial/option.ko
 You also need to load the new option:
 Code:
 $ gedit /etc/modules
 And just add to the end of the file:
 Code:
 Option
 Reboot your computer, open a terminal again and type:
 Code:
 $ lsusb
 Which should produce, among others:
 Code:
 Bus 002 Device 002: ID 1d09:4000 TechFaith Wireless Technology Limited
 Step 3)
 Open a terminal and type:
 Code:
 $ sudo -s
 And then:
 Code:
 $ wvdialconf
 Which should produce something similar to:
 Code:
 Editing `/etc/wvdial.conf'.
 Scanning your serial ports for a modem.
 ttyS0*1: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
 ttyS0*1: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
 ttyS0*1: ATQ0 V1 E1 -- and failed too at 115200, giving up.
 Modem Port Scan*1: S1 S2 S3
 WvModem*1: Cannot get information for serial port.
 ttyUSB0*1: ATQ0 V1 E1 -- OK
 ttyUSB0*1: ATQ0 V1 E1 Z -- OK
 ttyUSB0*1: ATQ0 V1 E1 S0=0 -- OK
 ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 -- OK
 ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 D2 -- OK
 ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 -- OK
 ttyUSB0*1: Modem Identifier: ATI -- Manufacturer: QUALCOMM INCORPORATED
 ttyUSB0*1: Speed 9600: AT -- OK
 ttyUSB0*1: Max speed is 9600; that should be safe.
 ttyUSB0*1: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 -- OK
 WvModem*1: Cannot get information for serial port.
 ttyUSB1*1: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
 ttyUSB1*1: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
 ttyUSB1*1: ATQ0 V1 E1 -- and failed too at 115200, giving up.
 Found a modem on /dev/ttyUSB0.
 Modem configuration written to /etc/wvdial.conf.
 ttyUSB0Info: Speed 9600; init ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
 Now run:
 $ gedit /etc/wvdial.conf
 Copy and paste the following and change your username and password:
 Code:
 [Dialer Defaults]
 Init1 = ATZ
 Init2 = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
 Modem Type = USB Modem
 Baud = 9600
 New PPPD = yes
 Modem = /dev/ttyUSB0
 ISDN = 0
 Stupid Mode = 1
 Phone = #777

Re: Fw: Re: USB modem driver needed

2010-08-07 Thread Fredrik Lindberg

On 08/07/10 21:46, Hans Petter Selasky wrote:

On Saturday 07 August 2010 20:08:43 Adrie wrote:

Hi,
More info for getting this device running under Ubuntu from a forum:


I think the driver is called uhso.c, see /sys/dev/usb/net/uhso.c . Maybe there
is a missing VID+PID in the table there if it does not get detected under
FreeBSD 8+.



I don't recognize the device name nor the IDs. If it's a standard plain 
serial modem for use with ppp then u3g is most likely the correct

driver.

Fredrik
___
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


Re: Problem with USB modem in 8.0 Release

2010-02-09 Thread Hans Petter Selasky
On Tuesday 09 February 2010 00:43:02 Erick wrote:
 Hi,
 
 I am using a Zoom 3095 USB modem on my system:
 http://zoom.com/products/dial_up_external_usb.html
 
 I had no problem using it on 7.2 Release using the ucom and umodem drivers.
  It created a cuad0 device that I was able to use.
 
 Now with 8.0 Release I am having problems getting it to work. Here is the
  output of dmesg when the modem is plugged in:
 
 usb_alloc_device:1586: set address 2 failed (USB_ERR_TIMEOUT, ignored)
 usb_alloc_device:1624: getting device descriptor at addr 2 failed,
  USB_ERR_STALLED! usbd_req_re_enumerate:1539: addr=2, set address failed!
  (USB_ERR_STALLED, ignored) usbd_req_re_enumerate:1553: getting device
  descriptor at addr 2 failed, USB_ERR_STALLED! ugen1.2: Conexant at
  usbus1
 umodem0: Conexant USB Modem, class 2/0, rev 1.10/1.00, addr 2 on usbus1
 umodem0: no CM or union descriptor!
 device_attach: umodem0 attach returned 6
 umodem0: Conexant USB Modem, class 2/0, rev 1.10/1.00, addr 2 on usbus1
 umodem0: no CM or union descriptor!
 device_attach: umodem0 attach returned 6
 
 Here is my uname -a :
 
 FreeBSD server.local 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Mon Feb  8
  09:04:26 PST 2010 r...@server.local:/usr/obj/usr/src/sys/UNIXCORN 
  i386
 
 Here is the output from usbconfig dump_device_desc:
 
 ugen1.2: USB Modem Conexant at usbus1, cfg=0 md=HOST spd=FULL (12Mbps)
  pwr=ON
 
   bLength = 0x0012
   bDescriptorType = 0x0001
   bcdUSB = 0x0110
   bDeviceClass = 0x0002
   bDeviceSubClass = 0x
   bDeviceProtocol = 0x
   bMaxPacketSize0 = 0x0040
   idVendor = 0x0803
   idProduct = 0x3095
   bcdDevice = 0x0100
   iManufacturer = 0x0001  Conexant
   iProduct = 0x0002  USB Modem
   iSerialNumber = 0x0003  24680246
   bNumConfigurations = 0x0002
 
 
 Thanks,

Maybe your modem needs a quirk. See /sys/dev/usb/serial/umodem.c .

--HPS
___
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


Problem with USB modem in 8.0 Release

2010-02-08 Thread Erick
Hi,

I am using a Zoom 3095 USB modem on my system:
http://zoom.com/products/dial_up_external_usb.html

I had no problem using it on 7.2 Release using the ucom and umodem drivers. It 
created a cuad0 device that I was able to use.

Now with 8.0 Release I am having problems getting it to work. Here is the 
output of dmesg when the modem is plugged in:

usb_alloc_device:1586: set address 2 failed (USB_ERR_TIMEOUT, ignored)
usb_alloc_device:1624: getting device descriptor at addr 2 failed, 
USB_ERR_STALLED!
usbd_req_re_enumerate:1539: addr=2, set address failed! (USB_ERR_STALLED, 
ignored)
usbd_req_re_enumerate:1553: getting device descriptor at addr 2 failed, 
USB_ERR_STALLED!
ugen1.2: Conexant at usbus1
umodem0: Conexant USB Modem, class 2/0, rev 1.10/1.00, addr 2 on usbus1
umodem0: no CM or union descriptor!
device_attach: umodem0 attach returned 6
umodem0: Conexant USB Modem, class 2/0, rev 1.10/1.00, addr 2 on usbus1
umodem0: no CM or union descriptor!
device_attach: umodem0 attach returned 6

Here is my uname -a :

FreeBSD server.local 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Mon Feb  8 09:04:26 
PST 2010 r...@server.local:/usr/obj/usr/src/sys/UNIXCORN  i386

Here is the output from usbconfig dump_device_desc:

ugen1.2: USB Modem Conexant at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0110 
  bDeviceClass = 0x0002 
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0803 
  idProduct = 0x3095 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  Conexant
  iProduct = 0x0002  USB Modem
  iSerialNumber = 0x0003  24680246
  bNumConfigurations = 0x0002 


Thanks,


-Erick___
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


Re: USB modem?

2009-12-10 Thread Mike Tancsa

At 10:40 PM 12/9/2009, Ernst W. Winter wrote:

Hello,

well I have a NetPC from Asus with a UMTS modem.

What is the output of

usbdevs -v
or if RELENG_8
usbconfig dump_device_desc

---Mike




Is there anything for it that I can use with FreeBSD?

I can use it with Ubuntu, tried once and testet and it works, but
since I use FreeBSD only it would be nice to know that it is possible
too with FreeBSD.

Thanks in advance for any feedback.

Ernst Winter

--
O ascii ribbon campaign - stop html mail - www.asciiribbon.org
Mail plain ASCII text.  HTML  Base64 text are spam.

___
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



Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
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


Re: USB modem?

2009-12-10 Thread Ernst W. Winter
On Thu, 10 Dec 2009, Mike Tancsa wrote:

 At 10:40 PM 12/9/2009, Ernst W. Winter wrote:
 Hello,
 
 well I have a NetPC from Asus with a UMTS modem.
 What is the output of
 
 usbdevs -v

 or if RELENG_8
 usbconfig dump_device_desc
 
-Snip-

ugen1.1: UHCI root HUB Intel at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0100 
  bDeviceClass = 0x0009 
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x 
  idProduct = 0x 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  Intel
  iProduct = 0x0002  UHCI root HUB
  iSerialNumber = 0x  no string
  bNumConfigurations = 0x0001 

ugen0.1: UHCI root HUB Intel at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0100 
  bDeviceClass = 0x0009 
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x 
  idProduct = 0x 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  Intel
  iProduct = 0x0002  UHCI root HUB
  iSerialNumber = 0x  no string
  bNumConfigurations = 0x0001 

ugen2.1: UHCI root HUB Intel at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0100 
  bDeviceClass = 0x0009 
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x 
  idProduct = 0x 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  Intel
  iProduct = 0x0002  UHCI root HUB
  iSerialNumber = 0x  no string
  bNumConfigurations = 0x0001 

ugen3.1: UHCI root HUB Intel at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0100 
  bDeviceClass = 0x0009 
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x 
  idProduct = 0x 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  Intel
  iProduct = 0x0002  UHCI root HUB
  iSerialNumber = 0x  no string
  bNumConfigurations = 0x0001 

ugen4.1: EHCI root HUB Intel at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0009 
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x0001 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x 
  idProduct = 0x 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  Intel
  iProduct = 0x0002  EHCI root HUB
  iSerialNumber = 0x  no string
  bNumConfigurations = 0x0001 

ugen4.2: product 0x5406 vendor 0x0781 at usbus4, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x 
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0781 
  idProduct = 0x5406 
  bcdDevice = 0x0200 
  iManufacturer = 0x0001  SanDisk
  iProduct = 0x0002  U3 Cruzer Micro
  iSerialNumber = 0x0003  19421007B791AE82
  bNumConfigurations = 0x0001 

ugen4.3: HUAWEI Mobile HUAWEI Technology at usbus4, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x 
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x12d1 
  idProduct = 0x1001 
  bcdDevice = 0x 
  iManufacturer = 0x0002  HUAWEI Technology
  iProduct = 0x0001  HUAWEI Mobile
  iSerialNumber = 0x  no string
  bNumConfigurations = 0x0001 

ugen1.2: product 0x0535 vendor 0x0d62 at usbus1, cfg=0 md=HOST spd=LOW 
(1.5Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0110 
  bDeviceClass = 0x 
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0008 
  idVendor = 0x0d62 
  idProduct = 0x0535 
  bcdDevice = 0x0231 
  iManufacturer = 0x  no string
  iProduct = 0x  no string
  iSerialNumber = 0x  no string
  bNumConfigurations = 0x0001 


and here the uname -a:


FreeBSD eeepc.ewinter.org 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Mon Nov
16 07:57:28 CET 2009
ewin...@eeepc.ewinter.org:/usr/obj/usr/src/sys/eeepc  i386

-Snip-

I will have to reinstall again and then see with 8.0 as that way I
can sychronize with my other laptop.

Can you give me a couple days over the weekend please?

Looking forward to hear more about it.

Ernst


  ---Mike
 
 
 
 Is there anything for it that I can use with FreeBSD?
 
 I can use it with Ubuntu, tried once and testet and it works, but
 since I use FreeBSD only it would be nice to know that it is possible
 too with FreeBSD.
 
 Thanks in advance for any feedback.
 
 Ernst Winter
 
 --
 O ascii ribbon campaign - stop html mail - www.asciiribbon.org
 Mail plain ASCII text.  HTML  Base64 text are spam.
 
 ___
 freebsd-usb@freebsd.org mailing list
 

Re: USB modem?

2009-12-10 Thread Mike Tancsa

At 03:42 PM 12/10/2009, Ernst W. Winter wrote:

ugen4.3: HUAWEI Mobile HUAWEI Technology at usbus4, cfg=0 md=HOST 
spd=HIGH (480Mbps) pwr=ON


  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0040
  idVendor = 0x12d1
  idProduct = 0x1001
  bcdDevice = 0x
  iManufacturer = 0x0002  HUAWEI Technology
  iProduct = 0x0001  HUAWEI Mobile
  iSerialNumber = 0x  no string
  bNumConfigurations = 0x0001


It should be recognized by the stock u3g driver.  If you do kldload 
u3g, do some /dev/cuaU#.# devices appear ?


and here the uname -a:



FreeBSD eeepc.ewinter.org 9.0-CURRENT FreeBSD 9.0-CURRENT #5: Mon Nov
16 07:57:28 CET 2009
ewin...@eeepc.ewinter.org:/usr/obj/usr/src/sys/eeepc  i386


RELENG_8 and above should be the same for this.

---Mike




Mike Tancsa,  tel +1 519 651 3400
Sentex Communications,m...@sentex.net
Providing Internet since 1994www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike

___
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


USB modem?

2009-12-09 Thread Ernst W. Winter
Hello,

well I have a NetPC from Asus with a UMTS modem.

Is there anything for it that I can use with FreeBSD?

I can use it with Ubuntu, tried once and testet and it works, but
since I use FreeBSD only it would be nice to know that it is possible
too with FreeBSD.

Thanks in advance for any feedback.

Ernst Winter

-- 
O ascii ribbon campaign - stop html mail - www.asciiribbon.org
Mail plain ASCII text.  HTML  Base64 text are spam.

___
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


Re: AnyDATA ADU-500A USB-modem and a lot of ubsa_cfg_request errors

2009-11-06 Thread Hans Petter Selasky
On Friday 06 November 2009 08:31:05 Alexey Markov wrote:
 Hello, Hans!
 On November, 05 2009 at 15:59 you wrote to freebsd-usb@freebsd.org:

  ?? except that I got a lot of such messages on console when I run ppp:
  ??
  ?? ubsa_cfg_request:371: device request failed, err=USB_ERROR_STALLED
  ??
  ?? I really want to work it out, and I have some spare time for
  ?? experiments, but haven't any experience of debuging kernel drivers.
  ?? Can anybody give me a clue to solve this little problem?

  HPS Did you look in the source code:
  HPS /sys/dev/usb/serial/ubsa.c

 Yes, of course! Line #317 belongs to ubsa_cfg_request(), which just calls
 another function, ucom_cfg_do_request(), with some parameters. But this
 function is called several times in the code, so I've changed code of
 ubsa_cfg_request() function to see, which config requests are failed:

 DPRINTFN(0, device request failed, err=%s, index=%d, value=%d ...

 I have got a lot of messages like this one:

 ubsa_cfg_request:371: device request failed, err=USB_ERROR_STALLED,
 index=10, value=1 (ignored)

 where index/value pairs sequence is:

 10/1, 11/1, 12/0, 0/24, 3/0, 2/3, 1/0, 16/384, 0/2, 3/0 and so forth.

 It seems, that driver tried to set some config parameters like DTR, RTS,
 BAUDRATE etc, and failed. But after all, modem is working (maybe, with
 non-optimal settings or default settings).

 So, I need an advice: what can I do to find the cause of failed config
 requests?

Hi,

Maybe you device belongs in the ugensa.c driver and not ubsa.c if it does not 
support all those DTR/RTS ... settings? Do you have a datasheet for the modem 
in question?

--HPS
___
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


usb/134950: Lowering DTR for USB-modem via ubsa is not possible

2009-05-26 Thread Sergey

Number: 134950
Category:   usb
Synopsis:   Lowering DTR for USB-modem via ubsa is not possible
Confidential:   no
Severity:   serious
Priority:   medium
Responsible:freebsd-usb
State:  open
Quarter:
Keywords:   
Date-Required:
Class:  sw-bug
Submitter-Id:   current-users
Arrival-Date:   Tue May 26 08:40:02 UTC 2009
Closed-Date:
Last-Modified:
Originator: Sergey
Release:7.2-STABLE
Organization:
N\a
Environment:
FreeBSD irk-gw.intra 7.2-STABLE FreeBSD 7.2-STABLE #1: Sun May 24 23:32:08 
IRKST 2009 r...@irk-gw.intra:/usr/home/obj/usr/home/src/sys/MYGATE  i386
Description:
AnyDATA ADU-500A CDMA Rev. A USB-modem works via ubsa.ko
This device need to catch NO CARRIER to disconnect correctly. WinXP does it 
with lowering DTR to 0.

In ppp.conf is following
evdo:
 set device /dev/cuaU0
 set speed 115200
 set mru 1400
 set mtu 1400
 set timeout 160
 disable mppe
 set phone \#777
 set dial ABORT BUSY ABORT ERROR ABORT NO\\sCARRIER TIMEOUT 5 \\ ATZ OK AT 
OK ATE0V1FD2C1S0=0 OK ATX1 OK AT OK \\dATDT\\T TIMEOUT 40 CONNECT
 set logout ABORT BUSY ABORT ERROR ABORT NO\\sCARRIER TIMEOUT 30 \\ ATH\\sE1 
OK
 set authname bwc
 set authkey bwcbwc
 set login
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR

All AT-commands got from windows driver.
It is working good, but when I disconnect with killing ppp it doesn't 
disconnect and write this to log.
May 25 01:10:00 irk-gw ppp[1468]: tun0: Warning: deflink: Unable to set 
physical to speed 0
May 25 01:10:00 irk-gw kernel: ucom0: ubsa_request(0, 18): STALLED
May 25 01:10:00 irk-gw kernel: ucom0: ubsa_request(3, 0): STALLED
May 25 01:10:00 irk-gw kernel: ucom0: ubsa_request(2, 3): STALLED
May 25 01:10:00 irk-gw kernel: ucom0: ubsa_request(1, 0): STALLED
May 25 01:10:00 irk-gw kernel: ucom0: ubsa_request(10, 180): STALLED
May 25 01:10:00 irk-gw kernel: ucom0: ubsa_request(a, 0): STALLED
Modem still online after disconnect and to connect again I need to swith off 
usb-cable and than switch it on.
How-To-Repeat:
ppp -ddial evdo
killall ppp.
cu -l /dev/cuaU0
you'll see that modem is sending data and doesn't disconnect.
Again ppp -ddial evdo will not connect.
Fix:


Release-Note:
Audit-Trail:
Unformatted:
___
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


usb/129766: usb modem HUAWEI E226

2008-12-19 Thread Michel Elland

Number: 129766
Category:   usb
Synopsis:   usb modem HUAWEI E226
Confidential:   no
Severity:   serious
Priority:   medium
Responsible:freebsd-usb
State:  open
Quarter:
Keywords:   
Date-Required:
Class:  sw-bug
Submitter-Id:   current-users
Arrival-Date:   Fri Dec 19 17:50:01 UTC 2008
Closed-Date:
Last-Modified:
Originator: Michel Elland
Release:FreeBSD 7
Organization:
Environment:
cannot dump device
restarting in 15 seconds
Description:
When the usb modem is pluged the machine just restart.
How-To-Repeat:
Plug an usb modem HUAWEI E226.
Fix:


Release-Note:
Audit-Trail:
Unformatted:
___
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


Problem with Usb Modem CMOTECH CCU-550

2008-06-10 Thread Miguel Vásquez .
Hello Everybody.


I am a novice in FreeBSD, I use FreeBSD 7.0 in a Acer Aspire
5570z laptop, I have tried to use my modem CMOTECH CCU550 but I have not
successful, Can you Help me??


Until now, I did the following thing:
I executed,
#kldload ucom
#kldload umodem
plug my modem and the system display:

**
ucom0: CMOTECH CO., LTD. CMOTECH CDMA Technologies, class 2/0, rev 2.00/0.00, 
addr 2 on uhub2
ucom0: iclass 2/2
ucom0: data interface 1, has CM over data, has break
ucom0: status change notification available
*

after this, i tried to configure KPPP but, i can not to get to connect, 
what is wrong??

I want to adapt my service of Internet for FreeBSD 7.0, 
but, i can not make work my modem.

Is necessary this patch? 
http://lists.freebsd.org/pipermail/freebsd-usb/2007-June/003400.html

Is necessary to load uplcom?

Can i use KPPP ?? --- KDE(ppp)


I hope you can help me.
Note: My English is not good, i speak spanish.

Best regards,
Miguel.


  __ 
Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with usb modem CMOTECH CCU550

2008-06-04 Thread Nikolay Pavlov
On Wednesday 04 June 2008 06:11:54 Miguel Vásquez. wrote:
 Hello everybody.


 Hi, I am a novice in FreeBSD, I use FreeBSD 7.0 in a Acer Aspire
 5570z laptop, I have tried to use my modem CMOTECH CCU550 but I have not
 successful, Can you Help me??


 Until now, I did the following thing:
 I executed,
 #kldload ucom
 #kldload umodem
 plug my modem and the system display:


 ucom0: CMOTECH CO., LTD. CMOTECH CDMA Technologies, class 2/0, rev
 2.00/0.00, addr 2 on uhub2 ucom0: iclass 2/2
 ucom0: data interface 1, has CM over data, has break
 ucom0: status change notification available

 after this, i tried to configure KPPP but, i can not to get to connect,
 what is wrong??

 I want to adapt my service of Internet for FreeBSD 7.0,
 but, i can not make work my modem.

 I hope you can help me.
 Note: My English is not good, i speak spanish.


 Best regards,
 Miguel.

Hi Miguel. Last time i've used this modem it works ok on FreeBSD.
Try to read this docs to configure it uppropriately: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html

-- 
==  
- Best regards, Nikolay Pavlov. ---
==  

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with Usb Modem CMOTECH CCU550

2008-05-24 Thread Miguel Vásquez .

  Hello everybody.


Hi, I am a novice FreeBSD, I use FreeBSD 6.3 in one laptop Acer Aspire
5570z, I have tried to use my modem CMOTECH CCU550 but I am not
successful, Can you Help me??



Until now, I did the following thing:

1) I added the line of code: 

product CMOTECH CCU550  0x5533 CDMA 2000 1xRTT/1xEVDO USB modem

in line 780 of the file /usr/src/sys/dev/usb/usbdevs.


2)later, I added the line of code:

{ USB_VENDOR_CMOTECH, USB_PRODUCT_CMOTECH_CCU550, 
ANY,{ UQ_ASSUME_CM_OVER_DATA }},

in line 85 and 86 of the file /usr/src/sys/dev/usb/usb_quirks.c

3) later, it executes the following thing:

# cd /usr/src/sys/i386/conf
# mkdir /root/kernels
# cp GENERIC /root/kernels/MYKERNEL
# ln -s /root/kernels/MYKERNEL
# cd /usr/src
# make buildkernel KERNCONF=MYKERNEL
# make installkernel KERNCONF=MYKERNEL
# shutdown -r now

When it starts (boot) The FreeBSD 6.3 system, it takes my modem as they ugen0

Why?


I hope you can help me!!

Note: My English is not good.


Miguel.



  __ 
Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Huawei E220 USB modem

2007-12-15 Thread Edwin Groothuis
On Fri, Dec 14, 2007 at 09:11:31PM +1100, Edwin Groothuis wrote:
 On Fri, Dec 14, 2007 at 03:35:36PM +1100, Edwin Groothuis wrote:
 
 
 See http://www.mavetju.org/weblog/html/00192.html for a full write-up.
 
 See http://www.freebsd.org/cgi/query-pr.cgi?pr=118686 for a PR to
 get it in the system.

Believe it or not, but that I need to take it out and in again
annoyed the hell out of me. Specially after seeing that this program:


http://lists.freebsd.org/pipermail/freebsd-questions/2007-December/164404.html

with the parameters: /dev/usb0 2 caused the modem to be detected
without a problem. I admit it still threw an error according to the
program, but the logfiles showed that the modem was there. And
working.

In ubsa.c that must be:

--- ubsa.c.orig Sat Dec 15 22:36:22 2007
+++ ubsa.c  Sat Dec 15 23:39:07 2007
@@ -383,6 +383,23 @@
printf(%s: Could not find interrupt in\n,
USBDEVNAME(ucom-sc_dev));
ucom-sc_dying = 1;
+
+   if (uaa-vendor == USB_VENDOR_HUAWEI 
+   uaa-product == USB_PRODUCT_HUAWEI_E220) {
+
+   usb_device_request_t req;
+   usbd_status err;
+
+   req.bmRequestType = UT_WRITE;;
+   req.bRequest = UR_SET_FEATURE;
+   USETW(req.wValue, 1);
+   USETW(req.wIndex, 2);
+   USETW(req.wLength, 0);
+   printf(Resetting port\n);
+   err = usbd_do_request(dev, req, 0);
+   printf(Port resetted\n);
+   }
+
goto error;
}
 

I admit that this is not the worlds best option, because it gives
this in the kernel:

Dec 15 23:41:37 vaio-edwin kernel: ucom2: HUAWEI Technologies HUAWEI 
Mobile, rev 1.10/0.00, addr 2
Dec 15 23:41:37 vaio-edwin kernel: ucom2: Could not find interrupt in
Dec 15 23:41:37 vaio-edwin kernel: Resetting port
Dec 15 23:41:37 vaio-edwin kernel: Port resetted
Dec 15 23:41:37 vaio-edwin kernel: device_attach: ucom2 attach returned 6
Dec 15 23:41:37 vaio-edwin kernel: uhub0: port 1, set config at addr 2 
failed
Dec 15 23:41:37 vaio-edwin kernel: uhub0: device problem (STALLED), 
disabling port 1
Dec 15 23:41:39 vaio-edwin kernel: ucom3: HUAWEI Technologies HUAWEI 
Mobile, rev 1.10/0.00, addr 2

So it detects it as ucomM, resets it and comes back as ucomN. And
as a result, /dev/cuaUN also gets created. Not yet sure how to
resolve this, but it's a next step again.

Edwin
-- 
Edwin Groothuis  |Personal website: http://www.mavetju.org
[EMAIL PROTECTED]|  Weblog: http://www.mavetju.org/weblog/
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Huawei E220 USB modem

2007-12-15 Thread Hans Petter Selasky
On Saturday 15 December 2007, Edwin Groothuis wrote:
 On Fri, Dec 14, 2007 at 09:11:31PM +1100, Edwin Groothuis wrote:
  On Fri, Dec 14, 2007 at 03:35:36PM +1100, Edwin Groothuis wrote:
 
 
  See http://www.mavetju.org/weblog/html/00192.html for a full write-up.
 
  See http://www.freebsd.org/cgi/query-pr.cgi?pr=118686 for a PR to
  get it in the system.

 Believe it or not, but that I need to take it out and in again
 annoyed the hell out of me. Specially after seeing that this program:


 http://lists.freebsd.org/pipermail/freebsd-questions/2007-December/164404.h
tml

 with the parameters: /dev/usb0 2 caused the modem to be detected
 without a problem. I admit it still threw an error according to the
 program, but the logfiles showed that the modem was there. And
 working.

 In ubsa.c that must be:

 --- ubsa.c.orig Sat Dec 15 22:36:22 2007
 +++ ubsa.c  Sat Dec 15 23:39:07 2007
 @@ -383,6 +383,23 @@
 printf(%s: Could not find interrupt in\n,
 USBDEVNAME(ucom-sc_dev));
 ucom-sc_dying = 1;
 +
 +   if (uaa-vendor == USB_VENDOR_HUAWEI 
 +   uaa-product == USB_PRODUCT_HUAWEI_E220) {
 +
 +   usb_device_request_t req;
 +   usbd_status err;
 +
 +   req.bmRequestType = UT_WRITE;;
 +   req.bRequest = UR_SET_FEATURE;
 +   USETW(req.wValue, 1);
 +   USETW(req.wIndex, 2);
 +   USETW(req.wLength, 0);
 +   printf(Resetting port\n);
 +   err = usbd_do_request(dev, req, 0);
 +   printf(Port resetted\n);
 +   }
 +
 goto error;
 }


 I admit that this is not the worlds best option, because it gives
 this in the kernel:

Hi,

Did you add your latest patch to the PR system ?

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Huawei E220 USB modem

2007-12-15 Thread Edwin Groothuis
On Sat, Dec 15, 2007 at 02:07:59PM +0100, Hans Petter Selasky wrote:
  I admit that this is not the worlds best option, because it gives
  this in the kernel:
 
 Did you add your latest patch to the PR system ?

Not yet, I was trying to find a way to do it cleaner, but twenty
reboots (why can't I remove ucom even when I loaded ubsa myself?)
and seven kernel panics later (I don't know what happens if I get
a panic while the system is doing a fsck on a dirty filesystem so
I don't try) I decided to go to bed and to try it again on this
glorious sunday where I got woken up at 07:15 by a little boy who
exclaimed Papa, I have made a mess! which is an indicator that
the glorious sunday is starting way too early and in not in the way
you had hoped for it.

Besides, there is no way to stop it if the approach in the patch
doesn't work and the interrupt is still not found, in that case it
will keep going on forever and forever.

Edwin
-- 
Edwin Groothuis  |Personal website: http://www.mavetju.org
[EMAIL PROTECTED]|  Weblog: http://www.mavetju.org/weblog/
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Huawei E220 USB modem

2007-12-15 Thread Edwin Groothuis
On Sat, Dec 15, 2007 at 02:07:59PM +0100, Hans Petter Selasky wrote:
 Did you add your latest patch to the PR system ?

A full working patch has just been added to the PR.

Edwin
-- 
Edwin Groothuis  |Personal website: http://www.mavetju.org
[EMAIL PROTECTED]|  Weblog: http://www.mavetju.org/weblog/
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Huawei E220 USB modem

2007-12-15 Thread Edwin Groothuis
On Sun, Dec 16, 2007 at 04:28:46PM +1100, Edwin Groothuis wrote:
 On Sat, Dec 15, 2007 at 02:07:59PM +0100, Hans Petter Selasky wrote:
  Did you add your latest patch to the PR system ?
 
 A full working patch has just been added to the PR.

http://www.freebsd.org/cgi/query-pr.cgi?pr=118740f=raw for some
reason.

Edwin

-- 
Edwin Groothuis  |Personal website: http://www.mavetju.org
[EMAIL PROTECTED]|  Weblog: http://www.mavetju.org/weblog/
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Huawei E220 USB modem

2007-12-14 Thread Edwin Groothuis
On Fri, Dec 14, 2007 at 03:35:36PM +1100, Edwin Groothuis wrote:


See http://www.mavetju.org/weblog/html/00192.html for a full write-up.

See http://www.freebsd.org/cgi/query-pr.cgi?pr=118686 for a PR to
get it in the system.

Edwin
-- 
Edwin Groothuis  |Personal website: http://www.mavetju.org
[EMAIL PROTECTED]|  Weblog: http://www.mavetju.org/weblog/
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb/74849: [usbdevs] [patch] Samsung SPH-i500 does not attach properly as usb modem/Palm device under 5.3-RELEASE

2007-06-21 Thread Warner Losh
Synopsis: [usbdevs] [patch] Samsung SPH-i500 does not attach properly as usb 
modem/Palm device under 5.3-RELEASE

Responsible-Changed-From-To: freebsd-usb-imp
Responsible-Changed-By: imp
Responsible-Changed-When: Thu Jun 21 10:51:52 MDT 2007
Responsible-Changed-Why: 
I fixed the UQ_ASSUME_CM_OVER_DATA thing and have these patches in my
tree.


http://www.freebsd.org/cgi/query-pr.cgi?pr=74849
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb/81191: Support for Curitel HX-550C USB modem to 5.4 RELEASE.

2007-05-03 Thread Maxim Konovalov
Synopsis: Support for Curitel HX-550C USB modem to 5.4 RELEASE.

State-Changed-From-To: open-closed
State-Changed-By: maxim
State-Changed-When: Thu May 3 17:15:07 UTC 2007
State-Changed-Why: 
Support for Curitel HX-550C USB modem was committed to HEAD and RELENG_6.

http://www.freebsd.org/cgi/query-pr.cgi?pr=81191
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to [EMAIL PROTECTED]