Re: [linux-usb-devel] Patches still in the queue

2007-05-12 Thread Oliver Neukum
Am Samstag, 12. Mai 2007 21:26 schrieb Alan Stern:
> It could be controlled by both a Kconfig option and a writable module
> parameter.  I'm not sure that would satisfy everybody.  But maybe there
> _is_ no way to satisfy everyone...

I agree. Hibernation with a mounted fs on usb sucks, no matter what
you do. I suggest a setting per interface in sysfs.

Regards
Oliver

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


[linux-usb-devel] 【 パソコ ン利用で在宅収入 】 募 集

2007-05-12 Thread 空いた時間に副収入
独占広告―



≪  パソコンを利用して、在宅での仕事に興味のある方 ≫

「 空いた時間に 収入基盤を作りませんか? 」



募集要項
    http://www.j-netshop.com/digital-j.html



     ■空いた時間で、自宅から収入を希望される方
  
    ■今の仕事を続けながら無理なく独立開業を希望される方



    ※未成年・学生は不可です。
 (今年の新卒者は資料請求までで卒業してからスタート)

    ※インターネット・メール レベルのパソコンスキル必須



 
を限定募集しております。(2007年5月 先着28名限定)
特別な能力や資格は必要ありません。【研修制度有】
  
まじめで真剣な方を募集しております。
   http://www.j-netshop.com/digital-j.html






---マガジン解除---

■メールマガジンの購読、解除について当メールマガジンは一括投稿サイ
  トへ投稿された方、無料投稿された方に配信させていただいております。
  投稿または登録した覚えのない方は、お手数ですが下記のURLよりお願い
  します。解除につきましては、2日から3日程お時間を頂くこともござ
  いますのでご了承ください。

  解除URL: http://formlan.com/form2/aoyama3/

■免責事項とお願いお客様ご依頼のPR本文中に含まれるHP情報等は、
   確認の上掲載しておりますが、トラブルが発生した場合、当方では一切の
   責任は負いかねます。PR投稿本文やHPリンクの内容等についてのクレ
   ーム、損害等は当方では一切受け付けておりません。 
★━━★

─PR─ 
┃オ┃ス┃ス┃メ┃ 急な出費に素早く対応! 三菱東京UFJ銀行系 モビット
┗━┗━┗━┗━┻━━

   §ネットで24時間申込可能!コールセンター24時間対応だから安心§
   ───

…┏━┓┏━━┓  ◆ご融資は1万円から最高300万円まで
…┗┓┃┃┏┓┃  ◆年利15.0-18.0%
……┃┃  ◆三菱東京UFJ銀行系だから安心
……┃┃┃┗┛┃
……┗┛┗━━┛秒で審査結果表示 『その場』でわかる!

 ↓お申込はコチラ↓[入会金・年会費・ATM手数料無料]
 http://px.a8.net/svt/ejp?a8mat=6M66T+F467OY+1I6+626XV

   *** いつでもどこでもキャッシング&ご返済 ***

   お近くの銀行、コンビニなど全国68,000台の提携ATMでご利用可能
※三菱東京UFJ銀行、プロミス、セブンイレブン(セブン銀行)、
 その他の都市銀行、地方銀行、コンビニでも利用できるから便利!
───

 

★━━★
このご案内は、提携マガジン一般広告購読希望者様とDigital-j.netにご参加
頂いている方に送信させて頂いております。 

発行元  :【K-NET】
 
E-Mail: [EMAIL PROTECTED]


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] converting appletouch to usb autosuspend...

2007-05-12 Thread Alistair John Strachan
On Saturday 12 May 2007 19:51:26 Soeren Sonnenburg wrote:
> Dear all,
>
> I've realized using the great powertop ( http://www.linuxpowertop.org/ )
> that loading the appletouch driver (and touching it once) makes consumes
> about 0.3 W even when not touching the pad. As rmmod'ing appletouch
> fixes this I wonder why the driver does not do this alone. So my
> question is what does one have to do to convert a driver (such as
> appletouch) to make use of usb autosuspend except for
>
>  .supports_autosuspend = 1
>
> ...
>
> While we are at it usb related powerhogs on this macbook pro are
> uhci_hcd (usb keyboard) and usb_hcd_poll_rh_status (rh_timer_func)
> too...

I've found that hci_usb also hogs power on the Macbook; blacklisting this 
module cuts down HZ considerably. I also found appletouch consumed ticks, 
just as you did.

uhci_hcd then drops to noise; my Macbook's sitting on 10W with the backlight 
on minimum, which is about what it can manage in OS X on maximum life 
settings.

-- 
Cheers,
Alistair.

Final year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] converting appletouch to usb autosuspend...

2007-05-12 Thread Jiri Kosina
On Sat, 12 May 2007, Alan Stern wrote:

> > While we are at it usb related powerhogs on this macbook pro are 
> > uhci_hcd (usb keyboard) and usb_hcd_poll_rh_status (rh_timer_func) 
> > too...
> They would use less power if the UHCI host controller were suspended.  
> But obviously it cannot be suspended while devices attached to it (such 
> as the USB keyboard and the appletouch device) remain active.

A sidenote for completness, when this has been mentioned: Oliver has been 
working on autosuspend support for HID devices, he sent me some (yet 
incomplete) patches some time ago. So autosuspending of USB 
keyboards/mice/etc. is being worked on.

Oliver, do you have any update please?

Thanks,

-- 
Jiri Kosina

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] [PATCH 14/16] USB: Add usbfs ioctl to get the frame number

2007-05-12 Thread Pete Zaitcev
On Sat, 12 May 2007 15:40:45 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote:

> > timestamp, which would not depend on HC implementing SOF number
> > as a monotonously increasing counter (I think, it's not guaranteed).

> The frame numbers are guaranteed to be monotonically increasing until they
> roll over from 2047 to 0 (see 8.3.3, 8.4.3, and 10.2.3 in the USB spec).

I see, you're right, of course. I only looked at 8.4.3, and it was somewhat
vague. The 10.2.3 places stronger restrictions on the way numbers are
generated, although oddly enough it alows a host to keep wider counters
than are needed.

-- Pete

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] converting appletouch to usb autosuspend...

2007-05-12 Thread Alan Stern
On Sat, 12 May 2007, Soeren Sonnenburg wrote:

> Dear all,
> 
> I've realized using the great powertop ( http://www.linuxpowertop.org/ )
> that loading the appletouch driver (and touching it once) makes consumes
> about 0.3 W even when not touching the pad. As rmmod'ing appletouch
> fixes this I wonder why the driver does not do this alone. So my
> question is what does one have to do to convert a driver (such as
> appletouch) to make use of usb autosuspend except for
> 
>  .supports_autosuspend = 1

One has to add appropriate calls to usb_autopm_get_interface() and
usb_autopm_put_interface(), or equally well, to usb_autopm_enable() and
usb_autopm_disable().  One might also need to set
intf->needs_remote_wakeup to 1 in the probe routine.

> While we are at it usb related powerhogs on this macbook pro are
> uhci_hcd (usb keyboard) and usb_hcd_poll_rh_status (rh_timer_func)
> too...

They would use less power if the UHCI host controller were suspended.  
But obviously it cannot be suspended while devices attached to it (such as
the USB keyboard and the appletouch device) remain active.

Alan Stern


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] EP-0 returns timeout even when data is received by the device.

2007-05-12 Thread Alan Stern
On Sat, 12 May 2007, Jayaprakash Shanmugam wrote:

> Hi All,
> 
>   I have a EHCI host connected to 4 USB devices (dev1, dev2, dev3 and
> dev4).  I have two processes that make use of these devices through a
> kernel object.  I have some vendor commands (through EP-0) to all the
> devices.  Apart from this,  dev1 has EP2 ( in ) bulk, dev2 has EP2 (
> in ) interrupt and dev4 has EP6 ( out ) bulk.  There are 3 processes
> in our system.  From Process1, I read EP2 from dev1 periodically (for
> every 30 ms) and send it to EP6 of dev4.   The other process Process2,
> reads the EP2 interrupt endpoint of dev2 periodically. The last
> process Process3, tries to write to dev4 EP-0 quite frequently (every
> 3 seconds).  Sometimes, the usb_control_msg() receives timeout error.
> I am not able to understand why it should return timeout error
> intermittently.
> 
> 1) When the control endpoint and bulk endpoint are used in a device,
> Can I not use both of them simultaneously ?

The Linux host software allows it.  However the device itself might have
some restrictions (although it shouldn't).

> 2) When I tried to write to EP-0 of a device, the other process who
> sends periodic data to EP-2 of the same device

How can that be?  You said above that on both dev1 and dev2, ep2 is in, 
not out.

>  receives the error
> message - ep0out timeout error.  Why should the process receive this
> debug message (from the timeout handler in the usb_submit_urb() )

Most likely you misunderstood what happened.  Please provide logs
demonstrating the problem.

> 3) When I tried to write to EP-0 of a device (while the other process
> sending data to EP-2 of the same device periodically), the device
> received the data succesfully.  But, the host says the request is
> timeout.  Does it mean that the ACK for the EP-0 packet is received by
> the URB who waits for ACK for the Bulk transfer.

ep0 transfers involve several packets, so it doesn't make sense to talk 
about "the ACK for the EP-0 packet".  If the device receives the data 
correctly and the host reports a timeout, it means that the device 
continues to send NAK packets even after it has received the data.

> This mail may be huge.  Since I am not able to understand the behavior
> I wanted to give the full details of the issue.
> 
> Note: I am running Linux 2.6 on MPC 8270 with Philips PCI - USB converter

2.6.what?

Alan Stern


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] [PATCH 14/16] USB: Add usbfs ioctl to get the frame number

2007-05-12 Thread Alan Stern
On Sat, 12 May 2007, Pete Zaitcev wrote:

> On Fri, 11 May 2007 23:23:18 -0700, Greg KH <[EMAIL PROTECTED]> wrote:
> 
> > I thought that you needed to do something with this value pretty
> > quickly, and that by the time you were able to send something back into
> > the kernel, the value would be not correct anymore.  But if this is
> > really just like a timestamp, then ok, I have no objection other than it
> > needs to be correct for all host controllers.
> 
> Greg, I'm sorry if I'm wrong, but it looks you missed the funny part.
> Danny's device remembers the value that HC circulated in the SOF frame.
> It then supplies that value alongside some data it returns. By reading
> the "current" frame number from HC, Danny's application can tell
> how many frames back, approximately, these data were generated
> (this is not the time when it was transferred across USB).
> 
> The gettimeofday or other kernel-known timestamp is not good enough,
> because the device does not know it. Actually, I think that a clever
> design would set an interrupt-out transfer with software initiated
> timestamp, which would not depend on HC implementing SOF number
> as a monotonously increasing counter (I think, it's not guaranteed).
> Oh well.

In fact the USB spec does anticipate that people will want to use the SOF
values for timing and synchronization, and it goes to great length
explaining ways in which that can be done.  Timing of the SOF is more
reliable than interrupt URBs, because the SOF is guaranteed to be the
first transaction in each frame (and also because interrupt-out transfers
will be retried in another frame if they fail).

The frame numbers are guaranteed to be monotonically increasing until they
roll over from 2047 to 0 (see 8.3.3, 8.4.3, and 10.2.3 in the USB spec).

Alan Stern


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] Patches still in the queue

2007-05-12 Thread Alan Stern
On Fri, 11 May 2007, Greg KH wrote:

> > Can you suggest a better way of packaging it to help support the distros?
> > I'm perfectly willing to change the way USB-persist gets enabled, to 
> > insure that people don't turn it on unless they really mean to.
> 
> Is there any way to turn it on at run-time?  That would be better for
> everyone involved so that the feature will always be present and no
> rebuilding of kernels is needed.

Ha!  When I first started working on this stuff, it was controlled by a 
module parameter.  Dave Brownell objected then because there was no way 
for distros to turn it off!

It could be controlled by both a Kconfig option and a writable module
parameter.  I'm not sure that would satisfy everybody.  But maybe there
_is_ no way to satisfy everyone...

Alan Stern


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] Unusual dev addition for memory stick?

2007-05-12 Thread Phil Dibowitz
Alan Stern wrote:
>> What is very strange also, if I write data to the stick (if it works), it
>> seems to work better after that, that's why I also thought of the residual
>> bytes.
> 
> Could be a coincidence.  Who knows?

Thanks for looking at this Alan - the place hosting my mail server is having
some problems and I'm in the process of moving it - so my email's been
on-and-off all week. I got a new place - should be sorted out sometime this
week.

-- 
Phil Dibowitz [EMAIL PROTECTED]
Open Source software and tech docsInsanity Palace of Metallica
http://www.phildev.net/   http://www.ipom.com/

"Never write it in C if you can do it in 'awk';
 Never do it in 'awk' if 'sed' can handle it;
 Never use 'sed' when 'tr' can do the job;
 Never invoke 'tr' when 'cat' is sufficient;
 Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming




signature.asc
Description: OpenPGP digital signature
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


[linux-usb-devel] If hMenu is NULL, the window's current menu is removed.

2007-05-12 Thread Dena jacobsoohn
Sehr geehrter Herr,

wir haben heute folgende Nachricht erfolgreich für Sie  veröffentlicht:

boerse invest wachst sehr stark durch zukaufe BJ5N.F

Nachrichtenart: Corporate News
Datum: 10.05.2007
Eingabezeit: 10.05.2007 10:00:05
Veröffentlichungszeit: 10.05.2007 10:00:08

Verbreitungsnetzwerk: Basis (Siehe am Ende der Mitteilung)

Nachricht:


Börse Invest Beteiligungs AG / Miscellaneous (Stock: BJ5N.F)

10.05.2007

Release of a Corporate News announcement, transmitted by DGAP - a company of
EquityStory AG.
The issuer / publisher is solely responsible for the content of this
announcement.
---

DÜSSELDORF – Goldfish Holdings Inc. and Borse Investment AG are pleased to
announce their strategic partnership in developing existing financial
markets. Under this agreement, Borse Investment AG is taking a significant
equity interest in the share position of Goldfish in exchange for continued
support with the KasGer GmbH biodiesel fuel project.


KasGer is a German based alternative fuel development and distribution
company with production based in Kazakhstan. Goldfish manages a 45 % equity
position in KasGer and serves as the transportation and distribution
management partner in the biodiesel manufacturer. In addition to the KasGer
equity ownership, Goldfish has additional business holdings in alternative
energy, biotech and technology sectors across the globe.


Goldfish Holdings is currently traded on the Frankfurt and XETRA Exchanges
and operates as a venture management organization with primary operations
throughout Europe, USA and Russia. Tobias Janssen, CEO stated, 'This
opportunity to work hand in hand with the Borse Invest continues to allow
both companies the opportunity to leverage existing financial markets as
well as opening new markets to the collective strenghts of both
organizations'. Borse Investment AG is a Swiss based investment management
company. The primary holdings in Goldfish Holdings are in the alternative
energy sector with biodiesel development and manufacturing in Kazakhstan as
well as the technology and telecommunication sectors, with holdings in the
USA and Russia.

Symbol:BJ5N.F
DGAP 10.05.2007
---



Diese Mitteilung wurde folgenden Medien zugeleitet
Elektronische Verbreitungssysteme:
VerbreitungsystemEinspeisung
Bloomberg:   10.05.2007 10:00:08
Reuters: 10.05.2007 10:00:08
vwd: 10.05.2007 10:00:08

Auswahl aus dem deutschen Medienbündel:
Medium   Zuleitung
Dow Jones10.05.2007 10:00:08
dpa-afx  10.05.2007 10:00:08
dgap.de  10.05.2007 10:00:08
FTD  10.05.2007 10:00:08


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


[linux-usb-devel] converting appletouch to usb autosuspend...

2007-05-12 Thread Soeren Sonnenburg
Dear all,

I've realized using the great powertop ( http://www.linuxpowertop.org/ )
that loading the appletouch driver (and touching it once) makes consumes
about 0.3 W even when not touching the pad. As rmmod'ing appletouch
fixes this I wonder why the driver does not do this alone. So my
question is what does one have to do to convert a driver (such as
appletouch) to make use of usb autosuspend except for

 .supports_autosuspend = 1

...

While we are at it usb related powerhogs on this macbook pro are
uhci_hcd (usb keyboard) and usb_hcd_poll_rh_status (rh_timer_func)
too...

Soeren.
-- 
Sometimes, there's a moment as you're waking, when you become aware of
the real world around you, but you're still dreaming.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] [PROBLEM] ueagle-atm modem and usb mouse

2007-05-12 Thread Stanislaw Gruszka
On Thursday 10 May 2007 17:31, Alan Stern wrote:
> On Wed, 9 May 2007, Stanislaw Gruszka wrote:
> 
> > > Can you please provide the dmesg log from the Pentium-2 machine with UHCI
> > > and with CONFIG_USB_DEBUG set?  Show what happens when you connect the
> > > mouse and then plug in the ueagle-atm device.
> > 
> > Ok, in dmesk.2 the modem is connected when there is open /dev/input/mouse 
> > file (for about 1 second). I can read data until close file and open it 
> > again.
> 
> This looks like it's all working properly.  When the mouse device is
> opened it reserves 93 us of bandwidth.  When the ueagle-atm driver puts
> the modem into the highest-speed setting, it tries to allocate 36 + 794
> us, for a total of 923 us.  This is more than the 900 us maximum bandwidth
> allowed by the USB spec for periodic transfers, so the attempt fails.
> 
> In this situation the ueagle-atm driver ought to fall back to a slower 
> setting.
> 
> Conversely, if the modem is already running (and using 830 us of
> bandwidth) when you open the mouse device file, the mouse driver won't be
> able to allocate its 93 us.  But if you would close the mouse device file
> and turn off the modem, then the next time you open the mouse file it
> ought to work.  You shouldn't need to unplug the mouse.
> 
> Can you try doing that experiment?  If it doesn't work then send the dmesg 
> log.
Mouse work when nobody open /dev/input/mouse file during modem is connected,
but if someone open the file when there is no bandwidth, no data from the mouse
file can be read even after modem is disconnected.

This is bug in input layer, return value of input_open_device() is not checked 
in 
file drivers/input/mousedev.c. But I see this is already fixed in input git 
tree.

-- 
Regards
Stanislaw Gruszka

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


[linux-usb-devel] EP-0 returns timeout even when data is received by the device.

2007-05-12 Thread Jayaprakash Shanmugam
Hi All,

  I have a EHCI host connected to 4 USB devices (dev1, dev2, dev3 and
dev4).  I have two processes that make use of these devices through a
kernel object.  I have some vendor commands (through EP-0) to all the
devices.  Apart from this,  dev1 has EP2 ( in ) bulk, dev2 has EP2 (
in ) interrupt and dev4 has EP6 ( out ) bulk.  There are 3 processes
in our system.  From Process1, I read EP2 from dev1 periodically (for
every 30 ms) and send it to EP6 of dev4.   The other process Process2,
reads the EP2 interrupt endpoint of dev2 periodically. The last
process Process3, tries to write to dev4 EP-0 quite frequently (every
3 seconds).  Sometimes, the usb_control_msg() receives timeout error.
I am not able to understand why it should return timeout error
intermittently.

1) When the control endpoint and bulk endpoint are used in a device,
Can I not use both of them simultaneously ?

2) When I tried to write to EP-0 of a device, the other process who
sends periodic data to EP-2 of the same device receives the error
message - ep0out timeout error.  Why should the process receive this
debug message (from the timeout handler in the usb_submit_urb() )

3) When I tried to write to EP-0 of a device (while the other process
sending data to EP-2 of the same device periodically), the device
received the data succesfully.  But, the host says the request is
timeout.  Does it mean that the ACK for the EP-0 packet is received by
the URB who waits for ACK for the Bulk transfer.

This mail may be huge.  Since I am not able to understand the behavior
I wanted to give the full details of the issue.

Note: I am running Linux 2.6 on MPC 8270 with Philips PCI - USB converter

Thanks,
Jayaprakash.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


Re: [linux-usb-devel] [PATCH 14/16] USB: Add usbfs ioctl to get the frame number

2007-05-12 Thread Pete Zaitcev
On Fri, 11 May 2007 23:23:18 -0700, Greg KH <[EMAIL PROTECTED]> wrote:

> I thought that you needed to do something with this value pretty
> quickly, and that by the time you were able to send something back into
> the kernel, the value would be not correct anymore.  But if this is
> really just like a timestamp, then ok, I have no objection other than it
> needs to be correct for all host controllers.

Greg, I'm sorry if I'm wrong, but it looks you missed the funny part.
Danny's device remembers the value that HC circulated in the SOF frame.
It then supplies that value alongside some data it returns. By reading
the "current" frame number from HC, Danny's application can tell
how many frames back, approximately, these data were generated
(this is not the time when it was transferred across USB).

The gettimeofday or other kernel-known timestamp is not good enough,
because the device does not know it. Actually, I think that a clever
design would set an interrupt-out transfer with software initiated
timestamp, which would not depend on HC implementing SOF number
as a monotonously increasing counter (I think, it's not guaranteed).
Oh well.

-- Pete

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel