Re: add ZTE EV_DO to a proper driver

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

 



On Thu, Jul 26, 2012 at 05:51:59PM +0300, nirinA raseliarison wrote:
> hi Greg,
> 
> Le Thu, 26 Jul 2012 01:04:08 +0300, Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> a
> écrit:
> 
> >On Wed, Jul 25, 2012 at 12:51:34PM -0700, nirinA raseliarison wrote:
> >>hello there,
> >>i have an usb modem zte ev-do that i used with kernel from
> >>2.6.29 up to 3.5.
> >>since 3.5, i got the following message:
> >>
> >>    [77496.664090] usb 5-2: udev 10, busnum 5, minor = 521
> >>    [77496.664097] usb 5-2: New USB device found, idVendor=19d2,
> >>idProduct=ffff
> >>    [77496.664102] usb 5-2: New USB device strings: Mfr=1,
> >>Product=2, SerialNumber=0
> >>    [77496.664107] usb 5-2: Product: ZTE CDMA Tech
> >>    [77496.664112] usb 5-2: Manufacturer: ZTE, Incorporated
> >>    [77496.664226] usb 5-2: usb_probe_device
> >>    [77496.664232] usb 5-2: configuration #1 chosen from 1 choice
> >>    [77496.667119] usb 5-2: adding 5-2:1.0 (config #1, interface 0)
> >>    [77496.670161] usbserial_generic 5-2:1.0: usb_probe_interface
> >>    [77496.670169] usbserial_generic 5-2:1.0:
> >>usb_probe_interface - got id
> >>    [77496.670177] usbserial_generic 5-2:1.0: The "generic"
> >>usb-serial driver is only for testing and
> >>     one-off prototypes.
> >>    [77496.670182] usbserial_generic 5-2:1.0: Tell
> >>linux-usb@xxxxxxxxxxxxxxx to add your device to a
> >>    proper driver.
> >>    [77496.670186] usbserial_generic 5-2:1.0: generic converter detected
> >>    [77496.670276] usb 5-2: generic converter now attached to ttyUSB0
> >>
> >>i would be nice to have a driver for this device in the kernel.
> >>the device is shipped with sources to build its modules. if i understand
> >>correctly thet are released under GPL, so i attached them below.
> >>this is portion of Makefile i used:
> >>
> >>    obj-m := ztemt.o
> >>    ztemt-objs := usb-serial.o bus.o generic.o ezusb.o zte_ev.o
> >
> >Ick, that's not really the "proper" way to support this device, but I
> >can take the file below and write a real driver for it.  Can you test a
> >patch if I create it?
> 
> yes, of course, i can test it.
> 
> >Also, where did you find this patch and .c file?  I'd like to give
> >credit to the proper developers who first wrote it.
> 
> i wrote these patches with the files i found inside the driver as
> templates.  i paste those files here:
> 
> 	http://pastebin.com/UPCAj2Br

Where did you get those original files from?  That's what I am curious
about, is there a link online that I can find this at?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux