Re: [linux-usb-devel] Loading usb-storage module and mkinitrd (linuxrc)

2004-12-01 Thread Oliver Neukum
On Wed, 1 Dec 2004, usb blog wrote: > Hello, > > I had looked at the mkinitrd script of mkinitrd-3.5.22 (for Fedora2). > > I had noticed that in the linuxrc file, generated by mkinitrd, > if you use usb storage than after "insmod usb-storage" there is a "sleep 5" > command. > > In the script

[linux-usb-devel] USB HID Joysticks (was: Re: Linux X-plane 801)

2004-12-01 Thread Joshua Wise
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pekka Sarnila wrote: | | | Joshua Wise wrote: | |> |> Windows feeds us what looks like eight axes: X, Y, Z, Rx, Ry, Rz, |> rglSlider[0], and rglSlider[1]. We map those all right onto X-Plane |> axes. In terms of buttons, windows feeds us four possible P

Re: [linux-usb-devel] Mass Storage SCSI compliant Block Device

2004-12-01 Thread Sara Fonseca
Here goes what I did: [EMAIL PROTECTED]:/home/knoppix# modprobe dummy_hcd [EMAIL PROTECTED]:/home/knoppix# modprobe g_file_sotrage removable=y [EMAIL PROTECTED]:/home/knoppix# scsi_info /dev/sda SCSI_ID="0,0,0" MODEL="Linux File-Stor Gadget" FW_REV="0302" [EMAIL PROTECTED]:/home/knoppix# dd /dev

[linux-usb-devel] 2.6.10-rc2 and usb patches for suspend/resume

2004-12-01 Thread Brouard Nicolas
Hi all, I am not very familiar with kernels building but I am very interested in having successful suspension either to ram or to disk. On my Sony Z1 laptop, with kernel 2.6.8 and latest ACPI patch, S4/ACPI is working fine after unloading most usb modules first (which is not a problem). With ker

[linux-usb-devel] possible buffer overflow in hid-core.c

2004-12-01 Thread Peter Bartosch
Hello all, i think i found a possible buffer overflow in hid-core (2.6.10-rc2): if (!(buf = kmalloc(64, GFP_KERNEL))) goto fail; if (usb_string(dev, dev->descriptor.iManufacturer, buf, 64) > 0) { strcat(hid->name, buf); if (usb_string(dev, dev->descriptor.iProduct, bu

Re: [linux-usb-devel] Re: USB ioctl problem in 2.4.28

2004-12-01 Thread Kaupo Arulo
On Tue, 30 Nov 2004, Sergey Vlasov wrote: Meelis Roos wrote: Well, it takes the ps->dev->exclusive_access also to see that the ioctl does not exist. Someone who checks ioctls of different kernels to see which succeeds might get into a livelock with this. I'm not sure if this is really important. IM

[linux-usb-devel] isp1160 fmitnerval problem revisited

2004-12-01 Thread Dimitris Lampridis
Hey guys, how did you manage to overcome the problem with the frame interval register? I'm getting too only FrameInterval and no FSMPS... Also, do I have to use bit 31 "FIT"? -- Dimitris Lampridis <[EMAIL PROTECTED]> signature.asc Description: This is a digitally signed message part

Re: [linux-usb-devel] 2.6.10-rc2 and usb patches for suspend/resume

2004-12-01 Thread David Brownell
On Wednesday 01 December 2004 3:46 am, Brouard Nicolas wrote: > > But when my laptop is on its dock station I have never been able to > suspend. > There is a problem with ehci-hub (keyboard and mouse) and even if I > unload the modules first. So I was very happy to see some patches (even > if I d

Fw: [linux-usb-devel] Re: [ECI] linux-2.4.28 broke eciadsl-sync

2004-12-01 Thread jeanseb valette
Forwarded it because i havent seen it in the flow. I've tested 2.4.28 with my patch hang too. Begin forwarded message: Date: Mon, 29 Nov 2004 22:38:57 +0100 From: jeanseb valette <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: [linux-usb-devel] Re: [ECI] linux-2.4.28 broke e

[linux-usb-devel] [patch 2.6] EHCI race fix

2004-12-01 Thread David Brownell
See the description in the attachment ... the patch should potentially be of interest if you've been having any issues with EHCI under load, after the driver successfully starts, using bulk traffic. (So: using network or mass storage adapters, and the like.) The problem is in 2.4 kernels too, the

[linux-usb-devel] first steps with our isp1161a1

2004-12-01 Thread Konstantin Kletschke
Hi again :) Now we are trying to get some usb device to do anything useful. Of course I expect to trigger bugs, which are left in the code :) This is, when trying to start wlan: prism2usb_init: prism2_usb.o: 0.2.1-pre23 Loaded prism2usb_init: dev_info is: prism2_usb usbcore: registered

Re: [linux-usb-devel] USB2 throuput performance with libusb possible?

2004-12-01 Thread Axel Waggershauser
Hi Eric, On Fri, 2004-11-05 at 07:36 -0800, Eric Blossom wrote: > On Fri, Nov 05, 2004 at 10:44:36AM +0100, Axel Waggershauser wrote: > > So, if the total throughput with 2 devices happens to be 32MB/sec as > > well, I'd conclude that there is no controller available with a higher > > throughput.

[linux-usb-devel] RE: An usb host transfer speed issue, could anybodies help me or give me some advice?

2004-12-01 Thread Alan Stern
On Wed, 1 Dec 2004, Xu Levis-Q16136 wrote: > Alan/Anybodies, > Now I build 10 URB(IN) and sent them in my prob function, then sent the > remaining URBs from the completion callback. The transfer speed is about > 650K bytes/second, good speed. Another issue, do you think this way is > suit for BULK

Re: [linux-usb-devel] Mass Storage SCSI compliant Block Device

2004-12-01 Thread Alan Stern
On Wed, 1 Dec 2004, Sara Fonseca wrote: > Here goes what I did: > > [EMAIL PROTECTED]:/home/knoppix# modprobe dummy_hcd > [EMAIL PROTECTED]:/home/knoppix# modprobe g_file_sotrage removable=y > [EMAIL PROTECTED]:/home/knoppix# scsi_info /dev/sda > SCSI_ID="0,0,0" > MODEL="Linux File-Stor Gadget"

Re: [linux-usb-devel] Re: Fwd: Re: UHCI resume probs in 2.6.10-rc2

2004-12-01 Thread Stefan Rompf
Alan, thanks for your explanation! It seems the situation is comparable to what I have observed: I just tested again unloading uhci-hcd after suspend, and a "shutdown urb ... ep1in-intr" appeared in syslog. > For now, my best advice is not to suspend with uhci-hcd loaded. Once > 2.6.10 is rele

[linux-usb-devel] [PATCH as433] UHCI: minor bugfix for port resume

2004-12-01 Thread Alan Stern
Greg: This patch fixes two small problems in the port suspend/resume handling for the UHCI driver. There were a couple of spots where I neglected to store I/O addresses in unsigned _long_ variables (required for 64-bit architectures). And it turns out the host controller will continue to ind

[linux-usb-devel] ISP1362 bug - data toggle mismatch

2004-12-01 Thread Michael
Hello ISP1362/1160/.. mates. Have any of you ran into this error message:? " update_td_status: TD c115d040 ERROR 3 TD_CC_DATATOGGLEM Retiring TD c115d040 ED c115c080 info 00401102 with CC=3 #887b retire_td: ED c115c080 (TD c115d040) Halted due to error: 3 " I thought I could read from a USB f

[linux-usb-devel] Re: isp1160 fmitnerval problem revisited

2004-12-01 Thread Konstantin Kletschke
Am 2004-12-01 15:15 +0200 schrieb Dimitris Lampridis: > Hey guys, > how did you manage to overcome the problem with the frame interval > register? I'm getting too only FrameInterval and no FSMPS... What is your problem with the frame interval register actual exactly? IIRC I set it to 0x27782edf in

Re: [linux-usb-devel] RE: yet more on ohci-isp1362

2004-12-01 Thread Torsten Koschorrek
Hi, Philipp Schmid wrote: Thank you for sharing your patch with us. I've finally gotten around to merging your Nov 17 patch with my code base. It turned out to be too many changes to just merge your patch into my code base, so instead, I've started with your patch, applied my changes to it and the

RE: [linux-usb-devel] RE: An usb host transfer speed issue, could anybodies help me or give me some advice?

2004-12-01 Thread Xu Levis-Q16136
David/Alan/Anbodies, Thanks for your answer! >>If you're only using full speed devices, then it's likely that you won't win >>much with very deep queues (10 vs 5) >>unless the individual urbs don't have much data at all. Yes, i'm using full speed device. Does your suggestion is for BULK_OUT tran

[linux-usb-devel] uhci data loss due to toggle handling on canceled urbs

2004-12-01 Thread Karl Bongers
Hi, So somehow I found myself here despite trying to avoid kernel hacking by using libusb. libusb has this concept of submit a read/write with a timeout. So I submit a read, and just pick a random timeout, say 1 second. Lib usb then sits in a poll loop, after a second it cancels the read and retu

[linux-usb-devel] Host side RNDIS

2004-12-01 Thread slimmerz
Hi Lists, I'm very new to the usb driver development. Does the Linux usbnet driver currently support the Host-Side RNDIS? e.g. to connect a RNDIS only (for example some of the new USB2 Host-toHost Cable only has RNDIS support) gadget to a linux host. A quick grep in the FC2 2.6.8-1.521 kernel u