[linux-usb-devel] [patch 2.6.5+] root hubs can report remote wakeup feature

2004-04-13 Thread David Brownell
This patch updates the virtual root hub code, resolving a small feature omission and making further use of those new feature bit declarations in . Please merge. - Dave The patch lets HCDs report the root hub remote wakeup feature to usbcore through config descriptors, and lets usbcore say whether

[linux-usb-devel] Kernel 2.4.21 USB error with Audigy 2NX

2004-04-13 Thread Evan Klinger
To whom it may concern, When plugging in a SoundBlaster Audigy 2NX into my USB port in kernel 2.4.21 I receive the following messages from dmesg. Any help would be greatly appreciated. Thank you Evan hub.c: new USB device 00:07.2-1, assigned address 2 usbaudio: device 2 audiocontrol interface 0

Re: [linux-usb-devel] RFC: (as246) Allocate usb_interface structures dynamically

2004-04-13 Thread Alan Stern
On Tue, 13 Apr 2004, David Brownell wrote: > And maybe I'll have a chance to look at the patch, not just > that one issue you raised? :) Please do! The more eyes, the better. (And don't forget the other issues I raised.) > Alan Stern wrote: > > Isn't that one of the major functions of the b

[linux-usb-devel] uneeded protocol entry

2004-04-13 Thread Fernando Medina, Jr.
I got the following in my dmesg with 2.6.5-mm5, I don't think I got this in 2.6.4 kernels. The camera is a Casio EXslim, EX-M1, 1.2 Megapixel Camera. It seems to work ok, I can download pics no prob, but message in dmesg said to send it in, so here it is, hope it helps. usb 2-1: new full speed

Re: [linux-usb-devel] [2.6] USB OHCI endian issues on Motorola MPC5200

2004-04-13 Thread Benjamin Herrenschmidt
> Well, maybe not "necessary" ... if every reference to registers or > the in-memory data structures could be switched at compile time > from normal to big-endian, it could also be done at run-time. With a signicant runtime cost & ugliness, but yes > But given what you said about chip errata and

Re: [linux-usb-devel] problems with usbnet/usbeth connecting to Ipaq.

2004-04-13 Thread wim delvaux
On Tuesday 13 April 2004 20:58, David Brownell wrote: > wim delvaux wrote: > > The Ipaq runs the familiar 0.7.2 version. > > Did that work well for you in some earlier configuration? Yes it did but I had problems with USB and insertion of devices. Sometimes it worked sometimes it d

Re: [linux-usb-devel] Question about the USB communication in linux driver

2004-04-13 Thread Oliver Neukum
Hi, > 2. What precisely are you doing to cause this? Merely loading the > driver?Ifconfig? > I called the FILL_BULK_URB, then I called the submit_urb function. After > that, I got the error. In which function? Do you submit the URB in probe() ? What does usb_submit_urb() return? > 4. Did you try

Re: [linux-usb-devel] Question about the USB communication in linux driver

2004-04-13 Thread LEUNG Kin Yip
Dear Oliver, 1. please don't send zipped attachments to the list Ok. I am so sorry about it. 2. What precisely are you doing to cause this? Merely loading the driver?Ifconfig? I called the FILL_BULK_URB, then I called the submit_urb function. After that, I got the error. 3. Which kernel version?

Re: [linux-usb-devel] [PATCH 1/3 - 2.4] USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set

2004-04-13 Thread Pete Zaitcev
On Tue, 13 Apr 2004 12:35:45 +0200 Duncan Sands <[EMAIL PROTECTED]> wrote: > Hi Greg, here is the same thing for 2.4. Looks OK although it's not in 2.6 yet. I'll keep around in my tree. -- Pete --- This SF.Net email is sponsored by: IBM Linux

Re: [Linux-usb-users] Re: [linux-usb-devel] Saitek success, what is difference between usb-uhci &uhci modules

2004-04-13 Thread David Brownell
tj wrote: If usb-uhci is not going to be 2.6, I guess the Saitek joy stick will not be supported in 2.6. Guessing is a bad idea. Try it on 2.6.5-mm, then see if it works; and report your results. Is this done just to totally confuse and bewilder poor souls like me? :-) Actually, the idea is that

Re: [linux-usb-devel] driver binding race in proc_setintf?

2004-04-13 Thread David Brownell
Duncan Sands wrote: proc_setintf contains the following line: if (interface->dev.driver) { Doesn't that mean that a lock needs to be taken to protect against a change in the driver? Looks like it. The patches I sent in (now in Greg's tree and -mm) didn't cover all the missing locks in us

Re: [Linux-usb-users] Re: [linux-usb-devel] Saitek success, what is difference between usb-uhci &uhci modules

2004-04-13 Thread tj
If usb-uhci is not going to be 2.6, I guess the Saitek joy stick will not be supported in 2.6. IHMO differences like this are what is causing Linux to have problems cracking the desktop Randy.Dunlap wrote: On Tue, 13 Apr 2004 13:45:47 -0400 tj wrote: | Well, I finally got the damn Saitek work

Re: [linux-usb-devel] RFC: (as246) Allocate usb_interface structures dynamically

2004-04-13 Thread David Brownell
And maybe I'll have a chance to look at the patch, not just that one issue you raised? :) Alan Stern wrote: On Mon, 12 Apr 2004, David Brownell wrote: Hmm, could you elaborate? The bus rwsem is only to protect Capsule summary: you're assuming a "topology change lock". Isn't that one of the majo

Re: [linux-usb-devel] Sharp Zaurus cradle and kernel 2.6 : khubd oops

2004-04-13 Thread David Brownell
Matthias Saou wrote: Hi, I reported this problem on the fedora-devel-list, but someone suggested I should also here, as I would probably get more information about it. The kernel mentioned is in fact based on 2.6.3-bk5 with a few Red Hat specific patches. Does 2.6.5-mm behave? Matthias -- From

Re: [linux-usb-devel] [2.6] USB OHCI endian issues on Motorola MPC5200

2004-04-13 Thread David Brownell
Benjamin Herrenschmidt wrote: In order to deal with both a PCI OHCI and the on-chip one, it would be necessary to have 2 instances of the driver built with different register access macros (and different macros for accessing in-memory data structures as well since those are big endian with that ch

Re: [linux-usb-devel] problems with usbnet/usbeth connecting to Ipaq.

2004-04-13 Thread David Brownell
wim delvaux wrote: The Ipaq runs the familiar 0.7.2 version. Did that work well for you in some earlier configuration? When the system boots (system being any of the above) the usb0 is properly set up (ifconfig shows nice info) When I up the interface (usbf) on my ipaq (which uses dns and dhcp)

Re: [linux-usb-devel] unneeded SubClass entry (and slow speed)

2004-04-13 Thread Alan Stern
On Tue, 13 Apr 2004, Matthew Dharm wrote: > On Tue, Apr 13, 2004 at 12:39:32PM +0200, Johan Braeken wrote: > > Dear all, > > > > I was investigating very slow USB speed from my digital camera (24MB in 30 > > minutes) and stumbled upon this message in the logs: > > > > usb-storage: This device (

Re: [linux-usb-devel] Question about the USB communication in linux driver

2004-04-13 Thread Oliver Neukum
Am Dienstag, 13. April 2004 12:21 schrieb LEUNG Kin Yip: > Dear Sir/Madam, > > I am a student in Hong Kong University of Science and Technology. I am > so sorry to bother all of you. But I face a problem that I can't solve a > long time and I would really want to get some help. I am doing a project

[linux-usb-devel] another usb keyboard question

2004-04-13 Thread Xu, Jiang
Hi, All, I hope I can get some help on this one: I successfully configure the kernel to support usb keyboard on an embedded device. I put printk in the function handle_scancode() in keyboard.c and it prints everytime when I push a key on the usb keyboard. I try to write an application monitor t

Re: [linux-usb-devel] Saitek success, what is difference between usb-uhci &uhci modules

2004-04-13 Thread Randy.Dunlap
On Tue, 13 Apr 2004 13:45:47 -0400 tj wrote: | Well, I finally got the damn Saitek working. In looking at module files | I noticed one called usb-uhci and loaded it instead of uhci and lo and | behold the damn Saitek worked. Good to hear it. | Now, hot plug originally loaded uhci, so kept loa

[linux-usb-devel] Saitek success, what is difference between usb-uhci &uhci modules

2004-04-13 Thread tj
Well, I finally got the damn Saitek working. In looking at module files I noticed one called usb-uhci and loaded it instead of uhci and lo and behold the damn Saitek worked. Now, hot plug originally loaded uhci, so kept loading it. So, my questions now are: What is the difference between usb-

Re: [linux-usb-devel] Can't get Saitek Cyborg USB Gold to work

2004-04-13 Thread tj
The info I read about it being supported was from a year or two ago. So, this is a newer kernel then would have been used back then. If it is not working with this kernel, 2.4.22, what would cause it to work with a newer kernel. Which newer kernel supports it exactly? tj Duncan Sands wrote: w

Re: [linux-usb-devel] Can't get Saitek Cyborg USB Gold to work

2004-04-13 Thread Duncan Sands
> work under Linux, Slackware 9.1 kernel 2.4.22. I tested it under XP and > it works fine. I also have an old Thrustmaster Top Gun USB working under > Linux, so I know my Linux USB is working. Here are the details. Try a more recent kernel. Duncan. -

[linux-usb-devel] driver binding race in proc_setintf?

2004-04-13 Thread Duncan Sands
proc_setintf contains the following line: if (interface->dev.driver) { Doesn't that mean that a lock needs to be taken to protect against a change in the driver? Thanks, Duncan. --- This SF.Net email is sponsored by: IBM Linux Tutori

Re: [linux-usb-devel] unneeded SubClass entry (and slow speed)

2004-04-13 Thread Matthew Dharm
On Tue, Apr 13, 2004 at 12:39:32PM +0200, Johan Braeken wrote: > Dear all, > > I was investigating very slow USB speed from my digital camera (24MB in 30 > minutes) and stumbled upon this message in the logs: > > usb-storage: This device (0686,4006,0001 S 06 P 50) has an unneeded SubClass > ent

[linux-usb-devel] Can't get Saitek Cyborg USB Gold to work

2004-04-13 Thread Jeff
I hope I can be helped here on teh developers list because I have already tried the users list with no success. I have acquired a Saitek Cyborg USB Gold joystick and I cannot get it to work under Linux, Slackware 9.1 kernel 2.4.22. I tested it under XP and it works fine. I also have an old Thru

[linux-usb-devel] usb keyboard

2004-04-13 Thread Xu, Jiang
Hi All, Be honest, I am new to USB stuff on Linux. Here is the problem I run into: I try to compile USB Keyboard Support into Kernel for an embedded device. So I turn on the following options: 1. CONFIG_USB_HID 2. CONFIG_USB_HIDDEV 3. CONFIG_INPUT 4. CONFIG_INPUT_KEYBDEV * CONFIG_INPUT_EVDE

Re: [linux-usb-devel] RFC: (as246) Allocate usb_interface structures dynamically

2004-04-13 Thread Alan Stern
On Mon, 12 Apr 2004, David Brownell wrote: > >>Hmm, could you elaborate? The bus rwsem is only to protect > > Capsule summary: you're assuming a "topology change lock". Isn't that one of the major functions of the bus rwsem? > OK, you're strictly correct from the driver model perspective, > b

[linux-usb-devel] Undeliverable message returned to sender

2004-04-13 Thread Content Filter
This message was created automatically by mail delivery software. Delivery failed for the following recipients(s): [EMAIL PROTECTED] The message you sent contained an attachment which the recipient has chosen to block. Usually these sort of attachments are blocked to prevent malicious sof

[linux-usb-devel] [PATCH 3/3] USB speedtouch: bump the version number

2004-04-13 Thread Duncan Sands
Hi Greg, this patch bumps the speedtouch driver's version number. It also adds the version number to the module description, so people can see it with modinfo. I also added a MODULE_VERSION line (why? because it was there...) The patch is against your 2.6 kernel tree. speedtch.c |5 +++-- 1

[linux-usb-devel] [PATCH 2/3] USB speedtouch: fix memory leak in error path

2004-04-13 Thread Duncan Sands
Hi Greg, this patch fixes a memory leak in the speedtouch driver. The leak occurs when the ATM layer submits a skbuff for transmission, but the driver rejects it (because the device has been unplugged for example). The ATM layer requires the driver to free the skbuff in this case. The patch is ag

[linux-usb-devel] [PATCH 1/3] USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set

2004-04-13 Thread Duncan Sands
Hi Greg, this causes the speedtouch driver to output non-verbose debugging messages if the kernel was configured with CONFIG_USB_DEBUG. The patch is against your 2.6 kernel tree. speedtch.c |4 1 files changed, 4 insertions(+) diff -Nru a/drivers/usb/misc/speedtch.c b/drivers/usb/misc/

[linux-usb-devel] [PATCH 3/3 - 2.4] USB speedtouch: bump the version number

2004-04-13 Thread Duncan Sands
Hi Greg, here is the same thing for 2.4 (without the MODULE_VERSION line). speedtch.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -Nru a/drivers/usb/speedtch.c b/drivers/usb/speedtch.c --- a/drivers/usb/speedtch.cTue Apr 13 12:32:27 2004 +++ b/drivers/usb/speedtch.c

[linux-usb-devel] [PATCH 1/3 - 2.4] USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set

2004-04-13 Thread Duncan Sands
Hi Greg, here is the same thing for 2.4. speedtch.c |4 1 files changed, 4 insertions(+) diff -Nru a/drivers/usb/speedtch.c b/drivers/usb/speedtch.c --- a/drivers/usb/speedtch.cTue Apr 13 12:32:11 2004 +++ b/drivers/usb/speedtch.cTue Apr 13 12:32:11 2004 @@ -83,6 +83,10 @@ #de

[linux-usb-devel] [PATCH 2/3 - 2.4] USB speedtouch: fix memory leak in error path

2004-04-13 Thread Duncan Sands
Hi Greg, here is the same thing for 2.4. speedtch.c | 42 +++--- 1 files changed, 27 insertions(+), 15 deletions(-) diff -Nru a/drivers/usb/speedtch.c b/drivers/usb/speedtch.c --- a/drivers/usb/speedtch.cTue Apr 13 12:32:18 2004 +++ b/drivers/usb/speedt

[linux-usb-devel] new oops (acm modem trouble)

2004-04-13 Thread spied
i use zyxel uno modem (usb 56k cdc-acm modem, i think it present only on russian market). after two or more hours of connection this modem can hang-up - all leds are on and modem don't respond. i need do power off to reset modem. question - it's possible do software turn power off/on on usb device

[linux-usb-devel] unneeded SubClass entry (and slow speed)

2004-04-13 Thread Johan Braeken
Dear all, I was investigating very slow USB speed from my digital camera (24MB in 30 minutes) and stumbled upon this message in the logs: usb-storage: This device (0686,4006,0001 S 06 P 50) has an unneeded SubClass entry in unusual_devs.h Please send a copy of this message to <[EMAIL PROTECTED]