Re: [linux-usb-devel] [Bugme-new] [Bug 8310] New: USB device names are not sanitized for UTF-8

2007-06-04 Thread Oliver Neukum
Am Montag, 4. Juni 2007 22:52 schrieb Alan Stern: > Regarding: > > http://bugzilla.kernel.org/show_bug.cgi?id=8310 > > Does anybody think it would be worthwhile to convert string descriptors > from UCS-16 to UTF-8 (instead of Latin1) when we read them in? Yes, I do. We should either pass

Re: [linux-usb-devel] [Bugme-new] [Bug 8310] New: USB device names are not sanitized for UTF-8

2007-06-04 Thread David Brownell
On Monday 04 June 2007, Pete Zaitcev wrote: > On Mon, 4 Jun 2007 16:52:01 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > > Does anybody think it would be worthwhile to convert string descriptors > > from UCS-16 to UTF-8 (instead of Latin1) when we read them in? Or even UTF-7 ... ? FWIW t

Re: [linux-usb-devel] [PATCH] bugfix GFP_KERNEL -> GFP_ATOMIC in spin_locked region

2007-06-04 Thread Andrew Morton
On Mon, 4 Jun 2007 21:00:18 -0700 Andrew Morton <[EMAIL PROTECTED]> wrote: > > diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c > > index 544098d..9ec38e3 100644 > > --- a/drivers/usb/serial/io_ti.c > > +++ b/drivers/usb/serial/io_ti.c > > @@ -2351,7 +2351,7 @@ static int resta

Re: [linux-usb-devel] [PATCH] bugfix GFP_KERNEL -> GFP_ATOMIC in spin_locked region

2007-06-04 Thread Andrew Morton
On Mon, 04 Jun 2007 18:25:28 +0200 Yoann Padioleau <[EMAIL PROTECTED]> wrote: > > In a few files a function such as usb_submit_urb is taking GFP_KERNEL > as an argument whereas this function call is inside a > spin_lock_irqsave region of code. Documentation says that it must be > GFP_ATOMIC inste

Re: [linux-usb-devel] [PATCH 11/12] drivers: PMC MSP71xx USB driver

2007-06-04 Thread Marc St-Jean
Greg KH wrote: > On Mon, Jun 04, 2007 at 05:23:44PM -0600, Marc St-Jean wrote: > > [PATCH 11/12] drivers: PMC MSP71xx USB driver > > > > Patch to add an USB driver for the PMC-Sierra MSP71xx devices. > > > > Patches 1 through 10 were posted to [EMAIL PROTECTED] as well > > as other sub-system

Re: [linux-usb-devel] [PATCH 11/12] drivers: PMC MSP71xx USB driver

2007-06-04 Thread Greg KH
On Mon, Jun 04, 2007 at 05:23:44PM -0600, Marc St-Jean wrote: > [PATCH 11/12] drivers: PMC MSP71xx USB driver > > Patch to add an USB driver for the PMC-Sierra MSP71xx devices. > > Patches 1 through 10 were posted to [EMAIL PROTECTED] as well > as other sub-system lists/maintainers as appropriate

[linux-usb-devel] Radica RacePac Steering Wheel/xbox

2007-06-04 Thread James Klaas
I just got a Radica "RacePac Steering Wheel" xbox controller. The USB IDs weren't listed in xpad.c, so I added them there. It's listed as having a 3 port hub, but as far as I can tell, it only has the wheel, pedals and a dozen buttons (OK, a pad, the x,a,b,y four paddles, two triggers 4 additiona

Re: [linux-usb-devel] [PATCH] Fix NEC OHCI chip silicon bug

2007-06-04 Thread Michael Hanselmann
On Sat, Jun 02, 2007 at 10:49:44AM -0400, Alan Stern wrote: > Then later on, when the hub driver is resumed it will see the flag and > disconnect all the devices below the root hub. > For instance, you could force ohci-hcd to report connect-change events > on all the ports. Perhaps it does somethi

Re: [linux-usb-devel] [Bugme-new] [Bug 8310] New: USB device names are not sanitized for UTF-8

2007-06-04 Thread Pete Zaitcev
On Mon, 4 Jun 2007 16:52:01 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > Regarding: > > http://bugzilla.kernel.org/show_bug.cgi?id=8310 > > Does anybody think it would be worthwhile to convert string descriptors > from UCS-16 to UTF-8 (instead of Latin1) when we read them in? I r

Re: [linux-usb-devel] [Bugme-new] [Bug 8310] New: USB device names are not sanitized for UTF-8

2007-06-04 Thread Alan Stern
Regarding: http://bugzilla.kernel.org/show_bug.cgi?id=8310 Does anybody think it would be worthwhile to convert string descriptors from UCS-16 to UTF-8 (instead of Latin1) when we read them in? Alan Stern - This S

Re: [linux-usb-devel] [Bugme-new] [Bug 8564] New: ftdi_sio: BUG: unable to handle kernel NULL pointer dereference at virtual address

2007-06-04 Thread John H.
Sorry, I can't really try it. I have fedora's 2.6.21 kernel and I have to leave the machine working for 2 months, so I can't experiment:) However, I did try 2.6.21.3 and it had same problem. On 6/4/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: > Am Sonntag, 3. Juni 2007 00:53 schrieb John H.: >

Re: [linux-usb-devel] ds2490, uhci_result_common: failed with status 500000

2007-06-04 Thread Alan Stern
On Mon, 4 Jun 2007, Vortex wrote: > Hi!! > > Currently im playing with the ds2490 USB-to-OneWire Bridge from Dallas > Semiconductor and built an interface circuit. Two of this devices > are working on different machines with kernel versions from 2.6.18 > up to 2.6.21 perfectly. > > Now one of th

Re: [linux-usb-devel] ds2490, uhci_result_common: failed with status 500000

2007-06-04 Thread Vortex
Forgot something: > After a few successful interactions on the bus, the communication fails > obviously. To recover from this it's not enough to replug the device. I must reload the uhci_hcd as well. > If i don't, it looks like this: Perhaps i should mention that there are some BIOS related US

[linux-usb-devel] ds2490, uhci_result_common: failed with status 500000

2007-06-04 Thread Vortex
Hi!! Currently im playing with the ds2490 USB-to-OneWire Bridge from Dallas Semiconductor and built an interface circuit. Two of this devices are working on different machines with kernel versions from 2.6.18 up to 2.6.21 perfectly. Now one of the intended target machines (HP Omnibook xt1000s) c

[linux-usb-devel] udev hotplugging

2007-06-04 Thread Meher
Hi, I tried the linux-hotplugging mailing list with this question but no one responded :( I am posting here hoping people working on USB would have definetly touched hotplugging. I am a newbie for hotplugging (been a user for a while but started a week back to try and understand what is ha

Re: [linux-usb-devel] usb_storage and iPod under VMWare 6

2007-06-04 Thread Alan Stern
On Mon, 4 Jun 2007, Nelson wrote: > Currently running Linux kernel 2.6.21.3 with Slackware 11.0 on a Dell > Inspiron notebook. I would like to get my iPod recognized and running > under VMWare 6.0 so that I can sync with iTunes, but according to VMWare > support the usb_storage module needs to

[linux-usb-devel] usb_storage and iPod under VMWare 6

2007-06-04 Thread Nelson
Currently running Linux kernel 2.6.21.3 with Slackware 11.0 on a Dell Inspiron notebook. I would like to get my iPod recognized and running under VMWare 6.0 so that I can sync with iTunes, but according to VMWare support the usb_storage module needs to be removed before connecting the iPod to

Re: [linux-usb-devel] [RFC] URBs and buffer management

2007-06-04 Thread Marcel Holtmann
Hi Oliver, > > an alternate way would be to extend the usb_kill_anchored_urbs() with > > its own complete handler that gets called for every anchored URB. This > > would make it possible to cleanup the allocated buffers. I attached a > > patch for that, too. > > No, that would mean an URB could h

Re: [linux-usb-devel] Oops in khubd

2007-06-04 Thread Dmitry Torokhov
Hi, On 6/4/07, Jiri Kosina <[EMAIL PROTECTED]> wrote: > This is probably rather related to something in input. Some CCs added and > original message preserved below. > > I think that struct input_dev passed from hidinput_disconnect() should not > be the corrupted one, as it is dereferenced sooner

Re: [linux-usb-devel] [RFC] URBs and buffer management

2007-06-04 Thread Oliver Neukum
Am Montag, 4. Juni 2007 13:58 schrieb Marcel Holtmann: > an alternate way would be to extend the usb_kill_anchored_urbs() with > its own complete handler that gets called for every anchored URB. This > would make it possible to cleanup the allocated buffers. I attached a > patch for that, too. No

Re: [linux-usb-devel] [RFC] URBs and buffer management

2007-06-04 Thread Marcel Holtmann
Hi, > after the discussion with Oliver at the LinuxTag last week, I started to > re-write the hci_usb driver to remove this ugly cruft around the URB > management in the driver. The basic driver (without ISOC support) is > working perfectly fine and thanks to the reference count of the URB and > t

Re: [linux-usb-devel] Oops in khubd

2007-06-04 Thread Jiri Kosina
This is probably rather related to something in input. Some CCs added and original message preserved below. I think that struct input_dev passed from hidinput_disconnect() should not be the corrupted one, as it is dereferenced sooner on the codepath and it doesn't go oops. Thanks. On Sun, 3 J

Re: [linux-usb-devel] [Bugme-new] [Bug 8561] New: list_add corruption. prev->next should be next (f7d28794), but was f0df8ed4

2007-06-04 Thread Paulo Pereira
A Friday 01 June 2007 17:44:23, Alan Stern escreveu: > On Fri, 1 Jun 2007, Andrew Morton wrote: > > > I'm using vanilla kernel 2.6.22-rc3 (and I try'ed with 2.6.21-fc7 > > > fedora kernel) with a huawei e220 3g, and when I open amule after > > > sometime kernel panics: > > > _ > > > list_add corrup

Re: [linux-usb-devel] [Bugme-new] [Bug 8564] New: ftdi_sio: BUG: unable to handle kernel NULL pointer dereference at virtual address

2007-06-04 Thread Oliver Neukum
Am Sonntag, 3. Juni 2007 00:53 schrieb John H.: > Oliver, can you tell me what I might do to get it working again for > now? I can't use usb-uirt without it. Does this patch fix the issue? Regards Oliver --- linux-2.6.22-rc3/drivers/usb/serial/ftdi_sio.c.alt 2007-0

[linux-usb-devel] [RFC] URBs and buffer management

2007-06-04 Thread Marcel Holtmann
Hi, after the discussion with Oliver at the LinuxTag last week, I started to re-write the hci_usb driver to remove this ugly cruft around the URB management in the driver. The basic driver (without ISOC support) is working perfectly fine and thanks to the reference count of the URB and the new USB