Re: [linux-usb-devel] Need some help with an oops in usb-uhci...

2002-04-15 Thread Greg KH
On Tue, Apr 16, 2002 at 08:28:21AM +, Jens Kilian wrote: > > Does the same problem happen without the preemt_kernel patch? > > I'll have to try. (Would it be worth to use a newer kernel, too?) Yes it would. > Yesterday I tried out the "uhci" driver instead of "usb-uhci"; it seemed to be >

Re: [linux-usb-devel] Cypress EZUSB FX 2

2002-04-15 Thread David Brownell
You can use SDCC to develop firmware (though it's not the best 8051 compiler, as I could tell even from limited use) and, to download it to the device, "fxload" from the Linux hotplug project. http://sdcc.sourceforge.net http://prdownloads.sourceforge.net/linux-hotplug/ I have partial FX

Re: [linux-usb-devel] Re: Questions on hiddev

2002-04-15 Thread Brad Hards
On Tue, 16 Apr 2002 08:27, Greg KH wrote: > But to shorten this message, user space should _not_ be including any > kernel space headers, end of story. See Linus's postings on lkml about > this topic. http://uwsg.iu.edu/hypermail/linux/kernel/0007.3/0587.html for the interested. However ioctl() i

[linux-usb-devel] Re: [PATCH] convert cdc-acm.c to allocate urbs dynamically

2002-04-15 Thread Vojtech Pavlik
On Mon, Apr 15, 2002 at 03:32:11PM -0700, Greg KH wrote: > Here's a patch against 2.5.8 that changes the way the cdc-acm.c driver > allocate's its urbs. This patch is needed to work properly in the 2.5.x > tree right now. I guess not too many people have cdc-acm devices :) > > Let me know if y

[linux-usb-devel] [PATCH] convert cdc-acm.c to allocate urbs dynamically

2002-04-15 Thread Greg KH
Here's a patch against 2.5.8 that changes the way the cdc-acm.c driver allocate's its urbs. This patch is needed to work properly in the 2.5.x tree right now. I guess not too many people have cdc-acm devices :) Let me know if you have a problem with the patch. thanks, greg k-h diff -Nru a/

Re: [linux-usb-devel] Re: Questions on hiddev

2002-04-15 Thread Brad Hards
On Tue, 16 Apr 2002 09:14, Vojtech Pavlik wrote: > They already have a raw HID interface I think - they had it first. uhid Not sufficient for this, I think. c.f http://lists.exploits.org/hidups/Mar2002/5.html Brad ___ [EMAIL PROTECTED] To unsubscri

Re: [linux-usb-devel] Re: Questions on hiddev

2002-04-15 Thread Greg KH
On Tue, Apr 16, 2002 at 09:12:53AM +1000, Brad Hards wrote: > On Tue, 16 Apr 2002 07:39, Greg KH wrote: > > On Tue, Apr 16, 2002 at 08:00:53AM +1000, Brad Hards wrote: > > > On Tue, 16 Apr 2002 02:54, Greg KH wrote: > > > > If the structure is going to be exported from the kernel, then __u16 > > >

Re: [linux-usb-devel] Re: Questions on hiddev

2002-04-15 Thread Brad Hards
On Tue, 16 Apr 2002 07:39, Greg KH wrote: > On Tue, Apr 16, 2002 at 08:00:53AM +1000, Brad Hards wrote: > > On Tue, 16 Apr 2002 02:54, Greg KH wrote: > > > If the structure is going to be exported from the kernel, then __u16 > > > and __u32 should be used, as they are the proper types for this. T

Re: [linux-usb-devel] Re: Questions on hiddev

2002-04-15 Thread Vojtech Pavlik
On Tue, Apr 16, 2002 at 09:12:53AM +1000, Brad Hards wrote: > > > > If the structure is going to be exported from the kernel, then __u16 > > > > and __u32 should be used, as they are the proper types for this. These > > > > types are portable accross all platforms. > > > > > > They are not porta

Re: [linux-usb-devel] Re: [BK PATCH] USB changes for 2.5.8-pre2

2002-04-15 Thread Greg KH
On Mon, Apr 15, 2002 at 12:18:52PM -0700, David Brownell wrote: > By the way ... I think this would be very good to see aversion of this go > into the 2.4 tree too. I was glad to see it finally land in 2.5.8 ... Me too, anyone have a copy that will apply to the 2.4.x tree right now? greg k-h

Re: [linux-usb-devel] Re: Questions on hiddev

2002-04-15 Thread Greg KH
On Tue, Apr 16, 2002 at 08:00:53AM +1000, Brad Hards wrote: > On Tue, 16 Apr 2002 02:54, Greg KH wrote: > > If the structure is going to be exported from the kernel, then __u16 and > > __u32 should be used, as they are the proper types for this. These > > types are portable accross all platforms.

Re: [linux-usb-devel] USB 2.0 status

2002-04-15 Thread David Brownell
> Is there some webpage I read it to find out the status of USB 2.0 support > in Linux ? (In particular the "highspeed mode" or whatever 480mbit/sec is > called). > > If not, could some enlighten me ? No webpage so far ... just try it out! Meanwhile: linux/Documentation/usb/ehci.txt ... i

[linux-usb-devel] Re: tasklet in rtl8150

2002-04-15 Thread Oliver Neukum
On Monday 15 April 2002 22:12, Petko Manolov wrote: > Oliver Neukum wrote: > > And from the tasklet. Let's suppose that the atomic pool is depleted > > and submission fails. The tasklet is scheduled. Unless another tasklet > > or interrupt frees the right kind of memory the tasklet will keep > > r

Re: [linux-usb-devel] Cypress EZUSB FX 2

2002-04-15 Thread Brad Hards
On Tue, 16 Apr 2002 08:07, bong siu wrote: > I have a Cypress EZUSB FX 2 development kit. The > software which comes with the kit only support Windows > I guess. I am trying to make it work with my linux > machine. Does anyone know where I can find a driver > for this kit and how do I get more inf

[linux-usb-devel] Cypress EZUSB FX 2

2002-04-15 Thread bong siu
I have a Cypress EZUSB FX 2 development kit. The software which comes with the kit only support Windows I guess. I am trying to make it work with my linux machine. Does anyone know where I can find a driver for this kit and how do I get more information of using the kid with linux? Thank you so m

Re: [linux-usb-devel] Re: Questions on hiddev

2002-04-15 Thread Brad Hards
On Tue, 16 Apr 2002 02:54, Greg KH wrote: > If the structure is going to be exported from the kernel, then __u16 and > __u32 should be used, as they are the proper types for this. These > types are portable accross all platforms. They are not portable outside Linux. This is inappropriate in what

[linux-usb-devel] usbfs / proc_disconnectsignal() question

2002-04-15 Thread Ken Hughes
I was looking at catching a signal using usbfs to tell when a device has been detached. I used an ioctl call with USBDEVFS_DISCSIGNAL to set a signal handler, and I was able to detect the detachment. However, I can't figure out that the context field of the struct usbdevfs_disconnectsignal does

[linux-usb-devel] Re: tasklet in rtl8150

2002-04-15 Thread Oliver Neukum
On Monday 15 April 2002 19:36, Petko Manolov wrote: > > Yes, you are right. > > Next issue. What prevents you from burning all available CPU ? > > The tasklet is rescheduled unconditionaly only from the Rx callback. > No Rx packets, no overkill. And from the tasklet. Let's suppose that the atomic

[linux-usb-devel] Re: tasklet in rtl8150

2002-04-15 Thread Petko Manolov
Oliver Neukum wrote: > And from the tasklet. Let's suppose that the atomic pool is depleted > and submission fails. The tasklet is scheduled. Unless another tasklet > or interrupt frees the right kind of memory the tasklet will keep > rescheduling itself. That's what we want, isn't it?

Re: [linux-usb-devel] Re: [BK PATCH] USB changes for 2.5.8-pre2

2002-04-15 Thread David Brownell
By the way ... I think this would be very good to see aversion of this go into the 2.4 tree too. I was glad to see it finally land in 2.5.8 ... The original patch dates to something like January 2000 (2.4.0 :) and the functionality will be useful for folk doing things like writing user mode driv

[linux-usb-devel] USB 2.0 status

2002-04-15 Thread Vladimir Dergachev
Is there some webpage I read it to find out the status of USB 2.0 support in Linux ? (In particular the "highspeed mode" or whatever 480mbit/sec is called). If not, could some enlighten me ? thanks ! Vladimir Dergachev _

Re: [linux-usb-devel] How to reenumerate a usb device

2002-04-15 Thread Johannes Erdfelt
On Mon, Apr 15, 2002, shiju mathew <[EMAIL PROTECTED]> wrote: > I am new to usb. I have a basic question. I am > doing some work on sa1110 board where we have a > usb-client device. It is connected via a usb cable to > the usb host controller on a x86 machine. Is there in > any way to reenum

Re: [linux-usb-devel] Re: Questions on hiddev

2002-04-15 Thread Greg KH
On Mon, Apr 15, 2002 at 09:48:46AM -0700, Paul Stewart wrote: > In message <[EMAIL PROTECTED]> you write: > >Q2. > >Is there any reason why the structures in don't use > >standardised types? For example, hiddev_devinfo should probably look > >something like: > > > >[...] > > > >Do we want to cha

[linux-usb-devel] Re: tasklet in rtl8150

2002-04-15 Thread Petko Manolov
> Yes, you are right. > Next issue. What prevents you from burning all available CPU ? The tasklet is rescheduled unconditionaly only from the Rx callback. No Rx packets, no overkill. Petko ___ [EMAIL PROTECTED] To unsubscribe, use th

[linux-usb-devel] Re: IDE / SmartMedia

2002-04-15 Thread Greg KH
On Mon, Apr 15, 2002 at 10:14:14AM +, [EMAIL PROTECTED] wrote: > From [EMAIL PROTECTED] Mon Apr 15 10:05:40 2002 > > - drive->using_tcq = 1; > > That helps, I think. > > The first boot after deleting this line again crashed, > but this time with BUG() in .

[linux-usb-devel] Re: Questions on hiddev

2002-04-15 Thread Paul Stewart
In message <[EMAIL PROTECTED]> you write: >Q2. >Is there any reason why the structures in don't use >standardised types? For example, hiddev_devinfo should probably look >something like: > >[...] > >Do we want to change part of the interface, all of the interface, or >none of the interface to us

[linux-usb-devel] Re: little bug in kaweth disconnect handling

2002-04-15 Thread Greg KH
On Sun, Apr 14, 2002 at 10:11:25PM +0200, Oliver Neukum wrote: > Hi Greg, > > please apply. Applied, thanks. greg k-h ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

[linux-usb-devel] Re: cset for kaweth for low mem and link state reporting

2002-04-15 Thread Greg KH
On Sun, Apr 14, 2002 at 01:27:24PM +0200, Oliver Neukum wrote: > Hi Greg, > > it shows no adverse effects. Please apply. Applied, thanks. greg k-h ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/l

[linux-usb-devel] Re: oom fixes for kaweth

2002-04-15 Thread Greg KH
On Sat, Apr 13, 2002 at 10:19:46AM +0200, Oliver Neukum wrote: > Hi, > > please apply. Applied, thanks. greg k-h ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Re: [linux-usb-devel] Need some help with an oops in usb-uhci...

2002-04-15 Thread Greg KH
On Mon, Apr 15, 2002 at 08:42:31AM +0200, Jens Kilian wrote: > Hi, > I've encountered an oops while using the generic usbserial driver to talk > to a USB device[1] I'm building. I need some help to determine if it's > my fault (I'm just beginning to learn about USB) or a bug on the driver side. >

Re: [linux-usb-devel] Is Linux can support multi-slot mass storagecard reader??

2002-04-15 Thread Jacek Pliszka
On Mon, 15 Apr 2002, Sancho Dauskardt wrote: > >When I plug in the device on Linux Red Hat 7.2 (kernel is 2.4.9) > Check the Kernel build option: > CONFIG_SCSI_MULTI_LUN=y Actually more elegant way to do this is to add to /etc/modules.conf : options scsi_mod max_scsi_luns=3 below usb-storage s

Re: [linux-usb-devel] Is Linux can support multi-slot mass storage card reader??

2002-04-15 Thread Sancho Dauskardt
>Is Linux can support multi-slot mass storage card reader?? >Because I have a multi-slot mass storage reader. >When I plug in the device on Linux Red Hat 7.2 (kernel is 2.4.9) >I can find the device correct at var/log/message but when I mount the >device it is fail. >So I want to know is Linux ca

Re: [linux-usb-devel] How to reenumerate a usb device

2002-04-15 Thread Jörg Heckenbach
Hi, we do a "rmmod usb-uhci; modprobe usb-uhci" to reconnect our devices. Maybe its dirty, but it works. Bye, Joerg shiju mathew wrote: > > Hello, > I am new to usb. I have a basic question. I am > doing some work on sa1110 board where we have a > usb-client device. It is connected via a

[linux-usb-devel] Re: IDE / SmartMedia

2002-04-15 Thread Andries . Brouwer
From [EMAIL PROTECTED] Mon Apr 15 10:05:40 2002 - drive->using_tcq = 1; That helps, I think. The first boot after deleting this line again crashed, but this time with BUG() in . All usb stuff was compiled in except for usb-storage, which was a module and no

[linux-usb-devel] How to reenumerate a usb device

2002-04-15 Thread shiju mathew
Hello, I am new to usb. I have a basic question. I am doing some work on sa1110 board where we have a usb-client device. It is connected via a usb cable to the usb host controller on a x86 machine. Is there in any way to reenumerate the usb device without pluging out the usb cable since aft

[linux-usb-devel] Is Linux can support multi-slot mass storage card reader??

2002-04-15 Thread 白華貴
Dear Sir: I have question. Is Linux can support multi-slot mass storage card reader?? Because I have a multi-slot mass storage reader. When I plug in the device on Linux Red Hat 7.2 (kernel is 2.4.9) I can find the device correct at var/log/message but when I mount the device it is fail. So I want