NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/44213: cdce support for Motorola A780 and A910 phones



The following reply was made to PR kern/44213; it has been noted by GNATS.

From: "B ICT A.P. de Brouwer Jr." <noud4%home.nl@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: John Nemeth <jnemeth%victoria.tc.ca@localhost>, 
kern-bug-people%netbsd.org@localhost, 
 gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/44213: cdce support for Motorola A780 and A910 phones
Date: Tue, 14 Dec 2010 23:04:55 +0100

 On Sun, 2010-12-12 at 03:45 +0000, John Nemeth wrote:
 >  } +product MOTOROLA2 EZX            0x3802  A780, A910
 
 >       What about the MOTOROLA2 EZX that you want added to usbdevs?
 
 Yes, that's an error on me, the MOTOROLA2 EZX part is not needed.
 The cdce part however is.
 
 if i remember correct it started from here:
 
 cdce0 at uhub0 port 3 configuration 1 interface 0
 cdce0: Motorola Motorola USBLAN, rev 2.00/0.00, addr 3
 cdce0: no union descriptor
 
 and here is some background:
 
 Motorola makes phones identified by types C330/C350L/C450/EZX/et cetera,
 EZX being MontaVista Linux based phones
 identified by types A780/E680/A910/A1200/Rokr E2/Rokr E6.
 An USB connected EZX phone can be serial AT, CDC Net(?), P2K, USBLAN(2)
 or Storage.
 
 3802  AT on C330/C350L/C450/EZX
 6004  CDC Net on EZX
 6009  P2K on EZX
 600c  USBLAN on EZX A780/E680
 6027  USBLAN2 on EZX A910/A1200/Rokr E2/Rokr E6
 604c  Storage on EZX
 
 serial AT can used:
 # start USBLAN
 echo "AT+mode=99" > /dev/ttyU0;        # on A780/E680
 echo "AT+mode=13" > /dev/ttyU0;        # on A910/A1200/Rokr E2/Rokr E6
 
 add ucom0:dv=/dev/ttyU0:br#115200:pa=none:dc: to /etc/remote to tip
 ucom0.
 
 P2K can be used w/ wip/moto4lin
 Preferences, ACM Device: /dev/umodem0, Update List,
 pick phone from list, Set as P2k Device, OK.
 
 USBLAN can be validated using wip/multisync-syncml-moto or
 export MTU=750
 ifconfig cdce0 192.168.1.1 netmask 255.255.255.0 mtu ${MTU}
 telnet 192.168.1.2
 Trying 192.168.1.2...
 Connected to 192.168.1.2.
 Escape character is '^]'.
 Linux 192.168.1.11 2.4.20_mvlcee30-mainstone #7 Fri Feb 13 15:39:51 CST
 2004 armv5tel unknown
 
 MontaVista Linux Consumer Electronics Edition 3.0
 
 No directory /root!
 Logging in with home = "/".
 #
 
 Storage can be used, mounting /dev/sd0 and /dev/sd1.
 
 
 these are there relevant dmesg parts and usbdevs -v:
 
 umodem0 at uhub0 port 2 configuration 1 interface 0
 umodem0: Motorola Motorola USB Modem, rev 2.00/0.00, addr 2, iclass 2/2
 umodem0: data interface 1, has CM over data, has no break
 umodem0: status change notification available
 ucom0 at umodem0
  port 1 addr 2: full speed, power 500 mA, config 1, Motorola USB
 Modem(0x3802), Motorola(0x22b8), rev 0.00
 
 umodem0 at uhub0 port 2 configuration 1 interface 0
 umodem0: Belcarra Belcarra, rev 2.00/0.01, addr 2, iclass 2/2
 umodem0: data interface 1, has CM over data, has no break
 umodem0: status change notification available
 ucom0 at umodem0
  port 2 addr 2: full speed, power 500 mA, config 1, Belcarra(0x6004),
 Belcarra(0x22b8), rev 0.01
 
 ugen0 at uhub0 port 2
 ugen0: Motorola Inc. Motorola Phone, rev 2.00/0.01, addr 2
  port 2 addr 2: full speed, power 20 mA, config 1, Motorola
 Phone(0x6009), Motorola Inc.(0x22b8), rev 0.01
 
 cdce0 at uhub0 port 2 configuration 1 interface 0
 cdce0: Motorola Motorola USBLAN, rev 2.00/0.00, addr 2
 cdce0: faking address
 cdce0: address 2a:a2:ea:37:00:00
  port 2 addr 2: full speed, power 500 mA, config 1, Motorola
 USBLAN(0x600c), Motorola(0x22b8), rev 0.00
 
 umass0 at uhub0 port 2 configuration 1 interface 0
 umass0: Motorola Inc. A780 Phone, rev 1.10/0.01, addr 2
 umass0: using SCSI over Bulk-Only
 scsibus0 at umass0: 2 targets, 2 luns per target
 sd0 at scsibus0 target 0 lun 0: <Motorola, A780 Phone, > disk fixed
 sd0: fabricating a geometry
 sd0: 40960 KB, 40 cyl, 64 head, 32 sec, 512 bytes/sect x 81920 sectors
 sd0: fabricating a geometry
 sd1 at scsibus0 target 0 lun 1: <Motorola, A780 Phone, > disk fixed
 sd1: fabricating a geometry
 sd1: 483 MB, 483 cyl, 64 head, 32 sec, 512 bytes/sect x 990976 sectors
 sd1: fabricating a geometry
  port 2 addr 2: full speed, power 500 mA, config 1, A780 Phone(0x604c),
 Motorola Inc.(0x22b8), rev 0.01, serial 000000000000
 
 -- 
 the challenge was in learning the needed,
              not in showing off to other.
 


Home | Main Index | Thread Index | Old Index