[linux-usb-devel] Driver

2003-09-23 Thread ZHOU DX
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. I found the hang happens as long as the urbs (bulk) are submitted, even if the stream is not on. (In my code, several urbs are submitted when

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

2003-09-23 Thread Luca Risolia
> First off, nice job. Thanks for sending this, but can you please send > me a patch for 2.6? I need that before I can add this to the 2.4 kernel > tree. Of course :-) > Some minor comments below: > > > +5. Driver installation > > +== > > > > I don't think you need this

Re: [linux-usb-devel] sandisk SDDR-91 usb 2.0 card reader support?

2003-09-23 Thread Stephen J. Gowdy
The device is reporting itself as a USB2 device at 480Mbps. I would be a little surprised that a USB1 device would give 1MB/s (but I guess you said it did), the maximum available is 12Mbps but there are overheads you need to take out of that (generally you max you can see is 9Mbps which is a little

Re: [linux-usb-devel] sandisk SDDR-91 usb 2.0 card reader support?

2003-09-23 Thread Mr. Mailing List
well, if that's the case. there's not much I can do. I would like to verify, if possible, that i'm not doing something wrong on my part. How might i do that, or is it for sure not the reader, but the card? --- "Stephen J. Gowdy" <[EMAIL PROTECTED]> wrote: > Yes. Some cards are faster than other

Re: [linux-usb-devel] sandisk SDDR-91 usb 2.0 card reader support?

2003-09-23 Thread Stephen J. Gowdy
Yes. Some cards are faster than others. On Tue, 23 Sep 2003, Mr. Mailing List wrote: > how do you mean, the 16mb card itself? Doesn't that > kind of defeat the purpose of the reader being 2.0?:O > --- "Stephen J. Gowdy" <[EMAIL PROTECTED]> > wrote: > > The bottleneck may the CompactFlash. > > >

Re: [linux-usb-devel] sandisk SDDR-91 usb 2.0 card reader support?

2003-09-23 Thread Mr. Mailing List
how do you mean, the 16mb card itself? Doesn't that kind of defeat the purpose of the reader being 2.0?:O --- "Stephen J. Gowdy" <[EMAIL PROTECTED]> wrote: > The bottleneck may the CompactFlash. > > On Tue, 23 Sep 2003, Mr. Mailing List wrote: > > > I just copied the images using MToolsFM, but I

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

2003-09-23 Thread Andries . Brouwer
From [EMAIL PROTECTED] Tue Sep 23 16:05:21 2003 > Also "conservative mode" sounds like a flag that describes some > way of being broken. > > On the other hand "hot-pluggable" describes a positive asset, > and if we can conclude from that that it is unnecessary to ask

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

2003-09-23 Thread Ruud Linders
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 starts working just fine. Unloading the ehci_hcd module doesn't

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

2003-09-23 Thread Linus Torvalds
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 starts

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

2003-09-23 Thread Greg KH
First off, nice job. Thanks for sending this, but can you please send me a patch for 2.6? I need that before I can add this to the 2.4 kernel tree. Some minor comments below: > +5. Driver installation > +== I don't think you need this for the in-kernel documentation :) >

[linux-usb-devel] Re: [PATCH 2.6] USB scanner driver: use static declarations

2003-09-23 Thread Greg KH
On Mon, Sep 22, 2003 at 04:47:15PM +0200, Henning Meier-Geinitz wrote: > Hi, > > Use static declarations for usb_scanner_init/usb_scanner_exit > (Daniele Bellucci). Applied, thanks. greg k-h --- This sf.net email is sponsored by:ThinkGeek We

[linux-usb-devel] Re: [PATCH 2.6] USB scanner driver: balancing usb_register_dev/usb_deregister_dev

2003-09-23 Thread Greg KH
On Mon, Sep 22, 2003 at 04:50:20PM +0200, Henning Meier-Geinitz wrote: > Hi, > > Balancing usb_register_dev/usb_deregister_dev in probe_scanner when a > fail condition occours (Daniele Bellucci). Applied, thanks. greg k-h --- This sf.net ema

[linux-usb-devel] Re: PATCH (as112) Re: USB APM suspend

2003-09-23 Thread Greg KH
On Mon, Sep 22, 2003 at 11:09:16AM -0400, Alan Stern wrote: > > Meanwhile, here's a simple patch to improve logging during suspend and > resume. Greg, if David approves please apply it. Applied, thanks. greg k-h --- This sf.net email is spo

Re: [linux-usb-devel] Re: [PATCH 2.6] USB scanner driver: added USB_CLASS_CDC_DATA

2003-09-23 Thread Greg KH
On Mon, Sep 22, 2003 at 10:08:29PM +0200, Henning Meier-Geinitz wrote: > Hi, > > On Mon, Sep 22, 2003 at 12:33:05PM -0700, Greg KH wrote: > > On Mon, Sep 22, 2003 at 04:52:53PM +0200, Henning Meier-Geinitz wrote: > > > @@ -961,6 +962,7 @@ > > > > > > if (interface[0].desc.bInterfaceClass != U

[linux-usb-devel] Re: [patch 2.6.0-test5] usb "ether" net gadget

2003-09-23 Thread Greg KH
On Tue, Sep 23, 2003 at 03:11:35PM -0700, David Brownell wrote: > Minor updates: > > - Reduce memory utilization in two ways: > > * Dynamically, by pre-allocating all the usb_request objects > that will be used; if the pre-allocated ones are in use, > then tx will throttle down.

[linux-usb-devel] Re: [PATCH 2.6] USB scanner driver: new device ids

2003-09-23 Thread Greg KH
On Mon, Sep 22, 2003 at 04:51:35PM +0200, Henning Meier-Geinitz wrote: > Hi, > > Added vendor/product ids for Canon, HP, Microtek, Mustek, Siemens, > UMAX, and Visioneer scanners. Applied, thanks. greg k-h --- This sf.net email is sponsored b

[linux-usb-devel] Re: [PATCH 2.6] USB scanner driver: report back return codes

2003-09-23 Thread Greg KH
On Mon, Sep 22, 2003 at 04:49:00PM +0200, Henning Meier-Geinitz wrote: > Hi, > > Report back return codes of usb_register and usb_usbmit_urb instead of > -1 or -ENONMEM (Daniele Bellucci). Applied, thanks. greg k-h --- This sf.net email is s

[linux-usb-devel] Re: [patch 2.6.0-test5] usb gadgetfs updates

2003-09-23 Thread Greg KH
On Tue, Sep 23, 2003 at 02:54:38PM -0700, David Brownell wrote: > Some small updates: > > - Sometimes read requests can be satisfied directly from >the OUT fifo. This fixes a bug where the return code >from usb_ep_queue() overwrite the transfer status, which >in that case was set _be

[linux-usb-devel] [patch 2.6.0-test5] usb gadgetfs updates

2003-09-23 Thread David Brownell
Some small updates: - Sometimes read requests can be satisfied directly from the OUT fifo. This fixes a bug where the return code from usb_ep_queue() overwrite the transfer status, which in that case was set _before_ that call returned. (Synchronous behavior; not the usual async comp

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

2003-09-23 Thread David Brownell
Alan Stern wrote: On Fri, 19 Sep 2003, David Brownell wrote: The tricky bits are recovering from "USB suspend" states ... which I suspect usbcore should help with, to minimize the amount of code to write into each HCD. Can't any hub suspend its ports? There are things that are specific to root h

[linux-usb-devel] [patch 2.6.0-test5] usb "ether" net gadget

2003-09-23 Thread David Brownell
Minor updates: - Reduce memory utilization in two ways: * Dynamically, by pre-allocating all the usb_request objects that will be used; if the pre-allocated ones are in use, then tx will throttle down. This behaves better under heavy load. * Statically, by pre-allocati

Re: [linux-usb-devel] sandisk SDDR-91 usb 2.0 card reader support?

2003-09-23 Thread Stephen J. Gowdy
The bottleneck may the CompactFlash. On Tue, 23 Sep 2003, Mr. Mailing List wrote: > I just copied the images using MToolsFM, but I did > not, at all, see a difference in speed from my usb > 1.1 device. > > > T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 > Spd=480 MxCh= 0 > D: Ver= 2.00 Cls=

Re: [linux-usb-devel] sandisk SDDR-91 usb 2.0 card reader support?

2003-09-23 Thread Mr. Mailing List
I just copied the images using MToolsFM, but I did not, at all, see a difference in speed from my usb 1.1 device. T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=0781 ProdID=9191 Rev= 1.19 S: Manufacturer

[linux-usb-devel] Driver confusion...

2003-09-23 Thread Neil Whelchel
> Do I put the driver in the input directory and use the hid-core functions, > or do I put it in the serial directory and use the usb-serial functions? > > At the time being, I have it in the serial directory and I am using the > usb-serial functions. I added a few lines of code to the hid-core.c f

Re: [linux-usb-devel] Driver confusion...

2003-09-23 Thread Greg KH
On Mon, Sep 22, 2003 at 05:44:49PM -0700, Neil Whelchel wrote: > Hello, > I am in the middle of writing a driver for the Cypress M8. This is a > way-too-goofy USB to serial converter. > I have a fairly clear understanding of what I need to do to make it work, > but here is where I run into issues..

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

2003-09-23 Thread Linus Torvalds
On Tue, 23 Sep 2003 [EMAIL PROTECTED] wrote: > > No, the design goal of "hot-pluggable" is that it indicates that > the device can disappear any moment. Nothing at all about SCSI > compliance. You're talking past each other. Server people think that "hot-pluggable" means "I will tell the system

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

2003-09-23 Thread Alan Stern
On 23 Sep 2003, James Bottomley wrote: > On Tue, 2003-09-23 at 09:37, [EMAIL PROTECTED] wrote: > > > Pulling out a device while it is actively reading or writing > > will probably break something. But if a device is hot-pluggable > > it should be OK to pull it out when it has been inactive for >

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

2003-09-23 Thread James Bottomley
On Tue, 2003-09-23 at 09:37, [EMAIL PROTECTED] wrote: > No, the design goal of "hot-pluggable" is that it indicates that > the device can disappear any moment. Nothing at all about SCSI > compliance. Actually, then, these are two issues...hotplug is being worked on separately at the moment. I tho

Re: [linux-usb-devel] sandisk SDDR-91 usb 2.0 card reader support?

2003-09-23 Thread Stephen J. Gowdy
You'll get something like this; [denise] ~ > usbtree /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=usb-uhci/2p, 12M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-hcd/5p, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=usb-ohci/2p, 12M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driv

Re: [linux-usb-devel] sandisk SDDR-91 usb 2.0 card reader support?

2003-09-23 Thread Mr. Mailing List
just check whether or not it says it's using ehci, or it will say something about usb 2.0?(i ask this because i don't have access to my linux machine at the moment, but am on an XP machine). thanks --- "Stephen J. Gowdy" <[EMAIL PROTECTED]> wrote: > THere is a script here that'll tell you; > >

[linux-usb-devel] test5 and cdc-acm problems

2003-09-23 Thread Mr. Mailing List
I know in test4 it was necessary to apply a patch, is it still necessary in test5? with 2.6test5, on boot hub 1-0:0: new USB device on port 1, assigned address 2 drivers/usb/class/cdc-acm.c: ttyACM0: USB ACM device Unable to handle kernel NULL pointer dereference at virtual address 0040

Re: [linux-usb-devel] sandisk SDDR-91 usb 2.0 card reader support?

2003-09-23 Thread Stephen J. Gowdy
THere is a script here that'll tell you; http://www.linux-usb.org/usbtree (this just scans /proc/bus/usb/devices but formats in an easy way to see). On Tue, 23 Sep 2003, Mr. Mailing List wrote: > sorry, that was dumb of me, but how can I make sure > it's transferring at usb 2.0 speeds as oppose

Re: [linux-usb-devel] sandisk SDDR-91 usb 2.0 card reader support?

2003-09-23 Thread Mr. Mailing List
sorry, that was dumb of me, but how can I make sure it's transferring at usb 2.0 speeds as opposed to 1.1? --- "Stephen J. Gowdy" <[EMAIL PROTECTED]> wrote: > It says it is sdb. > > On Tue, 23 Sep 2003, Mr. Mailing List wrote: > > > scsi5 : SCSI emulation for USB Mass Storage > devices > > Ve

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

2003-09-23 Thread James Bottomley
On Mon, 2003-09-22 at 14:56, [EMAIL PROTECTED] wrote: > I have seen proposals around here for flags that are far too specific > (like "do not ask for mode page 8"). If we go to that level of detail > then we'll soon have fifty flags. > Black lists, and flags that describe various ways of being brok

[linux-usb-devel] re: sandisk SDDR-91 usb 2.0 card reader support?

2003-09-23 Thread Mr. Mailing List
sorry, forgot to say it's plugged into a usb 2.0 pci card. i have modules for uhci(for motherboard's 2 1.1 ports), ohci(i believe the card is ohci), and ehci. thanks. __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebui

Re: [linux-usb-devel] sandisk SDDR-91 usb 2.0 card reader support?

2003-09-23 Thread Stephen J. Gowdy
It says it is sdb. On Tue, 23 Sep 2003, Mr. Mailing List wrote: > scsi5 : SCSI emulation for USB Mass Storage devices > Vendor: Generic Model: STORAGE DEVICERev: 0119 > Type: Direct-Access ANSI SCSI > revision: 02 > Attached scsi removable disk sdb at scsi5, chann

[linux-usb-devel] sandisk SDDR-91 usb 2.0 card reader support?

2003-09-23 Thread Mr. Mailing List
scsi5 : SCSI emulation for USB Mass Storage devices Vendor: Generic Model: STORAGE DEVICERev: 0119 Type: Direct-Access ANSI SCSI revision: 02 Attached scsi removable disk sdb at scsi5, channel 0, id 0, lun 0 Attached scsi generic sg1 at scsi5, channel 0, id 0, lun 0

[linux-usb-devel] ÃֽŠPDA ÇÚµåÆù ºÎ´ã¾øÀÌ º¸»óÆÇ¸Å ¹ÞÀ¸½Ê½Ã¿ä.

2003-09-23 Thread KTF
Title: POZ - PDA ■  대용량 배터리(1400mAh) 사용으로 인한 더욱 길어진 사용 시간 ■  우수한 확장성을 통한 다양한 기능(멀티미디어, 디지털 카메라, GPS) ■  첨단 기술이 만들어 낸 소형(129.5*70.5