int idProduct;
idProduct = us->pusb_dev->descriptor.idProduct;
if(idProduct==0x1F01){
- printk("This is SCSI HUAWEI HILINK Dongle\n");
+ //printk("This is SCSI HUAWEI HILINK Dongle\n");
int result = 0;
int act_len = 0;
unsigned char cmd[32] = {0x55, 0x53, 0x42, 0x43, 0x00, 0x00, 0x00, 0x00,
printk("usb_stor_bulk_transfer_buf performing result is %d, transfer the actual length=%d\n", result, act_len);
return (result ? 0 : -ENODEV);
}
+
+int usb_stor_zte_init(struct us_data *us)
+{
+ int result;
+ result =usb_stor_control_msg(us,us->send_ctrl_pipe,
+ 0xA1,
+ 0xC0,
+ 0x01,0x0,NULL,0x0,1000);
+ printk("usb_stor_zte_int result is %d\n",result);
+ return 0;
+}
+
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_zte_k4505_init,
0),
+UNUSUAL_DEV(0x19d2, 0x1225, 0x0000, 0x0000,
+ "ZTE EJECT CDROM",
+ "USB MMC Storage",
+ USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_zte_init,
+ 0),
+
+UNUSUAL_DEV(0x19d2, 0x1239, 0x0000, 0x0000,
+ "ZTE EJECT CDROM",
+ "USB MMC Storage",
+ USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_zte_init,
+ 0),
+
+UNUSUAL_DEV(0x19d2, 0x1240, 0x0000, 0x0000,
+ "ZTE EJECT CDROM",
+ "USB MMC Storage",
+ USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_zte_init,
+ 0),
+
+UNUSUAL_DEV(0x19d2, 0x1241, 0x0000, 0x0000,
+ "ZTE EJECT CDROM",
+ "USB MMC Storage",
+ USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_zte_init,
+ 0),
+UNUSUAL_DEV(0x19d2, 0x1242, 0x0000, 0x0000,
+ "ZTE EJECT CDROM",
+ "USB MMC Storage",
+ USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_zte_init,
+ 0),
+UNUSUAL_DEV(0x19d2, 0x1243, 0x0000, 0x0000,
+ "ZTE EJECT CDROM",
+ "USB MMC Storage",
+ USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_zte_init,
+ 0),
/* Reported by Vilius Bilinkevicius <vilisas AT xxx DOT lt) */
UNUSUAL_DEV( 0x132b, 0x000b, 0x0001, 0x0001,
"Minolta",