Oliver Neukum wrote:
> Am Donnerstag 02 August 2007 schrieb Thaens Tim:
>> I've compiled the usb_skeleton.c module and loaded this module.
>> I've managed to open a USB-device, but that's it.
>>
>> How can I write a application that uses this module?
>> Can I only use the file-operations like (owne
-Original Message-
From: "Greg KH" <[EMAIL PROTECTED]>
Sent: 10/08/07 04:30
=There's no way we could ever get a list of all good or all bad printers,
=so no matter what we do, we'd miss some :(
But better to miss suspend on some than miss working altogether on others
surely?
I never h
Hi, Alan
> Please test the changes to your respective drivers. I don't have the
> necessary hardware.
I applied this patch. I tested USB testing driver and some usb device
and I confirmed it is working.
Thanks,
Yoshihiro Shimoda
--
On Fri, 10 Aug 2007, Sam Liddicott wrote:
> From: "Greg KH" <[EMAIL PROTECTED]>
> Sent: 10/08/07 04:30
>
> =There's no way we could ever get a list of all good or all bad printers,
> =so no matter what we do, we'd miss some :(
>
> But better to miss suspend on some than miss working altogether o
On Fri, 10 Aug 2007, jidong xiao wrote:
> Here are the piece of code from 2.6.22.1,
>
>2817 static int hub_thread(void *__unused)
>2818 {
>2819 do {
>2820 hub_events();
>2821 wait_event_interruptible(khubd_wait,
>2822
On Fri, 10 Aug 2007, Yoshihiro Shimoda wrote:
> Hi, Alan
>
> > Please test the changes to your respective drivers. I don't have the
> > necessary hardware.
>
> I applied this patch. I tested USB testing driver and some usb device
> and I confirmed it is working.
Good. Thank you for testing.
On Friday 10 August 2007, Folkert van Heusden wrote:
> My question now is: will each device always have the same node? Will
> device A always get for example /dev/usb/hiddev0? and C always
> /dev/usb/hiddev2?
Not as a rule, although you might notice they don't differ a lot
in some cases. I'd cert
This is a note to let you know that I've just added the patch titled
Subject: USB: remove DEBUG definition from dummy_hcd
to my gregkh-2.6 tree. Its filename is
usb-remove-debug-definition-from-dummy_hcd.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/peo
This is a note to let you know that I've just added the patch titled
Subject: USB: don't touch sysfs stuff when altsetting is unchanged
to my gregkh-2.6 tree. Its filename is
usb-don-t-touch-sysfs-stuff-when-altsetting-is-unchanged.patch
This tree can be found at
http://www.ker
Hi,
On 8/10/07, Felipe Balbi <[EMAIL PROTECTED]> wrote:
> The following patch series implements a series of cleanups in the sisusbvga
> driver.
>
> Still some stuff to do, but at least we can have better readability on the
> code.
>
> If anyone has any comments, please do.
>
> TODO:
> * R
From: Felipe Balbi <[EMAIL PROTECTED]>
Better indentation
Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]>
---
drivers/usb/misc/sisusbvga/sisusb_init.c | 262 +++---
1 files changed, 133 insertions(+), 129 deletions(-)
diff --git a/drivers/usb/misc/sisusbvga/sisusb_init.
From: Felipe Balbi <[EMAIL PROTECTED]>
Unused code should be removed. We don't need to increase
the size of the file with dead code inside if 0 statements.
Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]>
---
drivers/usb/misc/sisusbvga/sisusb.c | 57 ---
drivers/usb/misc/si
From: Felipe Balbi <[EMAIL PROTECTED]>
Trivial fix
Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]>
---
drivers/usb/misc/sisusbvga/sisusb.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/misc/sisusbvga/sisusb.h
b/drivers/usb/misc/sisusbvga/sisusb.h
index dc
From: Felipe Balbi <[EMAIL PROTECTED]>
This patch convert printk entries to dev_* macros, this provide better
debugging and better readability to the code.
Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]>
---
drivers/usb/misc/sisusbvga/sisusb.c | 111 +--
drivers/
The following patch series implements a series of cleanups in the sisusbvga
driver.
Still some stuff to do, but at least we can have better readability on the code.
If anyone has any comments, please do.
TODO:
* Remove unnecessary cleanups
* Lots of ifdefs
* Remove 2 warn
Jiri Kosina wrote:
> On Fri, 10 Aug 2007, Daniel Exner wrote:
> > Please CC me, as I'm currently not subscribed to this list, thx.
>
> Please also don't forget to CC relevant people/lists when reporting bugs,
> thanks.
Guess its ok, now? Thanks anyway :)
> > After some serious hangs with 2.6.23-rc
Hi,
I have 3 the same devices of the same brand, e.g. their vendor, product
and version fields in struct hiddev_devinfo are all the same. Two of
them are on the same bus, the third on some other bus.
USB PORT 1 USB PORT 2
| | |
| device B device C
device A
U
On Fri, 10 Aug 2007, Folkert van Heusden wrote:
> > HIDIOCGSTRING - struct hiddev_string_descriptor (read/write) Gets a
> > string descriptor from the device. The caller must fill in the "index"
> > field to indicate which descriptor should be returned.
> Can you please tell me in what range thi
On Fri, 10 Aug 2007, Daniel Exner wrote:
> Please CC me, as I'm currently not subscribed to this list, thx.
Please also don't forget to CC relevant people/lists when reporting bugs,
thanks.
> After some serious hangs with 2.6.23-rc2 I did some bisects and this was the
> result:
> 196705c9bbc03
From: Felipe Balbi <[EMAIL PROTECTED]>
Better indentation
Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]>
---
drivers/usb/misc/sisusbvga/sisusb_struct.h | 142 +---
1 files changed, 67 insertions(+), 75 deletions(-)
diff --git a/drivers/usb/misc/sisusbvga/sisusb_struct.
On Thu, Aug 09, 2007 at 02:56:08PM -0400, Alan Stern wrote:
> On Thu, 9 Aug 2007, Zephaniah E. Hull wrote:
>
> > Urgh, I definitely need some sleep, yes, it's a &&.
>
> > Which, from the debugging statements from previous failed runs, we have
> > something odder.
> >
> > reset_resume == 0, udev-
Here are the piece of code from 2.6.22.1,
2817 static int hub_thread(void *__unused)
2818 {
2819 do {
2820 hub_events();
2821 wait_event_interruptible(khubd_wait,
2822 !list_empty(&hub_event_list) ||
2823
Hi,
In linux/Documentation/usb/hiddev.txt I read the following:
> HIDIOCGSTRING - struct hiddev_string_descriptor (read/write)
> Gets a string descriptor from the device. The caller must fill in the
> "index" field to indicate which descriptor should be returned.
Can you please tell me in what r
> > > HIDIOCGSTRING - struct hiddev_string_descriptor (read/write) Gets a
> > > string descriptor from the device. The caller must fill in the "index"
> > > field to indicate which descriptor should be returned.
> > Can you please tell me in what range this index is?
>
> Please refer to USB spec
On Fri, 10 Aug 2007, Zephaniah E. Hull wrote:
> > After you get up :-), check udev->state at the end of
> > usb_suspend_device(). It should be USB_STATE_SUSPENDED, and nothing
> > should change it until usb_resume_device() runs.
> >
> > Are you maybe seeing ohci_rh_resume() get called twice in
Jiri Kosina wrote:
> On Fri, 10 Aug 2007, Daniel Exner wrote:
>
>> After some serious hangs with 2.6.23-rc2 I did some bisects and this
>> was the result:
>> 196705c9bbc03540429b0f7cf9ee35c2f928a534 is first bad commit commit
>> 196705c9bbc03540429b0f7cf9ee35c2f928a534
>> Author: [EMAIL PROTECTED]
This is a note to let you know that I've just added the patch titled
Subject: USB: cleanups for g_file_storage
to my gregkh-2.6 tree. Its filename is
usb-cleanups-for-g_file_storage.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/
From: Felipe Balbi <[EMAIL PROTECTED]>
Better indentation
Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]>
---
drivers/usb/misc/sisusbvga/sisusb_con.c | 493 +++
1 files changed, 231 insertions(+), 262 deletions(-)
diff --git a/drivers/usb/misc/sisusbvga/sisusb_con.c
From: Felipe Balbi <[EMAIL PROTECTED]>
This patches clean some trailing whitespaces in sisusb2vga
driver.
Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]>
---
drivers/usb/misc/sisusbvga/sisusb.c| 26 +-
drivers/usb/misc/sisusbvga/sisusb.h|6 +++---
dr
I've seen two reports of devices that wrongly send a 1-byte reply to
Get-Device-Status requests instead of a 2-byte reply. One was a
printer and the other a mass-storage device.
This bug causes problems during USB resume, because
finish_port_resume() checks the device status and concludes that
so
From: Felipe Balbi <[EMAIL PROTECTED]>
Better indentation
Signed-off-by: Felipe Balbi <[EMAIL PROTECTED]>
---
drivers/usb/misc/sisusbvga/sisusb.h | 118 +--
1 files changed, 58 insertions(+), 60 deletions(-)
diff --git a/drivers/usb/misc/sisusbvga/sisusb.h
b/dr
This is a note to let you know that I've just added the patch titled
Subject: USB: make HCDs responsible for managing endpoint queues
to my gregkh-2.6 tree. Its filename is
usb-make-hcds-responsible-for-managing-endpoint-queues.patch
This tree can be found at
http://www.kernel.
From: Milinevsky Dmitry <[EMAIL PROTECTED]>
This short patch allows NIKON D50 to be mounted as UMS[unusual device]
on Linux niam 2.6.22-rc7-cfs-v18 #2 PREEMPT Tue Jul 3 22:35:53 EEST
2007 i686 Intel(R) Celeron(R) M processor 1.50GHz GenuineIntel
GNU/Linux,
some previous kernels...
lsusb -v
Bus 00
From: M4rkusXXL <[EMAIL PROTECTED]>
Cc: Greg KH <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/usb/host/Kconfig |2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/usb/host/Kconfig~usb-typo-in-usb-r8a66597-hcd-config
drivers/usb/host/Kc
From: Alan Cox <[EMAIL PROTECTED]>
Signed-off-by: Alan Cox <[EMAIL PROTECTED]>
Cc: Greg KH <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/usb/serial/kl5kusb105.c | 28 ++--
1 files changed, 18 insertions(+), 10 deletions(-)
diff -puN d
From: Mariusz Kozlowski <[EMAIL PROTECTED]>
drivers/usb/misc/ftdi-elan.c | 121253 -> 121196 (-57 bytes)
drivers/usb/misc/ftdi-elan.o | 209425 -> 209265 (-160 bytes)
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/usb/misc/ftdi-
From: Mariusz Kozlowski <[EMAIL PROTECTED]>
Remove redundant memset() call from udc_pci_probe(). No functional change.
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]>
Cc: Greg KH <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/usb/gadget/amd5536udc.c |
From: Andrew Morton <[EMAIL PROTECTED]>
Make Pete happy
Cc: Alan Cox <[EMAIL PROTECTED]>
Cc: Greg KH <[EMAIL PROTECTED]>
Cc: Pete Zaitcev <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/usb/serial/mct_u232.c | 28 ++--
1 files changed,
From: Paul Mundt <[EMAIL PROTECTED]>
Currently when registration fails we're left with a stray reference to
release_mem_region(), this leads to the following case:
r8a66597_hcd r8a66597_hcd: irq 13, io base 0x1804
drivers/usb/host/r8a66597-hcd.c: register access fail.
r8a66597_hcd
From: Paul Mundt <[EMAIL PROTECTED]>
Previous boards were likely seeing USB_ARCH_HAS_HCD selected by way of
PCMCIA or PCI, though none of those are required for hcd support on SH.
Enable support unconditionally.
Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
Cc: Greg KH <[EMAIL PROTECTED]>
Cc: Al
On Friday 10 August 2007, Alan Stern wrote:
> > When the OLPC comes up from suspend, a small bit of Open Firmware code
> > gets run, this writes 1 to HcCommandStatus, resetting the OHCI chip into
> > Suspend mode, then writes into HcRhDescriptorB and HcRhPortStatus*,
> > bringing up the power to th
On Friday 10 August 2007, [EMAIL PROTECTED] wrote:
> Previous boards were likely seeing USB_ARCH_HAS_HCD selected by way of
> PCMCIA or PCI, though none of those are required for hcd support on SH.
> Enable support unconditionally.
In fact, maybe that ARCH_HAS_HCD switch should vanish.
On Friday 10 August 2007, Felipe Balbi wrote:
>Better indentation
I don't think so. This whole patch seems to make one
type of change:
> - unsigned char St_ModeID;
> - unsigned short St_ModeFlag;
> - unsigned char St_StTableIndex;
> - unsigned char St_CRT2CRTC;
>
Dear Professor/Lecturer
Please excuse us for contacting you directly. We are offering an efficient
service to help you ensure your academic and professional work is written in
perfect English. We will check the grammar and style of your work and return it
to you to meet your requirements and de
44 matches
Mail list logo