Re: [linux-usb-devel] usb device not detecting (pxa27x, linux-2.6.20)

2007-03-29 Thread Girish
Alan Stern wrote: > Please post the contents of this file: > > After first inserting the flash device; > > After unplugging the device; > > After plugging the device back in. > > If the second and third copies are identical then you don't need to > include both of them. > > Alan Stern

Re: [linux-usb-devel] usb device not detecting (pxa27x, linux-2.6.20)

2007-03-29 Thread Girish
Alan Stern wrote: >Please post the contents of this file: > > After first inserting the flash device; > > After unplugging the device; > > After plugging the device back in. > >If the second and third copies are identical then you don't need to >include both of them. > >Alan Ste

Re: [linux-usb-devel] usb device not detecting (pxa27x, linux-2.6.20)

2007-03-28 Thread Alan Stern
On Wed, 28 Mar 2007, Girish wrote: > But now kernel is unable to detect the insertion and removal event of > the USB device. Driver detects the device only for the first time and > there is no activity even if the device is removed and re inserted. When > I tested the registers in the USB Host sys

Re: [linux-usb-devel] usb device not detecting (pxa27x, linux-2.6.20)

2007-03-28 Thread Girish
Girish wrote: >Hi all, >I am trying to enable usb support on PXA27x board using >linux-2.6.20. Inserted the following modules successfully >usbcore.ko >ohci_hcd.ko >usb-storage.ko >and inserted the flash drive(1GB) on USB port. >but "/sys/bus/usb/devices/" directory is e

[linux-usb-devel] usb device not detecting (pxa27x, linux-2.6.20)

2007-03-12 Thread Girish
Hi all, I am trying to enable usb support on PXA27x board using linux-2.6.20. Inserted the following modules successfully usbcore.ko ohci_hcd.ko usb-storage.ko and inserted the flash drive(1GB) on USB port. but "/sys/bus/usb/devices/" directory is empty. I found no infor

Re: [linux-usb-devel] USB device losing power

2007-02-26 Thread Guilherme Salgado
Hi Alan, On 2/26/07, Alan Stern <[EMAIL PROTECTED]> wrote: [...] > > That looks fine. Below is that actual patch I propose for 2.6.20. Can > you please try it out and make sure that it really does fix the problem? > Be sure to remove the test patch first, since this wants to go on top of > plain

Re: [linux-usb-devel] USB device losing power

2007-02-26 Thread Alan Stern
On Sun, 25 Feb 2007, Guilherme Salgado wrote: > On 2/25/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > On Sun, 25 Feb 2007, Guilherme Salgado wrote: > > > > > I had some problems with the 2.6.20 kernel on my distribution and so I > > > wasn't able to test the patch for some time. Fortunately, every

Re: [linux-usb-devel] USB device losing power

2007-02-25 Thread Guilherme Salgado
On 2/25/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Sun, 25 Feb 2007, Guilherme Salgado wrote: > > > I had some problems with the 2.6.20 kernel on my distribution and so I > > wasn't able to test the patch for some time. Fortunately, everything > > is working now and I'm running 2.6.20 with the

Re: [linux-usb-devel] USB device losing power

2007-02-24 Thread Alan Stern
On Sun, 25 Feb 2007, Guilherme Salgado wrote: > I had some problems with the 2.6.20 kernel on my distribution and so I > wasn't able to test the patch for some time. Fortunately, everything > is working now and I'm running 2.6.20 with the patch you provided, and > the "can't resume" problem is gon

Re: [linux-usb-devel] USB device losing power

2007-02-24 Thread Guilherme Salgado
Hi, On 2/14/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Tue, 13 Feb 2007, Guilherme Salgado wrote: [...] > > so I did the > > changes manually and used upper case characters on the message passed > > to dev_info(), to make sure the new module was loaded correctly, and I > > seem to have got th

Re: [linux-usb-devel] USB device losing power

2007-02-14 Thread Alan Stern
On Tue, 13 Feb 2007, Guilherme Salgado wrote: > Hi Alan, > > Below is a revised version of the diagnostic patch. Try using it instead > > of the earlier one and let's see what happens. > > > > This revised version didn't apply cleanly into my tree, Maybe because you didn't remove the original

Re: [linux-usb-devel] USB device losing power

2007-02-13 Thread Guilherme Salgado
Hi Alan, On 2/13/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Mon, 12 Feb 2007, Guilherme Salgado wrote: > > > > On Thu, 11 Jan 2007, Jon Smirl wrote: > > > > > [...] > > > > > > Here we see a resume that failed. The key indicator is the 0x1000 bit in > > > the portsc value; it means the port i

Re: [linux-usb-devel] USB device losing power

2007-02-13 Thread Alan Stern
On Mon, 12 Feb 2007, Guilherme Salgado wrote: > > On Thu, 11 Jan 2007, Jon Smirl wrote: > > > [...] > > > > Here we see a resume that failed. The key indicator is the 0x1000 bit in > > the portsc value; it means the port is still suspended even after it was > > supposed to have resumed. This is

Re: [linux-usb-devel] USB device losing power

2007-02-12 Thread Guilherme Salgado
> On Thu, 11 Jan 2007, Jon Smirl wrote: > [...] > > Here we see a resume that failed. The key indicator is the 0x1000 bit in > the portsc value; it means the port is still suspended even after it was > supposed to have resumed. This is the Intel hardware-resume bug I > described earlier. I have

Re: [linux-usb-devel] USB device losing power

2007-01-14 Thread Jon Smirl
I tried the device with USBCV. Under WinXP the device behavior is flaky and I can't get USBCV to work on it at all. On the other hand, the device functions without problem on Win2K. I'd say there is something wrong with the resume implementation on the device. The device does not have updatable fi

Re: [linux-usb-devel] USB device losing power

2007-01-12 Thread Alan Stern
On Fri, 12 Jan 2007, Jon Smirl wrote: > On 1/12/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > On Fri, 12 Jan 2007, Jon Smirl wrote: > > > > > Attachment is too big for the list. > > > It seems to be stuck in a resume loop with your debug patch installed. > > > > > > Device is plugged into a USB 1.

Re: [linux-usb-devel] USB device losing power

2007-01-12 Thread David Brownell
On Thursday 11 January 2007 9:21 pm, Jon Smirl wrote: > So why does the device work when plugged into a powered hub? Do the > ports on the powered hub not do suspend/resume? All USB hubs (root and otherwise) are supposed to support suspend/resume, and you'd probably observe they're using it during

Re: [linux-usb-devel] USB device losing power

2007-01-12 Thread Jon Smirl
On 1/12/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Fri, 12 Jan 2007, Jon Smirl wrote: > > > Using 2.6.20-rc4 on a system with an ICH4, it fails the same way as > > the device did on the ICH5. This is starting to point to a broken > > resume capability in the device. I have more systems around b

Re: [linux-usb-devel] USB device losing power

2007-01-12 Thread Alan Stern
On Fri, 12 Jan 2007, Jon Smirl wrote: > Using 2.6.20-rc4 on a system with an ICH4, it fails the same way as > the device did on the ICH5. This is starting to point to a broken > resume capability in the device. I have more systems around but they > are all ICH4/5. > > So why does the device work

Re: [linux-usb-devel] USB device losing power

2007-01-12 Thread Alan Stern
On Thu, 11 Jan 2007, Jon Smirl wrote: > On 1/11/07, Jon Smirl <[EMAIL PROTECTED]> wrote: > > The default Ubuntu kernel, 2.6.17-10-generic has CONFIG_USB_SUSPEND=y. > > I plugged the device into the laptop and it powered on fine at boot. > > When the build finishes I'll try with 2.6.20-rc4 and verb

Re: [linux-usb-devel] USB device losing power

2007-01-11 Thread Jon Smirl
Using 2.6.20-rc4 on a system with an ICH4, it fails the same way as the device did on the ICH5. This is starting to point to a broken resume capability in the device. I have more systems around but they are all ICH4/5. So why does the device work when plugged into a powered hub? Do the ports on th

Re: [linux-usb-devel] USB device losing power

2007-01-11 Thread Jon Smirl
On 1/11/07, Jon Smirl <[EMAIL PROTECTED]> wrote: > The default Ubuntu kernel, 2.6.17-10-generic has CONFIG_USB_SUSPEND=y. > I plugged the device into the laptop and it powered on fine at boot. > When the build finishes I'll try with 2.6.20-rc4 and verbose USB > debug. Ubuntu 2.6.17 kernels with CO

Re: [linux-usb-devel] USB device losing power

2007-01-11 Thread Jon Smirl
On 1/11/07, Alan Stern <[EMAIL PROTECTED]> wrote: > Have you got a different computer to try this on? I just kicked off a kernel build with the right config for my laptop which has an ICH4. I have a few other computers I can try if we need to. The default Ubuntu kernel, 2.6.17-10-generic has CONF

Re: [linux-usb-devel] USB device losing power

2007-01-11 Thread Alan Stern
On Thu, 11 Jan 2007, Jon Smirl wrote: > In this log I booted with it plugged in and let the usbhid drivers load. > I then successively modprobe/rmmod them. > > There were only two ways I could get the device working once it went > into suspend: > rmmod/modprobe uhci_hcd;modprobe usbhid > usbreset

Re: [linux-usb-devel] USB device losing power

2007-01-11 Thread Jon Smirl
On 1/11/07, Alan Stern <[EMAIL PROTECTED]> wrote: Probably the new driver wasn't loaded. On my system (FC6) uhci-hcd is loaded as part of the initrd image, not through the usual sort of on-demand loading. You may need to rmmod uhci-hcd and then load the modified driver. I see now it is on ini

Re: [linux-usb-devel] USB device losing power

2007-01-11 Thread Alan Stern
On Thu, 11 Jan 2007, Jon Smirl wrote: > It doesn't appear to have hit your debug code but I am sure I built it > into the driver. The debug code did not run, but it should have. Probably the new driver wasn't loaded. On my system (FC6) uhci-hcd is loaded as part of the initrd image, not through

Re: [linux-usb-devel] USB device losing power

2007-01-11 Thread Jon Smirl
It doesn't appear to have hit your debug code but I am sure I built it into the driver. -- Jon Smirl [EMAIL PROTECTED] dmesg1 Description: Binary data - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.n

Re: [linux-usb-devel] USB device losing power

2007-01-11 Thread Alan Stern
On Thu, 11 Jan 2007, Jon Smirl wrote: > Attached dmesg may explain what is happening. I don't think so. > I renamed all my sound and usb input modules so that they wouldn't > load at boot. I then manually modprobe'd usbhid in. > > The device implements two profiles, sound and hid. How is error

Re: [linux-usb-devel] USB device losing power

2007-01-11 Thread Jon Smirl
Attached dmesg may explain what is happening. I renamed all my sound and usb input modules so that they wouldn't load at boot. I then manually modprobe'd usbhid in. The device implements two profiles, sound and hid. How is error processing going to work if both of these modules attach to the dev

Re: [linux-usb-devel] USB device losing power

2007-01-11 Thread Alan Stern
On Wed, 10 Jan 2007, Jon Smirl wrote: > > What happened to the HID interface before the reset? > > How can I check it? The controls cause events, is there some way to see them? Well, earlier you wrote: > This doesn't help but it is complicated because the PSC805 also > includes a USBHID compo

Re: [linux-usb-devel] USB device losing power

2007-01-10 Thread Jon Smirl
On 1/10/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Wed, 10 Jan 2007, Jon Smirl wrote: > > > I just rebooted and all of the drivers loaded automatically but the > > device didn't work. > > Doing a usbreset of the device fixed everything. > > > > My best guess is that the "usb 2-1: usb auto-resum

Re: [linux-usb-devel] USB device losing power

2007-01-10 Thread Alan Stern
On Wed, 10 Jan 2007, Jon Smirl wrote: > I just rebooted and all of the drivers loaded automatically but the > device didn't work. > Doing a usbreset of the device fixed everything. > > My best guess is that the "usb 2-1: usb auto-resume" failed to enable > power to the device. The dmesg log for

Re: [linux-usb-devel] USB device losing power

2007-01-10 Thread Jon Smirl
I just rebooted and all of the drivers loaded automatically but the device didn't work. Doing a usbreset of the device fixed everything. My best guess is that the "usb 2-1: usb auto-resume" failed to enable power to the device. Note that the failure only happens when the device is plugged into a

Re: [linux-usb-devel] USB device losing power

2007-01-10 Thread Jon Smirl
On 1/10/07, Alan Stern <[EMAIL PROTECTED]> wrote: > There is no way to prevent a USB device without a driver from being > suspended. Perhaps we need one. On the other hand, USB devices _are_ > supposed to be able to suspend and resume with no ill effects -- it's part > of the spec. > > I still wo

Re: [linux-usb-devel] USB device losing power

2007-01-10 Thread Alan Stern
Brief summary: After being suspended and resumed, Jon's USB sound device remains in a useless powered-off state (the LEDs don't turn back on). Clemens, if you have any ideas that might be relevant, please let us know. On Tue, 9 Jan 2007, Jon Smirl wrote: > Something has a refcount set into snd

Re: [linux-usb-devel] USB device losing power

2007-01-10 Thread Alan Stern
On Tue, 9 Jan 2007, Jon Smirl wrote: > I tried to unbind/bind with the device in the not working state: > snd-usb-audio 2-1:1.0: usb_probe_interface > snd-usb-audio 2-1:1.0: usb_probe_interface - got id > USB device is in the shutdown state, cannot create a card instance > snd-usb-audio: probe of

Re: [linux-usb-devel] USB device losing power

2007-01-09 Thread Jon Smirl
I turned off CONFIG_USB_SUSPEND and everything is working. -- Jon Smirl [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opi

Re: [linux-usb-devel] USB device losing power

2007-01-09 Thread Jon Smirl
On 1/9/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Tue, 9 Jan 2007, Jon Smirl wrote: > > > I tried to unbind/bind with the device in the not working state: > > snd-usb-audio 2-1:1.0: usb_probe_interface > > snd-usb-audio 2-1:1.0: usb_probe_interface - got id > > USB device is in the shutdown sta

Re: [linux-usb-devel] USB device losing power

2007-01-09 Thread Jon Smirl
On 1/9/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Tue, 9 Jan 2007, Jon Smirl wrote: > > > On 1/9/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > > On Tue, 9 Jan 2007, Jon Smirl wrote: > > > > > > > Is there some tool or sys variable that can toggle power to the > > > > device? That will let me se

Re: [linux-usb-devel] USB device losing power

2007-01-09 Thread Alan Stern
On Tue, 9 Jan 2007, Jon Smirl wrote: > On 1/9/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > On Tue, 9 Jan 2007, Jon Smirl wrote: > > > > > Is there some tool or sys variable that can toggle power to the > > > device? That will let me see if it is in sleep mode when it shouldn't > > > be. > > > > I

Re: [linux-usb-devel] USB device losing power

2007-01-09 Thread Jon Smirl
On 1/9/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Tue, 9 Jan 2007, Jon Smirl wrote: > > > Is there some tool or sys variable that can toggle power to the > > device? That will let me see if it is in sleep mode when it shouldn't > > be. > > If you turn on CONFIG_PM_SYSFS_DEPRECATED then you can

Re: [linux-usb-devel] USB device losing power

2007-01-09 Thread Jon Smirl
On 1/9/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Tue, 9 Jan 2007, Jon Smirl wrote: > > > Is there some tool or sys variable that can toggle power to the > > device? That will let me see if it is in sleep mode when it shouldn't > > be. > > If you turn on CONFIG_PM_SYSFS_DEPRECATED then you can

Re: [linux-usb-devel] USB device losing power

2007-01-09 Thread Alan Stern
On Tue, 9 Jan 2007, Jon Smirl wrote: > Is there some tool or sys variable that can toggle power to the > device? That will let me see if it is in sleep mode when it shouldn't > be. If you turn on CONFIG_PM_SYSFS_DEPRECATED then you can suspend your device by doing: echo -n 2 >/sys/bus/u

Re: [linux-usb-devel] USB device losing power

2007-01-09 Thread Alan Stern
On Mon, 8 Jan 2007, Jon Smirl wrote: > On 1/8/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > What shows up in dmesg? > dmesg is the same when it works and when it doesn't I bet if you compare a working and a non-working dmesg log now that you have CONFIG_USB_DEBUG turned on, you'll find a differen

Re: [linux-usb-devel] USB device losing power

2007-01-09 Thread Jon Smirl
On 1/8/07, Jon Smirl <[EMAIL PROTECTED]> wrote: > >What happens if you unplug the device and then plug it directly into > the computer? Is there some tool or sys variable that can toggle power to the device? That will let me see if it is in sleep mode when it shouldn't be. -- Jon Smirl [EMAIL PR

Re: [linux-usb-devel] USB device losing power

2007-01-08 Thread Jon Smirl
On 1/8/07, Alan Stern <[EMAIL PROTECTED]> wrote: What shows up in dmesg? dmesg is the same when it works and when it doesn't What happens if you unplug the device and then plug it directly into the computer? it works. As far as I can tell the problem only occurs on boot What do you get if

Re: [linux-usb-devel] USB device losing power

2007-01-08 Thread Alan Stern
On Mon, 8 Jan 2007, Jon Smirl wrote: > I have a Philips PSC805 external audio device. It is powered via USB. > This device used to work plugged directly into my desktop. Now it is > coming up, initializing, and then shutting down once user space > starts. This happens about 90% of the time but not

[linux-usb-devel] USB device losing power

2007-01-08 Thread Jon Smirl
I have a Philips PSC805 external audio device. It is powered via USB. This device used to work plugged directly into my desktop. Now it is coming up, initializing, and then shutting down once user space starts. This happens about 90% of the time but not always. If I move the device to a powered h

Re: [linux-usb-devel] USB device visible only as root?!

2006-11-15 Thread Alan Stern
On Wed, 8 Nov 2006, Sergei Organov wrote: > Hello, > > My Canon photo camera is visible on USB bus only when I'm root, and > invisible when I'm user: > > [EMAIL PROTECTED] ~$ lsusb > Bus 001 Device 001: ID : > Bus 001 Device 002: ID 046d:c03d Logitech, Inc. > Bus 003 Device 001: ID :

Re: [linux-usb-devel] USB device controllers

2006-11-10 Thread Alan Stern
On Fri, 10 Nov 2006, mahendra varman wrote: > Hi Alan > > I tried to read data into the 1Gb transcend usb memory stick > by using read(6) with LBA address 0...But iam not getting any values... > I tried using read(10) also > > In what other way we can check whether the procedure is cor

[linux-usb-devel] USB device visible only as root?!

2006-11-07 Thread Sergei Organov
Hello, My Canon photo camera is visible on USB bus only when I'm root, and invisible when I'm user: [EMAIL PROTECTED] ~$ lsusb Bus 001 Device 001: ID : Bus 001 Device 002: ID 046d:c03d Logitech, Inc. Bus 003 Device 001: ID : Bus 004 Device 002: ID 0aec:3260 Neodio Technologies Cor

Re: [linux-usb-devel] USB device controllers

2006-11-04 Thread David Brownell
On Saturday 04 November 2006 3:24 am, David Lee wrote: > > I am looking for USB device controllers that are ACM compliant. Please > can you advise if you know any of them. Pretty much any programmable peripheral controller can be made to talk CDC ACM. If you're after one that does ACM in hardwar

Re: [linux-usb-devel] USB device controllers

2006-11-04 Thread Alan Stern
On Sat, 4 Nov 2006 [EMAIL PROTECTED] wrote: > Hi > > Iam using ISP 1161 usb device controller in my board > > If i give get descriptor request for 1.1 specification devices its > giving only 8 byte info instead of 18 bytes and also the request is made > 3 times.. This is more or less normal.

Re: [linux-usb-devel] USB device controllers

2006-11-04 Thread mahendravarman15
Hi Iam using ISP 1161 usb device controller in my board If i give get descriptor request for 1.1 specification devices its giving only 8 byte info instead of 18 bytes and also the request is made 3 times.. And some slower memory sticks get descriptor request is made twice to get the descript

[linux-usb-devel] USB device controllers

2006-11-04 Thread David Lee
Hi, I am looking for USB device controllers that are ACM compliant. Please can you advise if you know any of them. Thanks. David - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quic

Re: [linux-usb-devel] USB device stopped working - can't set config #1, error -71

2006-09-16 Thread Pete Zaitcev
On Sat, 16 Sep 2006 10:39:33 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > with the latest kernels (definetly 2.6.17 and 1.6.8-rc*, I do now know off > hand when this started) I can not access some (I think all USB 1) scanners > via my SANE/Avision backend: >[...] > Try using usbmon to wa

Re: [linux-usb-devel] USB device stopped working - can't set config #1, error -71

2006-09-16 Thread Alan Stern
On Sat, 16 Sep 2006, Rene Rebe wrote: > Hi all, > > with the latest kernels (definetly 2.6.17 and 1.6.8-rc*, I do now know off > hand when this started) I can not access some (I think all USB 1) scanners > via my SANE/Avision backend: > > usb 3-1: new full speed USB device using uhci_hcd and a

[linux-usb-devel] USB device stopped working - can't set config #1, error -71

2006-09-16 Thread Rene Rebe
Hi all, with the latest kernels (definetly 2.6.17 and 1.6.8-rc*, I do now know off hand when this started) I can not access some (I think all USB 1) scanners via my SANE/Avision backend: usb 3-1: new full speed USB device using uhci_hcd and address 2 usb 3-1: configuration #1 chosen from 1 choi

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

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

[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] usb device problem

2006-06-07 Thread Jiri Slaby
Mark Lord napsal(a): > Jiri Slaby wrote: >> Hello, >> >> I get this with 2.6.17-rc5-mm3 kernel: > .. >> usb-storage: device found at 10 >> usb-storage: waiting for device to settle before scanning >> Vendor: Model: Rev: >> Type: Direct-Access A

Re: [linux-usb-devel] usb device problem

2006-06-07 Thread Jiri Slaby
Jiri Slaby napsal(a): > Mark Lord napsal(a): >> Mmm.. okay, a quick glance at the USB storage code revealed one instance: >> >>/* Did we transfer less than the minimum amount required? */ >>if (srb->result == SAM_STAT_GOOD && >>srb->request_bufflen - srb->res

Re: [linux-usb-devel] usb device problem

2006-06-07 Thread Jiri Slaby
Mark Lord napsal(a): > Mmm.. okay, a quick glance at the USB storage code revealed one instance: > >/* Did we transfer less than the minimum amount required? */ >if (srb->result == SAM_STAT_GOOD && >srb->request_bufflen - srb->resid < srb->underflow) >

Re: [linux-usb-devel] usb device problem

2006-06-07 Thread Mark Lord
Jiri Slaby wrote: > Jiri Slaby napsal(a): >> Mark Lord napsal(a): >>> Mmm.. okay, a quick glance at the USB storage code revealed one instance: >>> >>>/* Did we transfer less than the minimum amount required? */ >>>if (srb->result == SAM_STAT_GOOD && >>>srb->

Re: [linux-usb-devel] usb device problem

2006-06-06 Thread Mark Lord
Mark Lord wrote: > Jiri Slaby wrote: >> Mark Lord napsal(a): >>> Jiri Slaby wrote: .. --- sd 10:0:0:0: SCSI error: return code = 0x1007 end_request: I/O error, dev sdb, sector 1575 .. > The 0x1007000 is broken down as: > > 07 == "host byte" = DID_ERROR = "internal error" > 10

Re: [linux-usb-devel] usb device problem

2006-06-06 Thread Mark Lord
Jiri Slaby wrote: > Mark Lord napsal(a): >> Jiri Slaby wrote: >>> Hello, >>> >>> I get this with 2.6.17-rc5-mm3 kernel: >> .. >>> usb-storage: device found at 10 >>> usb-storage: waiting for device to settle before scanning >>> Vendor: Model: Rev: >>> Type: Direct-

Re: [linux-usb-devel] usb device problem

2006-06-06 Thread Mark Lord
Jiri Slaby wrote: > Hello, > > I get this with 2.6.17-rc5-mm3 kernel: .. > usb-storage: device found at 10 > usb-storage: waiting for device to settle before scanning > Vendor: Model: Rev: > Type: Direct-Access ANSI SCSI revision: 00 > SCSI de

Re: [linux-usb-devel] USB device boot configuration failure - kernel 2.6.16 with sysfs_remove_dir-needs-to-invalidate-the-dentry.patch

2006-03-31 Thread Alan Stern
On Fri, 31 Mar 2006, Oliver Neukum wrote: > > > the bug it triggered is fixed in 2.6.16.1. But that doesn't explain > > > that the buggy gamepad caused the modem to disconnect. This suggests > > > a flaw at a deeper layer. > > > > What part of the log makes you think the modem was disconnected?

Re: [linux-usb-devel] USB device boot configuration failure - kernel 2.6.16 with sysfs_remove_dir-needs-to-invalidate-the-dentry.patch

2006-03-30 Thread Oliver Neukum
Am Freitag, 31. März 2006 00:09 schrieb Alan Stern: > On Thu, 30 Mar 2006, Oliver Neukum wrote: > > > Am Donnerstag, 30. März 2006 07:02 schrieb Greg KH: > > > On Wed, Mar 29, 2006 at 07:37:07PM +1030, Tony Cook wrote: > > > > As a result of a power supply brownout, the usb game pad, a Logitech >

Re: [linux-usb-devel] USB device boot configuration failure - kernel 2.6.16 with sysfs_remove_dir-needs-to-invalidate-the-dentry.patch

2006-03-30 Thread Oliver Neukum
Am Freitag, 31. März 2006 00:09 schrieb Alan Stern: > On Thu, 30 Mar 2006, Oliver Neukum wrote: > > > Am Donnerstag, 30. März 2006 07:02 schrieb Greg KH: > > > On Wed, Mar 29, 2006 at 07:37:07PM +1030, Tony Cook wrote: > > > > As a result of a power supply brownout, the usb game pad, a Logitech >

Re: [linux-usb-devel] USB device boot configuration failure - kernel 2.6.16 with sysfs_remove_dir-needs-to-invalidate-the-dentry.patch

2006-03-30 Thread Alan Stern
On Thu, 30 Mar 2006, Oliver Neukum wrote: > Am Donnerstag, 30. März 2006 07:02 schrieb Greg KH: > > On Wed, Mar 29, 2006 at 07:37:07PM +1030, Tony Cook wrote: > > > As a result of a power supply brownout, the usb game pad, a Logitech > > > WingMan Cordless Gamepad, connected to my machine, entere

Re: [linux-usb-devel] USB device boot configuration failure - kernel 2.6.16 with sysfs_remove_dir-needs-to-invalidate-the-dentry.patch

2006-03-30 Thread Oliver Neukum
Am Donnerstag, 30. März 2006 07:02 schrieb Greg KH: > On Wed, Mar 29, 2006 at 07:37:07PM +1030, Tony Cook wrote: > > As a result of a power supply brownout, the usb game pad, a Logitech > > WingMan Cordless Gamepad, connected to my machine, entered a state of > > incomplete reset and became parti

Re: [linux-usb-devel] USB device boot configuration failure - kernel 2.6.16 with sysfs_remove_dir-needs-to-invalidate-the-dentry.patch

2006-03-30 Thread Greg KH
On Wed, Mar 29, 2006 at 07:37:07PM +1030, Tony Cook wrote: > As a result of a power supply brownout, the usb game pad, a Logitech > WingMan Cordless Gamepad, connected to my machine, entered a state of > incomplete reset and became partially incommunicative. The following > start-up log details

Re: [linux-usb-devel] USB device responding strangly

2005-11-26 Thread Pete Zaitcev
On Sat, 26 Nov 2005 17:49:37 +0530, "Savita H. Neelannava" <[EMAIL PROTECTED]> wrote: > I am writting USB driver in Slackware 10.2 i.e kernel 2.4.31 kernel. > When i send a single command to my USB device it is responding multiple > times( where it has to respond only once). You aren't submittin

[linux-usb-devel] USB device responding strangly

2005-11-26 Thread Savita H. Neelannava
Hi, I am writting USB driver in Slackware 10.2 i.e kernel 2.4.31 kernel. When i send a single command to my USB device it is responding multiple times( where it has to respond only once). I wanted to catch packets going out to device using USB monitor, but this kernel version neither features

[linux-usb-devel] USB device driver binding.

2005-09-15 Thread Nitin Mahajan
Hi! I am writing a bulk transfer driver for data xfer through host-to-host xfer cable. I don't want to use the usbnet driver for the same. This driver is based on usb-skeleton.c and presently tested with PL-2301 chips. My problem is that I want the driver binding to happen for all such kind of

[linux-usb-devel] usb: device not accepting address error msg

2005-07-11 Thread Ram
Hi, When i connect my device (ethernet gadget) into the host. i get the message I am able to assign ip address to usb0 at the device side. i can see usb0 if i do on the device side. But, on the host side. i get the following error. I have modprobe'd usbnet driver and can see it when i do ls

Re: [linux-usb-devel] USB device 0x93a/0x2468

2005-06-01 Thread Per Jessen
gerard klaver wrote: > For some info about the 0x93a 0x2460/0x2468 (pac207c from Pixart) see my > page (pac20x SANE Vidcam backend, under development): Gerard, have you tried contacting Pixart - are they helpful or? -- /Per Jessen, Zürich --

Re: [linux-usb-devel] USB device 0x93a/0x2468

2005-06-01 Thread Per Jessen
gerard klaver wrote: > For some info about the 0x93a 0x2460/0x2468 (pac207c from Pixart) see my > page (pac20x SANE Vidcam backend, under development): > > http://gkall.hobby.nl/pac20x.html > > its a single chip camera Thanks Gerard, I'll definitely have a look. -- /Per Jessen, Zürich

Re: [linux-usb-devel] USB device 0x93a/0x2468

2005-05-31 Thread gerard klaver
On Tue, 2005-05-31 at 10:53 +0200, Per Jessen wrote: > This is a small PC-camera, judging by the vendor id with a CCD imager by > Pixart Imaging. > > I've been researching how to make this work, but I'm getting to a bit of a > hard stop. I wanted > to try out the sn9c102 usb driver (by Luca R

[linux-usb-devel] USB device 0x93a/0x2468

2005-05-31 Thread Per Jessen
This is a small PC-camera, judging by the vendor id with a CCD imager by Pixart Imaging. I've been researching how to make this work, but I'm getting to a bit of a hard stop. I wanted to try out the sn9c102 usb driver (by Luca Risolia) which seems to have some support for some Pixart devices

[linux-usb-devel] USB device info

2005-02-27 Thread rao.shalini
Hi Greg, How do I get USB device info, such as bus, level and port? Is there any way other than reading the proc (/proc/bus/usb/device)file. Regards, Shalini G --- SF email is sponsored by - The IT Product Guide Read honest & candid re

Re: [linux-usb-devel] USB Device Firmware Update

2005-02-06 Thread Oliver Kurth
On Mon, 2005-02-07 at 11:37 +0530, MINI MOL wrote: > Hi, > > My USB device needs a firmware download each time the device is plugged in. > I have the hex firmware file, but do not have the firmware download details. > I assume the device follows the "USB Device Class Specification for Device > Fir

[linux-usb-devel] USB Device Firmware Update

2005-02-06 Thread MINI MOL
Hi, My USB device needs a firmware download each time the device is plugged in. I have the hex firmware file, but do not have the firmware download details. I assume the device follows the "USB Device Class Specification for Device Firmware Upgrade". Is there a generic Linux driver or utility sup

Re: [linux-usb-devel] USB Device Error

2004-12-21 Thread Alan Stern
On Mon, 20 Dec 2004, Phil Dibowitz wrote: > Torsten Pietsch wrote: > > Hello Phil! > > I have resolve this problem. > > I removed the Flash Memory Card from the Camera. > > The camera has an internal Memory of 12 MB. > > When i only work with the internal memory the Camera works fine.No problems.

Re: [linux-usb-devel] USB Device Error

2004-12-20 Thread Phil Dibowitz
Torsten Pietsch wrote: Hello Phil! I have resolve this problem. I removed the Flash Memory Card from the Camera. The camera has an internal Memory of 12 MB. When i only work with the internal memory the Camera works fine.No problems. Is it possible that the flash memory card is corrupt or not reall

Re: [linux-usb-devel] USB Device Error

2004-12-19 Thread David Brownell
Try reproducing this with the latest 2.6.10-rc3-bk code. - Dave --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Star

Re: [linux-usb-devel] USB Device Error

2004-12-19 Thread Phil Dibowitz
Torsten Pietsch wrote: usb 1-1.4: new full speed USB device using address 3 usb 1-1.4: Product: CASIO QV DIGITAL usb 1-1.4: Manufacturer: CASIO COMPUTER Initializing USB Mass Storage driver... usb-storage: This device (07cf,1001,1000 S 05 P 01) has an unneeded Protocol entry in unusual_devs.h P

[linux-usb-devel] USB Device Error

2004-12-19 Thread Torsten Pietsch
usb 1-1.4: new full speed USB device using address 3 usb 1-1.4: Product: CASIO QV DIGITAL usb 1-1.4: Manufacturer: CASIO COMPUTER Initializing USB Mass Storage driver... usb-storage: This device (07cf,1001,1000 S 05 P 01) has an unneeded Protocol entry in unusual_devs.h Please send a copy of th

[linux-usb-devel] USB Device driver

2004-09-19 Thread naveen yadav
Hi Greg Good afternoon I want to develop USB capture driver for Video Camcoder on Linux red hat 9.0 & use your skeleton.c as base code. i am unable to compile this.I am finding difficulty in resolving references. I am Engg. Student and i am doing my final Year Project. I want to make generic Devi

Re: [linux-usb-devel] USB device

2004-07-08 Thread Alan Stern
On Thu, 8 Jul 2004, Roger Hartmann wrote: > Hi there, > > the /var/log/messages o/p told me to send you an email about this. Hope > it helps (see below). > > cheerz, Roger > > > Jul 8 19:50:46 localhost kernel: sbpcd-0 [03]: Scanning 0x340 > (SoundBlaster)... > Jul 8 19:51:14 localhost ke

[linux-usb-devel] USB device

2004-07-08 Thread Roger Hartmann
Hi there, the /var/log/messages o/p told me to send you an email about this. Hope it helps (see below). cheerz, Roger Jul 8 19:50:46 localhost kernel: sbpcd-0 [03]: Scanning 0x340 (SoundBlaster)... Jul 8 19:51:14 localhost kernel: usb 2-3: new full speed USB device using address 2 Jul 8 19:

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

2004-05-09 Thread Alan Stern
On Sun, 9 May 2004, jack wrote: > I don't understand the usage of the pipe member of this structure. The > documentation says "The pipe element is used to encode the endpoint number > and properties" - great ! what is an endpoint number ? and what properties > are they talking about ? > > As you

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

2004-05-09 Thread Glenn Maynard
On Sun, May 09, 2004 at 08:52:12AM +0100, jack wrote: > My project is to write a character device drive for a "1-wire" network > attached to a USB hub via a "1-wire" USB adapter. FYI, there's a "public domain kit" (which is not actually public-domain, but close: MIT/X11-style license): http://w

[linux-usb-devel] USB device driver project

2004-05-09 Thread jack
Greetings Greg, I can see that you have been heavily involved in the USB device driver code for Linux. I am very grateful for all the work you have done on this so far. I have been trying to learn as much as I can about USB device drivers for a personal project and your documentation is by far t

Re: [linux-usb-devel] USB device development problem...

2004-04-02 Thread David Brownell
Heiko Rosemann wrote: Hi everyone, I'm standing a little bit on the other side of the road - I am currently developing a USB HID. Things work with Windows 98 and XP, but with Linux (both 2.4.24 and 2.6.3) I get errors when it tries to receive the device descriptor. 2.4.24 tells me: usb.c: USB devi

  1   2   >