Dear Josua,

On 26/05/15 22:33, Josua Dietze wrote:

With this USB attribute listing we can try to exclude Android phones
from the mode-switching trigger rule.

You can help once more if you re-install usb_modeswitch (and its data
package) and then modify a line in the file
/lib/udev/rules.d/40-usb_modeswitch.rules

At line 24, there is the trigger that I referred to.
Change it to this:

ATTRS{idVendor}=="12d1", ATTRS{iManufacturer}!="Android",
ATTR{bInterfaceNumber}=="00", ATTR{bInterfaceClass}=="08",
RUN+="usb_modeswitch '%b/%k'"
[...]
Hopefully this will filter out all devices which have the entry
"Android" in their iManufacturer attribute. So to test this you would
have to enable mode-switching, connect your phone, and in the best case
nothing will happen.

That is exactly what happens. I re-installed usb_modeswitch and confirmed that the phone's storage failed to mount. I then changed the line as you indicate. After doing that, the phone's storage mounts OK, as if usb-modeswitch were not installed.

Remember to direct your answer also to the bug address. It's best to
simply hit "Reply to all".

Oops. Sorry I forgot that.

Best wishes

Hugh

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to