Re: [linux-usb-devel] Another Gadget question...

2003-10-04 Thread Miroslaw KLABA
Hello Julian, > I've based my Superh UDC driver on the pxa2xx_udc. The ep0 handling is > different (simpler) but the other endpoints are very similar. I didn't > really look at the net2280 code as it seemed much too complex for my > device, so I hadn't realised that it does queue management i

Re: [linux-usb-devel] ioctl USBDEVFS_DISCONNECT and driver model

2003-10-04 Thread Greg KH
On Sat, Oct 04, 2003 at 07:17:49PM +0200, Oliver Neukum wrote: > Am Samstag, 4. Oktober 2003 18:09 schrieb David Brownell: > > Oliver Neukum wrote: > > > > > > this ioctl calls usb_unbind_interface() directly. It seems to me that this > > > will make the driver model's view inconsistent. > > > >

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

2003-10-04 Thread Patrick Mansfield
On Fri, Oct 03, 2003 at 10:05:52AM -0500, James Bottomley wrote: > Well, the patch isn't quite correct because if it's not going to probe > the cache it should set up a write through cache (or disabled cache) as > the default. Alan's original patch is included in my patch. > Patrick's patch > >

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

2003-10-04 Thread Alan Stern
There haven't been any replies to my suggestion from a week ago http://marc.theaimsgroup.com/?l=linux-scsi&m=106462295800726&w=2 for a way to resolve the mode-sense page 8 problem. One way or another, I wish somebody would do _something_ about this, particularly before 2.6.0-final comes out.

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

2003-10-04 Thread James Bottomley
On Fri, 2003-10-03 at 09:18, Alan Stern wrote: > There haven't been any replies to my suggestion from a week ago > > http://marc.theaimsgroup.com/?l=linux-scsi&m=106462295800726&w=2 > > for a way to resolve the mode-sense page 8 problem. One way or another, I > wish somebody would do _something

[linux-usb-devel] DONATION FOR THE LORD.

2003-10-04 Thread Mrs Serena Jones
From: Mrs Serena Jones PLEASE ENDEAVOUR TO USED IT FOR THE CHILDREN OF GOD. I am the above named person from Kuwait. I am married to Dr.Harry Jones who worked with Kuwait embassy in Ivory Coast for nine yearsbefore he died in the year 2000.We were married for eleven years without a child. He di

[linux-usb-devel] [PATCH 2.4] USB: scanner driver: use static declarations (3/3)

2003-10-04 Thread Henning Meier-Geinitz
Hi, Use static declarations for usb_scanner_init/usb_scanner_exit (Daniele Bellucci). Bye, Henning diff -u -r linux-2.4.23-pre6.device_class/drivers/usb/scanner.c linux-2.4.23-pre6.static/drivers/usb/scanner.c --- linux-2.4.23-pre6.device_class/drivers/usb/scanner.c2003-10-03 12:

[linux-usb-devel] [PATCH]remove stupid check for NULL in devio.c

2003-10-04 Thread Oliver Neukum
Hi, usually this would be too trivial, but is so obviously stupid that people might think that there's some hidden trick in there. We should not check for NULL _after_ following a pointer. Consider it a small tiny step towards cleaning up this code. Regards Oliver You ca

Re: [linux-usb-devel] ioctl USBDEVFS_DISCONNECT and driver model

2003-10-04 Thread Oliver Neukum
Am Samstag, 4. Oktober 2003 18:09 schrieb David Brownell: > Oliver Neukum wrote: > > > > this ioctl calls usb_unbind_interface() directly. It seems to me that this > > will make the driver model's view inconsistent. > > How? I was under the impression that driverfs keeps records of associations

Re: [linux-usb-devel] ioctl USBDEVFS_DISCONNECT and driver model

2003-10-04 Thread David Brownell
Oliver Neukum wrote: this ioctl calls usb_unbind_interface() directly. It seems to me that this will make the driver model's view inconsistent. How? IMHO this ioctl, is a layering violation and should be replaced in driverfs. It's not a layering violation to let user-mode software override polici

Re: [linux-usb-devel] Re: usb 2.0 card reader keeps moving to next /dev/sd

2003-10-04 Thread Alan Stern
On Sat, 4 Oct 2003, Smurf wrote: > The relevant part of the log is: > > Oct 4 11:16:44 linux kernel: usb-storage: -- dissociate_dev > Oct 4 11:16:44 linux kernel: CLASS: Unregistering class device. ID = '0:0:0:0' > Oct 4 11:16:44 linux kernel: kset_hotplug > Oct 4 11:16:44 linux kernel: fill_

[linux-usb-devel] ioctl USBDEVFS_DISCONNECT and driver model

2003-10-04 Thread Oliver Neukum
Hi, this ioctl calls usb_unbind_interface() directly. It seems to me that this will make the driver model's view inconsistent. IMHO this ioctl, is a layering violation and should be replaced in driverfs. Can I kill it or does it need to be fixed? Greg, I am locking through usbfs with respect to

Re: [linux-usb-devel] Re: usb 2.0 card reader keeps moving to next /dev/sd

2003-10-04 Thread Smurf
Hi, Alan Stern: > In turn, scsi_remove_host() calls class_device_unregister() and > device_del(), and those calls should appear in the debugging log once you > make the changes listed above. Somewhere in there is where the problem > lies, and it may take a little work to track it down exactly.