Re: [linux-usb-devel] core driver testing

2005-08-04 Thread driversbin driversbin
Hi, thank you for info. I am still finding something wrong in running th test cases. I have pasted the output after each activity. any fix for this error 22? ~ # ~ # cat /proc/bus/usb/devices T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #

[linux-usb-devel] isochronous endpoints in Bluetty

2005-08-04 Thread Prakash
Hi, I m trying to add isochronous endpoints in bluetty.c . In usb_bluetooth_probe function , i have added the following lines. if ((endpoint->bEndpointAddress & 0x80) && ((endpoint->bmAttributes & 3) == 0x01)) { /* we foun

[linux-usb-devel] [PATCH] Fix MPC8349 USB memory mapping

2005-08-04 Thread Li Yang-r58472
Hi, The memory mappings for MPC8349 USB MPH and DR modules were reversed. Signed-off-by: Li Yang <[EMAIL PROTECTED]> Signed-off-by: Jiang Bo <[EMAIL PROTECTED]> --- --- arch/ppc/syslib/mpc83xx_devices.c.orig 2005-08-04 16:37:20.0 +0800 +++ arch/ppc/syslib/mpc83xx_devices.c 2005-

[linux-usb-devel] usbnet-rndis

2005-08-04 Thread Dmitry Krivoschokov
Hi David, in your usbnet-rndis patch you noted it was tested "on a little-endian host, talking to a peripheral running the Linux-USB RNDIS "gadget" stack". I'd like to test the driver with such peripheral too. Actually I've already tried it with pxa2xx udc but in that case the host doesn't

[linux-usb-devel] Re: root hub status, new polling scheme

2005-08-04 Thread Olav Kongas
On Wed, 3 Aug 2005, Alan Stern wrote: > On Wed, 3 Aug 2005, Olav Kongas wrote: > > > Hi Alan, > > > > I started to look at the new polling scheme for root hub > > status implemented by you in usb core recently. > > > > As the isp116x supports status change interrupts in both > > running an

Re: [linux-usb-devel] Kernel Panic related to USB modems

2005-08-04 Thread Oliver Neukum
Am Donnerstag, 4. August 2005 07:13 schrieb Pete Zaitcev: > On Mon, 01 Aug 2005 17:32:40 +0200, [EMAIL PROTECTED] wrote: > > > After contacting Oliver neukum, actual mantainer of acm kernel module, > > I'm submitting to this list the call trace dump collected from my > > machines after configuri

[linux-usb-devel] [PATCH] isp116x-hcd: use fixed power-on-to-power-good-time

2005-08-04 Thread Olav Kongas
Greg, This patch removes the power-on-to-power-good-time configuration option for isp116x-hcd. Please apply, OlavUse fixed power-on-to-power-good-time setting. Signed-off-by: Olav Kongas <[EMAIL PROTECTED]> --- linux-2.6.13-rc4-tmp3/drivers/usb/host/isp116x-hcd.c.or 2005-08-03 09:31:08.0

[linux-usb-devel] [PATCH] isp116x-hcd: remove unnecessary ClockNotStop configuration option

2005-08-04 Thread Olav Kongas
Greg, Subject says it all. Please apply, OlavRemove unnecessary ClockNotStop configuration option. Signed-off-by: Olav Kongas <[EMAIL PROTECTED]> --- linux-2.6.13-rc4-tmp3/drivers/usb/host/isp116x-hcd.c.1 2005-08-03 10:10:22.822418769 +0300 +++ linux-2.6.13-rc4-tmp3/drivers/usb/host/isp11

[linux-usb-devel] [PATCH] isp116x-hcd: support only per-port power switching

2005-08-04 Thread Olav Kongas
Greg, The isp116x chip will now always be in per-port power switching mode. Remove conf options to set any other mode. Please apply, OlavSupport only per-port power switching mode for root hub ports. Signed-off-by: Olav Kongas <[EMAIL PROTECTED]> --- linux-2.6.13-rc4-tmp3/drivers/usb/host/isp

[linux-usb-devel] [PATCH] isp116x-hcd: per-port overcurrent reporting

2005-08-04 Thread Olav Kongas
Greg, This patch sets the isp116x to report overcurrent always per-port. Please apply, OlavConfigure per-port overcurrent reporting. Signed-off-by: Olav Kongas <[EMAIL PROTECTED]> --- linux-2.6.13-rc4-tmp3/drivers/usb/host/isp116x-hcd.c.3 2005-08-03 13:24:11.274909023 +0300 +++ linux-2.

[linux-usb-devel] [PATCH] isp116x-hcd: remove clock() and reset()

2005-08-04 Thread Olav Kongas
Greg, This patch removes support for user-provided platform-specific hardware reset and clock starting/stopping functions. Hardware reset was needed earlier as getting the software reset working was tricky due to the lack of documentation. Recently, a number of people using isp116x have said

Re: [linux-usb-devel] Regardging USB Core Driver

2005-08-04 Thread Alan Stern
On Thu, 4 Aug 2005, Nitin Mahajan wrote: > --- Alan Stern <[EMAIL PROTECTED]> wrote: > > > On Wed, 3 Aug 2005, Nitin Mahajan wrote: > > > > > Hello ! > > > > > > I want to use the Linux USB subsystem along with > > the > > > OHCI, HID, and Device class printer drivers, > > Storage > > > drive

[linux-usb-devel] Re: usbnet-rndis

2005-08-04 Thread David Brownell
Hi Dmitry, > in your usbnet-rndis patch you noted it was tested "on a little-endian > host, talking to a peripheral running the Linux-USB RNDIS "gadget" > stack". I'd like to test the driver with such peripheral too. Actually > I've already tried it with pxa2xx udc but in that case the host doesn'

[linux-usb-devel] Re: root hub status, new polling scheme

2005-08-04 Thread Alan Stern
On Thu, 4 Aug 2005, Olav Kongas wrote: > > This delay would only apply when the HC is waking up from a sleep state, > > right? So a lot of the time it won't be necessary... > > No. I haven't tested other configurations, but my corrent > device tree is: rh-port -> external hub -> mouse. If I >

Re: [linux-usb-devel] Kernel Panic related to USB modems

2005-08-04 Thread Alan Stern
On Thu, 4 Aug 2005, Oliver Neukum wrote: > Am Donnerstag, 4. August 2005 07:13 schrieb Pete Zaitcev: > > On Mon, 01 Aug 2005 17:32:40 +0200, [EMAIL PROTECTED] wrote: > > > > > After contacting Oliver neukum, actual mantainer of acm kernel module, > > > I'm submitting to this list the call trace

[linux-usb-devel] ftdi_sio.c: ftdi_chars_in_buffer and FTDI_RS_TEMT

2005-08-04 Thread Uwe Bonnes
Hallo, at the moment (2.4.13-rc3) ftdi_chars_in_buffer() unconditionally return 0. \ Shouldn't this function check the FTDI_RS_TEMT bit in Byte1 (Line Status)? Bye -- Uwe Bonnes[EMAIL PROTECTED] Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt - Tel. 061

Re: [linux-usb-devel] Re: root hub status, new polling scheme

2005-08-04 Thread Olav Kongas
On Thu, 4 Aug 2005, Olav Kongas wrote: > > On Wed, 3 Aug 2005, Alan Stern wrote: > > I think the easiest solution will be for your HCD to test whether a delay > > is needed. If not, go ahead and call usb_hcd_poll_rh_status as usual. If > > a delay is needed, then do > > Relying on Resume De

[linux-usb-devel] Re: tungsten t5 doesn't sync anymore with kernel 2.6.12

2005-08-04 Thread Eric FAURE
Andrew Morton wrote: Eric FAURE <[EMAIL PROTECTED]> wrote: hi, First, I tried to googled but I didn't find any answer! CPU : athlon64 3500+ MB : k8t800pro (uhci and ehci) FC 3 since I have installed kernel 2.6.12, my tungsten t5 doesn't sync anymore. I push the sync button as usual, and af

[linux-usb-devel] [PATCH] Switch isp116x-hcd over to root hub interrupt

2005-08-04 Thread Olav Kongas
Greg, This patch changes the isp116x-hcd to use interrupt instead of root hub polling. Please apply, if Alan won't complain. OlavSwitch isp116x-hcd over from root hub polling to interrupt. Signed-off-by: Olav Kongas <[EMAIL PROTECTED]> --- linux-2.6.13-rc4-tmp3/drivers/usb/host/isp116x-hcd.c.5

[linux-usb-devel] Re: Fw: ati-remote strangeness from 2.6.12 onwards

2005-08-04 Thread Andrew Morton
mdew <[EMAIL PROTECTED]> wrote: > > I discovered a minor change in 2.6.10-mm1, changing this value back > corrects the "ok" button issue. > > > diff -urN linux/drivers/usb/input/ati_remote.c > linux-2.6.11/drivers/usb/input/ati_remote.c > --- linux/drivers/usb/input/ati_remote.c2005-0

[linux-usb-devel] Re: usb_check_bandwidth: bustime should not be divided by iso number_of_packets

2005-08-04 Thread Dan Streetman
You're right, that makes no sense...as far as I can tell it should be taken out completely. Greg, do you know of any reason for that code? On Fri, 29 Jul 2005, Alan Stern wrote: >Dan: > >While you're looking at usb_calc_bus_time, check out the following two >lines from usb_check_bandwidth:

Re: [linux-usb-devel] Re: root hub status, new polling scheme

2005-08-04 Thread Alan Stern
On Thu, 4 Aug 2005, Olav Kongas wrote: > > Relying on Resume Detected interrupt won't suffice, because > > when suspending just a root hub port like above, the chip > > won't generate Resume Detected but just Status Change. So, > > the only sources of information to decide about the > > necess

Re: [linux-usb-devel] [PATCH] Switch isp116x-hcd over to root hub interrupt

2005-08-04 Thread Alan Stern
On Thu, 4 Aug 2005, Olav Kongas wrote: > Greg, > > This patch changes the isp116x-hcd to use interrupt instead > of root hub polling. > > Please apply, if Alan won't complain. > Olav There's one little problem with this snatch of code: > + /* Report no status change now, if we are sched

[linux-usb-devel] Re: system freeze on USB plug

2005-08-04 Thread Andrew Morton
[EMAIL PROTECTED] wrote: > > I'd like to report a system freeze happening on USB device plug. Many others reported similar problems. There have been many weird USB problems reported across the 2.6.13 cycle and I've lost the plot on which ones remain unfixed and which ones are regressions since 2.

[linux-usb-devel] Re: tungsten t5 doesn't sync anymore with kernel 2.6.12

2005-08-04 Thread Andrew Morton
Eric FAURE <[EMAIL PROTECTED]> wrote: > > > > Andrew Morton wrote: > > Eric FAURE <[EMAIL PROTECTED]> wrote: > > > >> > >>hi, > >>First, I tried to googled but I didn't find any answer! > >> > >>CPU : athlon64 3500+ > >>MB : k8t800pro (uhci and ehci) > >>FC 3 > >> > >>since I have installed kern

Re: [linux-usb-devel] Re: Fw: ati-remote strangeness from 2.6.12 onwards

2005-08-04 Thread Pavel Machek
Hi! > - You might want to differentiate between this key and the ENTER key > of your keyboard, at least I do. If the kernel is sending the same > code for both keys, this is not possible in userspace. No, I think that you can still diferentiate between them ... they come from different keyboa

Re: [linux-usb-devel] Re: tungsten t5 doesn't sync anymore with kernel 2.6.12

2005-08-04 Thread Greg KH
On Thu, Aug 04, 2005 at 06:45:35PM +0200, Eric FAURE wrote: > > > Andrew Morton wrote: > >Eric FAURE <[EMAIL PROTECTED]> wrote: > > > >> > >>hi, > >>First, I tried to googled but I didn't find any answer! > >> > >>CPU : athlon64 3500+ > >>MB : k8t800pro (uhci and ehci) > >>FC 3 > >> > >>since I h

[linux-usb-devel] [PATCH 2.6.13-rc5 1/7] ehci: add think_time

2005-08-04 Thread Dan Streetman
I've broken up the previous patch for adding tt downstream scheduling into 7 patches. Here's the first. This simply adds think_time to the usb_tt struct and sets it appropriately (measured in ns). Signed-off-by: Dan Streetman <[EMAIL PROTECTED]> diff -urpN a/drivers/usb/core/hub.c b/drivers/

[linux-usb-devel] [PATCH 2.6.13-rc5 2/7] ehci: add tt_usecs

2005-08-04 Thread Dan Streetman
This adds the field tt_usecs to ehci_qh and ehci_iso_stream, and sets it appropriately when setting up a ehci_qh or ehci_iso_stream. It is set to the transation translator's think_time (added in last patch) plus the downstream (i.e. low or full speed) bustime of the transfer associated with t

[linux-usb-devel] [PATCH 2.6.13-rc5 3/7] ehci: add tt_available

2005-08-04 Thread Dan Streetman
Ok here's the biggest patch... :) This adds a function "tt_available" and helper functions that determine if a particular transaction translator is "available" for a periodic transfer. This is similar to the existing "tt_no_collision" but that function simply uses the ssplit/csplit masks to prev

Re: [linux-usb-devel] imx usb gadget controller driver

2005-08-04 Thread Carles Pina i Estany
Hello, I am sending the last information from today :-) (we are working in MX21, to support USB slave, mainly using Kernel 2.4.20 patched with patch from Freescale) Today MX21 did something more interesting :-) I loaded the modules in this way and order. Lines started with # what I typed, othe

[linux-usb-devel] [patch] Prevent hid-core claiming Apple Bluetooth device on new G4 powerbooks

2005-08-04 Thread Andrew de Quincey
Hi, one maconlinux session with the excellent linux kernel usbmon support later, and I have my G4 powerbook's bluetooth adapter working. To recap: My new G4 powerbook has a bluetooth device that boots up in what apppears to be a compatability mode - it looks exactly like an HID keyboard/mouse

[linux-usb-devel] [PATCH 2.6.13-rc5 4/7] ehci: use tt_available

2005-08-04 Thread Dan Streetman
This changes the driver to use the new tt_available function. In the sitd_slot_ok function this is a simple change. The change to check_intr_schedule changes the scheduling of the csplits, no longer is gap_uf used, instead the csplits are scheduled according to the USB 2.0 spec section 11.18

[linux-usb-devel] [PATCH 2.6.13-rc5 5/7] ehci: remove gap_uf

2005-08-04 Thread Dan Streetman
This removes gap_uf, which is no longer used. Signed-off-by: Dan Streetman <[EMAIL PROTECTED]> diff -urpN a/drivers/usb/host/ehci-q.c b/drivers/usb/host/ehci-q.c --- a/drivers/usb/host/ehci-q.c 2005-08-03 13:15:40.0 -0400 +++ b/drivers/usb/host/ehci-q.c 2005-08-03 13:19:37.0 -0

[linux-usb-devel] [PATCH 2.6.13-rc5 6/7] ehci: remove tt_no_collision

2005-08-04 Thread Dan Streetman
This removes tt_no_collision, replaced by tt_available in an earlier patch. Signed-off-by: Dan Streetman <[EMAIL PROTECTED]> diff -urpN a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c --- a/drivers/usb/host/ehci-sched.c 2005-08-03 12:56:33.0 -0400 +++ b/drivers/us

[linux-usb-devel] Re: Fw: ati-remote strangeness from 2.6.12 onwards

2005-08-04 Thread Ryan Brown
Sorry Andrew, but the diff was incorrectly made, the updated patch, reverts the changes too TV, DVD and OK Button, from 2.6.12-rc1. diff -ruN linux-2.6.12/drivers/usb/input/ati_remote.c linux-2.6.12-modified/drivers/usb/input/ati_remote.c --- linux-2.6.12/drivers/usb/input/ati_remote.c 2005-06-18

[linux-usb-devel] [PATCH 2.6.13-rc5 7/7] ehci: update driver version/comments

2005-08-04 Thread Dan Streetman
Simply updates the ehci driver version and comments based on previous patches to add tt downstream bus scheduling. Signed-off-by: Dan Streetman <[EMAIL PROTECTED]> diff -urpN a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c --- a/drivers/usb/host/ehci-hcd.c 2005-07-15 17:18:57

[linux-usb-devel] Re: Fw: ati-remote strangeness from 2.6.12 onwards

2005-08-04 Thread Andrew Morton
Ryan Brown <[EMAIL PROTECTED]> wrote: > > Sorry Andrew, but the diff was incorrectly made, the updated patch, > reverts the changes too TV, DVD and OK Button, from 2.6.12-rc1. hm, this was about 20 patches and 300 emails ago and I've forgotten what we're discussing. For poor old scatterbrains it

Re: [linux-usb-devel] Fw: BUG: Kernel panic when disconnecting Edirol USB2 audio interface

2005-08-04 Thread Andrew Morton
Clemens Ladisch <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: > > > but it got into an > > > infinite loop as soon as I turn off the UA-1000, repeatedly outputting > > > these four lines: > > > > > > ehci_hcd :00:03.3: devpath 5 ep3in 3strikes > > > ALSA sound/usb/usbmidi.c:176: urb

[linux-usb-devel] Re: System freeze on USB plugin BKi810 Kernel 2.6

2005-08-04 Thread Andrew Morton
"Joseph M. Hinkle" <[EMAIL PROTECTED]> wrote: > > As far back as I can remember with Kernel 2.6 on a > BookPC (BKi810) the kernel will lock up solid when a > USB device is inserted. The curious thing is if the > device is already plugged in when booted up, it will > work normally. > > The only re

Re: [linux-usb-devel] [patch] Prevent hid-core claiming Apple Bluetooth device on new G4 powerbooks

2005-08-04 Thread Alan Stern
On Thu, 4 Aug 2005, Andrew de Quincey wrote: > > Hi, one maconlinux session with the excellent linux kernel usbmon support > later, and I have my G4 powerbook's bluetooth adapter working. > > To recap: My new G4 powerbook has a bluetooth device that boots up in what > apppears to be a compatab

Re: [linux-usb-devel] imx usb gadget controller driver

2005-08-04 Thread Alan Stern
On Fri, 5 Aug 2005, Carles Pina i Estany wrote: > In host computer, in /var/log/messages: > ug 4 15:21:14 pinux kernel: usb 1-1: new full speed USB device using > uhci_hcd and address 18 > Aug 4 15:21:26 pinux kernel: usb 1-1: new full speed USB device using > uhci_hcd and address 19 > Aug 4 15

Re: [linux-usb-devel] [patch] Prevent hid-core claiming Apple Bluetooth device on new G4 powerbooks

2005-08-04 Thread Marcel Holtmann
Hi Alan, > > Hi, one maconlinux session with the excellent linux kernel usbmon support > > later, and I have my G4 powerbook's bluetooth adapter working. > > > > To recap: My new G4 powerbook has a bluetooth device that boots up in what > > apppears to be a compatability mode - it looks exactly

Re: [linux-usb-devel] Kernel Panic related to USB modems

2005-08-04 Thread Pete Zaitcev
On Thu, 4 Aug 2005 10:26:15 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > On Thu, 4 Aug 2005, Oliver Neukum wrote: > Is anyone at RedHat or elsewhere actively supporting the 2.4 UHCI drivers? Yes, I am. This is a part of RHEL 3 product, for about 3 more years or so. So far it was mostly us

[linux-usb-devel] Bug: Consequent insertion of USB devices

2005-08-04 Thread Ravindra Upadhyaya
Hi, I am using Linux kernel with version 2.6.10 for Mips32 Architecture on an Embedded device. The device has one USB host port. The Problem faced by me is After Operating system is Up, when I insert a USB hub to the host port, the USB hub gets detected, later if I insert any other USB device

Re: [linux-usb-devel] Re: Fw: ati-remote strangeness from 2.6.12 onwards

2005-08-04 Thread Frank Loeffler
Hi, Andrew Morton wrote: IOW: what does this (wordwrapped!) patch do? It changes the keycode the kernel is sending for three keys. For normal keyboards there is usually no argument to which keycode to send. An 'a' would send the keycoe for an 'a'. This however is a remote control. The keys