Bug 56521 (zaurus)

Summary: No support of Motorola ZN5 USBnet in zaurus module
Product: Networking Reporter: Alibek (a1ba.omarov)
Component: OtherAssignee: Stephen Hemminger (stephen)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.7.5 Subsystem:
Regression: No Bisected commit-id:
Attachments: zaurus.patch

Description Alibek 2013-04-12 14:26:51 UTC
Created attachment 98391 [details]
zaurus.patch

I've tried to plug my phone via USBnet, but zaurus module is not loaded, because kernel can't detect it as zaurus-like device.

I looked to dmesg and found that:

[ 7880.799111] usb 1-1: new high-speed USB device number 5 using ehci_hcd
[ 7880.957767] usb 1-1: New USB device found, idVendor=22b8, idProduct=6424
[ 7880.957771] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 7880.957774] usb 1-1: Product: ZN5
[ 7880.957777] usb 1-1: Manufacturer: Motorola Inc.
[ 7881.646079] usb 1-1: bad CDC descriptors
[ 7881.646100] usbcore: registered new interface driver cdc_ether

In source file I don't found my idProduct=6424, but found support of Motorola MOTOMAGX Phones with idProduct=6425

I added in drivers/net/usb/zaurus.c idProduct of my phone and it works perfectly and without any errors or warnings. 

Attachment contains patch for zaurus.c. Please, add it to kernel. 

P.S. Sorry for my English, I know it bad. =(
Comment 1 Alibek 2016-05-10 16:17:45 UTC
Sorry, my first patch, I missed your 3rd birthday.
But I don't have this device anymore. 

Keep this open until someone with PCT-version of Motorola ZN5 will found this? Or just close as resolved(no device -- no problem)?