Alan Stern wrote:
On Wed, 22 Sep 2004, Oliver Neukum wrote:
I am sure the swsusp people will really appreciate the added
necessity to first compute the set of devices that need to run.
I've always been surprised they don't do that already. After all,
they have the swap device in hand; walk from th
Oliver Neukum wrote:
In those devices it's ludicrous to think about any system state
other than "partially suspended" as the design center. And in
the same vein, it's rather nonsensical to have a "PM core" which
makes those systems even harder to build.
But we have this problem only if we have se
On Wednesday 22 September 2004 09:36 pm, Pete Zaitcev wrote:
> On Wed, 22 Sep 2004 20:49:40 -0400
>
> Kyle Harris <[EMAIL PROTECTED]> wrote:
> > @@ -1811,8 +1850,10 @@
> >
> > ret = hub_port_status(hdev, i,
> > &portstatus, &portchange
On Wed, 22 Sep 2004 20:49:40 -0400
Kyle Harris <[EMAIL PROTECTED]> wrote:
> @@ -1811,8 +1850,10 @@
>
> ret = hub_port_status(hdev, i,
> &portstatus, &portchange);
> + printk("i %d s %x c %x r %d\n", i, portstatu
This is against 2.6.8.1
Changes -
Change the way that a device is enumerated since some devices fail if the
initial get_device_descriptor does not request the actual descriptor length.
diff -X dontdiff -NurbB linux-2.6.8.orig/drivers/usb/core/hub.c
linux/drivers/usb/core/hub.c
--- linux-2.6.8
您好!
现为您提供中方以场地、厂房等配套设施折价投入、产品外销的中外合资项目,望速联系。
合资生产铝塑复合管
项目名称:塑铝塑复合管;总投资:450万美元;注册资金:400万美元;
投资比例:外方约60%;中方约40%; 厂房:500平方米; 合作年限:15年;
合资项目:7.5万吨复合饲料
项目总投资:530万美元;注册资本:350万美元
投资比例:外方约70%,中方约30%;
Alan Stern wrote:
On Wed, 22 Sep 2004, David Brownell wrote:
- version is now "Equinox 2004".
That's ambiguous -- a year from now, who will remember whether it was
the Spring or the Fall equinox? :-)
Won't matter, there was no release named after the other one ... ;)
- Dave
---
On Wed, Sep 22, 2004 at 04:06:50PM -0700, Greg KH wrote:
> On Wed, Sep 22, 2004 at 04:04:23PM -0700, Greg KH wrote:
> > I'll post my usb core change after this, to show you how USB can
> > be hooked up to it.
>
> And here's the 3 line patch that I added to the usb core to hook up both
> the usb an
hello,
i'm seeing similar problem with 2.6.8 than this bug report:
http://marc.theaimsgroup.com/?l=linux-kernel&m=109589098305713&w=2
on 2 boxes i can reproduce it by unmounting/unplugging an usb stick
attached after boot.
as this irq is used by its scsi controller aic7xxx
the box is afterward in
Am Donnerstag, 23. September 2004 00:16 schrieb Alan Stern:
> On Wed, 22 Sep 2004, Oliver Neukum wrote:
>
> > So you are saying that whoever suspends a device the system needs
> > is screwed?
>
> Not necessarily. But the alternative involves rewriting drivers to make
> them automatically wake u
On Wed, Sep 22, 2004 at 04:04:23PM -0700, Greg KH wrote:
> I'll post my usb core change after this, to show you how USB can
> be hooked up to it.
And here's the 3 line patch that I added to the usb core to hook up both
the usb and usb-serial drivers to support the modules symlinks.
I'll go mess w
On Mon, Sep 20, 2004 at 01:29:44PM -0400, James Bottomley wrote:
> This functionality is essential for us to work out which drivers are
> supplied by which modules. We use this in turn to work out which
> modules are necessary to find the root device (and hence what
> initrd/initramfs needs to ins
On Wed, 22 Sep 2004, David Brownell wrote:
> - version is now "Equinox 2004".
That's ambiguous -- a year from now, who will remember whether it was
the Spring or the Fall equinox? :-)
Alan Stern
---
This SF.Net email is sponsored by: YOU
On Wed, 22 Sep 2004, Oliver Neukum wrote:
> So you are saying that whoever suspends a device the system needs
> is screwed?
Not necessarily. But the alternative involves rewriting drivers to make
them automatically wake up their device when it is needed.
> That is harsh, but certainly a worka
Helps battery recharge, and gives this a new version string
since it's changed a lot since St. Patrick's Day.
Please merge.
- Dave
Just minor updates:
- use usb_gadget_vbus_draw() when changing configs, so that USB can
be used to recharge batteries (or whatever); and report power use.
bMaxP
On Wed, 22 Sep 2004, David Brownell wrote:
> Yeech. Even if it were necessary -- which it is not! -- I say: Yeech.
> Public locks are error prone, even in controlled environments; and
> I seem to have noticed that Linux isn't particularly controlled!
I think any locking scheme is going to end u
Network Associates WebShield SMTP V4.5 MR1a on kuuvir04 detected virus
W32/[EMAIL PROTECTED] in attachment your_text.pif from <[EMAIL PROTECTED]> and it was
Deleted and Quarantined.
---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one
Am Mittwoch, 22. September 2004 22:34 schrieb Alan Stern:
> > I am sure the swsusp people will really appreciate the added
> > necessity to first compute the set of devices that need to run.
>
> Left unsaid is how a suspended device can be woken up automatically when
> it is needed. Presumably t
On Wed, 22 Sep 2004, Oliver Neukum wrote:
> Remember, mmapped pages are not written to swap.
It's not clear that they need to be. They will just remain in
system memory. Or wherever the system memory goes during a power-off
suspend. Likewise for iomapped pages remaining in device memory.
>
On Wed, 22 Sep 2004, P.Yu.Shatunov wrote:
> 1: Mobile hdd with usb2.0 interface hangs up after effort to write big file to it.
>
> 2:Description: I use 2.5 inch Fujitsu hdd with mobile USB2.0 box. For reading data
> from
> it everything works great and speed is up to 10MB/sec. But when I try to
On Wed, 22 Sep 2004, Olaf Hering wrote:
> The installed system ran an external udev helper, to read the serial
> number in this case. I disabled that as well, all I get now is:
>
> scsi1 : SCSI emulation for USB Mass Storage devices
> Vendor: Genesys Model: USB to IDE Disk Rev: 0002
> Typ
Alan Stern wrote:
On Wed, 22 Sep 2004, David Brownell wrote:
The root cause of the self-deadlocks is that the driver model
code has to be re-entrant, so that logic in suspend/resume
paths can do things that can be done at other times too. That
means the locking mustn't be context-dependent, and th
Alan Stern wrote:
Part of the problem may be that the meaning of suspend() isn't clearly
defined. Does it mean the driver is supposed to reduce the device's power
usage, or does it mean that the available power is going to be reduced by
someone else so the driver should simply prepare the device?
On Wed, Sep 22, Alan Stern wrote:
> On Wed, 22 Sep 2004, Olaf Hering wrote:
>
> > On Wed, Sep 22, Olaf Hering wrote:
> >
> > > On Wed, Sep 08, Alan Stern wrote:
> > >
> > > > You might try increasing
> > > > the delay to 200 us just to see if it changes anything.
> > >
> > > that fixed the
Am Mittwoch, 22. September 2004 20:41 schrieb Alan Stern:
> > If you want to suspend the whole system this is what you would likely
> > do anyway, as you potentially need to allocate a lot of ram or write
> > the system state to swap.
>
> So maybe you need to power-up one disk drive to access a s
1: Mobile hdd with usb2.0 interface hangs up after effort to write big file to it.
2:Description: I use 2.5 inch Fujitsu hdd with mobile USB2.0 box. For reading data from
it everything works great and speed is up to 10MB/sec. But when I try to write
something to it
for example a movie file it han
On Wed, 22 Sep 2004, David Brownell wrote:
> >>This leaves some unanswered questions. On some buses (such as PCI or
> >>USB), it's not possible to access a device whenever its state is higher
> >>than 0.
>
> Not quite true. PCI config space access is allowed, which is how
> things move from D1
> >>This leaves some unanswered questions. On some buses (such as PCI or
> >>USB), it's not possible to access a device whenever its state is higher
> >>than 0.
>
> Not quite true. PCI config space access is allowed, which is how
> things move from D1 to D2, or D2 to D3hot, etc. And I suppose
> > If you want to suspend the whole system this is what you would likely
> > do anyway, as you potentially need to allocate a lot of ram or write
> > the system state to swap.
>
> Except on the most power-sensitive systems, which won't have swap
> space (or disks!) to worry about, just some flas
Oliver Neukum wrote:
Am Mittwoch, 22. September 2004 19:18 schrieb Alan Stern:
The problem with your rule is that when you want to suspend the entire
system, and some devices are already suspended, it means you have to wake
them up again just to put them back to sleep! There's got to be a
short
On Wed, 22 Sep 2004, Olaf Hering wrote:
> On Wed, Sep 22, Olaf Hering wrote:
>
> > On Wed, Sep 08, Alan Stern wrote:
> >
> > > You might try increasing
> > > the delay to 200 us just to see if it changes anything.
> >
> > that fixed the hang. I will run some more tests.
>
> I had the wrong
Oliver Neukum wrote:
Am Mittwoch, 22. September 2004 17:15 schrieb Alan Stern:
This leaves some unanswered questions. On some buses (such as PCI or
USB), it's not possible to access a device whenever its state is higher
than 0.
Not quite true. PCI config space access is allowed, which is how
thin
Am Mittwoch, 22. September 2004 19:18 schrieb Alan Stern:
> On Wed, 22 Sep 2004, Oliver Neukum wrote:
>
> > Am Mittwoch, 22. September 2004 17:15 schrieb Alan Stern:
> > > This leaves some unanswered questions. On some buses (such as PCI or
> > > USB), it's not possible to access a device wheneve
On Wed, Sep 22, Olaf Hering wrote:
> On Wed, Sep 08, Alan Stern wrote:
>
> > You might try increasing
> > the delay to 200 us just to see if it changes anything.
>
> that fixed the hang. I will run some more tests.
I had the wrong drive attached. Current error with udelay(200) is
sdc:<4>us
On Wed, 22 Sep 2004, Oliver Neukum wrote:
> Am Mittwoch, 22. September 2004 17:15 schrieb Alan Stern:
> > This leaves some unanswered questions. On some buses (such as PCI or
> > USB), it's not possible to access a device whenever its state is higher
> > than 0. So how can a driver increase the
Am Mittwoch, 22. September 2004 17:15 schrieb Alan Stern:
> This leaves some unanswered questions. On some buses (such as PCI or
> USB), it's not possible to access a device whenever its state is higher
> than 0. So how can a driver increase the state, once it is positive?
> Conceivably this co
On Wed, 22 Sep 2004, David Brownell wrote:
> > Or put it another way: if the semaphore was used for _everything_, and not
> > just by the PM core but by drivers as well so that the entire driver model
> > was completely serialized, then again there wouldn't be any deadlock.
>
> I don't see how
On Tue, 21 Sep 2004, David Brownell wrote:
> Right. But for the moment, I think the focus is necessarily on
> trying to make the current model be more usable.
> Wouldn't surprise me at all. But getting there by incremental improvements
> isn't going to be straightforward. And locking is subsid
Alan Stern wrote:
On Tue, 21 Sep 2004, David Brownell wrote:
As one example, consider the problem you've been having with deadlocks
involving dpm_sem. That entire design is misconceived. It forces dpm_sem
to be a single chokepoint for the whole driver model.
Right. The deadlocks are because t
On Tue, 21 Sep 2004, Raymond W wrote:
> hi
>
> I couldn't find a developwer faq on www.linux-usb.org, so I thought perhaps this
> might be the
> right place to ask a few questions.
> (I have read lots of the drivers/usb & drivers/usb/host source before asking these
> questions.
> pegasus, usbne
Oliver Neukum wrote:
Am Dienstag, 21. September 2004 19:58 schrieb David Brownell:
Oliver Neukum wrote:
IMHO USB is the unusual case because it is a bus and a tree. A
generic locking model probably has to lock the whole bus...
A generic model has to understand that any computer nowadays is
built f
On Wed, 22 Sep 2004, Manoj Bhatta wrote:
> > > but
> > > usb_get_current_frame_number() does not increase
> > > always 5 , fisrt time for some (for 45 URBs) it is
> > > same , after that it increases 5 in interval .
> > > But at one point it(usb_get_current_frame_number)
> > > increases to 10 .
On Tue, 21 Sep 2004, Oliver Neukum wrote:
> Tree transversals could be kept happy with a rwsem.
> The rest is really rare. And where it is not rare, I am not convinced
> that uncontrolled paralellism is a good idea. IMHO you would soon
> block on higher order allocations for hotplug anyway. Maybe
On Wednesday 22 September 2004 09:29 am, Oliver Neukum wrote:
> > On 2.6.0 /proc/sys/vm/min_free_kbytes = 1024
> > On 2.6.8 /proc/sys/vm/min_free_kbytes = 128
> >
> > Changing 2.6.8 to 1024 appears to resolve this issue.
>
> What else is running? What network connection?
> That would mean that more
Am Mittwoch, 22. September 2004 15:20 schrieb Kyle Harris:
> On Wednesday 22 September 2004 02:59 am, Oliver Neukum wrote:
> > Does it work if you replace the umount with a delay of equal
> > duration? Will sync have the same effect has umount?
>
> On 2.6.0 /proc/sys/vm/min_free_kbytes = 1024
> On
On Wednesday 22 September 2004 02:59 am, Oliver Neukum wrote:
> Does it work if you replace the umount with a delay of equal
> duration? Will sync have the same effect has umount?
On 2.6.0 /proc/sys/vm/min_free_kbytes = 1024
On 2.6.8 /proc/sys/vm/min_free_kbytes = 128
Changing 2.6.8 to 1024 appea
On Wed, Sep 08, Alan Stern wrote:
> You might try increasing
> the delay to 200 us just to see if it changes anything.
that fixed the hang. I will run some more tests.
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÃRNBERG
---
T
--- Alan Stern <[EMAIL PROTECTED]> wrote:
> On Tue, 21 Sep 2004, Manoj Bhatta wrote:
>
> > Sorry for late reply . let me remind you about my
> > driver . This is USB 1.1 device with isoc endpoint
> of
> > 840 bytes. i am trying to read through isoc by
> > submitting 5 frames per URB . each frame
Duncan Sands wrote:
Does this work for you? With it you should get the right
product/manufacturer strings when you plug it in (also
in /proc/bus/usb/devices), and the right MAC address.
Ciao,
Duncan.
Many thanks! It looks like perfectly working now. The Manufacturer field
is here and the mac addr
Am Dienstag, 21. September 2004 22:44 schrieb Kyle Harris:
> > I don't think memory usage patterns in the USB subsystem have changed
> > significantly since 2.6.0. The new HCD is definitely the most likely
> > suspect. But not being familiar with either the old or the new one, I
> > can't offer a
50 matches
Mail list logo