reassign 585021 usb-modeswitch-data 20100418-1
thanks

Peter Fritzsche wrote:
> Package: usb-modeswitch
> Version: 1.1.2-3
> Severity: normal
> 
> I have here a Stick with idVendor=19d2, idProduct=2000 and before I had
> installed usb-modeswitch, I had to `eject /dev/sr1` to get into the GSM
> mode. After installing the usb-modeswitch package it is neither in GSM
> mode nor in cdrom mode.
> 
> It also didn't help to unload usb-storage and blacklist it.

I think I found the problem. The correct USB-Mass-Storage command to send 
would be 55534243123456782000000080000c85010101180101010101000000000000. The 
attached patch fixed the problem. I think it was an copy and paste error from 
19d2:0053.

The difference is the data transfer length, cdb length and the actual raw data 
(850000002400) which is transferred to the device. It is what the vodafone 
drivers/software uses on windows and what is used here by me.

Best regards,
        Sven
diff --git a/usb_modeswitch.d/19d2:2000 b/usb_modeswitch.d/19d2:2000
index 53926fb..946e74a 100644
--- a/usb_modeswitch.d/19d2:2000
+++ b/usb_modeswitch.d/19d2:2000
@@ -9,4 +9,4 @@ TargetProductList="0001,0002,0015,0016,0017,0031,0037,0052,0055,0063"
 
 CheckSuccess=20
 
-MessageContent="55534243123456782000000080000c85010101180101010101000000000000"
+MessageContent="55534243123456782400000080000685000000240000000000000000000000"

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to