[linux-usb-devel] Support for clearing Hub-TT buffers

2006-08-07 Thread rakesh kn
In function rh_call_control , there is no support for HUB_CLEAR_TT_BUFFER hub request. Suppose if we are connecting low/full speed devices to a USB 2.0 EHCI , host controller., through a HUB , which has a transaction translator . Then the following function usb_hub_tt_clear_buffer will be called

[linux-usb-devel] Issues with ARC-OTG controller in HOST Mode

2006-07-06 Thread rakesh kn
Hi all, Has any body in this list worked wiht ARC-USB High Speed OTG controller with an ULPI interface to an ULPI Transceiver(external). I put the ARC OTG in HOST MODE. I am observing that for HOST Mode, the controller is not able to detect the Device connects when i connect self power devices

[linux-usb-devel] USB EHCI driver on ARM issue

2006-06-29 Thread rakesh kn
Hi all, Did any one work on the USB EHCI driver on a ARM platform (embedded). Is the present EHCI driver code working on ARM platform where the processor is in Big-Endian mode, and the USB-EHCI controller is put to work in ltttle-endian mode. Our problem is that the control transfers are not

Re: [linux-usb-devel] Endianness in qtd_fill()

2006-06-16 Thread rakesh kn
me if my observation is wrong Thanks rak On 6/15/06, David Brownell [EMAIL PROTECTED] wrote: On Thursday 15 June 2006 8:29 am, rakesh kn wrote: Hi, The ARM processor is in BIG-ENDIAN mode. I have executed a program to check in whcih mode is the processor. And to repeat a previous

[linux-usb-devel] Endianness in qtd_fill()

2006-06-15 Thread rakesh kn
Hi all, In Function qtd_fill() (FILE - ehci-q.c) , we get the DMA'able buffer address, but when we fill the qTD, we convert the buffer address to Little Endian. and assigning it as follows qtd-hw_buf [0] = cpu_to_le32 ((u32)addr); qtd-hw_buf_hi [0] = cpu_to_le32 ((u32)(addr 32)); If my

Re: [linux-usb-devel] Endianness in qtd_fill()

2006-06-15 Thread rakesh kn
of DMA address to little endian from native endian (big-endian), would solve the problem.. Thanks On 6/15/06, David Brownell [EMAIL PROTECTED] wrote: On Thursday 15 June 2006 4:14 am, rakesh kn wrote: Hi all, Let me repeat my earlier multiple requests to you that you not send me private email

[linux-usb-devel] No EHCI IRQ reported when device is connected

2006-06-08 Thread rakesh kn
Hi , i am testing the ehci-hcd river for ARC HS OTG controller. I have the following observations when i try connecting devices. After the probe, the POTRSCx values are 0x8c001000 for ARC controller whcih is EHCI complaint. COMMAND: 0x80b01 MODE: 0x7 STATUS: 0x88 INTERRUPT: 0x37 SET INTR

Re: [linux-usb-devel] No EHCI IRQ reported when device is connected

2006-06-08 Thread rakesh kn
] wrote: On Thursday 08 June 2006 12:50 am, rakesh kn wrote: 1) When a OTG hard disk(Self Powered) was connected, there was no interrupt and my ehci_irq interrupt handler was not invoked. When i power on the device i get a DISCONNECT event from the device and the PORTSCx value changes

[linux-usb-devel] No EHCI IRQ reported when device is connected

2006-06-07 Thread rakesh kn
Hi , i am testing the ehci-hcd river for ARC HS OTG controller. I have the following observations when i try connecting devices. After the probe, the POTRSCx values are 0x8c001000 for ARC controller whcih is EHCI complaint. COMMAND: 0x80b01 MODE: 0x7 STATUS: 0x88 INTERRUPT: 0x37 SET INTR

[linux-usb-devel] doubt in port reset

2006-06-05 Thread rakesh kn
Hi all, Port Reset and Port Suspend is done on ports on which device is connected. \What is the difference between PORT SUSPEND, PORT RESET done using the a ) SetPortFeature with Feature PORT_SUSPEND, PORT_RESUME as in USB 2.0 document in section 11.24.2.13. b) Using the PORTSCx register in

[linux-usb-devel] OTG Driver IRQ issues on execution on ARC-OTG Controller

2006-05-26 Thread rakesh kn
Hi All, Our team is developing a USB OTG Controller driver for Linux 2.6.16.11 kernel on a board which runs on ARM Core . The driver is for ARC USB OTG Controller. There are three modules involved viz Host Controller Driver Device

[linux-usb-devel] EHCI Driver not recongnizing the device

2006-05-17 Thread rakesh kn
Hi all, We are testing EHCI driver for ARC-OTG 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

[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] 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] Doubts in HCD Suspend/Resume

2006-05-09 Thread rakesh kn
Hi , I have written the platform glue for ARC - EHCI controller. I provided the suspend/resume call backs in struct platform_driver with CONFIG_PM and CONFIG_USB_SUSPEND for selecti ve suspend/resume enabled. My kernel is compile to be monolithic. So once the kernel boots up, the driver is

[linux-usb-devel] OTG Driver Interrupt Handling

2006-04-25 Thread rakesh kn
Hi, The OTG driver would consist of 3 kernel modules , Host driver module, Device driver module, and OTG transceiver driver module. We have a SPH(Single Port Host) ARC Controller. Since each of these modules have IRQ handlers and are requested to USB IRQ with SH_IRQ and SA_INTERRUPT flags , we

[linux-usb-devel] Testing HCD SUSPEND/RESUME in non-PCI bus based (ARC) controllers

2006-04-21 Thread rakesh kn
-- Forwarded message -- From: rakesh kn [EMAIL PROTECTED] Date: Apr 21, 2006 1:50 PM Subject: Testing HCD SUSPEND/RESUME in non-PCI bus based (ARC) controllers To: David Brownell [EMAIL PROTECTED] Hi, The struct hc_driver in 2.6.16 provides 2 methods for power management

[linux-usb-devel] HELP in patching USB subsystem

2006-04-18 Thread rakesh kn
Hi, I have Linux 2.6.11 linux source with me which has the BSP stuff to get to run on a ARM platform . For this a separate directory is there in arch/ where the BSP stuff is written . I am required to move to 2.6.16 . My primary aim is to write the USB Controller driver for the ARC chip present

[linux-usb-devel] suspend/resume testing for HCD on ARC controller

2006-04-14 Thread rakesh kn
Hi All, We are working in 2.6.11 kernel. We are supposed to test the linux host controller driver for ARC-EHCI controller residing on a non-PCI based bus. All the basic functionality of EHCI driver for ARC can be tested using usbtest.c kernel-mode test driver. We have to test suspend/resume

[linux-usb-devel] HELP , all TESTS FAIL in Testing HCD

2006-04-08 Thread rakesh kn
Hi , Please Help me with this issue. To test the EHCI- HCD driver , i was referring to the site http://www.linux-usb.org/usbtest/ It was told that the usbtest.c, driver test module, testusb.c userland software is used. Also the peripheral used is anything using a full speed Cypress EZ-USB

[linux-usb-devel] USB HCD testing using usbtest.c

2006-04-06 Thread rakesh kn
Hi, I am trying to test the working of ehci-hcd with a generic usb-device. I downloaded usbtest.c from linux-usb-test site. i am using kernel 2.6.11 . I compiled the test driver (usbtest.ko) and insmod it. when i run the test program ./testusb -a , it says usbfs files are missing. When i went

[linux-usb-devel] Help Doubt Test -t3 (Test 3 ) usbtest.c

2006-04-05 Thread rakesh kn
Hi, For testing USB HCD driver , there is a kernel mode driver usbtest.c , which comprises of 16 different tests. I could get the first 2 tests. Test 1 - Simple non-queued bulk Sink (IN) I/O tests Test 2 - Simple non-queued bulk Source (OUT) I/O tests How does the Test 3 and Test 4 work.?

[linux-usb-devel] HELP in Choosing Card Reader for USB HCD TESTING

2006-04-05 Thread rakesh kn
Hi, Those who have done USB HCD Testing for ehci , Please suggest the USB2.0 Card Reader that u have used , which was successfully tested using usbtest.c. The card reader should be using a Cypress EX-USB chip. Please mention the Product Name and if possible the manufacturers. Please suggest Card

[linux-usb-devel] OTG in EHCI (Hub Power Issues)

2006-04-03 Thread rakesh kn
Hi, Can any one explain what does the function hub_set_power_budget in file hub.h does.? I can see from the code that it sets the power_budget to a minimum of 250 mA (= 500 /2)or 4 mA (if OTG , power = 8 /2) ..? I have an ARC controller, with an embedded TT , also it is an OTG controller. For

[linux-usb-devel] EHCI - OTG Transceiver (ULPI ) Issues

2006-04-03 Thread rakesh kn
H i ARC controller Core is having the ULPI interface as its Transceiver. I have a some deviations in USBSTS, PORTSCx,OTGSC registers for programming ULPI transceiver select, clocking etc. Can u provide some help on general issues, on how the transceiver must be approached while programming. a)

[linux-usb-devel] ANAMOLY in ehci_irq() -- Clarify ehci_irq() handling for ehci spec

2006-03-30 Thread rakesh kn
Hi david, The ehci_irq() function in struct hc_driver is the irq handler for the EHCI host controller. The EHCI specification section 4.15 specifies the different types of interrupts. 1) Transaction based interrupts 2)Host controller events (Port change events, etc.), and 3) Host Controller

[linux-usb-devel] Handling of Interrupts in ehci_irq()

2006-03-28 Thread rakesh kn
Hi , Does the implementation of INTERRUPT handler or ISR routine of EHCI controller driver ehci_irq() handle the port change events mentioned in section 4.15.2.1 in ehci-r1.0 specification. What should be the handling for the following status bit changes.. 1)connect status change 2)port

[linux-usb-devel] USB Geeks: Help for OTG support in EHCI driver

2006-03-22 Thread rakesh kn
Hi all, Linux 2.6.16-rc6 has ehci-au1xxx.c file which is the EHCI host controller driver for au1xxx . Keeping the above framework which is a driver for a non-PCI EHCI controller driver.. Can any one help me on how to provide OTG support to the above framework. Please provide someinformation on

[linux-usb-devel] USB Geeks: HELP in EHCI driver development

2006-03-20 Thread rakesh kn
Hi, I am relatively a newbie at USB development. My doubts are simple . Can any one shed some lights on these. 1) What is the relevance of suspend and resume call backs that we find in struct device_driver.? There are also the same call backs in struct hc_driver?. What are they used for. ? Are