Motorola nextel i860 usb charging cable USB id addition

From: Adam McDougall <mcdouga9_at_egr.msu.edu>
Date: Sat, 23 Oct 2004 20:32:46 -0400
I'm not sure what files get modified to add a new 
USB_VENDOR and USB_PRODUCT id, but if I add the following
line to /usr/src/sys/dev/usb/usb_quirks.c in 
usb_quirks[] = {

then my new usb charging data cable works with umodem
with my new Nextel Motorola i860 iDEN phone as a modem,
tested under 6-current.

Without it, it complains about cm stuff, and the error
lead me to the idea of the fix on google.  I understand
that its preferred to define vendor and product variables
instead of magic numbers.  If someone could commit them,
it would be helpful.

{ 0x0c44, 0x0020, ANY, { UQ_ASSUME_CM_OVER_DATA }},

I assume the same modification may work with the 
i730 and i830 also, unless the phone changes the 
usb ID's.  usbdev -v lead me to the numbers. 

ucom0: Motorola Inc. product 0x0020, rev 1.10/0.01, addr 2, iclass 2/2
ucom0: data interface 1, has CM over data, has break
ucom0: status change notification available

To use it with ppp, gathered from another helpful FreeBSD
user's webpage:

ppp
set device /dev/cuaU0
term
ATZ0&C1&D2&K3
ATDT1234567
Received on Sat Oct 23 2004 - 22:32:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:19 UTC