Re: [linux-usb-devel] [patch 2.4.23] usb gadget support for 2.4 (0/5)

2003-09-24 Thread Robert Schwebel
On Wed, Sep 10, 2003 at 02:09:37PM -0700, David Brownell wrote: > I'm pleased to see the level of interest in the "gadget" API > that's coming from developers using Linux 2.4 systems. So > here's a version to merge into the main tree, which should > make it simpler to use and patch. That indeed w

[linux-usb-devel] unneeded SubClass and Protocol entries in unusual_devs.h

2003-09-24 Thread Phil Dibowitz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 My kernel asked me to send this to this address, so I am. =) 2.6.0-test5. Sep 24 23:12:33 rider kernel: hub 2-0:0: 2 ports detected Sep 24 23:12:33 rider usb.agent[16209]: missing kernel or user mode driver usbcore Sep 24 23:12:33 rider kernel: hub 1-0

Re: [linux-usb-devel] Driver

2003-09-24 Thread David Brownell
ZHOU DX wrote: In my completion handler, I called usb_clear_halt if urb->status<0. When the cable is unplugged, the completion handler is called with urb->status = -EOVERFLOW (why is it called before "disconnect"?), The disconnect() callback is issued when khubd gets around to it. Which will be o

[linux-usb-devel] Re: [patch 2.6.0-test5] usb_set_configuration() rework (v2)

2003-09-24 Thread David Brownell
Greg KH wrote: On Wed, Sep 24, 2003 at 06:04:38PM -0700, David Brownell wrote: /* Decrement the reference count, it'll auto free everything when */ /* it hits 0 which could very well be now */ + /* FIXME the decrement in device_unregister() should suffice ... */ usb_p

[linux-usb-devel] Re: [patch 2.6.0-test5] usb_set_configuration() rework (v2)

2003-09-24 Thread Greg KH
On Wed, Sep 24, 2003 at 06:04:38PM -0700, David Brownell wrote: > >>/* Decrement the reference count, it'll auto free everything when */ > >>/* it hits 0 which could very well be now */ > >>+ /* FIXME the decrement in device_unregister() should suffice ... */ > >>usb_put_dev(dev); > >

Re: [linux-usb-devel] Re: [PATCH 2.4.22] W996[87]CF driver for Linux 2.4

2003-09-24 Thread Mark McClelland
Greg KH wrote: Any reason why you are using ioctls here and not just using the procfs (and for 2.6, sysfs?) ioctls will not be portable to other platforms unless you provide the 32-64 bit thunking layer, so no one with x86-64 boxes will be able to use your driver. 'ovcamchip' is the i2c-ker

[linux-usb-devel] [Fwd: ]

2003-09-24 Thread Daniel Nylander
Hi there I got this errormessage when connecting a Logitech Headset Stereo 20 USB Interesting information for you? Sep 24 19:00:03 morsan kernel: hub.c: new USB device 00:07.2-1, assigned address 5 Sep 24 19:00:03 morsan kernel: usbaudio: device 5 audiocontrol interface 0 has 1 input and 1 outpu

[linux-usb-devel] Re: [patch 2.6.0-test5] usb_set_configuration() rework (v2)

2003-09-24 Thread David Brownell
Greg KH wrote: On Wed, Sep 24, 2003 at 03:17:36PM -0700, David Brownell wrote: Please merge. Nice, I've applied this and will beat on it for a few days. Thanks! Oh, I removed one comment you added: /* Decrement the reference count, it'll auto free everything when */ /* it hit

Re: [linux-usb-devel] Re: USB storage problems on OHCI..

2003-09-24 Thread Linus Torvalds
On Wed, 24 Sep 2003, Ruud Linders wrote: > > > > Is this different from a plain kernel _without_ the patch? > > No difference. Ok. I committed my version as "better than what is there now", but clearly it's not good enough. So we should really add code to sd_read_cache_type() to default to wr

Re: [linux-usb-devel] Re: USB storage problems on OHCI..

2003-09-24 Thread Ruud Linders
Linus Torvalds wrote: On Tue, 23 Sep 2003, Ruud Linders wrote: I tried the patch but it doesn't work for me using an USB-2 Memory stick "DiskonKey" on an USB-2 port (with uhci_hcd & ehci_hcd loaded). After a 3 minute time-out I get "SCSI device sda: drive cache: write through" and the device

[linux-usb-devel] Re: [patch 2.6.0-test5] usb_set_configuration() rework (v2)

2003-09-24 Thread Greg KH
On Wed, Sep 24, 2003 at 03:17:36PM -0700, David Brownell wrote: > > Please merge. Nice, I've applied this and will beat on it for a few days. Oh, I removed one comment you added: > /* Decrement the reference count, it'll auto free everything when */ > /* it hits 0 which could very w

Re: [linux-usb-devel] [patch 2.6.0-test5] usb_set_configuration() rework (v2)

2003-09-24 Thread David Brownell
*/ dev->state = USB_STATE_NOTATTACHED; + down(&dev->serialize); dev_info (&dev->dev, "USB disconnect, address %d\n", dev->devnum); It seems to me that dev->state should be protected by the semaphore here. Why? The actual device state is already "not attached". The

Re: [linux-usb-devel] Driver

2003-09-24 Thread ZHOU DX
> Hook up a serial console, likely you'll see a kernel > oops trace appear on that console. Analyse it with > ksymoops on 2.4 kernels; 2.6 is easier to develop > with > since "kksymoops" is built in. Thanks. I will follow your suggestion in the near future. Last night, I found the problem causi

Re: [linux-usb-devel] more on STMP3400, looking for suggestions.

2003-09-24 Thread Oliver Neukum
> So i decided to issue the same commands under linux using a skeleton driver i > have written (a char device which send and receive data from the device) and > i have got a different answer! which is: > 02 00 00 00 00 00 01 01 00 01 00 00 01 01 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Re: [linux-usb-devel] [patch 2.6.0-test5] usb_set_configuration() rework (v2)

2003-09-24 Thread Oliver Neukum
Am Donnerstag, 25. September 2003 00:17 schrieb David Brownell: > --- 1.140/drivers/usb/core/usb.cTue Sep 16 03:47:19 2003 > +++ edited/drivers/usb/core/usb.c Tue Sep 23 18:12:16 2003 > @@ -898,6 +898,7 @@ > * this device will fail. > */ > dev->state = USB_ST

[linux-usb-devel] Re: [PATCH 2.4] UPDATED ax8817x support for usbnet and ethtool_ops support

2003-09-24 Thread David T Hollis
Greg KH wrote: On Fri, Sep 12, 2003 at 01:32:44PM -0400, David T Hollis wrote: This is a cleaned up and functioning patch from earlier that adds ASIX ax8817x support to the 2.4 usbnet.c driver. It also adds ethtool_ops support to usbnet so that specific drivers can easily extend or override

[linux-usb-devel] more on STMP3400, looking for suggestions.

2003-09-24 Thread Willy Gardiol
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -- Hallo to all, I am sniffing the USB bus under windows i had been able to collect some informations, i want to share some ideas and get your suggestions. The windows driver start its comunications with the mp3 player sending this two commands,

Re: [linux-usb-devel] gadget - NetChip Evelyn Board (net2280)

2003-09-24 Thread David Brownell
Alex Sanks wrote: Yes, the Evelyn board has a Net2280 which is one of devices supported by the gadget driver. In fact a couple weeks ago I was working on a mass storage driver for it, until Andy beat me to it. I will say that the 2280 driver in the Gadget tree is not perfect yet. There is a b

Re: [linux-usb-devel] Driver

2003-09-24 Thread David Brownell
When the system hangs, the "Caps lock" and "Scroll lock" lights on the keyboard turn on. After reboot, I can not find any trace from the syslog. Can anyone give me some hints about how to debug this kind of situation and which part of the code I should pay more attention to ? Thanks. Hook

[linux-usb-devel] [patch 2.6.0-test5] usb_set_configuration() rework (v2)

2003-09-24 Thread David Brownell
This is the latest update of the patch resolving bugs in how device configurations were reflected in the driver model. It addresses the last significant problems I know about in that area. - Moves code around so that usb_set_configuration() updates sysfs to reflect the current configuratio

[linux-usb-devel] Re: PATCH 2.4: Pad UFI commands to 12 bytes with zeros

2003-09-24 Thread Greg KH
On Sun, Sep 07, 2003 at 03:11:03PM -0700, Matthew Dharm wrote: > This patch from Alan Stern zero-pads commands using the UFI protocol. This > patch exists in 2.5, but never made it into 2.4 > > Not all devices require this padding, but some do. > > Greg, please apply. Applied, thanks. greg k-h

[linux-usb-devel] Re: [PATCH 2.4] USB speedtouch: neater sanity check

2003-09-24 Thread Greg KH
On Thu, Sep 11, 2003 at 03:00:54PM +0200, Duncan Sands wrote: > On Wednesday 10 September 2003 18:55, Greg KH wrote: > > On Wed, Sep 10, 2003 at 12:50:04PM +0200, Duncan Sands wrote: > > > speedtch.c |7 +-- > > > 1 files changed, 1 insertion(+), 6 deletions(-) > > > > Rejected the 2.4 ver

[linux-usb-devel] Re: [PATCH 2.4] New email address

2003-09-24 Thread Greg KH
On Wed, Sep 10, 2003 at 12:51:11PM +0200, Duncan Sands wrote: > CREDITS|2 +- > MAINTAINERS|2 +- > drivers/usb/speedtch.c |4 ++-- > 3 files changed, 4 insertions(+), 4 deletions(-) Applied, thanks. greg k-h

[linux-usb-devel] Re: [PATCH usb-2.4 & usb-2.5] ftdi_sio - new vid/pid for OCT US101 USB to RS-232 converter

2003-09-24 Thread Greg KH
On Sun, Sep 21, 2003 at 02:53:43PM +0100, Ian Abbott wrote: > Hi folks, > > Here are a couple of patches against a copy of Greg's usb-2.4 and > usb-2.5 bk trees to add a VID/PID for Omnidirectional Control > Technology's US101 USB to RS-232 converter. This has also been > rebadged by Dick Smit

Re: [linux-usb-devel] Driver

2003-09-24 Thread Greg KH
On Tue, Sep 23, 2003 at 10:37:48PM -0700, ZHOU DX wrote: > Hi, > > I am working on an USB2 camera driver on Linux RH9, > kernel 2.4.20-xx. The driver works OK except that it > hangs the kernel when I hot-unplug the cable. Without seeing the source for your driver, it is very difficult to determi

[linux-usb-devel] Re: [PATCH 2.4] USB speedtouch: bump the version number

2003-09-24 Thread Greg KH
On Wed, Sep 10, 2003 at 12:52:02PM +0200, Duncan Sands wrote: > speedtch.c |4 +++- > 1 files changed, 3 insertions(+), 1 deletion(-) Applied, thanks. greg k-h --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http:

[linux-usb-devel] Re: [PATCH 2.4] UPDATED ax8817x support for usbnet and ethtool_ops support

2003-09-24 Thread Greg KH
On Fri, Sep 12, 2003 at 01:32:44PM -0400, David T Hollis wrote: > This is a cleaned up and functioning patch from earlier that adds ASIX > ax8817x support to the 2.4 usbnet.c driver. It also adds ethtool_ops > support to usbnet so that specific drivers can easily extend or override > ethtool op

Re: [linux-usb-devel] gadget - NetChip Evelyn Board (net2280)

2003-09-24 Thread Alex Sanks
Yes, the Evelyn board has a Net2280 which is one of devices supported by the gadget driver. In fact a couple weeks ago I was working on a mass storage driver for it, until Andy beat me to it. I will say that the 2280 driver in the Gadget tree is not perfect yet. There is a bug lurking in it t

Re: [linux-usb-devel] gadget - NetChip Evelyn Board (net2280)

2003-09-24 Thread David Brownell
[EMAIL PROTECTED] wrote: hi again, does the usb/gadget/ framework work with this NetChip Evelyn board? http://www.netchip.com/pdf_files/evelyn.pdf that is, if I plug this board into a linux PC (x86) with a PCI slot, can the PC behave like an usb slave? wondering if I can use this to ``get used

Re: [linux-usb-devel] uhci-hcd freeze issues

2003-09-24 Thread Alan Stern
On Sun, 14 Sep 2003, Gorik Van Steenberge wrote: > Hello, > > > This problem occurs to me in -test4-mm5, -test4-mm6 and -test5. It does > not occur in -test4-mm4. > > When booting up my system freezes and requires a reset after the > following messages appear: > > hub 1-0:0: USB hub found > hu

[linux-usb-devel] ESD tests

2003-09-24 Thread Bernd Porr
Hi! This might be of general interest: yesterday our data aquisition board for USB (for LINUX/comedi) passed the EMC tests. In particular it was interesting how the board reacted to the 8kV sparks to its connectors and 500V bursts to its inputs/outputs. It was connected to a SONY VAIO. Module

[linux-usb-devel] gadget - NetChip Evelyn Board (net2280)

2003-09-24 Thread kkonaka
hi again, does the usb/gadget/ framework work with this NetChip Evelyn board? http://www.netchip.com/pdf_files/evelyn.pdf that is, if I plug this board into a linux PC (x86) with a PCI slot, can the PC behave like an usb slave? wondering if I can use this to ``get used to'' things... (if not,

[linux-usb-devel] Re: [patch 2.4.23] usb gadget support for 2.4 (0/5)

2003-09-24 Thread Greg KH
On Wed, Sep 10, 2003 at 02:09:37PM -0700, David Brownell wrote: > Hi, > > I'm pleased to see the level of interest in the "gadget" API > that's coming from developers using Linux 2.4 systems. So > here's a version to merge into the main tree, which should > make it simpler to use and patch. > >

[linux-usb-devel] Re: [PATCH 2.4.22] W996[87]CF driver for Linux 2.4

2003-09-24 Thread Greg KH
On Wed, Sep 24, 2003 at 04:05:40AM +0200, Luca Risolia wrote: > > > +5. Driver installation > > > +== > > > > > > > > I don't think you need this for the in-kernel documentation :) > > "Driver installation" gives informations for configuring the kernel too. > It is appropria

Re: [linux-usb-devel] Re: UHCI power management patch (as92) for 2.6.0

2003-09-24 Thread David Brownell
Alan Stern wrote: Global suspend is the UHCI equivalent of what you say EHCI and OHCI do automatically: the controller doesn't run and it doesn't do DMA. That's I actually meant that the HCDs do that. Once those parts of the schedule are turned off, the HCDs won't DMA them. But OK, now I know

Re: [linux-usb-devel] Re: USB storage problems on OHCI..

2003-09-24 Thread James Bottomley
On Tue, 2003-09-23 at 10:23, Alan Stern wrote: > Is there any way to notify the system that you are about to unplug a > drive? It seems to me that the best approach is to flush the cache on an > unmount. People naturally assume that it's safe to unplug a device once > it has been unmounted, a

Re: [linux-usb-devel] Re: UHCI power management patch (as92) for 2.6.0

2003-09-24 Thread Alan Stern
On Tue, 23 Sep 2003, David Brownell wrote: > Alan Stern wrote: > > > > Sure, a hub (including a virtual root hub) can suspend any of its ports, > > independently. But there's currently no provision in the system for doing > > that. Besides, I think there's a difference between telling an HC t

Re: [linux-usb-devel] usb-storage iomega key

2003-09-24 Thread Alan Stern
On Wed, 24 Sep 2003, Yannick Beynet wrote: > Hi ! > I'm using an iomega usb key (128 Mo) > My kernel is a 2.6.0-test5 > While hotplugging I've got these messages in syslog : > " > hub 1-0:0: debounce: port 2: delay 100ms stable 4 status 0x101 > Sep 24 14:13:46 chimaera kernel: hub 1-0:0: new USB d

[linux-usb-devel] usb-storage iomega key

2003-09-24 Thread Yannick Beynet
Hi ! I'm using an iomega usb key (128 Mo) My kernel is a 2.6.0-test5 While hotplugging I've got these messages in syslog : " hub 1-0:0: debounce: port 2: delay 100ms stable 4 status 0x101 Sep 24 14:13:46 chimaera kernel: hub 1-0:0: new USB device on port 2, assigned address 3 Sep 24 14:13:46 chima

[linux-usb-devel] SmartMedia specifications?

2003-09-24 Thread [EMAIL PROTECTED]
Hallo to all, i am the one working on the STMPL3400 mp3 player chip, so far i had no luck in finding any data on the chip. Sniffing the USB bus under windows i had been able to collect some informations, i want to share some ideas with you. The device seems to communicate only with bulk transf