Re: [linux-usb-devel] Problem with async bulk in a new driver

2005-12-26 Thread Greg KH
On Mon, Dec 26, 2005 at 03:48:19PM +, Daniel Drake wrote: > Alan Stern wrote: > >I didn't go through the details of the firmware transfer, but everything > >else looked correct. It's not obvious why the device doesn't respond to > >your program. > > I just found the problem. > > I upgraded

Re: [linux-usb-devel] Problem with async bulk in a new driver

2005-12-26 Thread Alan Stern
On Mon, 26 Dec 2005, Daniel Drake wrote: > I just found the problem. > > I upgraded to amd64 and my driver didn't work at all. Kernel panic > ("PCI-DMA: high address but no IOMMU") during the first firmware packet > transfer. > > Turns out you can't just use the data part of the firmware struc

Re: [linux-usb-devel] Problem with async bulk in a new driver

2005-12-26 Thread Daniel Drake
Alan Stern wrote: I didn't go through the details of the firmware transfer, but everything else looked correct. It's not obvious why the device doesn't respond to your program. I just found the problem. I upgraded to amd64 and my driver didn't work at all. Kernel panic ("PCI-DMA: high addre

Re: [linux-usb-devel] Problem with async bulk in a new driver

2005-11-15 Thread Daniel Drake
gerard klaver wrote: Did you set the configuration, interface and altsetting before the bulk read command? Not explicitly, but my driver probe routine checks the interface so this should be already binded. I based my driver on the structure of others, so I don't think this is required. Eith

Re: [linux-usb-devel] Problem with async bulk in a new driver

2005-11-15 Thread Daniel Drake
Alan Stern wrote: But the data shown by usbmon is different from the data shown by UsbSnoop! The Linux data indicates the presence of 3 interfaces whereas the Windows data indicates just 1. Maybe Windows has filtered the data for you. Under UsbSnoop I get 4 possible options for what I log- a

Re: [linux-usb-devel] Problem with async bulk in a new driver

2005-11-15 Thread Alan Stern
On Mon, 14 Nov 2005, Daniel Drake wrote: > I'm sorry to throw a mass of sniffed data and early driver code at the list, > but I've been working on this problem for a few days now, with no success. > I'm > hoping that someone might be able to spot an obvious mistake or offer > suggestions on th

Re: [linux-usb-devel] Problem with async bulk in a new driver

2005-11-15 Thread gerard klaver
On Mon, 2005-11-14 at 23:36 +, Daniel Drake wrote: > I'm sorry to throw a mass of sniffed data and early driver code at the list, > but I've been working on this problem for a few days now, with no success. > I'm > hoping that someone might be able to spot an obvious mistake or offer > sugg