Re: 答复: [PATCH] USB: storage: fix Huawei mode switching regression

2013-03-07 Thread Bjørn Mork
Fangxiaozhi (Franko) fangxiao...@huawei.com writes: As far as I know, except switching in kernel, there isn't any mode switch solution on Android now. Do you have any good ideas for the mode switch on Android system? Josh, the usb_modeswitch maintainer, is also maintaining

Re: 答复: [PATCH] USB: storage: fix Huawei mode switching regression

2013-03-07 Thread Josua Dietze
Am 07.03.2013 13:19, schrieb Bjørn Mork: it looks like your app will need to be a member of the usb group to do this. I assume there is a way for an app to request such permissions in Android. Josh has obviously managed to get it. Actually, the PPP Widget app requires access to a root shell

Re: 答复: [PATCH] USB: storage: fix Huawei mode switching regression

2013-03-06 Thread Dan Williams
On Wed, 2013-03-06 at 09:44 +0800, Greg KH wrote: On Wed, Mar 06, 2013 at 01:34:44AM +, Linlei (Lei Lin) wrote: Hello Mork, -- Because in the embedded linux system, Android, or Chrome OS, etc. They don't integrate userspace usb_modeswitch utility for switching. Why

RE: 答复: [PATCH] USB: storage: fix Huawei mode switching regression

2013-03-06 Thread Fangxiaozhi (Franko)
) Subject: Re: 答复: [PATCH] USB: storage: fix Huawei mode switching regression On Wed, 2013-03-06 at 09:44 +0800, Greg KH wrote: On Wed, Mar 06, 2013 at 01:34:44AM +, Linlei (Lei Lin) wrote: Hello Mork, -- Because in the embedded linux system, Android, or Chrome OS, etc

Re: 答复: [PATCH] USB: storage: fix Huawei mode switching regression

2013-03-06 Thread Greg KH
On Thu, Mar 07, 2013 at 02:54:38AM +, Fangxiaozhi (Franko) wrote: Dear All: As far as I know, except switching in kernel, there isn't any mode switch solution on Android now. Do you have any good ideas for the mode switch on Android system? Please discuss this with the Android

答复: [PATCH] USB: storage: fix Huawei mode switching regression

2013-03-05 Thread Linlei (Lei Lin)
Hello Mork, -- Because in the embedded linux system, Android, or Chrome OS, etc. They don't integrate userspace usb_modeswitch utility for switching. Why not? If they can upgrade the kernel, then they most certainly can install a userspace utility. There is no excuse for an embedded

Re: 答复: [PATCH] USB: storage: fix Huawei mode switching regression

2013-03-05 Thread Greg KH
On Wed, Mar 06, 2013 at 01:34:44AM +, Linlei (Lei Lin) wrote: Hello Mork, -- Because in the embedded linux system, Android, or Chrome OS, etc. They don't integrate userspace usb_modeswitch utility for switching. Why not? If they can upgrade the kernel, then they most