Re: [linux-usb-devel] [PATCH] Add USB to MPC8349 PB platform support

2006-07-18 Thread Li Yang-r58472
> -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 18, 2006 5:39 AM > To: Dan Malek > Cc: Li Yang-r58472; [EMAIL PROTECTED]; linux-usb-devel@lists.sourceforge.net > Subject: Re: [PATCH] Add USB to MPC8349 PB platform support > > > On Jul 17, 2006, at

[linux-usb-devel] USB device driver querry

2006-07-18 Thread Ajay Jain
Hello, I have a usb hardware on my ARM based board. I want to develop a usb function driver so that I can view the file-system on the host side. I guess such kind of functionality is exposed in the mass-storage class. Can somebody guide me as to how to proceed? Are there any sample drivers availab

Re: [linux-usb-devel] [PATCH] OHCI: Add urb_priv null pointer check to finish_unlinks

2006-07-18 Thread ohtake-txa
Dear Dave & all >> (b)"runtime diagnostic" >> 1) USB devices are connected to the HC >> USB device: CD-ROM, Keyboard, Mouse >> >>--start test-- >> 2) eject USB devices from HC >>about 1 second >> 3) eject HC from the machine >> Panic was happened > >So the real fix wo

Re: [linux-usb-devel] USB device driver querry

2006-07-18 Thread Alan Stern
On Tue, 18 Jul 2006, Ajay Jain wrote: > Hello, > > I have a usb hardware on my ARM based board. I want to develop a usb > function driver so that I can view the file-system on the host side. I > guess such kind of functionality is exposed in the mass-storage class. No. > Can somebody guide me a

Re: [linux-usb-devel] [PATCH] Add USB to MPC8349 PB platform support

2006-07-18 Thread Kumar Gala
[snip] >> Well, I think there is a coupling that exists between whatever your >> boot rom is and the kernel. If you are trying to optimize boot time >> I'd say one thing you would want is to avoid multiple writing the >> same configuration registers. >> >> I dont have an issue if a fixed function

[linux-usb-devel] AIPTEK: removing input_path sysfs attribute

2006-07-18 Thread Dmitry Torokhov
Hi, I think that input_path sysfs attribute must go for the following reasons: 1. It only works if evdev is compiled in or loaded before aiptek driver 2. It assumes that event devices have names /dev/input/eventX putting policy in kernel 3. It pokes to deep in the input core Now that input core

Re: [linux-usb-devel] USB device driver querry

2006-07-18 Thread Ajay Jain
> > I have a usb hardware on my ARM based board. I want to develop a usb > > function driver so that I can view the file-system on the host side. I > > guess such kind of functionality is exposed in the mass-storage class. > > No. > > > Can somebody guide me as to how to proceed? Are there any samp

Re: [linux-usb-devel] USB device driver querry

2006-07-18 Thread Greg KH
On Tue, Jul 18, 2006 at 07:35:25PM +0530, Ajay Jain wrote: > > > I have a usb hardware on my ARM based board. I want to develop a usb > > > function driver so that I can view the file-system on the host side. I > > > guess such kind of functionality is exposed in the mass-storage class. > > > > No.

Re: [linux-usb-devel] USB device driver querry

2006-07-18 Thread Alan Stern
On Tue, 18 Jul 2006, Ajay Jain wrote: > Apologies, I could not make my point clear. We have a usb-function > capability on our arm based board. We want to expose our device as a > mass storage device. We understand that we will have to write a usb > function driver for the same. The usb function c

[linux-usb-devel] HID device

2006-07-18 Thread Vlad Rezki
Hello, There is UPS APC RS-500 and ibusb(newhidups) library is used. Linux 2.6.10 kernel. The 'usb_claim_interface' function returns -EBUSY when 'newhidups' is executed, it's ok because this interface already claimed by usbhid. At that time function 'usb_detach_kernel_driver_np' is executed, to

Re: [linux-usb-devel] [usb-storage] [PATCH] usb-storage: Add ZD1211 USB-WLAN support

2006-07-18 Thread Alan Stern
On Tue, 18 Jul 2006, Daniel Drake wrote: > How's that for a confusing subject line? > > ZyDAS offer a special flavour of their ZD1211 USB 802.11 network adapters, > where the device appears as a USB mass storage CDROM drive when you plug it > in. The fake CDROM includes the windows driver, which

Re: [linux-usb-devel] [PATCH] Add USB to MPC8349 PB platform support

2006-07-18 Thread Dan Malek
On Jul 18, 2006, at 9:52 AM, Kumar Gala wrote: > . I'm concerned about where to draw the line because of all > the ways a user can configure the MDS board. IMHO, you choose one configuration that works and make that the board port. If someone wants to change it later, it would be a good

Re: [linux-usb-devel] [PATCH] Add USB to MPC8349 PB platform support

2006-07-18 Thread Wolfgang Denk
In message <[EMAIL PROTECTED]> you wrote: > > I'm talking about opening the door to a ton of options, not that we > have them now. For example, your patch doesnt handle the USB PHYs if If you really assume that all this has to be handled in so many configuration options then it proba

Re: [linux-usb-devel] [usb-storage] [PATCH] usb-storage: Add ZD1211 USB-WLAN support

2006-07-18 Thread Daniel Drake
Alan Stern wrote: > Wouldn't it be easy enough to write a user program to send the necessary > command URB via usbfs? Well, not really. This device does a bad job at emulating a CDROM and I haven't yet found a way to keep it attached to the system in stable fashion. When you plug the device in,

Re: [linux-usb-devel] HID device

2006-07-18 Thread David Brownell
On Tuesday 18 July 2006 7:56 am, Vlad Rezki wrote: > Hello, > > There is UPS APC RS-500 and ibusb(newhidups) library is used. Linux 2.6.10 > kernel. > The 'usb_claim_interface' function returns -EBUSY when 'newhidups' is > executed, > it's ok because this interface already claimed by usbhid. >

Re: [linux-usb-devel] USB device driver querry

2006-07-18 Thread David Brownell
On Tuesday 18 July 2006 7:27 am, Alan Stern wrote: >When you export a filesystem as a USB mass-storage device, it > is very important that the host and the device do _not_ try to access the > filesystem at the same time. ... > > If this restriction is too strong, you also have the option o

Re: [linux-usb-devel] [usb-storage] [PATCH] usb-storage: Add ZD1211 USB-WLAN support

2006-07-18 Thread Matthew Dharm
On Tue, Jul 18, 2006 at 05:01:32PM +0100, Daniel Drake wrote: > Alan Stern wrote: > >Wouldn't it be easy enough to write a user program to send the necessary > >command URB via usbfs? That seems more reasonable. > That aside, it's not something that really makes sense to do in > userspace - the

Re: [linux-usb-devel] [usb-storage] [PATCH] usb-storage: Add ZD1211 USB-WLAN support

2006-07-18 Thread Pete Zaitcev
On Tue, 18 Jul 2006 17:01:32 +0100, Daniel Drake <[EMAIL PROTECTED]> wrote: > When you plug the device in, usb-storage picks it up, but during the 5 > second delay_use pause, the device gets bored and disconnects itself. It > then reconnects and the process repeats. Bias it to ub :-) -- Pete

Re: [linux-usb-devel] [usb-storage] [PATCH] usb-storage: Add ZD1211 USB-WLAN support

2006-07-18 Thread Glenn Maynard
On Tue, Jul 18, 2006 at 12:25:37PM -0700, Pete Zaitcev wrote: > On Tue, 18 Jul 2006 17:01:32 +0100, Daniel Drake <[EMAIL PROTECTED]> wrote: > > > When you plug the device in, usb-storage picks it up, but during the 5 > > second delay_use pause, the device gets bored and disconnects itself. It >

Re: [linux-usb-devel] [PATCH] usb-storage: Add ZD1211 USB-WLAN support

2006-07-18 Thread Pete Zaitcev
On Tue, 18 Jul 2006 15:59:21 -0400, Glenn Maynard <[EMAIL PROTECTED]> wrote: > On Tue, Jul 18, 2006 at 12:25:37PM -0700, Pete Zaitcev wrote: > > On Tue, 18 Jul 2006 17:01:32 +0100, Daniel Drake <[EMAIL PROTECTED]> wrote: > > > > > When you plug the device in, usb-storage picks it up, but during th

Re: [linux-usb-devel] decoding qh and qtds

2006-07-18 Thread Vivek Dharmadhikari
Hello David The Synopsys USB core that we are using the SOC has following bug which might cause the issue(host controller not issuing ping) that I have been dealing with. The workaround for the bug is also provided and I wanted to implement that in the driver. I guess the second workaround is easi

Re: [linux-usb-devel] [PATCH] OHCI: Add urb_priv null pointer check to finish_unlinks

2006-07-18 Thread David Brownell
On Tuesday 18 July 2006 4:48 am, [EMAIL PROTECTED] wrote: > >So the real fix would involve finding out how the "eject HC" (CardBus?) > >case is interacting wrongly with the other cleanup code, and then making > >that behave properly. > > Thanks, Dave. > I will try to find the code and expect to

Re: [linux-usb-devel] decoding qh and qtds

2006-07-18 Thread David Brownell
On Tuesday 18 July 2006 4:42 pm, Vivek Dharmadhikari wrote: > Hello David > > The Synopsys USB core that we are using the SOC has following bug which > might cause the issue(host controller not issuing ping) that I have been > dealing with. The workaround for the bug is also provided and I wanted

Re: [linux-usb-devel] [usb-storage] [PATCH] usb-storage: Add ZD1211 USB-WLAN support

2006-07-18 Thread Alan Stern
On Tue, 18 Jul 2006, Matthew Dharm wrote: > On Tue, Jul 18, 2006 at 05:01:32PM +0100, Daniel Drake wrote: > > Alan Stern wrote: > > >Wouldn't it be easy enough to write a user program to send the necessary > > >command URB via usbfs? > > That seems more reasonable. > > > That aside, it's not som

[linux-usb-devel] [RFC] Aircable USB Driver Revision 4

2006-07-18 Thread Naranjo Manuel Francisco
Hi everybody: I'm still working on AIRcable USB driver, and still having a little isues to correct. I have made some deep changes to my source, it now has a Circular Buffer for buffering the output bytes. With this I have been able to send almost 1 kB with out problems. My problems start when I re

Re: [linux-usb-devel] [PATCH] Add USB to MPC8349 PB platform support

2006-07-18 Thread Li Yang-r58472
> -Original Message- > From: Kumar Gala [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 18, 2006 9:53 PM > To: Li Yang-r58472 > Cc: Dan Malek; [EMAIL PROTECTED]; linux-usb-devel@lists.sourceforge.net > Subject: Re: [PATCH] Add USB to MPC8349 PB platform support > > [snip] > > >> Well, I t