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

2006-08-06 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 li

[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 get

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 pro

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

2006-06-15 Thread rakesh kn
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 t

[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 pro

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

2006-06-08 Thread rakesh kn
ll <[EMAIL PROTECTED]> 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 eve

[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 ARE

[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 ARE

[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 the

[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 Contro

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

2006-05-17 Thread rakesh kn
ocess a usb_hub Returning from function usb_set_configuration Notifier Function usbdev_notify is called /home/rakesh/linux/sources/linux-2.6.16.11/drivers/usb/core/inode.c: creating file '001' Returning from function usb_new_device Returned from function register_root_hub Function hub_events is

[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 devi

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

2006-05-15 Thread rakesh kn
t_urb called Function hcd_submit_urb is called Calling function rh_urb_enqueue to queue Setup URB to Root Hub Function kick_khubd called . this wakes up hub_thread process a usb_hub Returning from function usb_set_configuration Notifier Function usbdev_notify is called /home/rakesh/linux/sources/l

[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 regis

[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 h

[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 powe

[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 on

[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 fu

[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 c

[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

[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] Help Doubt Test -t3 (Test 3 ) usbtest.c

2006-04-04 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] 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) D

[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] 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 error

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

2006-03-28 Thread rakesh kn
nd out the speed.(FS/HS/LS). Where is that done.If so where and in which structure is the device speed information stored after the device connect speed is found .? Rakesh Thanks --- This SF.Net email is sponsored by xPML, a groundbreaking scriptin

[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 w

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

2006-03-20 Thread rakesh kn
for implementing my controller driver. Please remember that my controller has an embedded TT. (Please has any one worked on ARC USB-OTG controller drivers). This would be of great help... Please mention the files which can be re-used as it is

[linux-usb-devel] usb gadget driver for OBEX."

2005-06-23 Thread rakesh
Hi have you know any information about "usb gadget driver for OBEX." help me. thank you regards rakesh --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, strai

[linux-usb-devel] usb gadgt for OBEX

2005-06-22 Thread rakesh
hi i m linux user. is there any linux doc on driver for USB GADGET for OBEX.? can you help me??? thank you regards rakesh -- RAKESH YADAV B.Tech final Year Electronics and Communication ENGG I.I.T. ROORKEE --- SF.Net email is sponsored by

Re: [linux-usb-devel] data transffer over USB cable

2002-04-25 Thread Rakesh A. Ughreja
Is it possible to use Simple A-to-A cable for this purpose ? if not why not ? if yes then in what sense it is different from USB network cables ? Thanks - Original Message - From: "Steve Calfee" <[EMAIL PROTECTED]> To: "Rakesh A. Ughreja" <[EMAIL PROT

Re: [linux-usb-devel] data transffer over USB cable

2002-04-25 Thread Rakesh A. Ughreja
lf-duplex based on auto-negotiated partner ability . memory : c7e57220 memory : memory : c7e571e0 Thanks in Advance. - Original Message - From: "Brad Hards" <[EMAIL PROTECTED]> To: "Rakesh A. Ughreja" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>

Re: [linux-usb-devel] data transffer over USB cable

2002-04-21 Thread Rakesh A. Ughreja
> > Yes, I am using ifconfig -a option. but it is not showing any usb0 device. > > Currently I am experimenting on single PC. with no cable connected to any > > ports. I am able to successfully load all the necessory modules. lsmod > > shows usage count 0. > > > > What can be the possible reasons

Re: [linux-usb-devel] data transffer over USB cable

2002-04-21 Thread Rakesh A. Ughreja
g on single PC. with no cable connected to any ports. I am able to successfully load all the necessory modules. lsmod shows usage count 0. What can be the possible reasons for not showing usb0 ? Regards Rakesh ___ [EMAIL PROTECTED] To

Re: [linux-usb-devel] data transffer over USB cable

2002-04-21 Thread Rakesh A. Ughreja
e any documentation or howto which can provide me correct info ? Thanks for quick response. Rakesh > I've had better luck with the more expensive Belkin products > than the cheaper Prolific based ones, but as they say "your > mileage may vary". (The "usbnet" dr

[linux-usb-devel] data transffer over USB cable

2002-04-19 Thread Rakesh A. Ughreja
Linux which can do this ? Or if I want to write my own application for this, is there any source of information to begin with ? I am familliar with Serial communication but never tried any thing on USB cable. Thanks Rakesh ___ [EMAIL PROTECTED] To