Re: [linux-usb-devel] USB altsetting changes and USB sound drivers

2004-05-03 Thread Clemens Ladisch
Alan Stern wrote: > I'm working to update the USB drivers, because soon the way altsettings > are stored will be changed. The arrays will no longer be guaranteed to be > sorted in numerical order by bAlternateSetting. What will the order be? That of the original descriptors returned by the devic

[linux-usb-devel] failure notice

2004-05-03 Thread MAILER-DAEMON
Hi. This is the qmail-send program at apocalypse.mvista.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. <[EMAIL PROTECTED]>: 10.0.0.15 failed after I sent the message. Remote host said: 550 Unacc

[linux-usb-devel] debugging or something?

2004-05-03 Thread zcat
I am trying to get my camera going as a webcam (concord EyeQ Duo in PC mode, not HDD mode) with the 2.6.4 kernel using the se401 driver (compiled in).. It logged the following message, which doesn't mean much to me so I have no idea if it's useful information or not; May 3 21:08:11 mrsnorris k

[linux-usb-devel] USB too noisy.

2004-05-03 Thread Zephaniah E. Hull
Please note that I am not subscribed to linux-usb-devel, and CC me on any replies. At the moment, the 2.6.x USB core is /very/ noisy, giving KERN_WARNING level messages for all failed usbfs bulk transactions (in addition to returning the error), and for all usb transfer timeouts (in addition to re

[linux-usb-devel] Fml status report (ruby-talk ML)

2004-05-03 Thread ruby-talk-admin
your mail is too big [EMAIL PROTECTED], Be Seeing You! Help: Unsubscribe: If you have any questions or problems, please contact [EMAIL PROTECTED] or send

Re: [linux-usb-devel] Re: PATCH: (as265) Fix bluetooth driver's wait_for_urb()

2004-05-03 Thread Alan Stern
On Fri, 30 Apr 2004, David Brownell wrote: > Wouldn't better semantics be "kill and bury" ... that is, > even dropping the reference? An urb that's "killed" would > not ever be re-used ... simpler. Completion handlers would > just kill the urb, so would close(). Open() would allocate > the urbs

Re: [linux-usb-devel] USB altsetting changes and USB sound drivers

2004-05-03 Thread Alan Stern
On Mon, 3 May 2004, Clemens Ladisch wrote: > Alan Stern wrote: > > I'm working to update the USB drivers, because soon the way altsettings > > are stored will be changed. The arrays will no longer be guaranteed to be > > sorted in numerical order by bAlternateSetting. > > What will the order be?

[linux-usb-devel] PATCH: (as270) Altsetting update for USB IrDA driver

2004-05-03 Thread Alan Stern
This patch updates the USB IrDA driver to take into account that the kernel may no longer store altsetting entries in numerical order. The driver only needed one change; this was a simple matter of using the entry corresponding to the altsetting that was just installed. Alan Stern = driver

[linux-usb-devel] RE: [usb-storage] Re: Clear_feature doesn't happen when get_descriptor on pipe

2004-05-03 Thread Stuart_Hayes
Matthew Dharm wrote: > On Fri, Apr 30, 2004 at 06:32:14PM -0700, Pete Zaitcev wrote: >> On Fri, 30 Apr 2004 16:34:48 -0500 >> <[EMAIL PROTECTED]> wrote: >> >>> Here's the patch (for 2.4) if you're curious. >> >> Do you want me to include all relevant transport types, or you want >> to do it yours

[linux-usb-devel] Re: PATCH (as264): Small change to CPiA USB driver

2004-05-03 Thread Alan Stern
Greg: As part of the altsetting updates I sent this patch to Johannes about a week ago. http://marc.theaimsgroup.com/?l=linux-usb-devel&m=108309072124878&w=2 I don't know if he received it or has done anything about it. What would you like me to do? The altsetting updates are just about compl

Re: [linux-usb-devel] debugging or something?

2004-05-03 Thread Alan Stern
On Mon, 3 May 2004, zcat wrote: > I am trying to get my camera going as a webcam (concord EyeQ Duo in PC > mode, not HDD mode) with the 2.6.4 kernel using the se401 driver > (compiled in).. It logged the following message, which doesn't mean much > to me so I have no idea if it's useful informa

[linux-usb-devel] [PATCH] 2.6 fix pxa define in gadget_chips.h

2004-05-03 Thread stefan . eletzhofer
Hi, below is a trivial patch which fixes the PXA gadget define in drivers/linux/usb/gadget/gadget_chips.h Everywhere CONFIG_USB_GADGET_PXA2XX is used, except in that file, which bites obviously ... The patch is against 2.6.6-rc3. Thanks, Stefan E. Fix define for PXA UDC. # # Patch man

[linux-usb-devel] [PATCH] 2.6 fix g_serial debug module parm

2004-05-03 Thread stefan . eletzhofer
Hi, g_serial.ko can't be load as module because "debug" is only defined if G_SERIAL_DEBUG is defined, but "debug" is referenced in MODULE_PARM(). The patch below against 2.6.6-rc3 should fix that. Thanks, Stefan E. # # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patche

Re: [linux-usb-devel] Problem with USB2.0 and USB-Storage writing to DVD+-R

2004-05-03 Thread Alan Stern
On Sun, 2 May 2004, Sergio Vergata wrote: > Hi list, > > I want to report a problem that occured to me. > I have an USB2.0 DVD Recorder attached to my Laptop. > > ehci_hcd ist loaded and detect the new device! > > usb 4-3: new high speed USB device using address 2 > Initializing USB Mass Storag

[linux-usb-devel] $B!y13!&56$j$N$J$$:_Bp%o!<%/(B($BA[A|$H0c$$C/$b$,$S$C$/$j!*(B)$B!y(B

2004-05-03 Thread hot
$B!y13!&56$j$N$J$$:_Bp%o!<%/(B($BA[A|$H0c$$C/$b$,$S$C$/$j!*(B)$B!y(B (B $B(."""#(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"#""(/(B (B $B%[%C%H!&%[%C%H!&%K%e!<%9(B $B!c(B2004.05.03$BH/9T!d(B $B(1"""#(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,"#""(0(B (B $B!Z"-

Re: [linux-usb-devel] Problem with USB2.0 and USB-Storage writing to DVD+-R

2004-05-03 Thread Sergio Vergata
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I have just testet with 2.6.6rc3 without preemt but same problem I have inserted also the dmesg output that i got that time, the last time this message dissapeared to fast so now here the output Cu Sergio sandokan:/# cat /proc/bus/usb/devices

[linux-usb-devel] PXA 2xx UDC and RNDIS g_ether

2004-05-03 Thread stefan . eletzhofer
Hi, I'm trying to get the RNDIS variant of the g_ether gadget driver running on my PXA2xx board. I use 2.6.6-rc3. I know that the hardware is running, as g_file_storage works. Hacking and reading the source code, the problem _seems_ to be that the RNDIS part wants a IN interuppt ep autoconfigured

[linux-usb-devel] failure notice

2004-05-03 Thread postmaster
Hi. This is the SMTP program at intekom.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. Your message was bounced by our server. If you have any other queries please contant our support desk as f

Re: [linux-usb-devel] Problem with USB2.0 and USB-Storage writing to DVD+-R

2004-05-03 Thread Alan Stern
On Mon, 3 May 2004, Sergio Vergata wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi > I have just testet with 2.6.6rc3 without preemt but same problem > > I have inserted also the dmesg output that i got that time, the last time this > message dissapeared to fast so now here th

[linux-usb-devel] Re: PATCH: (as270) Altsetting update for USB IrDA driver

2004-05-03 Thread Greg KH
On Mon, May 03, 2004 at 11:02:30AM -0400, Alan Stern wrote: > This patch updates the USB IrDA driver to take into account that the > kernel may no longer store altsetting entries in numerical order. > The driver only needed one change; this was a simple matter of using the > entry corresponding t

[linux-usb-devel] Re: [PATCH] update for 2.6.6-rc3-mm1 (mtouchusb)

2004-05-03 Thread Greg KH
On Sun, May 02, 2004 at 01:41:15PM -0400, Todd E. Johnson wrote: > Hi all, > > The attached patch for the 3M Touch Systems Capacitive controller. (again) > > Quick list of changes: > > *decrease mtouch->open counter in the event of a urb > submission failure > > The changes are due t

Re: [linux-usb-devel] [PATCH] Sony Clie

2004-05-03 Thread Alan Stern
On Mon, 3 May 2004, Mike Alborn wrote: > Oops. Enabled the wrong debugging option. Let's try this one again. > > Again, I booted, logged into KDE, attached the Clie, rmmod usb-storage, > modproibe usb-storage. Okay, this helps. It shows that the Clie responded by saying that it wasn't ready w

[linux-usb-devel] [PATCH] add support for eGalax Touchscreen USB

2004-05-03 Thread Daniel Ritz
hi this is the second version of the patch to add support for eGalax Touchkit USB touchscreen. changes since last patch: - fixed the bug in open, found by oliver neukum - renamed driver from touchkit.c to touchkitusb.c (since the thing also exists as RS232, PS/2 and I2C) - some minor coding styl

[linux-usb-devel] PATCH: (as268) Import device-reset changes from gadget-2.6 tree

2004-05-03 Thread Alan Stern
Greg: This patch imports the changes that David Brownell has made to the device-reset functions in his gadget-2.6 tree. Once these ongoing troubling questions about locking are settled, I'll add support for the "descriptors changed" case. Alan Stern = drivers/usb/core/hub.c 1.147 vs edited

[linux-usb-devel] PATCH: (as269) Reduce kernel stack usage

2004-05-03 Thread Alan Stern
Greg: This patch allocates a temporary array from the heap instead of from the kernel's stack in usb_set_configuration(). It also updates a few comments. Please apply. Alan Stern = drivers/usb/core/message.c 1.82 vs edited = --- 1.82/drivers/usb/core/message.c Thu Apr 15 08:28:25

Re: [linux-usb-devel] USB too noisy.

2004-05-03 Thread David Brownell
Zephaniah E. Hull wrote: At the moment, the 2.6.x USB core is /very/ noisy, giving KERN_WARNING level messages for all failed usbfs bulk transactions (in addition to returning the error), and for all usb transfer timeouts (in addition to returning the error). Is it noisier than 2.4 in such ways?

Re: [linux-usb-devel] PATCH: (as266) Lock devices during tree traversal

2004-05-03 Thread David Brownell
Alan Stern wrote: On Sun, 2 May 2004, David Brownell wrote: Physical. This would be only for struct usb_device, not for struct usb_interface, because only usb_device has a children[] array. But for hub nodes, the two are equivalent. Changing to config 0 will remove child nodes ... I'm afraid t

Re: [linux-usb-devel] Re: PATCH: (as265) Fix bluetooth driver's wait_for_urb()

2004-05-03 Thread David Brownell
Wouldn't better semantics be "kill and bury" ... that is, even dropping the reference? I would prefer not to do that. A lot of drivers follow the example of usb-skeleton, where all the URBs are allocated during probe() and not during open(). I'm not sure that's the best model to be fol

[linux-usb-devel] [patch 2.6.6-rc+BK] CONFIG_USB_SUSPEND (experimental)

2004-05-03 Thread David Brownell
Here's the latest version. It's not the all-singing, all-dancing version, but I think from the perspective of the hub driver it's pretty much functionally complete. You can use sysfs to suspend USB devices: echo -n 1 > /sys/bus/usb/devices/$ID/power/state where there's a /sys/bus/usb/devic

Re: [linux-usb-devel] PATCH: (as266) Lock devices during tree traversal

2004-05-03 Thread David Brownell
Alan Stern wrote: On Sun, 2 May 2004, David Brownell wrote: I think the notion of device-to-parent reset locking is the problem. What if the device gets unplugged while you try to reset it, or it was already reset and that's why it failed, making the driver try to reset it? With device-to-hub l

Re: [linux-usb-devel] PXA 2xx UDC and RNDIS g_ether

2004-05-03 Thread David Brownell
[EMAIL PROTECTED] wrote: Hi, I'm trying to get the RNDIS variant of the g_ether gadget driver running on my PXA2xx board. I use 2.6.6-rc3. I know that the hardware is running, as g_file_storage works. Right, after the merge I didn't have a chance to re-test with te PXA hardware. Hacking and readin

Re: [linux-usb-devel] PATCH: (as266) Lock devices during tree traversal

2004-05-03 Thread Alan Stern
On Mon, 3 May 2004, David Brownell wrote: > You just said you wanted a "topology lock", but there are multiple > topologies. A lock that protects the logical topology of a given > non-hub device (SET_CONFIGURATION) doesn't need to protect any other > device. And a lock that protects the physical

Re: [linux-usb-devel] USB Hot-plug'ing doesn't work on _my_ Fedora Core 2 (kernel 2.6.5) on a Centrino laptop

2004-05-03 Thread Fulko Hew
Greg KH wrote: On Sun, May 02, 2004 at 08:34:03PM -0400, Fulko Hew wrote: I've been testing Fedora Core 2 on my Centrino laptop, and it hotplugging USB devices doesn't appear to work with this kernel on this hardware. "nothing"? Hm, not good. Care to enable CONFIG_USB_DEBUG and tell us what hap

[linux-usb-devel] Re: Clear_feature doesn't happen when get_descriptor on pipe

2004-05-03 Thread Pete Zaitcev
On Sat, 1 May 2004 09:10:09 -0700 Matthew Dharm <[EMAIL PROTECTED]> wrote: > On Fri, Apr 30, 2004 at 06:32:14PM -0700, Pete Zaitcev wrote: > > On Fri, 30 Apr 2004 16:34:48 -0500 > > <[EMAIL PROTECTED]> wrote: > > > > > Here's the patch (for 2.4) if you're curious. > > > > Do you want me to incl

[linux-usb-devel] Re: Clear_feature doesn't happen when get_descriptor on pipe

2004-05-03 Thread Matthew Dharm
On Mon, May 03, 2004 at 06:16:01PM -0700, Pete Zaitcev wrote: > On Sat, 1 May 2004 09:10:09 -0700 > Matthew Dharm <[EMAIL PROTECTED]> wrote: > > > On Fri, Apr 30, 2004 at 06:32:14PM -0700, Pete Zaitcev wrote: > > > On Fri, 30 Apr 2004 16:34:48 -0500 > > > > <[EMAIL PROTECTED]> wrote: > > > > > >

Re: [linux-usb-devel] USB Hot-plug'ing doesn't work on _my_ Fedora Core 2 (kernel 2.6.5) on a Centrino laptop

2004-05-03 Thread Fulko Hew
Greg KH wrote: On Sun, May 02, 2004 at 08:34:03PM -0400, Fulko Hew wrote: I've been testing Fedora Core 2 on my Centrino laptop, and it hotplugging USB devices doesn't appear to work with this kernel on this hardware. "nothing"? Hm, not good. Care to enable CONFIG_USB_DEBUG and tell us what hap

Re: [linux-usb-devel] PATCH: (as266) Lock devices during tree traversal

2004-05-03 Thread David Brownell
Alan Stern wrote: On Mon, 3 May 2004, David Brownell wrote: If all the locking obeys the same (correct, and presumably top-down) locking protocol, then deadlocks won't happen. That'd include the code doing the reset ... which would see -ENODEV faults starting at some point, and then fail cleanly.

Re: [linux-usb-devel] PATCH: (as266) Lock devices during tree traversal

2004-05-03 Thread David Brownell
Alan Stern wrote: I'm talking about protecting the physical topology of the entire tree. I still don't see why the _entire_ tree needs that sort of protection. I hope I'm not missing something. And I would find it acceptable to use hubdev->serialize to protect the links at the inner nodes if on

Re: [linux-usb-devel] [patch 2.6.6-rc+BK] CONFIG_USB_SUSPEND (experimental)

2004-05-03 Thread David Brownell
+ /* resubmit the urb (iff it's safe) */ + hubstate = usb_get_intfdata (intf); + if (hubstate->urb->status == -EHOSTUNREACH) { + status = usb_submit_urb (hubstate->urb, GFP_KERNEL); + if (status < 0) This is deadly. It must be GFP_NOIO or you might de

Re: [linux-usb-devel] PATCH: (as266) Lock devices during tree traversal

2004-05-03 Thread Alan Stern
On Mon, 3 May 2004, David Brownell wrote: > >>Just define usb_reset_device() so the calling task may not hold > >>the dev->serialize lock, and have its first act be to get the > >>lock for the hub. That would imply that probe() paths would > >>(still) not be able to call it directly though. Mayb

Re: [linux-usb-devel] Problem with USB2.0 and USB-Storage writing to DVD+-R

2004-05-03 Thread Sergio Vergata
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 03 May 2004 17:48, Alan Stern wrote: Hi, very strange problem i builded the usb-storage module with Debug and test burnig a CD and a DVD both worked without problem, after that i build the module again without Debug an burned again at tha

Re: [linux-usb-devel] [patch 2.6.6-rc+BK] CONFIG_USB_SUSPEND (experimental)

2004-05-03 Thread Oliver Neukum
Am Montag, 3. Mai 2004 22:03 schrieb David Brownell: > + /* resubmit the urb (iff it's safe) */ > + hubstate = usb_get_intfdata (intf); > + if (hubstate->urb->status == -EHOSTUNREACH) { > + status = usb_submit_urb (hubstate->urb, GFP_KERNEL); > + if (st

Re: [linux-usb-devel] USB too noisy.

2004-05-03 Thread Zephaniah E. Hull
On Mon, May 03, 2004 at 12:02:25PM -0700, David Brownell wrote: > Zephaniah E. Hull wrote: > > > >At the moment, the 2.6.x USB core is /very/ noisy, giving KERN_WARNING > >level messages for all failed usbfs bulk transactions (in addition to > >returning the error), and for all usb transfer timeout

[linux-usb-devel] need some advice

2004-05-03 Thread 박호상
Hello. I want to understand the gadget device driver and so I have searched and read several web sites. However, testing is still vague. In Linux, assumed that gadget device driver is set and connected to the PC (Windows or Linux). Now that, a developer wants to test the gadget device driver. In w