[linux-usb-devel] Genesys gl811e (InLine 3.5" IDE enclosure)

2007-04-01 Thread Christopher Friedt
Hello, I recently bought a hard disk enclosure that uses the Genesys gl811e usb-ide bridge and had nothing but difficulties with it. I'm using a 2.6.19 kernel from gentoo linux. This means the patch for MAX_SECTORS_64 has already been applied but it still is not working. Are there any other su

[linux-usb-devel] about USB bus?

2007-04-01 Thread nesta
hi all, i have a question about USB bus, is it full duplex or half duplex ? i.e. can the data be exchanged between the host and the device simultaneously or not? thanks in advnace. - Take Surveys. Earn Cash. Influence the Fu

Re: [linux-usb-devel] usb hid: reset NumLock

2007-04-01 Thread Pekka Enberg
On 3/30/07, Pete Zaitcev <[EMAIL PROTECTED]> wrote: > Dell people (Stuart and Charles) complained that on some USB keyboards, > if BIOS enables NumLock, it stays on even after Linux has started. Since > we always start with NumLock off, this confuses users. Quick double dab > at NumLock fixes it, b

Re: [linux-usb-devel] usb modules after resuming suspend-to-disk cause kernel oops on iBook

2007-04-01 Thread Cédric Boutillier
Hello, Here are some precisions/updates on this problem : I did some tests with kernel 2.6.21-rc5 compiled with the configuration presented in the file enclosed (I activated some USB verbose options). The method used to suspend-to-disk is invoking the hibernate script with sysfs-disk method. I

[linux-usb-devel] Bus resets while realtime job is running

2007-04-01 Thread Matthias Urlichs
Hi, On current kernels (at least 2.6.19 to current -- I can't test older ones), realtime processes cause USB resets on my system. I'm running pulseaudio with realtime privileges. This happens: [23496.395029] usb 6-3.2.1: reset low speed USB device using ehci_hcd and address 42 [23496.937542] us

Re: [linux-usb-devel] Earthmate LT-20 USB GPS Functionality Broken By 2.6.19 'cypress_m8' Patch

2007-04-01 Thread Marr
On Friday 30 March 2007 12:53am, Mike Isely wrote: > Bill Marr <[EMAIL PROTECTED]> > I need to go find the datasheet and really look at this. I think I > did look at a datasheet last summer when I did all this - but you're > right. If it's the same USB serial converter then it certainly seems > a

Re: [linux-usb-devel] Earthmate LT-20 USB GPS Functionality Broken By 2.6.19 'cypress_m8' Patch

2007-04-01 Thread Marr
On Saturday 31 March 2007 2:14pm, Neil Whelchel wrote: > I only have the Earthmate to play with at the moment, so I am skeptical > about making changes to the driver, however I will look into the Earthmate > issue in the next few days. > If someone cares to provide some other hardware, I'd be glad

Re: [linux-usb-devel] USB: on suspend to ram/disk all usb devices are replugged

2007-04-01 Thread Pavel Machek
Hi! > > > In that case the user would see data corruption - just as if he mounts a > > > piece > > > of removable media in a USB card reader; yanks out the card and modifies > > > it > > > elsewhere, and then puts it back in. > > > > > I my opinion we can't really defend ourselves against such

Re: [linux-usb-devel] usb hid: reset NumLock

2007-04-01 Thread Pete Zaitcev
On Sun, 1 Apr 2007 14:49:59 +0300, "Pekka Enberg" <[EMAIL PROTECTED]> wrote: > On 3/30/07, Pete Zaitcev <[EMAIL PROTECTED]> wrote: > > Dell people (Stuart and Charles) complained that on some USB keyboards, > > if BIOS enables NumLock, it stays on even after Linux has started. Since > > we always

Re: [linux-usb-devel] USB: on suspend to ram/disk all usb devices are replugged

2007-04-01 Thread David Zeuthen
On Sun, 2007-04-01 at 15:29 +, Pavel Machek wrote: > Hi! > > > > > In that case the user would see data corruption - just as if he mounts > > > > a piece > > > > of removable media in a USB card reader; yanks out the card and > > > > modifies it > > > > elsewhere, and then puts it back in. >

Re: [linux-usb-devel] USB: on suspend to ram/disk all usb devices are replugged

2007-04-01 Thread Pavel Machek
Hi! > > > > The GNOME hath spoken? > > > > > I also thought about that, > > > > > > I think that the best solution is still to hide connect/disconnect of > > > usb devices from userspace (now it also causes corruption) > > > But to refuse suspend with any usb mass storage device connect

Re: [linux-usb-devel] Genesys gl811e (InLine 3.5" IDE enclosure)

2007-04-01 Thread Alan Stern
On Sun, 1 Apr 2007, Christopher Friedt wrote: > Hello, > > I recently bought a hard disk enclosure that uses the Genesys gl811e > usb-ide bridge and had nothing but difficulties with it. I'm using a > 2.6.19 kernel from gentoo linux. This means the patch for MAX_SECTORS_64 > has already been a

Re: [linux-usb-devel] about USB bus?

2007-04-01 Thread Alan Stern
On Sun, 1 Apr 2007, nesta wrote: > hi all, > i have a question about USB bus, > is it full duplex or half duplex ? > i.e. > can the data be exchanged between the host and the device simultaneously or > not? Half duplex. Alan Stern --

Re: [linux-usb-devel] USB: on suspend to ram/disk all usb devices are replugged

2007-04-01 Thread David Zeuthen
On Sun, 2007-04-01 at 19:50 +0200, Pavel Machek wrote: > Problem is that suspending _with_ removable mass storage devices > attached just will not work. User will unplug them, then complain > about corruption. Advanced user will unplug them, work with them > somewhere else, replug them, then loose

Re: [linux-usb-devel] Bus resets while realtime job is running

2007-04-01 Thread Alan Stern
On Sun, 1 Apr 2007, Matthias Urlichs wrote: > Hi, > > On current kernels (at least 2.6.19 to current -- I can't test older ones), > realtime processes cause USB resets on my system. > > I'm running pulseaudio with realtime privileges. This happens: > > [23496.395029] usb 6-3.2.1: reset low spee

Re: [linux-usb-devel] usb modules after resuming suspend-to-disk cause kernel oops on iBook

2007-04-01 Thread Alan Stern
On Sun, 1 Apr 2007, [UTF-8] Cédric Boutillier wrote: > Hello, > > Here are some precisions/updates on this problem : > > I did some tests with kernel 2.6.21-rc5 compiled with the > configuration presented in the file enclosed (I activated some USB > verbose options). The method used to suspend-

Re: [linux-usb-devel] USB: on suspend to ram/disk all usb devices are replugged

2007-04-01 Thread Alan Stern
On Sun, 1 Apr 2007, Pavel Machek wrote: > Hi! > > > > > > The GNOME hath spoken? > > > > > > > I also thought about that, > > > > > > > > I think that the best solution is still to hide > > > > connect/disconnect of usb devices from userspace (now it also causes > > >

Re: [linux-usb-devel] USB: on suspend to ram/disk all usb devices are replugged

2007-04-01 Thread Pavel Machek
Hi! > > Problem is that suspending _with_ removable mass storage devices > > attached just will not work. User will unplug them, then complain > > about corruption. Advanced user will unplug them, work with them > > somewhere else, replug them, then loose filesystem. > > > > Feel free to send pat

Re: [linux-usb-devel] USB: on suspend to ram/disk all usb devices are replugged

2007-04-01 Thread Pavel Machek
Hi! > > Problem is that suspending _with_ removable mass storage devices > > attached just will not work. User will unplug them, then complain > > about corruption. Advanced user will unplug them, work with them > > somewhere else, replug them, then loose filesystem. > > > > Feel free to send pat

Re: [linux-usb-devel] USB: on suspend to ram/disk all usb devices are replugged

2007-04-01 Thread Rafael J. Wysocki
Hi, On Sunday, 1 April 2007 20:34, Pavel Machek wrote: > Hi! > > > > Problem is that suspending _with_ removable mass storage devices > > > attached just will not work. User will unplug them, then complain > > > about corruption. Advanced user will unplug them, work with them > > > somewhere else

[linux-usb-devel] Fw: [Bugme-new] [Bug 8294] New: After connecting USB-Bluetooth Dongle Belkin F8T012 USB-system stops responding

2007-04-01 Thread Andrew Morton
Begin forwarded message: Date: Sun, 1 Apr 2007 15:28:54 -0700 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 8294] New: After connecting USB-Bluetooth Dongle Belkin F8T012 USB-system stops responding http://bugzilla.kernel.org/show_bug.cgi?id=8294 Summary:

Re: [linux-usb-devel] Earthmate LT-20 USB GPS Functionality Broken By 2.6.19 'cypress_m8' Patch

2007-04-01 Thread Mike Isely
On Sun, 1 Apr 2007, Marr wrote: > On Saturday 31 March 2007 2:14pm, Neil Whelchel wrote: > > > BTW I agree with Bill, any time ANYTHING is changed in the module, the > > version number should be bumped. If you change the spelling of colour to > > color, this should bump the revision. Changing any

Re: [linux-usb-devel] [RFC] HID bus design overview.

2007-04-01 Thread Li Yu
Jiri Kosina wrote: > On Fri, 30 Mar 2007, Dmitry Torokhov wrote: > > >> There should be one device and your driver should simply do: >> static void my_driver_hid_event(struct hid_device *hid, struct hid_field >> *field, >> struct hid_usage *usage, __s32 value) >> {

Re: [linux-usb-devel] USB: on suspend to ram/disk all usb devices are replugged

2007-04-01 Thread Alan Stern
On Sun, 1 Apr 2007, Rafael J. Wysocki wrote: > Hi, > > On Sunday, 1 April 2007 20:34, Pavel Machek wrote: > > Hi! > > > > > > Problem is that suspending _with_ removable mass storage devices > > > > attached just will not work. User will unplug them, then complain > > > > about corruption. Advan

[linux-usb-devel] urbs are REFERENCE COUNTED!!! [was Re: [PATCH]generic usb serial driver]

2007-04-01 Thread Greg KH
On Sat, Mar 31, 2007 at 09:26:52AM -0700, David Brownell wrote: > > There still remains the question of how to do this cleanly. Obviously > > some sort of synchronization primitive is needed. wait_for_completion() > > includes all the necessary memory barriers, whereas wait_event() does not. >

[linux-usb-devel] ehci_hcd 3 strikes!

2007-04-01 Thread Steve Suehs
Apparently my USB controller is flippin' out, and the driver is throwing it out of the game. 3 strikes! It's outta here! Please let me know what information I can provide that might be helpful. I'm getting a lot of this in messages.log Mar 31 15:06:34 tbone drivers/usb/class/usblp.c: usblp0:

Re: [linux-usb-devel] [RFC] HID bus design overview.

2007-04-01 Thread Dmitry Torokhov
On Saturday 31 March 2007 18:49, Jiri Kosina wrote: > > Hi, > > in fact I am not entirely sure that the specialized drivers hooked to the > HID bus should be passed individual fields/usages by the generic HID > driver. That would imply that generic HID layer would have to parse the > received

Re: [linux-usb-devel] usb hid: reset NumLock

2007-04-01 Thread Dmitry Torokhov
Hi Pekka, On Sunday 01 April 2007 07:49, Pekka Enberg wrote: > On 3/30/07, Pete Zaitcev <[EMAIL PROTECTED]> wrote: > > Dell people (Stuart and Charles) complained that on some USB keyboards, > > if BIOS enables NumLock, it stays on even after Linux has started. Since > > we always start with NumLo

Re: [linux-usb-devel] [RFC] HID bus design overview.

2007-04-01 Thread Dmitry Torokhov
On Sunday 01 April 2007 21:47, Li Yu wrote: > Let me explain the internal of my current HID bus implementation. I > think that selecting one user scene as example is good idea. > > Well, the user A plug a USB joystick into computer. The work processing > of HID subsystem for this joystick is same

Re: [linux-usb-devel] usb hid: reset NumLock

2007-04-01 Thread Pete Zaitcev
On Sat, 31 Mar 2007 21:35:19 +0200 (CEST), Jiri Kosina <[EMAIL PROTECTED]> wrote: > I think I see an issue here. Imagine that you boot a system initially with > one keyboard connected (usb, ps/2, doesn't matter), and after some time > you connect second USB keyboard (the NumLock is 'on' on the