[linux-usb-devel] How to access port information within the driver?

2005-02-22 Thread naganagouda.meti
Hi Greg, Is there any way to access port information from within the Kernel module? I want to access whatever the information in /proc/bus/usb/devices, but within my driver module. Regards, Nagan, --- SF email is sponsored by - The IT Prod

[linux-usb-devel] usb harddisk error when setaddress(USB device not accepting new address=2 (error=-110))

2005-02-22 Thread sunnyfaye
The problem I'm having is that I can’t find 40G usb external harddisk in linux. BUT it can find 128m u disk. Why? Can you help me? Thanks When I use u disk, everything is ok. I can mount and use the u disk. When I changed into mobile harddisk, I can’t mount it. Both of the mobile harddisk and u di

Re: [linux-usb-devel] 2.6: USB Storage hangs machine on bootup for ~2 minutes

2005-02-22 Thread Parag Warudkar
On Tuesday 22 February 2005 03:41 pm, Alan Stern wrote: > usb_device_read acquires a couple of locks, one for the USB bus list and > one for the root hub of the bus it's looking at.  I don't know which one > occurs at offset 229 on your system -- maybe you can tell.  Oddly enough, > neither of thos

[linux-usb-devel] Re: Set SCSI revision to 2 for direct-access devices

2005-02-22 Thread Alan Stern
On Tue, 22 Feb 2005, Samuel Colin wrote: > The Tue, 22 Feb 2005 11:07:37 -0500 (EST) > Alan Stern <[EMAIL PROTECTED]> wrote: > > > Samuel and Carsten: > > > > Below is a patch for usb-storage that should solve the problem you've both > > had: a drive crashing when it receives a REPORT LUNS comma

Re: [linux-usb-devel] 2.6: USB Storage hangs machine on bootup for ~2 minutes

2005-02-22 Thread Alan Stern
On Tue, 22 Feb 2005, Parag Warudkar wrote: > > You said that the system hangs during bootup.  Where in the log does that > > hang occur?  The log itself looks perfectly normal.  The Maxtor drive is > > scanned, the partitions detected, and then apparently one or two > > partitions are mounted.  Th

Re: [linux-usb-devel] Reading USB USB serial via sysfs causing timeouts

2005-02-22 Thread Alan Stern
On Tue, 22 Feb 2005, Glenn Maynard wrote: > On Tue, Feb 22, 2005 at 01:38:03PM -0500, Alan Stern wrote: > > At present there's no way to do it in general. If you restrict your > > program to the period while usb-storage waits before scanning the devices > > then things will work, as you've seen.

Re: [linux-usb-devel] Reading USB USB serial via sysfs causing timeouts

2005-02-22 Thread Glenn Maynard
On Tue, Feb 22, 2005 at 01:38:03PM -0500, Alan Stern wrote: > At present there's no way to do it in general. If you restrict your > program to the period while usb-storage waits before scanning the devices > then things will work, as you've seen. But there's no guarantee about how > long that per

Re: [linux-usb-devel] Re: Reading USB USB serial via sysfs causing timeouts

2005-02-22 Thread Glenn Maynard
On Tue, Feb 22, 2005 at 10:18:10AM -0800, Pete Zaitcev wrote: > I thought at first that it's something that ub does. But apparently > Glenn sees it with usb-storage as well. I cannot tell if this is > the same thing, but it looks like a case of interference between > the storage device and someone

Re: [linux-usb-devel] 2.6: USB Storage hangs machine on bootup for ~2 minutes

2005-02-22 Thread Parag Warudkar
On Monday 07 February 2005 11:18 am, Alan Stern wrote: > > I am already running 2.6.11-rc3 and the problem has not gone away. Are > > there any relevant fixes in -bk? > > No. > > > Attached is the bootup log after enabling CONFIG_USB_STORAGE_DEBUG. > > You said that the system hangs during bootup.

Re: [linux-usb-devel] Reading USB USB serial via sysfs causing timeouts

2005-02-22 Thread Alan Stern
On Tue, 22 Feb 2005, Glenn Maynard wrote: > The system isn't hung. (cat is hung, until the timeout completes.) usb- > storage/ub is timing out as a result of serial being read. All I want > is to be able to read the serial (and product and manufacturer strings) > without risking interference wi

[linux-usb-devel] Re: Reading USB USB serial via sysfs causing timeouts

2005-02-22 Thread Pete Zaitcev
Speaking of control timeouts, I know someone with a similar problem. Check this out: hub 1-1:1.0: port 3, status 0101, change 0001, 12 Mb/s hub 1-1:1.0: debounce: port 3: total 100ms stable 100ms status 0x101 hub 1-1:1.0: port 3 not reset yet, waiting 10ms usb 1-1.3: new full speed USB device usin

Re: [linux-usb-devel] Reading USB USB serial via sysfs causing timeouts

2005-02-22 Thread Glenn Maynard
On Tue, Feb 22, 2005 at 10:27:51AM -0500, Alan Stern wrote: > If I'm reading your timestamps correctly (seconds and fractions of a > second), you made the stack dump only 4 seconds after things stopped > happening. That's not long enough; the SCSI drivers have a timeout of 10 > seconds (I think) f

Re: [linux-usb-devel] Byterunner USB 5.1 Channel Audio Adapter

2005-02-22 Thread John Leimgruber
Tom, Thanks for your response. Just to make sure of my ALSA drivers, I installed and rebuilt the latest ALSA 1.0.8 release. Much to my chagrin, (and happyness), the Byterunner WORKS now for recording/playback!!! (I don't personally need the extra playback channel functionality) Thanks for t

Re: [linux-usb-devel] USB driver error message

2005-02-22 Thread Pete Zaitcev
On Tue, 22 Feb 2005 08:06:34 -0500, garrett beaubien <[EMAIL PROTECTED]> wrote: > The driver works, except after a few seconds it hangs and displays the > following error message: > > usb-uhci.c: interrupt, status 2, frame # Did you check the urb->status? This message must be accompanied by

Re: [linux-usb-devel] Reading USB USB serial via sysfs causing timeouts

2005-02-22 Thread Alan Stern
On Mon, 21 Feb 2005, Glenn Maynard wrote: > > It's known that some USB mass storage devices are unable to handle control > > requests on endpoint 0 while carrying out SCSI commands. Since reading > > the serial string involves just such a control request, it's not > > surprising that your stic

Re: [linux-usb-devel] USB driver error message

2005-02-22 Thread Alan Stern
On Tue, 22 Feb 2005, garrett beaubien wrote: > Hello, > > I have written a Linux USB driver for a development board I have. It > has 2 interrupt endpoints, one in and one out. The driver does > nothing more than recieves a packet from the board, displays the > contents (with a printk), and tran

Re: [linux-usb-devel] Usage of IDE-USB-Adapters on ASUS K8V SE Deluxe with an 80GB IDE Disk on Fedora Core3

2005-02-22 Thread Alan Stern
On Mon, 21 Feb 2005, Joachim Backes wrote: > Hi, Alan, > > my patch was in kernel-2.6.11-rc4 (transport.c) as: > > /* Genesys Logic interface chips need a 100us delay between the >* command phase and the data phase. Some devices need a little >* more than that, probably be

[linux-usb-devel] USB driver error message

2005-02-22 Thread garrett beaubien
Hello, I have written a Linux USB driver for a development board I have. It has 2 interrupt endpoints, one in and one out. The driver does nothing more than recieves a packet from the board, displays the contents (with a printk), and transmits the same packet to the board. The driver works, exc