[linux-usb-devel] [PATCH] Stop hiddev generating empty events

2003-12-17 Thread Adam Kropelin
hiddev is mistakenly returning empty hiddev_event structures for report events. According to Documentation/usb/hiddev.txt, report events are only sent when HIDDEV_FLAG_REPORT and HIDDEV_FLAG_UREF are both set. Currently, report events from hid cause hiddev to generate empty hiddev_event events when

[linux-usb-devel] 2.4.23 usb(-storage?) Oops

2003-12-17 Thread max
Hi everybody, I don't know who to send this to, so I sent this to the list. I get a reproducible Oops when I write a lot of stuff to an usb-storage supported flashmemory-stick-mp3-player-thingy (Yakumo Hypersound 124). The stick is mounted as vfat filesystem with 16bit FAT. First the ksymoops

[linux-usb-devel] Sending a HID report to a device

2003-12-17 Thread Marcel Holtmann
Hi, I have to send a HID report to a device through hiddev. I know the report ID and the content of the report. Can anyone show me some very simple example code for doing this? Regards Marcel --- This SF.net email is sponsored by: IBM Linux

Re: [Libff-kernel] Re: [linux-usb-devel] hid and low-speed devices

2003-12-17 Thread Johann Deneux
Sergey Vlasov wrote: On Mon, Dec 15, 2003 at 11:35:33PM +, Johann Deneux wrote: Attached is a patch doing two things: hid-lgff.c: Fixes an obvious list handling issue. hid-core.c: - Use INT out urbs instead of bulk out urbs. That's the way it should be - Remove some report->id magi

Re: [linux-usb-devel] kobject 'devices' does not have a release() function, it is broken and must be fixed.

2003-12-17 Thread Greg KH
On Tue, Dec 16, 2003 at 07:57:11PM +0100, Olaf Hering wrote: > ... > kobject 'devices' does not have a release() function, it is broken and must be fixed. > ... > > this happens if I rmmod usb modules, like: > pear:~ # rmmod hid {e,o,u}hci_hcd ; umount -v usbdevfs && rmmod -v > usbcore > ERROR: Mo

Re: [linux-usb-devel] ISD200 based usb harddrive doesn't work (again)

2003-12-17 Thread Alan Stern
On Tue, 16 Dec 2003, Andrey Panin wrote: > Hi all, > > ISD200 based IDE harddrive bay doesn't work. This problem > was already discussed some time ago (before 2.5.67) and > patch was included in 2.5.67 to fix it. Unfortunately this > harddrive bay isn't mine and I got it for testing only > yester

[linux-usb-devel] Re: kfree in usb-skeleton.c

2003-12-17 Thread Greg KH
On Wed, Dec 17, 2003 at 12:29:45PM -0500, John Homppi wrote: Hm, your email address keeps chainging, I have some bounces to your old one around here... > [EMAIL PROTECTED] wrote: > >Date: Sat, 13 Dec 2003 15:37:23 -0800 > >From: Greg KH <[EMAIL PROTECTED]> > >To: John Homppi <[EMAIL PROTECTED]> >

Re: [linux-usb-devel] kfree in usb-skeleton.c

2003-12-17 Thread Randy.Dunlap
On Wed, 17 Dec 2003 12:29:45 -0500 John Homppi <[EMAIL PROTECTED]> wrote: | [EMAIL PROTECTED] wrote: | >Date: Sat, 13 Dec 2003 15:37:23 -0800 | >From: Greg KH <[EMAIL PROTECTED]> | >To: John Homppi <[EMAIL PROTECTED]> | some lines snipped ... | >> + if (dev->interrupt_out_buffer !=

Re: [linux-usb-devel] Force USB speed

2003-12-17 Thread Alan Stern
On Wed, 17 Dec 2003, Thomas Meyer wrote: > Hello, > > is there a way to force 12 mbit speed (what was it called? fast speed > /high speed, can´t remeber) on an usb 2.0 controller for a specific device? > > with kind regards > Thomas Meyer 12 Mb/s is called full speed. You can force it by gett

[linux-usb-devel] kfree in usb-skeleton.c

2003-12-17 Thread John Homppi
[EMAIL PROTECTED] wrote: >Date: Sat, 13 Dec 2003 15:37:23 -0800 >From: Greg KH <[EMAIL PROTECTED]> >To: John Homppi <[EMAIL PROTECTED]> some lines snipped ... >> + if (dev->interrupt_out_buffer != NULL) { >> + kfree (dev->interrupt_out_buffer); >> + } >> + kfree

Re: [linux-usb-devel] Problem with external USB2.0 case and LG GSA 4040-B (fwd)

2003-12-17 Thread Alan Stern
On Tue, 16 Dec 2003, Cornelius Claussen wrote: > >It may be that slowing down the transfer rate will help prevent those I/O > >errors; that's worked for some people in the past. > > > How can I do that? On Wed, 17 Dec 2003, David Brownell wrote: > Those changes to make SCSI use smaller I/O req

Re: [linux-usb-devel] Homemade HID oopsing 2.6.0-test11, plus: libusb confusion

2003-12-17 Thread Duncan Sands
(Resend - mail problems) --- > Anyway, I've started mocking with the descriptors, and with a few lines of > libusb code (usb-oops.c, attached) I can make my kernel oops (usb-oops.txt) > reliably. What gives? (Should I run ksymoops even though function names are > in the oops? No,

[linux-usb-devel] PATCH: (as121b) Accept configurations with no interface #0, without sorting the interface descriptors

2003-12-17 Thread Alan Stern
On Mon, 15 Dec 2003, Greg KH wrote: > Anyway, yeah, I'd like to have that patch, but without the sorting. Can > you redo that and send it again? > > thanks, > > greg k-h Here it is. The sort from patch as121 is removed and a couple of comments altered, otherwise it's the same. Alan Stern

Re: [linux-usb-devel] Problem with external USB2.0 case and LG GSA 4040-B

2003-12-17 Thread matthias geissert
Alan Stern <[EMAIL PROTECTED]> schrieb am 16.12.03 23:04:32: > > On Tue, 16 Dec 2003, Cornelius Claussen wrote: > > > > As for eliminating the I/O errors, well, there's no way to do it. It's > > > not a fault of the driver or of Linux; it's the fault of your DVD drive or > > > disc. They just s

[linux-usb-devel] memory bug in usb-skeleton.c?

2003-12-17 Thread Axel Waggershauser
Hi, I was about to write a usb driver (port my old one) based on the usb-skeleton.c example in the 2.6.0-test11 source. I either found a bug or overlooked something... The problem occurs in the following scenario: some usb-device is plugged in, two clients open the corresponding file, the device

[linux-usb-devel] Force USB speed

2003-12-17 Thread Thomas Meyer
Hello, is there a way to force 12 mbit speed (what was it called? fast speed /high speed, can´t remeber) on an usb 2.0 controller for a specific device? with kind regards Thomas Meyer --- This SF.net email is sponsored by: IBM Linux Tutorials

[linux-usb-devel] re:re:re: sony DSC-p10 on 2.6.0-test11

2003-12-17 Thread glenn lawyer
Success! Camera mounts, pictures transfer, all is good. Thanks to everyone! -glenn -- I want to go farther, farther! A. E. L. --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen yo