[linux-usb-devel] Standard ctrl commands

2003-11-17 Thread Ronald Tañeza
Hi, I'm using v2.4.18 (Slackware 8.1) and usb-uhci. I'm wondering if the standard USB control commands are already handled by the USB core. Most Linux usb drivers only handle vendor-specific commands (some don't even have ioctl functions). I'd just like to verify this. Thanks. - Ronald --

Re: [linux-usb-devel] Various oopsen in latest 2.6 BK

2003-11-17 Thread Alan Stern
On Sun, 16 Nov 2003, Duncan Sands wrote: > Hi Alan, thanks for replying. > > > I'm not nearly as familiar with the details of devio.c as you are, so I > > can't answer the points you've raised. However, you have done a very good > > job of confirming my initial statement, that locking in usbfs i

Re: [linux-usb-devel] USB gamepad on linux

2003-11-17 Thread mail2mikez
Hi, Thanks for all the feedback I got. Actually I have to load joydev with "modprobe joydev", then "cat /dev/js0" will show the activities on my game pad. Now I have another problem, how can I generate the module? I tried to use "make menuconfig" picking "Module" option for "joystick" under "in

Re: [linux-usb-devel] USB gamepad on linux

2003-11-17 Thread Randy.Dunlap
On Mon, 17 Nov 2003 10:20:21 -0500 [EMAIL PROTECTED] wrote: | Hi, | | Thanks for all the feedback I got. Actually I have to load joydev with "modprobe joydev", then "cat /dev/js0" will show the activities on my game pad. | | Now I have another problem, how can I generate the module? I tried to

[linux-usb-devel] Get info about physical location of new device within driver

2003-11-17 Thread Thorsten Wiedemer
Hi list ! This is my first post on this list. My name is Thorsten Wiedemer, and I make my first steps in USB driver development for linux. We want to connect multiple USB devices to one host. These devices are identical but have to receive different data, depending on their topological location in

[linux-usb-devel] Mosquitos nunca mais!!!

2003-11-17 Thread Unknown
Dê adeus aos mosquitos e pernilongos de uma vez por todas. Conheça o REPELETRON. Um aparelho desenvolvido com Tecnologia de última geração para produzir ondas ultra sônicas que espantam os mosquitos e pernilongos a um raio superior a 3 metros. Cada aparelho cobre um volume de 27 metros cúbicos. Co

Re: [linux-usb-devel] Get info about physical location of new device within driver

2003-11-17 Thread Oliver Neukum
Am Montag, 17. November 2003 17:08 schrieb Thorsten Wiedemer: > Hi list ! > > This is my first post on this list. > My name is Thorsten Wiedemer, and I make my first steps in USB driver > development for linux. > We want to connect multiple USB devices to one host. These devices are > identical bu

[linux-usb-devel] Where can I find the SCSI specs? (More Freecom)

2003-11-17 Thread Alex Bennee
Hi, I'm starting to become convinced that flaky as the transport driver may be it is as nothing to the devices it talks to :-( Anyway I'm still getting intermittent problems with talking to the Freecom USB sticks which I'd like to understand in better detail. At least one of the commands (MODE_SE

Re: [linux-usb-devel] Can't write to Freecom USB Stick (0x0c76, 0x0005)

2003-11-17 Thread Alex Bennee
On Fri, 2003-11-14 at 17:40, David Brownell wrote: > > I'm thinking its about time to clean up the isp116x driver and submit it > > to usb-devel/lkml. But that does require resolving some merge issues > > with the hc_sl1811 driver thats already there that also uses hc_simple. > > It'd be a lot bet

Re: [linux-usb-devel] USB gamepad on linux

2003-11-17 Thread mail2mikez
Hi, I am using RH8.0, the kernel should 2.4. If I used "BuildIn" option, the joydev.o will be generated under linux/drivers/input. If I used "Module" option, there is no joydev.o generated. I just wonder the compiler may put it somewhere else. In addition, I generated the joydev.o using "Build

Re: [linux-usb-devel] Where can I find the SCSI specs? (More Freecom)

2003-11-17 Thread Alan Stern
On Mon, 17 Nov 2003, Alex Bennee wrote: > Hi, > > I'm starting to become convinced that flaky as the transport driver may > be it is as nothing to the devices it talks to :-( > > Anyway I'm still getting intermittent problems with talking to the > Freecom USB sticks which I'd like to understand

[linux-usb-devel] Re: Kernel 2.6.0-test9, deadlock using usb-storage, eventually memory allocation bug

2003-11-17 Thread Maximilian Mehnert
Zitat von Vedran Rodic <[EMAIL PROTECTED]>: > I think you may be hitting the same problem I did some time ago. > > Please see > http://www.mail-archive.com/linux-usb-devel%40lists.sourceforge.net/msg17080.html > That was very fast! Thanks a lot! You were absolutely right. My usb disk is working

[linux-usb-devel] Unaligned scatter-gather transfers and usb-storage

2003-11-17 Thread Alan Stern
I'm writing about this because Matt Dharm ran across some problems a few months back and posted a message about it on the usb-storage development list, and my own delving into the details of scatter-gather operations have yielded some new information. Most of the scatter-gather buffers passed to u

Re: [linux-usb-devel] Unaligned scatter-gather transfers and usb-storage

2003-11-17 Thread Oliver Neukum
> This doesn't sound like a particularly easy problem to solve. The > simplest solution would be to copy unaligned data to a single large bounce > buffer, thereby negating the advantages of direct I/O. Another > possibility would be to have lots of little bounce buffers to take care of > the "sp

Re: [linux-usb-devel] Unaligned scatter-gather transfers and usb-storage

2003-11-17 Thread Alan Stern
On Mon, 17 Nov 2003, Oliver Neukum wrote: > Two remarks. > 1. Somebody supplying pathological buffers for direct IO gets the > performance he deserves Very true. > 2. This isn't really the storage drivers problem. It should be solved > at a higher layer > So, if you need to do something in stora

[linux-usb-devel] Re: Unaligned scatter-gather transfers and usb-storage

2003-11-17 Thread David Brownell
Alan Stern wrote: This doesn't sound like a particularly easy problem to solve. However, it's simple to detect, and I suspect usb-storage should probably add a test to make sure incoming scatterlists are ok. Something like: for (i = 0; i < (sg_len - 1); i++) { if ((sg[i].length % ep_maxpa

Re: [linux-usb-devel] Unaligned scatter-gather transfers and usb-storage

2003-11-17 Thread David Brownell
2. This isn't really the storage drivers problem. It should be solved at a higher layer So, if you need to do something in storage about it, choose the simple solution and use a large bounce buffer. That's a good rationale. (Although the fix would go into the scatter-gather library which belong

Re: [linux-usb-devel] Unaligned scatter-gather transfers andusb-storage

2003-11-17 Thread Oliver Neukum
> > 2. This isn't really the storage drivers problem. It should be solved > > at a higher layer > > So, if you need to do something in storage about it, choose the simple > > solution and use a large bounce buffer. > > That's a good rationale. (Although the fix would go into the > scatter-gather

[linux-usb-devel] Bug With Fedora Core 1 Speedbundle Build

2003-11-17 Thread Ricardo Gladwell
Hi All, I didn't know where to post this bug so I'm posting it here. Apologies in advance if this is not the appropriate forum or if you're already aware of this bug. I encountered several problems building the speedbundle for Fedora Core 1. Firstly, several files were in the wrong place, in part

Re: [linux-usb-devel] Bug With Fedora Core 1 Speedbundle Build

2003-11-17 Thread Pete Zaitcev
On Mon, Nov 17, 2003 at 11:36:52PM +, Ricardo Gladwell wrote: > From: Ricardo Gladwell <[EMAIL PROTECTED]> > Date: Mon, 17 Nov 2003 23:36:52 + > > sudo make install > cd kernel_module && make install > make[1]: Entering directory > `/home/ricardo/speedbundle-1.0/kernel_module' > install -d

[linux-usb-devel] [PATCH] [USB2] 2.6.0-test9-mm2 HiSpd Isoc 1024B submits: -EMSGSIZE

2003-11-17 Thread John Heil
High speed isochronous URB submits fail w -EMSGSIZE when packet size is 1024 bytes (which is permitted by the USB 2.0 EHCI Sted). Max Packet Size is conveyed to the host controller via the iTD's Buffer Pointer Page 1 field, @ offset +0x28[10:0]. drivers/usb/core/urb.c: usb_submit_urb incorrectl

[linux-usb-devel] Help: Compile and Load USB gamepad module

2003-11-17 Thread mail2mikez
Hi, I am using RH8.0, the kernel should 2.4. I want to generate the module for my gamepad and then load it. I use "make menuconfig" to compile linux kernel.If I used "BuildIn" option,the joydev.o will be generated under linux/drivers/input. If I used "Module" option, there is no joydev.o gener

Re: [linux-usb-devel] Unaligned scatter-gather transfers and usb-storage

2003-11-17 Thread Alan Stern
On Mon, 17 Nov 2003, David Brownell wrote: > > That's a good rationale. (Although the fix would go into the > > scatter-gather library which belongs to usbcore, not in usb-storage. > > After all, there may be other drivers at some future time that also want > > to do low-overhead s-g transfers.

Re: [linux-usb-devel] Unaligned scatter-gather transfers andusb-storage

2003-11-17 Thread Alan Stern
On Tue, 18 Nov 2003, Oliver Neukum wrote: > > That's a good rationale. (Although the fix would go into the > > scatter-gather library which belongs to usbcore, not in usb-storage. > > After all, there may be other drivers at some future time that also want > > to do low-overhead s-g transfers.)

Re: [linux-usb-devel] Help: Compile and Load USB gamepad module

2003-11-17 Thread Randy.Dunlap
On Mon, 17 Nov 2003 22:10:00 -0500 [EMAIL PROTECTED] wrote: | Hi, | | I am using RH8.0, the kernel should 2.4. I want to generate the module | for my gamepad and then load it. RH 8.0 shipped with 2.4.18 plus some vendor modifications/patches. Maybe someone who is using RH 8.0 can test this and

Re: [linux-usb-devel] Help: Compile and Load USB gamepad module

2003-11-17 Thread Randy.Dunlap
On Mon, 17 Nov 2003 20:29:30 -0800 "Randy.Dunlap" <[EMAIL PROTECTED]> wrote: | On Mon, 17 Nov 2003 22:10:00 -0500 [EMAIL PROTECTED] wrote: | | | Hi, | | | | I am using RH8.0, the kernel should 2.4. I want to generate the module | | for my gamepad and then load it. | | RH 8.0 shipped with 2.4.1

Re: [linux-usb-devel] Unaligned scatter-gather transfers and usb-storage

2003-11-17 Thread David Brownell
The "no partial packets in the middle of an sglist" policy belongs to usb-storage.. Does it really? It seems to me that anyone doing a bulk transfer using an s-g list would want to make it look like a single stream, i.e., no short packets in the middle. That's built into the USB st