Hello
the device called:
Telekom Speedstick LTE II
Alcatel Alcatel One Touch L100V LTE
an may be more.
With the ID
idVendor=1bbb, idProduct=f017 (cdrom-dummy)
and after
eject /dev/sr0
idVendor=1bbb, idProduct=011e (network-mode)
works well with option and qmi_wwan .
echo 1bbb 011e
Since Efika MX platform support (pre-devicetree) was removed from the tree
this code no longer has any possibility of running and clutters up the
driver which is being replaced by the chipidea host in the future anyway.
Signed-off-by: Matt Sealey m...@genesi-usa.com
Tested-by: Steev Klimazewski
On Tue, Dec 18, 2012 at 05:53:38PM +0500, Den Ladin wrote:
Very simple, but very necessary.
Suitable for all versions of the kernel 2.6
Your patch looks good (included below for reference), but could you
please resubmit it inline to linux-usb@vger.kernel.org?
Have a look at
If I had to guess, it looks like you have an SDHC card in an older
SDSC reader. The older readers can't read the higher-capacity SDHC
cards.
Try the reader/card combo on a recent windows system to see if they
are compatible. Or, look for a specific SDHC or SDXC compatibility
marking on the
The breakpoint between SDSC and SDHC is, in fact, 4GB for 512-byte
sectors. So, your data supports my theory that your cardreader is
non-SDHC compatible.
Matt
On Sun, Dec 23, 2012 at 11:19 AM, rh richard_hubb...@lavabit.com wrote:
On Sun, 23 Dec 2012 11:01:28 -0800
Matthew Dharm
Removes a couple of:
|drivers/usb/gadget/s3c-hsudc.c: In function 's3c_hsudc_epin_intr':
|drivers/usb/gadget/s3c-hsudc.c:438:2: warning: passing argument 1 of
'__raw_readl' makes pointer from integer without a cast
|arch/arm/include/asm/io.h:104:19: note: expected 'const volatile void *' but
The setup request can be sent to an interface/endpoint or to the device
itself. If it is sent to an interface / endpoint then we forward it to
the function that is mapped to that interface / endpoint.
If the device is the target of the setup request then we forward it to the
-setup() callback of
The queue ends with the configfs interface. It was tested with f_acm and
multiple configifs.
In order to move a function over to the configfs interface:
- convert to function interface, i.e. use DECLARE_USB_FUNCTION_INIT()
- use usb_gstrings_attach() to allocate the USB ids for a given function.
This patch provides an infrastructure to register unregister a USB
function. This allows to turn a function into a module and avoid the
'#include f_.*.c' magic and we get a clear API / cut between the bare
gadget and its functions.
The concept is simple:
Each function defines the
f_sourcesink should only include the bare function but it also includes
the config descriptor. This patch moves the config descriptor into
zero.c, the only user of this function.
Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de
---
drivers/usb/gadget/f_sourcesink.c | 48
f_loopback should only include the bare function but it also includes
the config descriptor. This patch moves the config descriptor into
zero.c, the only user of this function.
Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de
---
drivers/usb/gadget/f_loopback.c | 44
This patch factors out the three possible functions into three possible
bind functions which are passed as an argument to usb_add_config(). This
will ease the step by step converting of the individual functions to the
new function registration method.
Signed-off-by: Sebastian Andrzej Siewior
This patch converts the f_sourcesink and f_loopback file to the USB-function
module. Both functions shares a few common utility functions which are
currently implemented in g_zero.c itself. This patch moves the common
code into the sourcesink file and creates one module out of the the two
The significant part of this function was removed in 90f7976 (USB:
Remove unsupported usb gadget drivers). I would move this to function
bind time but I don't see the point in moving an empty function.
Therefore bye bye.
Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de
---
Lets assume nokia_bind() starts with return -EINVAL. After loading the
gadget we end up with:
|udc dummy_udc.0: registering UDC driver [g_nokia]
|BUG: unable to handle kernel NULL pointer dereference at 0040
|IP: [c11f9555] __list_add+0x25/0xf0
|Call Trace:
| [c12d4e21]
The configfs can't use all of composite's hooks because -bind() and
-unbind() has to be done a little differently. -disconnect() and
-setup() on the hand can be recycled.
This patch exports them both so configfs can use them.
Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de
---
We can have multiple usb_functions which origin is the same instance.
Within one USB configuration there should be only one function of an
instance. This back pointer helps configfs to recoginze to which
instance a given usb_function belongs.
Signed-off-by: Sebastian Andrzej Siewior
This patch removes gserial_setup() and gserial_cleanup() and adds
gserial_alloc_line() and gserial_free_line() to replace them.
The initial setup of u_serial happens now on module load time. A
maximum of four TTY ports can be requested which is the current limit.
In theory we could extend this
It possible to allocate the tty port number within the instance
structure of the function and there is no need to expose this
information within the gadget and therefore it is removed here.
This patch converts only f_acm and all its users. The other gadgets will
follow once the function is
This patch factors out two helper functions out got composite_bind()
that is composite_dev_prepare() and its counterpart
composite_dev_cleanup().
This will be used by the configfs which requries a slightly different
bind/setup code because part of its configurations (i.e. config
descripts, cdev,
Use usb_gstrings_attach() to assign strings in f_acm to assign strings
ids.
Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de
---
drivers/usb/gadget/composite.c | 17 -
drivers/usb/gadget/f_acm.c | 21 -
2 files changed, 20 insertions(+),
This patch converts the acm_ms gadget to make use of the function
framework to request the ACM function.
The old include interface for acm is now removed since nokia was the
last user of it (for ACM).
Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de
---
drivers/usb/gadget/Kconfig
|# modprobe dummy_hcd num=2
|# modprobe libcomposite
|# lsmod
|Module Size Used by
|libcomposite 31648 0
|dummy_hcd 19871 0
|# mkdir /sys/kernel/config/usb_gadget/oha
|# cd /sys/kernel/config/usb_gadget/oha
|# mkdir configs/def.1
|# mkdir configs/def.2
This patch converts f_acm into a module which uses the new function
interface. It also converts one of its users that is g_serial to make
use of it. The other users of it (g_nokia for instance) are still using
the old include file system and should not notice the change at all. So
they can be
| In file included from drivers/usb/gadget/acm_ms.c:43:
| f_mass_storage.c:2199:18: warning: comparison of unsigned expression = 0 is
always true [-Wtautological-compare]
| if (common-lun = 0 common-lun common-nluns)
| ~~~ ^ ~
common-lun is defined as unsigned int
The USB strings don't (yet) fully work in multiple configs/gadet
environment. The string id is assigned to the descriptor and the struct
usb_strings. We create a copy of the individual descriptor so we don't
clash if we use a function more than once. However, we have only one
struct usb_string for
Thanks Stephen.
Venu
-Original Message-
From: Stephen Warren [mailto:swar...@wwwdotorg.org]
Sent: Saturday, December 22, 2012 2:25 AM
To: Venu Byravarasu
Cc: ba...@ti.com; gre...@linuxfoundation.org; sshtyl...@mvista.com;
linux-ker...@vger.kernel.org; linux-usb@vger.kernel.org
27 matches
Mail list logo