On Thu, 2015-06-18 at 21:30 +0200, Fab Stz wrote:
> Hello,
>
> I'm facing some issues to connect to my mobile phone (Sony Ericsson W660i)
>
> I use Gammu/Wammu to connect to my mobile phone
> With kernel 3.2 (debian wheezy) it works fine. But with kernel 3.16 (debian
> jessie) or even 4.0.2 it d
Kernel provides very nice defines for USB device class
so it's a good idea to use them in suitable places.
It is much easier to grep for such define instead of 7.
Signed-off-by: Krzysztof Opasiak
---
drivers/usb/class/usblp.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
As loopback function has been reworked for ConfigFS
composite gadget this comment is no longer valid.
Signed-off-by: Krzysztof Opasiak
---
drivers/usb/gadget/function/f_loopback.c |5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/usb/gadget/function/f_loopback.c
b/drivers/usb/g
As SourceSink function has been reworked for ConfigFS
composite gadget this comment is no longer valid.
Signed-off-by: Krzysztof Opasiak
---
drivers/usb/gadget/function/f_sourcesink.c |5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/usb/gadget/function/f_sourcesink.c
b/drivers
Hi all,
I'm running 4.1-rc4 (Linaro 5.15) and trying to create a mass storage gadget
via configfs, with default 1 LUN (lun.0). As the configfs progresses, I see
"Number of LUNs=8". And when plugged in, the USB class specific getMaxLun
request returns 7. In some Windows drivers (but not some ot
diff --git a/drivers/usb/gadget/function/f_mass_storage.c
b/drivers/usb/gadget/function/f_mass_storage.c
index 3cc109f..f502f00 100644
--- a/drivers/usb/gadget/function/f_mass_storage.c
+++ b/drivers/usb/gadget/function/f_mass_storage.c
@@ -2796,8 +2796,6 @@ int fsg_common_set_nluns(struct fsg_com
Hi,
On Fri, Jun 19, 2015 at 01:59:40PM +, David Fisher wrote:
> Hi all,
>
> I'm running 4.1-rc4 (Linaro 5.15) and trying to create a mass storage
> gadget via configfs, with default 1 LUN (lun.0). As the configfs
> progresses, I see "Number of LUNs=8". And when plugged in, the USB
> class sp
Oh ! I just realized my mistake. Actually it is not the kernel that is faulty
but my configuration (since I migrated from debian wheezy to jessie).
I had connection/disconnection issues because of conflicts between gammu and
ModemManager.
It is also ModemManager which took the control of my pho
> On Fri, Jun 19, 2015 at 01:59:40PM +, David Fisher wrote:
>> My interpretation of this is that common->nluns is only ever set in
>> fsg_alloc_inst() "rc = fsg_common_set_nluns(opts->common,
>> FSG_MAX_LUNS);"
>> It doesn't take account of how many luns have been setup in the
>> configfs tree.
On Fri, 19 Jun 2015 11:37:08 +0200
Krzysztof Opasiak wrote:
> Kernel provides very nice defines for USB device class
> so it's a good idea to use them in suitable places.
> It is much easier to grep for such define instead of 7.
> static const struct usb_device_id usblp_ids[] = {
> - { USB_
Sometimes generic mice usb wireless not work with usb_modeswitch enabled.
dmesg | grep usb output when kernel not find device descriptors for mouse:
[ 154.988937] usb 2-3: new full-speed USB device number 9 using xhci_hcd
[ 160.159445] usb 2-3: unable to read config index 0 descriptor/start: -1
Hi,
On Fri, Jun 19, 2015 at 09:00:26PM +0200, Michal Nazarewicz wrote:
> > On Fri, Jun 19, 2015 at 01:59:40PM +, David Fisher wrote:
> >> My interpretation of this is that common->nluns is only ever set in
> >> fsg_alloc_inst() "rc = fsg_common_set_nluns(opts->common,
> >> FSG_MAX_LUNS);"
> >>
On Fri, Jun 19 2015, Felipe Balbi wrote:
> the fact is that this needs to be configurable from configfs. If user
> sets up a single lun, then this should be as you said, however, if 2
> luns are configured, I still want to have those 2 working.
>
> From a user perspective, configfs should support N
13 matches
Mail list logo