[linux-usb-devel] ISP1362 on PPC

2006-06-07 Thread listmail
I am using Lothar's isp1362-hcd.c driver on a 2.6.16 kernel and a homebrew power pc board. I got the driver to semi work and it is talking with the chip, best I can tell. I am trying to get a simple usb flash key to work... and so far, It looks like the start address is going out and I think an

[linux-usb-devel] isp1362-hcd

2006-05-07 Thread Vishal Oliyil Kunnil
Hi, I am using the isp1362-hcd driver on a cutom PXA board ... It works okay but the ethernet get disabled once the isp driver comes up (without isp1362-hcd ethernet works fine) . has anyone faced this problem earlier (with ethernet or any other device) ? Regards, Vishal

[linux-usb-devel] isp1362-hcd - hub_configure not done

2006-03-31 Thread Vishal Oliyil Kunnil
Hi, I am getting the following on trying to get the isp1362-hcd running on a custom PXA-255 board, (kernel 2.6.11.11) driver isp1362-hcd, 2005-04-04 isp1362-hcd isp1362-hcd0: ISP1362 Host Controller isp1362_hc_reset: isp1362-hcd isp1362-hcd0: new USB bus registered, assigned bus number 1 isp1362-h

Re: [linux-usb-devel] isp1362-hcd - usb usb1: bogus endpoint ep0in in usb_submit_urb (bad maxpacket 0)

2006-03-16 Thread Alan Stern
On Thu, 16 Mar 2006, Vishal Oliyil Kunnil wrote: > Hi, > I am trying to get the isp1362-hcd driver running on a custom PXA board . Got > lots of info from the list archives, had to pull the H_WAKE pin low to get > the clock trigger ready (Thanks to the list archives :) ) > > IRQ 27 is assinged

[linux-usb-devel] isp1362-hcd - usb usb1: bogus endpoint ep0in in usb_submit_urb (bad maxpacket 0)

2006-03-16 Thread Vishal Oliyil Kunnil
Hi, I am trying to get the isp1362-hcd driver running on a custom PXA board . Got lots of info from the list archives, had to pull the H_WAKE pin low to get the clock trigger ready (Thanks to the list archives :) ) IRQ 27 is assinged to ISP1362 INT1, but i am getting the error irq 25 :nobody c

[linux-usb-devel] ISP1362-hcd

2006-03-14 Thread Vishal Oliyil Kunnil
Hi, I am trying to port the isp1362-hcd driver on a custom PXA-255 board, and am unable to make register read/write. ISP1362 is on CS2 ie DEX_USB_HOST_PHYS is defined as PXA_CS2_PHYS. I am attaching the platform file . thanks in advance, Regards, Vishal static struct map_desc dex_io_desc[] __

[linux-usb-devel] ISP1362-hcd

2006-03-13 Thread Vishal Oliyil Kunnil
Hi, I am trying to port the isp1362-hcd driver on a custom PXA-255 board, and am unable to make register read/write. Why are two types of delay functions used ? which is better ? Regards, Vishal --- This SF.Net email is sponsored by xPML, a

Re: [linux-usb-devel] isp1362

2005-10-31 Thread Olav Kongas
On Mon, 31 Oct 2005, Jeroen Roose wrote: > Hi, > > I'm working on usb host support for the isp1362 on out arm > platform. On the mailinglist I found a patch from Lothar > Wassmann dated 2005/04/08. > Is there ongoing development going on for this chip ? Is the > L.W. patch a good starting point

[linux-usb-devel] isp1362

2005-10-31 Thread Jeroen Roose
Hi, I'm working on usb host support for the isp1362 on out arm platform. On the mailinglist I found a patch from Lothar Wassmann dated 2005/04/08. Is there ongoing development going on for this chip ? Is the L.W. patch a good starting point to get usb support for the isp1362 ? I'm a newbee to

Re: [linux-usb-devel] isp1362

2005-06-07 Thread Olav Kongas
On Tue, 7 Jun 2005, Lothar Wassmann wrote: > Hi, > > > > This is true for ISP116x. But the ISP1362 has a smarter handling for > > > periodic transfers than the ISP116x. PTDs in the INTL buffer will > > > automatically be rescheduled without CPU intervention (as long as they > > > are NAKed by t

Re: [linux-usb-devel] isp1362

2005-06-07 Thread Lothar Wassmann
Hi, > > This is true for ISP116x. But the ISP1362 has a smarter handling for > > periodic transfers than the ISP116x. PTDs in the INTL buffer will > > automatically be rescheduled without CPU intervention (as long as they > > are NAKed by the device). Thus the SOF interrupt is not necessary for >

Re: [linux-usb-devel] isp1362

2005-06-07 Thread Olav Kongas
On Tue, 7 Jun 2005, Lothar Wassmann wrote: > Hi, > > > SOF interrupt is needed for periodic transfers, while for > > control and bulk transfers it is not. So, enumeration itself > > > This is true for ISP116x. But the ISP1362 has a smarter handling for > periodic transfers than the ISP116x. P

Re: [linux-usb-devel] isp1362

2005-06-07 Thread Lothar Wassmann
Hi, > SOF interrupt is needed for periodic transfers, while for > control and bulk transfers it is not. So, enumeration itself > This is true for ISP116x. But the ISP1362 has a smarter handling for periodic transfers than the ISP116x. PTDs in the INTL buffer will automatically be rescheduled wit

Re: [linux-usb-devel] isp1362

2005-06-07 Thread Olav Kongas
On Tue, 7 Jun 2005, Marco Schramel wrote: > we use an isp1362 on kernel 2.4.25. All works fine and it communicates with > all devices (mass storage, serials and our own usb devices). > But there is one question regarding th isp. > Is it really necessary to handle an interrupt every ms ? Without

[linux-usb-devel] isp1362

2005-06-07 Thread Marco Schramel
Hi all, we use an isp1362 on kernel 2.4.25. All works fine and it communicates with all devices (mass storage, serials and our own usb devices). But there is one question regarding th isp. Is it really necessary to handle an interrupt every ms ? Without activating this interrupt the devices cou

Re: [linux-usb-devel] ISP1362 HCD detects, but no interrupts

2005-05-04 Thread Andre Renaud
> Hey. I just wanted to pipe in that I had this problem for a short > while as well. It boggled my mind.. doesn't spin_lock prevent two > interrupt handlers from entering this function at the same time? > > irq_active is only referenced in this function, and it's subtracted > at the end. I did

Re: [linux-usb-devel] isp1362-hcd success & question

2005-05-04 Thread Alan Stern
On Wed, 4 May 2005, Michael wrote: > Hi. > I'm pleased to announce that I've got my driver working! I was > able yesterday to attach a USB-network device, and get it onto the > network, and use telnet! The ohci-isp1362 driver didn't get me > that far. > That's encouraging, and I think that I'll

Re: [linux-usb-devel] ISP1362 HCD detects, but no interrupts

2005-05-04 Thread Michael
> Thanks for this clearing int_edge_triggered has made the > interrupts > appear, but unfortunately now I hit a 'BUG_ON' in isp1362_irq, > > 1089:spin_lock(&isp1362_hcd->lock); > 1090: > 1091:BUG_ON(isp1362_hcd->irq_active++); > 1092: > 1093:isp1362_write_reg16(isp1362_hc

[linux-usb-devel] isp1362-hcd success & question

2005-05-04 Thread Michael
Hi. I'm pleased to announce that I've got my driver working! I was able yesterday to attach a USB-network device, and get it onto the network, and use telnet! The ohci-isp1362 driver didn't get me that far. That's encouraging, and I think that I'll likely be able to write reliably to a flash driv

Re: [linux-usb-devel] ISP1362 HCD detects, but no interrupts

2005-05-03 Thread Lothar Wassmann
Hi, > 1089:spin_lock(&isp1362_hcd->lock); > 1090: > 1091:BUG_ON(isp1362_hcd->irq_active++); > 1092: > 1093:isp1362_write_reg16(isp1362_hcd, HCuPINTENB, 0); > > It would appear that it is entering the interrupt handler twice for some > reason. > > Should I be setting the I

Re: [linux-usb-devel] ISP1362 HCD detects, but no interrupts

2005-05-02 Thread Andre Renaud
> You should probably clear the 'int_edge_triggered' flag in the > platform_data to make the chip assert its interrupt output until the > interrupt has been acknowledged to the chip, since the 160ns pulse > that the chip generates in 'edge triggered mode' may be too short to > be detected by the CP

Re: [linux-usb-devel] ISP1362 HCD detects, but no interrupts

2005-05-02 Thread Lothar Wassmann
Hi, > I'm using the ISP1362 HCd recently posted to this mailing list, and have > it detecting the chip correctly, and passing the CHIP_BUFFER_TEST, but > it doesn't appear to be sending any interrupts. At this stage I cannot > be sure it isn't a hardware problem, but I was wondering if there were

[linux-usb-devel] ISP1362 HCD detects, but no interrupts

2005-05-01 Thread Andre Renaud
I'm using the ISP1362 HCd recently posted to this mailing list, and have it detecting the chip correctly, and passing the CHIP_BUFFER_TEST, but it doesn't appear to be sending any interrupts. At this stage I cannot be sure it isn't a hardware problem, but I was wondering if there were any settings

Re: [linux-usb-devel] isp1362-hcd: "irq24: nobody cared"

2005-04-28 Thread David Brownell
On Thursday 28 April 2005 1:07 pm, Michael wrote: > > > As far as the "missing status stage", this still happens, but it > runs okay. This warning happens for the get descriptors for the > lang IDs, the iProduct, iManufacturer, and iSerialNumber data. I'm > assuming it's a more general USB thin

Re: [linux-usb-devel] isp1362-hcd: "irq24: nobody cared"

2005-04-28 Thread Lothar Wassmann
Hi, > So, we're handling all of the interrupts fine, but every time we > handle an ATL interrupt, it says that it's not handled, and we get > the "nobody cared" message. > Oops. I wonder, why I did never get one of those... > Thanks for your feedback and insight. It sure helped me find this > p

Re: [linux-usb-devel] isp1362-hcd: "irq24: nobody cared"

2005-04-28 Thread Michael
> > No, I suppose I don't have a special reason. I'm running my > > kernel without any modules at all, so I was sticking to that. > > I have it automated to be easy enough to boot with a new > > kernel. (As easy as transferring a new module over and trying > > it out). > > > I'm running my test

Re: [linux-usb-devel] isp1362-hcd: "irq24: nobody cared" and "missing status stages"

2005-04-28 Thread Lothar Wassmann
Hi Michael, > No, I suppose I don't have a special reason. I'm running my kernel > without any modules at all, so I was sticking to that. I have it > automated to be easy enough to boot with a new kernel. (As easy as > transferring a new module over and trying it out). > I'm running my test sys

Re: [linux-usb-devel] isp1362-hcd: "irq24: nobody cared" and "missing status stages"

2005-04-28 Thread Michael
--- Lothar Wassmann <[EMAIL PROTECTED]> wrote: > Hi Michael, > > Michael writes: > > I would disagree. I added a printk at the top of the > > isp1362_irq function, as you can see in the bootup messages. > > However, it doesn't show up with the "nobody cared" messages. > > Perhaps this is a hin

Re: [linux-usb-devel] isp1362-hcd: "irq24: nobody cared" and "missing status stages"

2005-04-27 Thread Lothar Wassmann
Hi, > The bigger problem, is that traffic stops after the first Class IN > request, where I expect to get IN/OUT transactions. I also get a > bunch of "irq24: nobody cared" messages throughout the > above-mentioned behavior. > What exactly does this mean? When does this happen? IRQ24 should > A

[linux-usb-devel] isp1362-hcd: "irq24: nobody cared" and "missing status stages"

2005-04-27 Thread Michael
Hello again. I'm having trouble with the isp1362-hcd driver, and any insights (or tips on how to debug) would be greatly appreciated. I have an 'ellisys USB Tracker', so I can take a look at the traffic on the bus. With the isp1362-hcd driver the way I have it right now, a bunch of the GetDescri

[linux-usb-devel] isp1362-hcd driver feedback

2005-04-27 Thread Michael
Hey. I nearly have this driver working (I hope), and I wanted to give you some feedback so far on what I needed to do to get it into my kernel. I'm using a Sharp LH7A40x SoC, on my own custom board. This is using the Philips ISP1362 USB-OTG controller, but I'm only using it for host capability.

[linux-usb-devel] isp1362-hcd and XFERCTR

2005-04-19 Thread Michael
Hi. I'm having some trouble with your driver, and there's parts I don't understand. The one I'm asking about this time, is: Where is XFERCTR being set? The below code snippet mentions assuming it's set up, but I can't find the code that actually sets it up! // use readsw/writesw to access the f

Re: [linux-usb-devel] isp1362 hw connection

2005-04-19 Thread Lothar Wassmann
Hi, > Is there any reason to connect ISP1362 with 4 byte offset of registers, > while all registers are 16-bit, and my data-bus width is 16-bit too? > Yes. This enables using 32bit load/store instructions to access the chip (though the chip interface is still 16 bit). The PXA memory interface doe

[linux-usb-devel] isp1362 hw connection

2005-04-18 Thread Wojciech Kromer
Is there any reason to connect ISP1362 with 4 byte offset of registers, while all registers are 16-bit, and my data-bus width is 16-bit too? Now i'm using 2-byte offset. I can reset my ISP1362, I can also read chip ID, but testing memory (with Lothar's driver) fails. Probably resetting interrupt st

Re: [linux-usb-devel] isp1362 with dma & otg client/host support for 2.6 kernel

2005-04-09 Thread Wojciech Kromer
Of course i've started my work with isp3163 searching this list, but I found no driver for 2.6 supports all features that original one does. I found and tested ohci-isp1362 one, but there is no support for DMA and OTG. Really? At one point, I thought it only supported DMA (in which case I wa

Re: [linux-usb-devel] isp1362 with dma & otg client/host support for 2.6 kernel

2005-04-08 Thread Wojciech Kromer
Can I gripe a little bit? OK. You are right. 1. Please search the mailing list archives... there you'll find out that there are some drivers for the ISP1362 (so-called 'ohci-isp1362'), and a new one that's coming out soon. Of course i've started my work with isp3163 searching this list, but

[linux-usb-devel] ISP1362 driver for linux 2.4.x

2005-04-07 Thread thomas chen
i see a few discussion going about this driver being developed... but i cannot find any reference to where i might get a copy to try out ? can someone point me to url or where to find this ISP1362 host driver ? thanks --- SF email is sponsored b

Re: [linux-usb-devel] isp1362 with dma & otg client/host support for 2.6 kernel

2005-04-07 Thread Michael
> is there any work done to port isp1362 full drivers for 2.6 > kernels? > > are there any hints for porting usb drivers for 2.6 series (i'm > using > 2.6.11) > a lot of defines has gone.., structures have been changed > there are even hard differences between 2.6.7 an 2.6.11 ... > > i've j

[linux-usb-devel] isp1362 with dma & otg client/host support for 2.6 kernel

2005-04-07 Thread Wojciech Kromer
is there any work done to port isp1362 full drivers for 2.6 kernels? are there any hints for porting usb drivers for 2.6 series (i'm using 2.6.11) a lot of defines has gone.., structures have been changed there are even hard differences between 2.6.7 an 2.6.11 ... i've jus started to do it, b

[linux-usb-devel] isp1362 interrupts

2005-03-03 Thread Marco Schramel
Hi, i use the isp1362 as host. My cpu can initialize the isp. I manually can access the isp registers. The boot messages are : ... usb.c: registered new driver usbdevfs usb.c: registered new driver hub isp1362-HC Detected usb.c: new USB bus registered, assigned bus number 1 Product: USB OHCI Ro

Re: [linux-usb-devel] ISP1362 driver status

2005-02-17 Thread Lothar Wassmann
Hi, > Does anyone know if there has been much work recently on the OHCI-based > ISP1362 driver? I see that at http://www.karo-electronics.de/132.0.html > the last update was in November of last year, and from the mailing list > it looks as if the idea of basing them on the OHCI framework has died

Re: [linux-usb-devel] ISP1362 driver status

2005-02-16 Thread Olav Kongas
On Thu, 17 Feb 2005, Andre Renaud wrote: > On an alternative tack, is it possible to use the 116x driver from > http://www.artecdesign.ee/~ok/isp116x/ with an 1362 chip for host-only > support? I was under the impression that the 1362 contained a super set > of the 116x functionality. The 1362

[linux-usb-devel] ISP1362 driver status

2005-02-16 Thread Andre Renaud
Does anyone know if there has been much work recently on the OHCI-based ISP1362 driver? I see that at http://www.karo-electronics.de/132.0.html the last update was in November of last year, and from the mailing list it looks as if the idea of basing them on the OHCI framework has died off. On an a

[linux-usb-devel] isp1362 driver - BUG_ON(xfer_size < mps)

2004-12-16 Thread Michael
Hi. I'm using the ohci-isp1362 driver, and I'm finally getting it working. However, I can make it crash every time I use a usb-serial adapter. I seem to trigger the BUG_ON(xfer_size < mps) in process_td. (ohci-isp1362-emu.c) It seems the null pointer dereference is caused by the BUG_ON macro..

[linux-usb-devel] ISP1362 driver debugging

2004-12-08 Thread Michael
Hi. I am trying to get the ohci-isp1362 driver working, and I feel like I am almost there. Here's my situation: The only thing I'm using it for right now is to transfer files to and from a flash drive. I can enumerate fine, and it seems I can list files and directories just fine too. I can wri

[linux-usb-devel] ISP1362 bug - data toggle mismatch

2004-12-01 Thread Michael
Hello ISP1362/1160/.. mates. Have any of you ran into this error message:? " update_td_status: TD c115d040 ERROR 3 TD_CC_DATATOGGLEM Retiring TD c115d040 ED c115c080 info 00401102 with CC=3 #887b retire_td: ED c115c080 (TD c115d040) Halted due to error: 3 " I thought I could read from a USB f

[linux-usb-devel] ISP1362 driver - write_reg32 & drop_all_ptds

2004-11-22 Thread Michael
Hi. I'm trying to use the changes in your latest driver, but there are two bigger issues I've run into. 1. It doesn't seem to include the functions 'drop_all_ptds' and 'drop_ptds_for_td', which are necessary in order to compile. 2. The read/write_data32 calls seem to me to be wrong, as they only

[linux-usb-devel] ISP1362/116x register differences

2004-10-12 Thread Dimitris Lampridis
On Tue, 2004-10-12 at 15:10, Ian Campbell wrote: > On Tue, 2004-10-12 at 11:44, Ian Campbell wrote: > > Thanks for this: I now have it detecting my ISP116x. The current version > > crashes in isp1362_start_chip which I haven't figured out yet. > > Turns out it is because of accessing ISP1362-only