[linux-usb-devel] EHCI Host not enumerating device

2006-05-16 Thread rakesh kn
Hi all, We are testing EHCI driver for ARC based controller core on a ARM 926 board. The platform glue has been written. The driver is compiled to the kernel . When the kernel boots up , the driver is loaded. We have enabled USB_DEBUG and then going through the prints, its is observed that the

[linux-usb-devel] [PATCH] Fix dead lock in usbtest

2006-05-16 Thread Franck Bui-Huu
ctrl_complete functions acquires ctx-lock and tries to unlink all queued urbs in case of errors through usb_unlink_urb func. In its turn usb_unlink_urb calls, through the hcd driver, usb_hcd_giveback_urb which calls ctrl_complete again. At this time, ctx-lock is already taken by the same function.

[linux-usb-devel] Re: [PATCH/RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver v2

2006-05-16 Thread Jaya Kumar
On 5/15/06, Oliver Neukum [EMAIL PROTECTED] wrote: Am Montag, 15. Mai 2006 10:49 schrieb [EMAIL PROTECTED]: +urb-status = 0; +urb-actual_length = 0; These are not needed. Indeed you should never write to those fields. Regards Oliver I see. Good point. I ought to

[linux-usb-devel] [PATCH] Fix dead lock in usbtest

2006-05-16 Thread Franck Bui-Huu
ctrl_complete functions acquires ctx-lock and tries to unlink all queued urbs in case of errors through usb_unlink_urb func. In its turn usb_unlink_urb calls, through the hcd driver, usb_hcd_giveback_urb which calls ctrl_complete again. At this time, ctx-lock is already taken by the same

[linux-usb-devel] Re: [PATCH/RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver v2

2006-05-16 Thread Jaya Kumar
On 5/15/06, Jaya Kumar [EMAIL PROTECTED] wrote: drivers/usb/media % egrep urb-status.*= *.c snip konicawc.c:urb-status = 0; se401.c:urb-status=0; stv680.c: urb-status = 0; usbvideo.c: urb-status = 0; w9968cf.c: urb-status = 0; I guess since usb_submit_urb also

Re: [linux-usb-devel] ehci-sched.c questions

2006-05-16 Thread Christopher Montgomery
On 5/13/06, David Brownell [EMAIL PROTECTED] wrote: On Thursday 11 May 2006 8:49 am, Christopher Montgomery wrote: I also forgot the example of OHCI, which appears to do some/all of the actual intraframe scheduling in hardware. Is it just sending out transaction packets in the order they're

[linux-usb-devel] tcp over cdc_subset

2006-05-16 Thread Benedikt Sauter
Hello, i have got a really stupid question. I build a own device that is identified successfully from my linux as cdc_subset. I can send over the mac address RAW Ethernet Frames with my content to the device. But i don't know how i can send IP,ICMP and so on over this connection? I will

[linux-usb-devel] [PATCH] Fix a deadlock in usbtest

2006-05-16 Thread Franck Bui-Huu
ctrl_complete functions acquires ctx-lock and tries to unlink all queued urbs in case of errors through usb_unlink_urb func. In its turn usb_unlink_urb calls, through the hcd driver, usb_hcd_giveback_urb which calls ctrl_complete again. At this time, ctx-lock is already taken by the same

Re: [linux-usb-devel] ehci-sched.c questions

2006-05-16 Thread Christopher Montgomery
On 5/12/06, David Brownell [EMAIL PROTECTED] wrote: Let me repeat that: TT scheduling and highspeed scheduling interfere with each other. You can't perform one in ignorance of the other. I believe we are vehemently agreeing with one another :-) Correct, but the reason we need to shift in

[linux-usb-devel] [PATCH 08/16] USB: ftdi_sio: Add support for HCG HF Dual ISO RFID Reader

2006-05-16 Thread Greg KH
From: Ian Abbott [EMAIL PROTECTED] This patch adds support for ACG Identification Technologies GmbH's HF Dual ISO Reader (an RFID tag reader) to the ftdi_sio driver's device ID table. The product ID was supplied by anotonios (anton at goto10 dot org) on the ftdi-usb-sio-devel list and

[linux-usb-devel] Re: [PATCH/RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver

2006-05-16 Thread Oliver Neukum
Am Sonntag, 14. Mai 2006 16:11 schrieb [EMAIL PROTECTED]: +   if (cam-scratch) +   kfree(cam-scratch); You can do that unconditionally. Regards Oliver

[linux-usb-devel] [PATCH] usbhid: automatically set HID_QUIRK_NOGET for keyboards and mice

2006-05-16 Thread Alan Stern
Greg: It seems to be relatively common for USB keyboards and mice to dislike being polled for reports. Since there's no need to poll a keyboard or a mouse, this patch (as685) automatically sets the HID_QUIRK_NOGET flag for devices that advertise themselves as either sort of device with boot

[linux-usb-devel] Problem sending to Bulk Out Endpoint

2006-05-16 Thread Florian Echtler
Hello everybody, I'm currently trying to write a rudimentary driver for the NaturalPoint Optitrack cameras (they directly output thresholded 1-bit video at 120 FPS, are infrared-only and intended for tracking applications). I have obtained some traces under WinXP with SnoopyPro and took the

[linux-usb-devel] [PATCH] UHCI: Common result routine for Control/Bulk/Interrupt

2006-05-16 Thread Alan Stern
Greg: This patch (as679) combines the result routine for Control URBs with the ruotine for Bulk/Interrupt URBs. Along the way I eliminated the debugging printouts for Control transfers unless the debugging level is set higher than 1. I also eliminated a long-unused (#ifdef'ed-out) section

[linux-usb-devel] [PATCH/RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver v3

2006-05-16 Thread jayakumar . video
Hi Greg KH, USB folk, kernel folk, Appended is v3 of my patch adding a usbvideo driver for the Logitech Quickcam Messenger USB webcam. This patch is against 2.6.16.5. The corrections are as follows: (Thanks again to Oliver Neukum for the review and suggestions) - removal of unnecessary

[linux-usb-devel] Usb hangs during small and large file transfer

2006-05-16 Thread Vivek Dharmadhikari
Hello All I have ported linux 2.6.12 USB driver to 200MHz MIPS SOC with synopsys USB 2.0 block. The USB block is NOT interfaced using PCI therefore I used platform glue structure to port the driver. The driver is now working. I am facing issues when using a 2.0 external HARD disk or flash

[linux-usb-devel] 发票

2006-05-16 Thread 江生
财务主管: 你好!深圳市安信达财务代理有限公司可代开国税地税发票,税率优惠,发票验证后付款。 如有需要请来电详谈! 增值税的点数为7-6%;普通的为2-1%;海关为5-4% 建筑安装、广告、运输等其他服务行业的为2-1% 联系人 :江生 电话 :13632738095 E-Mail [EMAIL PROTECTED] 顺祝 商�w --- Using

[linux-usb-devel] About SET_CONFIGURATION at file_storage.c

2006-05-16 Thread Peter Chen
Hi,all When i recive SET_CONFIGURATION at SETUP status,i enter stardard_setup_req,but my return value is alway DELAYED_STATUS. Is it normal? And my udc is full speed device,but the host still send get DEVICE_QUALIFIER descriptor.Is it right? And i will recive get STRING descriptor many times(

[linux-usb-devel] I have puzzled about usb_request at udc driver

2006-05-16 Thread Peter Chen
Hi,all When i develop udc driver,i can assign some values for the struct of usb_request through fsg-setup(file_storage.c) at bus enumeration But,as far as other ep's tx/rx are conterned,how to ensure the req is not NULL when the other ep's interrupt comes.Usually,we see req =

Re: [linux-usb-devel] [PATCH] Fix dead lock in usbtest

2006-05-16 Thread David Brownell
You know, you should NOT be resending a patch every few hours, the way you have been doing. It's not going to make anyone spend time to review it any sooner, and it _will_ make it more likely that you be put into spam filters... --- Using

Re: [linux-usb-devel] ehci-sched.c questions

2006-05-16 Thread Christopher Montgomery
On 5/11/06, David Brownell [EMAIL PROTECTED] wrote: On Thursday 11 May 2006 8:49 am, Christopher Montgomery wrote: (If so, the isos are occurring in totally random places in a given frame). Nope. Periodic transfers take up the second 90% of the frame (at most). And this doesn't have any

[linux-usb-devel] cdc-acm patch for debug messages

2006-05-16 Thread Alexander V. Lukyanov
Here is a patch to correct debug messages in cdc-acm driver. The problem is that dbg automatically appends \n, so the extra newline character gets logged with wrong level and thus is output to console. --- cdc-acm.c.1 2006-05-14 00:21:57.0 +0400 +++ cdc-acm.c 2006-05-14

[linux-usb-devel] [PATCH] UHCI: Remove non-iso TDs as they are used

2006-05-16 Thread Alan Stern
Greg: This patch (as680) frees non-isochronous TDs as they are used, rather than all at once when an URB is complete. Although not a terribly important change in itself, it opens the door to a later enhancement that will reduce storage requirements by allocating only a limited number of TDs at

[linux-usb-devel] [PATCH 04/16] USB: pegasus fixes (logstorm, suspend)

2006-05-16 Thread Greg KH
From: David Brownell [EMAIL PROTECTED] Teach pegasus to handle a few of the disconnect fault paths without hundreds of usless syslog messages. Handle the carrier check workqueue entry even if the driver has not been opened. Signed-off-by: David Brownell [EMAIL PROTECTED] Signed-off-by: Greg

[linux-usb-devel] Re: [PATCH/RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver

2006-05-16 Thread Oliver Neukum
Am Sonntag, 14. Mai 2006 16:11 schrieb [EMAIL PROTECTED]: +static int qcm_setup_on_open(struct uvd *uvd) +{ +   qcm_sensor_set_gains(uvd, uvd-vpic.hue, +   uvd-vpic.colour, uvd-vpic.contrast); +   qcm_sensor_set_exposure(uvd, uvd-vpic.brightness); +   

[linux-usb-devel] Re: [PATCH/RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver

2006-05-16 Thread Jaya Kumar
On 5/15/06, Oliver Neukum [EMAIL PROTECTED] wrote: Building this data structure on the stack is a shooting offense. I completely agree with you (except for the shooting part :-). I'll make the corrections. In my defense, I copied that from the konicawc code. drivers/usb/media/konicawc.c 921

[linux-usb-devel] Fw: [Bug 6562] New: USB sub-system breaks when RAM upgraded over 2Gb.

2006-05-16 Thread Andrew Morton
Begin forwarded message: Date: Tue, 16 May 2006 04:12:36 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bug 6562] New: USB sub-system breaks when RAM upgraded over 2Gb. http://bugzilla.kernel.org/show_bug.cgi?id=6562 Summary: USB sub-system breaks when RAM upgraded

Re: [linux-usb-devel] ehci-sched.c questions

2006-05-16 Thread David Brownell
On Thursday 11 May 2006 8:49 am, Christopher Montgomery wrote: I also forgot the example of OHCI, which appears to do some/all of the actual intraframe scheduling in hardware. Is it just sending out transaction packets in the order they're queued? Starting 10% into the frame, yes. Recall

[linux-usb-devel] [PATCH/RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver

2006-05-16 Thread jayakumar . video
Hi Greg KH, USB folk, kernel folk, Appended is my patch adding a usbvideo driver for the Logitech Quickcam Messenger USB webcam. This patch is against 2.6.16.5. I had posted previous versions of this at linux-usb-devel and qce-ga:

Re: [linux-usb-devel] ehci-sched.c questions

2006-05-16 Thread Christopher Montgomery
On 5/12/06, David Brownell [EMAIL PROTECTED] wrote: That is, your beef is with the weak TT scheduling, which isn't something that OHCI (or UHCI) does, and which accordingly can't be borrowed from either of those drivers. Vehement agreement. I'm looking to the other approaches and other

[linux-usb-devel] [PATCH 16/16] USB: fix omninet driver bug

2006-05-16 Thread Greg KH
From: Greg Kroah-Hartman [EMAIL PROTECTED] I introduced this way back in 2.6.13 when adding the port lock logic. This device talks out through different ports all at the same time, so the lock logic was wrong, preventing any data from ever being sent properly. Thanks a lot to Bernhard Reiter

Re: [linux-usb-devel] Re: USB 2.0 ehci failure with large amount of RAM (4GB) on x86_64

2006-05-16 Thread Nathan Becker
Thanks for the patch. However, did you not get my very last message? Checking back through my mail logs, I think it might not have been delivered. After claiming that the dma mask fixed the problem, I quickly discovered that the dma was not what did it. Thus the patch you sent does not work.

Re: [linux-usb-devel] About SET_CONFIGURATION at file_storage.c

2006-05-16 Thread Alan Stern
On Tue, 16 May 2006, Peter Chen wrote: And i will recive get STRING descriptor many times( especially STRING_MANUFACTURER),Is it normal? It is normal if the host runs Windows. It's not normal if the host runs Linux (there should be only 3 or 4 string descriptor fetches). Alan

Re: [linux-usb-devel] Re: [PATCH/RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver

2006-05-16 Thread Oliver Neukum
Am Montag, 15. Mai 2006 01:19 schrieb Jaya Kumar: On 5/15/06, Oliver Neukum [EMAIL PROTECTED] wrote: Building this data structure on the stack is a shooting offense. I completely agree with you (except for the shooting part :-). I'll make the corrections. In my defense, I copied that from

Re: [linux-usb-devel] Problem sending to Bulk Out Endpoint

2006-05-16 Thread Alan Stern
On Tue, 16 May 2006, Florian Echtler wrote: Hello everybody, I'm currently trying to write a rudimentary driver for the NaturalPoint Optitrack cameras (they directly output thresholded 1-bit video at 120 FPS, are infrared-only and intended for tracking applications). I have obtained some

Re: [linux-usb-devel] Importance of hcd-power_budget

2006-05-16 Thread Alan Stern
On Tue, 16 May 2006, rakesh kn wrote: Hi , If i set the hcd-power_budget field in the usb_hcd structure to 8mA hcd-power_budget = 8mA, then in the register_root_hub() function , the following line would restrict the root hub power budget to each child to rhdev-bus_mA = min(500u,

[linux-usb-devel] Re: [PATCH/RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver

2006-05-16 Thread Oliver Neukum
Am Sonntag, 14. Mai 2006 16:11 schrieb [EMAIL PROTECTED]: +static int __init qcm_init(void) +{ +   struct usbvideo_cb cbTbl; + +   info(DRIVER_DESC DRIVER_VERSION); +   memset(cbTbl, 0, sizeof(cbTbl)); + +   cbTbl.probe = qcm_probe; +   cbTbl.setupOnOpen =

Re: [linux-usb-devel] About SET_CONFIGURATION at file_storage.c

2006-05-16 Thread Peter Chen
And i will recive get STRING descriptor many times( especially STRING_MANUFACTURER),Is it normal? It is normal if the host runs Windows. It's not normal if the host runs Linux (there should be only 3 or 4 string descriptor fetches). Alan Stern The order of my SETUP packets

[linux-usb-devel] 优惠代开发票!

2006-05-16 Thread 刘向阳
尊敬的公司领负责人(经理/财务)您们好! 我是深圳市佰华实业有限公司的,我司实力雄厚,有着艮好的社 会关系。由于我司进项较多,完成不了每月销售额度,公司决定采取 最优惠的方式来对外代开发票。代开范围:增值税、海关缴款书、普 通商品销售发票;地税,建筑安装、运输、广告、服务业、咨询和定 额发票等;本司真诚地希望能够与贵司合作!也可为贵司节约一部分 资金! 如果贵司在发票方面有任何疑虑,可上网查询或我司人员与贵司 人员去税务确定。一切发票可经贵司确认后才付款! 祝:贵公司生意兴隆 蓬勃发展 业绩蒸蒸日上! 欢迎来电咨询:

[linux-usb-devel] [GIT PATCH] USB fixes for 2.6.17-rc4 - resend

2006-05-16 Thread Greg KH
Here are some more small USB fixes for 2.6.17-rc4. They contain a few small bug fixes and a few new device ids for new devices and a new USB serial driver (it is self-contained). All of these changes have been in the -mm tree for a number of weeks. Please pull from:

[linux-usb-devel] [PATCH 05/16] USB: fix OHCI PM regression

2006-05-16 Thread Greg KH
From: David Brownell [EMAIL PROTECTED] This fixes a small regression in USB controller power usage for many OHCI controllers, notably including every non-PCI version of OHCI: on those systems, the runtime autosuspend mechanism is no longer enabled. The change moves to saner defaults. All root

Re: [linux-usb-devel] [PATCH] Fix dead lock in usbtest

2006-05-16 Thread Greg KH
On Tue, May 16, 2006 at 03:16:53PM +0200, Franck Bui-Huu wrote: David Brownell wrote: You know, you should NOT be resending a patch every few hours, the way you have been doing. It's not going to make anyone spend time to review it any sooner, and it _will_ make it more likely that you

Re: [linux-usb-devel] Importance of hcd-power_budget

2006-05-16 Thread David Brownell
On Tuesday 16 May 2006 2:11 am, rakesh kn wrote: Now when i connect a device , whose configuration descriptor contains the power requirements mentions more than 8mA, What will happen. ? So tell us ... what DID happen when you tried that little experiment? Not to be too harsh or anything, but

[linux-usb-devel] [RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver

2006-05-16 Thread jayakumar . video
Hi Greg KH, USB folk, QCE-GA folk (esp Tuukka/Kurt/Christian), Here's my second pass at a driver for the Logitech Quickcam Messenger USB webcam. I've added input support and gain control. Also bugfixes for the race condition that Oliver Neukum pointed out and for a frame sync issue. There's

Re: [linux-usb-devel] tcp over cdc_subset

2006-05-16 Thread David Brownell
On Tuesday 16 May 2006 4:34 am, Benedikt Sauter wrote: But i don't know how i can send IP,ICMP and so on over this connection? ifconfig usb0 192.1.1.1 will arrange that traffic to the 192.1.1 net gets sent over that link. Drivers don't do anything.

[linux-usb-devel] spca5xx and usb drivers

2006-05-16 Thread Ian House
I am unable to use my web cam and after a little investigation I've found two USB controllers. Silicon Intergrated Corp. USB 1.0 Controller, Driver = Ehci_hcd Gigabyte USB 2.0 Controller, Driver = Ohci_hcd 1. From the gigabyte website they should be: Driver SiS USB2.0 driver SiS 748 chipset

Re: [linux-usb-devel] Re: 2.6.16: usb modem (cdc-acm driver) and duplicate bytes

2006-05-16 Thread Alexander V. Lukyanov
On Sat, May 13, 2006 at 09:32:50AM +0200, Oliver Neukum wrote: Unfortunately there's no hint in the descriptors. I've just used the device id. Could you test the attached version? It works nicely. But I don't quite understand the *2 multiplier for readsize. Is it correct to request more data

Re: [linux-usb-devel] I have puzzled about usb_request struct for udc driver

2006-05-16 Thread Alan Stern
On Tue, 16 May 2006, Peter Chen wrote: Hi,all When i develop udc driver,i can assign some values for the struct of usb_request through fsg-setup(file_storage.c) at bus enumeration But,as far as other ep's tx/rx are conterned,how to ensure the req is not NULL when the other ep's

[linux-usb-devel] Linux USB performance help

2006-05-16 Thread Adisorn Ermongkonchai
Hi, First of, I am very new to USB. My project is wireless related (not USB) and I am in the process of testing the Linux (kernel 2.6.16.15) wireless performance using wireless usb devices. I use D-Link USB (54Mbps) device as my testing device. The max performance of wireless transmission is

Re: [linux-usb-devel] OHCI_hcd 1.10 overrides EHCI_hcd 2.0=Explanation

2006-05-16 Thread Alan Stern
On Tue, 16 May 2006, Ian wrote: Hi Alan, Thankyou for your reply. I'll try to explain, I'm very much a noob when it comes to things like this. The issue is with a webcam using driver SPCA5XX. Or are you saying that your high-speed devices don't run at high speed, they only run at full

[linux-usb-devel] Re: [Linux-usb-users] Linux USB performance help

2006-05-16 Thread Alan Stern
On Tue, 16 May 2006, Adisorn Ermongkonchai wrote: Hi, First of, I am very new to USB. My project is wireless related (not USB) and I am in the process of testing the Linux (kernel 2.6.16.15) wireless performance using wireless usb devices. I use D-Link USB (54Mbps) device as my testing

Re: [linux-usb-devel] Linux USB performance help

2006-05-16 Thread Greg KH
On Tue, May 16, 2006 at 09:27:22AM -0700, Adisorn Ermongkonchai wrote: Hi, First of, I am very new to USB. My project is wireless related (not USB) and I am in the process of testing the Linux (kernel 2.6.16.15) wireless performance using wireless usb devices. I use D-Link USB (54Mbps)

Re: [linux-usb-devel] [PATCH/RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver v3

2006-05-16 Thread Greg KH
On Tue, May 16, 2006 at 11:48:35AM +0800, [EMAIL PROTECTED] wrote: --- linux-2.6.16.5-vanilla/drivers/usb/media/Kconfig 2006-04-15 11:02:25.0 +0800 +++ linux-2.6.16.5/drivers/usb/media/Kconfig 2006-04-15 11:27:25.0 +0800 There is no drivers/usb/media/ directory anymore in

Re: [linux-usb-devel] Re: USB 2.0 ehci failure with large amount of RAM (4GB) on x86_64

2006-05-16 Thread Pete Zaitcev
On Fri, 12 May 2006 21:32:39 -0700, David Brownell [EMAIL PROTECTED] wrote: Can you confirm that this patch also resolves your issue? [...] I noticed that you added the mask inside the case while Nathan added it outside. So, he did it for all nVidia silicon. I would think it may be better if

[linux-usb-devel] [USBTEST] possible lock issue

2006-05-16 Thread Franck Bui-Huu
I'm hiting a dead lock when testing, by using testusb suite tests, hot unplug. Basicaly, while running a test, I unplug the tested device (zero device) at a random time. Most of the time, testusb's process and khubd are in an uninterruptible state and the bus is frozen. Here is a use case that

Re: [linux-usb-devel] Linux USB performance help

2006-05-16 Thread Oliver Neukum
Am Dienstag, 16. Mai 2006 18:27 schrieb Adisorn Ermongkonchai: So I dig into the D-link USB driver (open source by Ralink) and found that it uses Bulk transfer mode. And the code seems to be reasonable. It calls usb_fill_bulk_urb with usb_sndbulkpipe and complete callback function and then

Re: [linux-usb-devel] I have puzzled about usb_request struct for udc driver

2006-05-16 Thread David Brownell
On Monday 15 May 2006 6:50 pm, Peter Chen wrote: And obvious,here the req is not NULL.But i don't know when the req is assigned. You've asked variants of this question before, as I recall, but don't seem to have absorbed the answer: there are no requests in the endpoint's queue until the

Re: [linux-usb-devel] Re: 2.6.16: usb modem (cdc-acm driver) and duplicate bytes

2006-05-16 Thread Oliver Neukum
Am Freitag, 12. Mai 2006 18:40 schrieb Alexander V. Lukyanov: On Tue, May 09, 2006 at 11:52:36PM +0200, Oliver Neukum wrote: In the `n1' case the second attempt of atv results in a duplicated line. `n16' produces lots of small dups. `old' produces no dups. Could you please remobe

[linux-usb-devel] [PATCH] UHCI: Move code for cleaning up unlinked URBs

2006-05-16 Thread Alan Stern
Greg: This patch (as681) moves some code for cleaning up after unlinked URBs out of the general completion pathway into the unlinking pathway. Alan Stern Signed-off-by: Alan Stern [EMAIL PROTECTED] --- Index: usb-2.6/drivers/usb/host/uhci-q.c

[linux-usb-devel] [PATCH 10/16] USB: Add Sieraa Wireless 580 evdo card to airprime.c

2006-05-16 Thread Greg KH
From: Ken Brush [EMAIL PROTECTED] This adds the Sierra Wireless card to airprime.c. I tested this on my laptop. Signed-off-by: Ken Brush [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/serial/airprime.c |1 + 1 files changed, 1 insertions(+), 0

Re: [linux-usb-devel] 2.6.16 regression: Non-powered hubs no longer capable of operating some devices

2006-05-16 Thread Alan Stern
On Mon, 15 May 2006, Daniel Drake wrote: Hi, Several Gentoo users are reporting that usb-storage devices no longer work on 2.6.16 with unpowered hubs. Here's some logs: hub 2-2:1.0: state 7 ports 3 chg evt 0002 hub 2-2:1.0: port 1, status 0101, change 0001, 12 Mb/s hub 2-2:1.0:

[linux-usb-devel] [PATCH 11/16] USB: add an IBM USB keyboard to the HID_QUIRK_NOGET blacklist

2006-05-16 Thread Greg KH
From: Olaf Hering [EMAIL PROTECTED] After recent changes, the USB keyboard as shipped with IBM pSeries systems does not work anymore, unless the keyboard is replugged after reboot. Adding this model to the blacklist fixes it. Signed-off-by: Olaf Hering [EMAIL PROTECTED] Signed-off-by: Greg

[linux-usb-devel] [GIT PATCH] SPI patches for 2.6.17-rc4

2006-05-16 Thread Greg KH
Here are some patches for 2.6.17-rc4 for the SPI subsystem that have been sitting langushing way too long in my tree and in the -mm tree. They are all self-contained and fix some SPI issues and add a new SPI driver. They also name David Brownell as the SPI maintainer, and he'll handle getting

[linux-usb-devel] Re: [Linux-usb-users] Linux USB performance help

2006-05-16 Thread aermongk
Hi Alan, Thanks for your response. Comments below. Alan Stern wrote: On Tue, 16 May 2006, Adisorn Ermongkonchai wrote: Hi, First of, I am very new to USB. My project is wireless related (not USB) and I am in the process of testing the Linux (kernel 2.6.16.15) wireless performance

Re: [linux-usb-devel] Linux USB performance help

2006-05-16 Thread aermongk
Hi Greg, Thanks for your response. Comments below. Greg KH wrote: On Tue, May 16, 2006 at 09:27:22AM -0700, Adisorn Ermongkonchai wrote: Hi, First of, I am very new to USB. My project is wireless related (not USB) and I am in the process of testing the Linux (kernel 2.6.16.15)

Re: [linux-usb-devel] Linux USB performance help

2006-05-16 Thread Oliver Neukum
Am Dienstag, 16. Mai 2006 23:18 schrieb aermongk: I don't think that this is an expected behavior of wireless network.  I should be able to run at full speed for each channel.  Each channel has different frequency with 5 Mhz guard band.  The 4 PCs test that I've mentioned shows that channel

Re: [linux-usb-devel] Linux USB performance help

2006-05-16 Thread aermongk
Hi Oliver, Thanks for your response, comments below. Oliver Neukum wrote: Am Dienstag, 16. Mai 2006 18:27 schrieb Adisorn Ermongkonchai: So I dig into the D-link USB driver (open source by Ralink) and found that it uses Bulk transfer mode. And the code seems to be reasonable. It calls

Re: [linux-usb-devel] Linux USB performance help

2006-05-16 Thread aermongk
Oliver Neukum wrote: Am Dienstag, 16. Mai 2006 23:18 schrieb aermongk: I don't think that this is an expected behavior of wireless network. I should be able to run at full speed for each channel. Each channel has different frequency with 5 Mhz guard band. The 4 PCs test that I've

[linux-usb-devel] Where to start with making a device driver

2006-05-16 Thread Arthur Pemberton
I have just purchased a Royal ezVue5 PDA (I don't exactly think it deserves the genre of PDA, but oh well) just for the sole purpose of writing a driver for it to connect to it LInux side via USB. Of course, it comes with a CD for Windows drivers. But.. not exactly a Windows person. I know some

[linux-usb-devel] [PATCH 03/16] USBATM: fix modinfo output

2006-05-16 Thread Greg KH
From: Duncan Sands [EMAIL PROTECTED] Because of the way stringify works, using an expression like 64 * 1024 for UDSL_MAX_BUF_SIZE results in 64 * 1024 turning up in the modinfo output instead of 65536. So use 65536 directly (this was the only way I found of fixing this). Signed-off-by: Duncan

[linux-usb-devel] Artificial limits in usbfs

2006-05-16 Thread Micah Dowty
Hi, Some months ago I raised my concerns about artificial limits in usbfs, by submitting two very simple patches: http://article.gmane.org/gmane.linux.usb.devel/40811 http://article.gmane.org/gmane.linux.usb.devel/40812 The issue hasn't been resolved yet, so I'd like to briefly restate the

Re: [linux-usb-devel] Usb hangs during small and large file transfer

2006-05-16 Thread Alan Stern
On Fri, 12 May 2006, Vivek Dharmadhikari wrote: Hello All I have ported linux 2.6.12 USB driver to 200MHz MIPS SOC with synopsys USB 2.0 block. The USB block is NOT interfaced using PCI therefore I used platform glue structure to port the driver. The driver is now working. I am

[linux-usb-devel] Importance of hcd-power_budget

2006-05-16 Thread rakesh kn
Hi , If i set the hcd-power_budget field in the usb_hcd structure to 8mA hcd-power_budget = 8mA, then in the register_root_hub() function , the following line would restrict the root hub power budget to each child to rhdev-bus_mA = min(500u, hcd-power_budget) = 8mA, Now when i connect a device

[linux-usb-devel] [PATCH 13/16] usbserial: Fixes use-after-free in serial_open().

2006-05-16 Thread Greg KH
From: Luiz Fernando Capitulino [EMAIL PROTECTED] If the device is disconnected while serial_open() is executing and either try_module_get() or the device specific open function fails, the kref_put() call in the 'bailout_kref_put' label will free the memory pointed out by 'port'. The subsequent

[linux-usb-devel] [PATCH 14/16] usbserial: Fixes leak in serial_open() error path.

2006-05-16 Thread Greg KH
From: Luiz Fernando Capitulino [EMAIL PROTECTED] If serial_open() fails at the port assignment or mutex_lock_interruptible() is interrupted, the 'serial' object will never be freed. We should call kref_put() when those errors happens. Signed-off-by: Luiz Fernando N. Capitulino [EMAIL PROTECTED]

[linux-usb-devel] Re: [PATCH/RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver

2006-05-16 Thread Oliver Neukum
Am Sonntag, 14. Mai 2006 16:11 schrieb [EMAIL PROTECTED]: +   if ((fhdr-id) == cpu_to_be16(0x8001)) { +   unsigned char marker[] = { 0x00, 0xff, 0x00, 0xFF }; +   RingQueue_Enqueue(uvd-dp, marker, 4); +   totaldata += 4;

Re: [linux-usb-devel] 64 Bit Linux - USB KB

2006-05-16 Thread Greg KH
On Sun, May 14, 2006 at 09:47:35PM +0530, Jayaprakash Shanmugam wrote: Hello All, I have 64 bit Linux connected to a USB KB emulator ( Cypress based USB device - Works as a KB in Windows 32/64 bits). Though the firmware gets enumerated as a HID device, the keystrokes are not received by

[linux-usb-devel] [PATCH] UHCI: Eliminate the TD-removal list

2006-05-16 Thread Alan Stern
Greg: This patch (as682) gets rid of the TD-removal list in uhci-hcd. It is no longer needed because now TDs are not freed until we know the hardware isn't using them. It also simplifies the code for adding and removing TDs to/from URBs. Alan Stern Signed-off-by: Alan Stern [EMAIL

[linux-usb-devel] [PATCH] UHCI: Reimplement FSBR

2006-05-16 Thread Alan Stern
Greg: This patch (as683) re-implements Full-Speed Bandwidth Reclamation (FSBR) properly. It keeps track of which endpoint queues have advanced, and when none have advanced for a sufficiently long time, FSBR is turned off. The next TD on each of the non-moving queues is modified to generate

[linux-usb-devel] [PATCH 15/16] USB: add ark3116 usb to serial driver

2006-05-16 Thread Greg KH
From: Greg Kroah-Hartman [EMAIL PROTECTED] Based on Simon's original driver, with some minor code cleanups and tidying by me. Cc: Simon Schulz [EMAIL PROTECTED] Signed-off-by: Greg Kroah-Hartman [EMAIL PROTECTED] --- drivers/usb/serial/Kconfig | 10 + drivers/usb/serial/Makefile |1

Re: [linux-usb-devel] lh7_udc+g_ether vs WinXP

2006-05-16 Thread Jamie Guinan
On Thu, 20 Apr 2006, Marc Singer wrote: Let me know of this works better for you when connecting to a Windows host using RNDIS. ftp://ftp.buici.com/pub/arm/gadget I finally got around to trying this, with linux-2.6.16 + ms28 + lh7_udc.c from above link. It comes right up when plugged

Re: [linux-usb-devel] Doubts in HCD Suspend/Resume

2006-05-16 Thread Alan Stern
On Thu, 11 May 2006, David Brownell wrote: On Thursday 11 May 2006 10:07 am, Alan Stern wrote: Please reply to the mailing list as well as to me. On Thu, 11 May 2006, rakesh kn wrote: Hi, In the suspend/resume call back in platform driver structure, i am exactly doing the

[linux-usb-devel] [PATCH 02/16] USBATM: change the default speedtouch iso altsetting

2006-05-16 Thread Greg KH
From: Duncan Sands [EMAIL PROTECTED] The maximum possible bandwidth for a speedtouch modem is about 7Mbaud. You can only get this by using isochronous urbs (enable_isoc=1) and altsetting 3. With the current default altsetting of 2, the modem maxes out at about 4Mbaud. So change the default

Re: [linux-usb-devel] [PATCH] Fix dead lock in usbtest

2006-05-16 Thread Franck Bui-Huu
David Brownell wrote: You know, you should NOT be resending a patch every few hours, the way you have been doing. It's not going to make anyone spend time to review it any sooner, and it _will_ make it more likely that you be put into spam filters... sorry for that. I wasn't resending

[linux-usb-devel] [PATCH/RFC 2.6.17-rc4 1/1] usbvideo/quickcam_messenger driver v4

2006-05-16 Thread jayakumar . video
[ sorry, bungled the l-u-devel list address and subject in prev email ] Hi Greg KH, USB folk, kernel folk, Appended is v4 of my patch adding a usbvideo driver for the Logitech Quickcam Messenger USB webcam. This patch has been rebased against 2.6.17-rc4 as per Greg's feedback. Please let me

Re: [linux-usb-devel] patch to fix a read problem in drivers/usb/serial/anydata.c

2006-05-16 Thread Greg KH
On Sat, May 06, 2006 at 04:42:35AM -0700, Thomas L. Marshall wrote: I hope you all can use this... I thought I would try using the anydata.c driver to get a couple of CMDA cards working (reference a thread on the airprime driver and buffer size). ?I spent a bunch of time fooling around with

Re: [linux-usb-devel] Artificial limits in usbfs

2006-05-16 Thread Greg KH
On Tue, May 16, 2006 at 03:00:52PM -0700, Micah Dowty wrote: I would submit that it isn't the usbfs layer's job to enforce the USB spec. There are two reasons for this: - Some USB devices are broken, and it should still be possible to write drivers for them on Linux- even user-space

Re: [linux-usb-devel] PC Card cellular modems, EVDO, 1xRTT etc and usbserial

2006-05-16 Thread Greg KH
On Sat, May 06, 2006 at 01:07:53AM -0700, Thomas L. Marshall wrote: Thanks Greg for giving me the push I needed to migrate to 2.6. I am doing much better with the airprime driver here. I have found a number of references to the buffer size patch in the archives. Is it the general consensus

Re: [linux-usb-devel] [RFC 2.6.16.5 1/1] usb/media/quickcam_messenger driver

2006-05-16 Thread Greg KH
On Fri, May 12, 2006 at 05:15:11PM +0800, [EMAIL PROTECTED] wrote: Hi Greg KH, USB folk, QCE-GA folk (esp Tuukka/Kurt/Christian), Here's my second pass at a driver for the Logitech Quickcam Messenger USB webcam. I've added input support and gain control. Also bugfixes for the race condition

Re: [linux-usb-devel] Where to start with making a device driver

2006-05-16 Thread Greg KH
On Tue, May 16, 2006 at 04:49:32PM -0500, Arthur Pemberton wrote: I have just purchased a Royal ezVue5 PDA (I don't exactly think it deserves the genre of PDA, but oh well) just for the sole purpose of writing a driver for it to connect to it LInux side via USB. Of course, it comes with a CD

Fwd: [linux-usb-devel] Where to start with making a device driver

2006-05-16 Thread Arthur Pemberton
-- Forwarded message -- From: Arthur Pemberton [EMAIL PROTECTED] Date: May 16, 2006 11:16 PM Subject: Re: [linux-usb-devel] Where to start with making a device driver To: Greg KH [EMAIL PROTECTED] On 5/16/06, Greg KH [EMAIL PROTECTED] wrote: On Tue, May 16, 2006 at 04:49:32PM

[linux-usb-devel] [PATCH 2.6.17-rc4 1/1] usbvideo misc cleanup

2006-05-16 Thread jayakumar . video
Hi Greg KH, USB folk, kernel folk, I've appended a small patch to cleanup some of the usbvideo drivers as per Oliver Neukum's feedback and the response in the following threads: http://marc.theaimsgroup.com/?l=linux-kernelm=114770240416519w=2 [ unneccessary urb initialization of .status ]

RE: [linux-usb-devel] Cannot get hiddev to send report properly

2006-05-16 Thread Steve Calfee
The device is configured to send and receive 32 byte reports. The designer of the USB project has code written in Windows Pascal (Delphi?) to control the device. The code is a rework from the code generated by EasyHID and is a USB controlled car radio. Here is my output of lsusb:

Re: [linux-usb-devel] Where to start with making a device driver

2006-05-16 Thread Jaya Kumar
On 5/17/06, Arthur Pemberton [EMAIL PROTECTED] wrote: Okay. I saw that book on Amazon, but noted that it said that it was for 2.4x kernels. I am not a fan of doing that much reading on the LDD3 covers 2.6 , http://lwn.net/Kernel/LDD3/ computer (as much as I like computers). So I think I will

Re: [linux-usb-devel] Cannot get hiddev to send report properly

2006-05-16 Thread Pete Zaitcev
On Tue, 16 May 2006 21:40:48 -0700, Steve Calfee [EMAIL PROTECTED] wrote: [...] However, the call to HIDIOCSREPORT takes around 5-8seconds instead of 1s like the first run. All successive runs exhibit this behavior. Oh yeah, and the radio does not respond to my report at all. I have even