Re: [linux-usb-devel] Re: Question about OTG operations

2006-03-01 Thread Steve Calfee
From: David Brownell <[EMAIL PROTECTED]> To: [email protected] CC: "Steve Calfee" <[EMAIL PROTECTED]> Subject: Re: [linux-usb-devel] Re: Question about OTG operations Date: Tue, 28 Feb 2006 23:42:35 -0800 On Tuesday 28 February 2006 11:03 pm, Steve Calfe

Re: [linux-usb-devel] Re: Question about OTG operations

2006-02-28 Thread David Brownell
On Tuesday 28 February 2006 11:03 pm, Steve Calfee wrote: > Yes, it is a huge drawback to the spec. Being host does not say you provide > power, being "A" connector does. How do you communicate the fact that your > handheld can use and get power from a device if it is plugged in properly. That

Re: [linux-usb-devel] Re: Question about OTG operations

2006-02-28 Thread Steve Calfee
From: David Brownell <[EMAIL PROTECTED]> To: "Steve Calfee" <[EMAIL PROTECTED]> CC: [email protected] Subject: Re: [linux-usb-devel] Re: Question about OTG operations Date: Tue, 28 Feb 2006 22:46:42 -0800 On Tuesday 28 February 2006 10:20 pm, Steve C

RE: [linux-usb-devel] Re: Question about OTG operations

2006-02-28 Thread Steve Calfee
From: Li Yang-r58472 <[EMAIL PROTECTED]> To: Steve Calfee <[EMAIL PROTECTED]>, [EMAIL PROTECTED] CC: [email protected] Subject: RE: [linux-usb-devel] Re: Question about OTG operations Date: Wed, 1 Mar 2006 14:44:31 +0800 > -Original Message- > From

Re: [linux-usb-devel] Re: Question about OTG operations

2006-02-28 Thread David Brownell
On Tuesday 28 February 2006 10:20 pm, Steve Calfee wrote: > So for instance if you have a battery powered PC and wish to connect it to a > powered printer or a display device it would be nice if the A connector goes > into the "peripheral" and the b into the "computer" that way the computer > w

RE: [linux-usb-devel] Re: Question about OTG operations

2006-02-28 Thread Li Yang-r58472
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Steve > Calfee > Sent: Wednesday, March 01, 2006 2:21 PM > To: [EMAIL PROTECTED] > Cc: [email protected] > Subject: RE: [linux-usb-devel] Re: Question about

RE: [linux-usb-devel] Re: Question about OTG operations

2006-02-28 Thread Steve Calfee
On Tuesday 28 February 2006 7:44 pm, Li Yang-r58472 wrote: > Thanks Dave, > > So the current application of HNP is only to correct wrongly connected cable? That's not what I said, but it _is_ the only scenario that's completely spelled out in the specs. One other really useful aspect of OTG

Re: [linux-usb-devel] Re: Question about OTG operations

2006-02-28 Thread Stephen J. Gowdy
FYI the original didn't make it to the list due to an HTML attachment. On Tue, 28 Feb 2006, David Brownell wrote: > On Tuesday 28 February 2006 4:15 am, Li Yang-r58472 wrote: > > > > I'm doing OTG support on a Freescale PowerPC platform. > > The basic ID specified role change can work correctly.

Re: [linux-usb-devel] Re: Question about evdev

2005-02-16 Thread Vojtech Pavlik
On Wed, Feb 16, 2005 at 12:43:14PM -0500, Dan Streetman wrote: > > On Wed, 16 Feb 2005, Vojtech Pavlik wrote: > > >It doesn't flip them while it should flip the Y coordinate. This is > >because many touchscreens have [0,0] in their bottom left corner by > >hardware, being in the 1st quadrant, whi

Re: [linux-usb-devel] Re: question on hid usage pages

2004-01-28 Thread Oliver Neukum
Am Mittwoch, 28. Januar 2004 11:44 schrieb Brad Hards: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Sun, 25 Jan 2004 22:20 pm, Oliver Neukum wrote: > > Aren't keys who are advertising themselves in that way according to the > > standard declaring themselves not to be keyboards? It seem

Re: [linux-usb-devel] Re: question on hid usage pages

2004-01-28 Thread Vojtech Pavlik
On Wed, Jan 28, 2004 at 01:27:35PM +0100, Oliver Neukum wrote: > Am Mittwoch, 28. Januar 2004 11:44 schrieb Brad Hards: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On Sun, 25 Jan 2004 22:20 pm, Oliver Neukum wrote: > > > Aren't keys who are advertising themselves in that way acco

Re: [linux-usb-devel] Re: question on hid usage pages

2004-01-28 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 25 Jan 2004 22:20 pm, Oliver Neukum wrote: > Aren't keys who are advertising themselves in that way according to the > standard declaring themselves not to be keyboards? It seems to me that > such devices should use the system control usage of

Re: [linux-usb-devel] Re: question on hid usage pages

2004-01-27 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 09 Jan 2004 20:12 pm, Vojtech Pavlik wrote: > > I have been notified that there are devices of this type which would > > rather be accessed through hiddev. Reading the usage page specification > > which calls such devices "application specific"

Re: [linux-usb-devel] Re: question on hid usage pages

2004-01-27 Thread Oliver Neukum
Am Sonntag, 25. Januar 2004 02:38 schrieb Brad Hards: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Fri, 09 Jan 2004 20:12 pm, Vojtech Pavlik wrote: > > > I have been notified that there are devices of this type which would > > > rather be accessed through hiddev. Reading the usage page

Fwd: Re: [linux-usb-devel] Re: question on hid usage pages

2004-01-26 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry, wrong reply option in KMail. - -- Forwarded Message -- Subject: Re: [linux-usb-devel] Re: question on hid usage pages Date: Sun, 25 Jan 2004 22:28 pm From: Brad Hards <[EMAIL PROTECTED]> To: Oliver Neukum <[EMAIL

Re: [linux-usb-devel] Re: Question [WORKS NOW!]

2003-11-28 Thread Kleiner Hampel
David Brownell wrote: > Yeouch! Microsoft's EHCI drivers? From what OS version? > Identical hardware in both cases? So i did the test: Hardware: USB 2.0 storage (supporting max sectors = 240) connected to usb extension PCI card. Tested Partition: Partition 1 (18GB), FAT32 Filesize: 799MB 1: Wi

Re: [linux-usb-devel] Re: Question [WORKS NOW!]

2003-11-28 Thread Kleiner Hampel
Alan Stern wrote: > To be safest, I would choose multiples of 8. I don't know to what extent > it matters. The max. value i can choose is 135, but you said a multiple of 8 is besser, so now i'm using value 128... regards, hampel --- This SF

Re: [linux-usb-devel] Re: Question [WORKS NOW!]

2003-11-28 Thread David Brownell
[EMAIL PROTECTED] wrote: Alan Stern wrote: This isn't diretly connected with the speed; it's more a question of how much data can be sent in a single command. Setting max_sectors to 120 limits the driver to sending 60 KB at once (a sector is 512 bytes). It's the only real throughput-restricting c

Re: [linux-usb-devel] Re: Question [WORKS NOW!]

2003-11-28 Thread Alan Stern
On Fri, 28 Nov 2003 [EMAIL PROTECTED] wrote: > Alan Stern wrote: > > Are you sure that _all_ values don't work? I would expect that at least > > 128 would be okay. But no, I can't explain what's going on with your > > device. > > I tried some values down until 140, all of them didn't work. >

Re: [linux-usb-devel] Re: Question [WORKS NOW!]

2003-11-28 Thread kleiner_hampel
Alan Stern wrote: > Are you sure that _all_ values don't work? I would expect that at least > 128 would be okay. But no, I can't explain what's going on with your > device. I tried some values down until 140, all of them didn't work. So i made a jump from 140 to 120 and this value is working n

Re: [linux-usb-devel] Re: Question [WORKS NOW!]

2003-11-27 Thread Alan Stern
On Thu, 27 Nov 2003, Kleiner Hampel wrote: > Alan Stern wrote: > > You will have to manually edit the file drivers/usb/storage/scsiglue.c in > > your kernel source. Around about line 320 in the file you may or may not > > see a line that says > > > > .max_sectors = 240, > > > > I

Re: [linux-usb-devel] Re: Question [WORKS NOW!]

2003-11-27 Thread Kleiner Hampel
Alan Stern wrote: > You will have to manually edit the file drivers/usb/storage/scsiglue.c in > your kernel source. Around about line 320 in the file you may or may not > see a line that says > > .max_sectors = 240, > > If it's there, try changing the 240 to 120. If it's not th

Re: [linux-usb-devel] Re: Question

2003-11-27 Thread Alan Stern
On Thu, 27 Nov 2003 [EMAIL PROTECTED] wrote: > Would it help you knowing, that i tested an other usb 2.0 hard disk > enclosure, that did work with kernel 2.6? > But again, both work good with kernel 2.4.22. It doesn't surprise me. There is only a small number of devices that work with 2.4.22 an

Re: [linux-usb-devel] Re: Question

2003-11-27 Thread kleiner_hampel
Alan Stern wrote: > Looking through the dmesg output isn't as useful as I had hoped. There > are other differences between 2.4 and 2.6 that obscure the problem we're > trying to solve. > > Don't be too surprised that something works under 2.4 and fails under 2.6! > > There have been a lot of

Re: [linux-usb-devel] Re: Question

2003-11-26 Thread Alan Stern
On Wed, 26 Nov 2003, Kleiner Hampel wrote: > Am Mit, den 26.11.2003 schrieb Alan Stern um 16:28: > > Interesting. It shows everything working at first, and then the device > > fails at the first large (>64 KB) read. > > > > Is this using the EHCI driver (is it a high-speed connection)? I've se

Re: [linux-usb-devel] Re: Question

2003-11-26 Thread Kleiner Hampel
Am Mit, den 26.11.2003 schrieb Alan Stern um 16:28: > Interesting. It shows everything working at first, and then the device > fails at the first large (>64 KB) read. > > Is this using the EHCI driver (is it a high-speed connection)? I've seen > problems similar to yours on systems where the E

Re: [linux-usb-devel] Re: question on 64bit DMA

2003-06-23 Thread David Brownell
what needs to be included to get 64bit DMA? For a USB network driver, set NETIF_F_HIGHDMA. Well, I should be more specific. What needs to be #include find /usr/src/linux/include -name '*.h' |xargs grep NETIF_F_HIGHDMA --- This SF.Net email i

Re: [linux-usb-devel] Re: question on 64bit DMA

2003-06-22 Thread Oliver Neukum
Am Montag, 23. Juni 2003 07:22 schrieb David Brownell: > Oliver Neukum wrote: > > what needs to be included to get 64bit DMA? > > For a USB network driver, set NETIF_F_HIGHDMA. Well, I should be more specific. What needs to be #include Regards Oliver --

Re: [linux-usb-devel] Re: Question about HIDs that aren't really

2002-05-30 Thread Brad Hards
On Fri, 31 May 2002 04:53, [EMAIL PROTECTED] wrote: > Quoting Brad Hards <[EMAIL PROTECTED]>: > > Nope - hiddev > > See http://www.frogmouth.net/hid-doco/linux-hid.html for incomplete > > description. I'll update it over the weekend to the version I have here, > > Thanks, I can talk to the device

Re: [linux-usb-devel] Re: Question about HIDs that aren't really

2002-05-30 Thread Dan Streetman
On Thu, 30 May 2002 [EMAIL PROTECTED] wrote: >do I need to blacklist my device in the hid driver to prevent it from >being grabbed? If you are using usbfs/usbdevfs, use the new DISCONNECT ioctl to remove HID from the interface you want. If you're not using usbfs/usbdevfs (i.e. using HID/hiddev