Re: [linux-usb-devel] Fw: [Bugme-new] [Bug 2859] New: Oops in usb code at kernel init

2004-06-09 Thread Nicolas Mailhot
Le mer, 09/06/2004 Ã 21:32 -0700, David Brownell a Ãcrit : > Alan Stern wrote: > > > Unfortunately I'm not in a position to send in a fix for this right now. > > Maybe the best thing will be to revert as305, as308b, as310, and as311 for > > the time being (and obviously don't apply as312). > >

[linux-usb-devel] Powerful weightloss now available for you.

2004-06-09 Thread Jimmie Howard
Hello, I have a special_offer for you... WANT TO LOSE WEIGHT? The most powerful weightloss is now available without prescription. All natural Adipren720 100% Money Back Guarantée! - Lose up to 19% Total Body Weight. - Up to 300% more Weight Loss while dieting. - Loss of 20-35% abdominal Fat. - Redu

Re: [linux-usb-devel] hub problem

2004-06-09 Thread Markus Raab
Am Donnerstag, 10. Juni 2004 01:58 schrieb David Brownell: > Markus Raab wrote: > > I have a 4 port usb card with the chip: VIA VT6202 Ver. 8.0. > > > > With 2.6.6 just one Port works with it. > > When i connect a usb device to the working port > > following error appears: > > That's wierd. You're

Re: [linux-usb-devel] non-PCI host controller questions

2004-06-09 Thread David Brownell
Kyle Harris wrote: Does it make sense to create an embedded (non-PCI) driver based on the ohci or something else? It seems that, at least with the ezhost, the controller differs from ohci considerably and the code must be modified quite a bit. I'm hoping the experts can give me some direction. I

Re: [linux-usb-devel] Fw: [Bugme-new] [Bug 2859] New: Oops in usb code at kernel init

2004-06-09 Thread David Brownell
Alan Stern wrote: Unfortunately I'm not in a position to send in a fix for this right now. Maybe the best thing will be to revert as305, as308b, as310, and as311 for the time being (and obviously don't apply as312). Hmm, sounds like that's not gonna be a quick fix. This should solve the problem

Re: [linux-usb-devel] Fw: [Bugme-new] [Bug 2859] New: Oops in usb code at kernel init

2004-06-09 Thread Alan Stern
On Wed, 9 Jun 2004, David Brownell wrote: > So Greg, the quick fix should just be reverting the last patch > that touches hub.c ... that's what looks to have moved the > initialization of the TT state after its first use! :) Clearly David has hit the nail on the head. Patch as305 (that's the on

Re: [linux-usb-devel] smartcard reader kills usb hub on 2.6.5+, OK on 2.6.4

2004-06-09 Thread Alan Stern
On Wed, 9 Jun 2004, virtualphil wrote: > It's a GA-7VKMLS motherboard with VIA KM266/KL266 chipset so is probably > VIA UHCI root hub. > However, please note that everything works perfectly with 2.6.4 kernel; > the only change is that LILO loads a different kernel in going from > 2.6.4 (works)

[linux-usb-devel] non-PCI host controller questions

2004-06-09 Thread Kyle Harris
Hi, My custom PCB has the Cypress CY7C67300 EZ-Host controller and PXA-255. I have hacked the Cypress driver and have everything pretty much working with 2.6.0-rmk2. But the driver is really kinda messy and lots of things happen in interrupt context (isr is has many, many inline function calls)

Re: [linux-usb-devel] smartcard reader kills usb hub on 2.6.5+, OK on 2.6.4

2004-06-09 Thread virtualphil
David Brownell wrote: virtualphil wrote: Clues from dmesg in 2.6.6 with USB DEBUG enabled - these messages (from transport.c) are listed at/before failure: -- babble (indicates -EOVERFLOW has been set by something) Is this with a VIA UHCI root hub? They seem to get unhappy with certain devices

[linux-usb-devel] failure notice

2004-06-09 Thread MAILER-DAEMON
Hi. This is the qmail-send program at apache.org. 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]>: Sorry, no mailbox here by that name. (#5.1.1) <[EMAIL PROTECTED]>: Sorry, no mail

[linux-usb-devel] [patch] ATI Remote driver update

2004-06-09 Thread Torrey Hoffman
Here are some contributed improvements for the ATI remote driver. I submitted the driver and it was accepted several months ago. Since then a few people have sent me patches and suggestions. This patch adds two things: (1) support for the "Lola" X10 remote, sent to me by Seth Cohn (2) k

Re: [linux-usb-devel] smartcard reader kills usb hub on 2.6.5+, OK on 2.6.4

2004-06-09 Thread David Brownell
virtualphil wrote: Clues from dmesg in 2.6.6 with USB DEBUG enabled - these messages (from transport.c) are listed at/before failure: -- babble (indicates -EOVERFLOW has been set by something) Is this with a VIA UHCI root hub? They seem to get unhappy with certain devices, and we don't know the

Re: [linux-usb-devel] hub problem

2004-06-09 Thread David Brownell
Markus Raab wrote: I have a 4 port usb card with the chip: VIA VT6202 Ver. 8.0. With 2.6.6 just one Port works with it. When i connect a usb device to the working port following error appears: That's wierd. You're not the only one reporting such problems with a VT6202 lately -- overcurrent, then

Re: [linux-usb-devel] Fw: [Bugme-new] [Bug 2859] New: Oops in usb code at kernel init

2004-06-09 Thread David Brownell
Andrew Morton wrote: Could someone please attend to this oops from yesterday's USB bk tree? http://bugme.osdl.org/show_bug.cgi?id=2859 Unable to handle kernel NULL pointer dereference at virtual address Looks like urb->dev->tt is null when it shouldn't be, hence the NPE. Or something like

[linux-usb-devel] PATCH: 2.6.7-rc3 drivers/usb/core/devio.c: user/kernel pointer bugs

2004-06-09 Thread Robert T. Johnson
Since ctrl is copied in from userspace, ctrl.data cannot safely be dereferenced. Let me know if you have any questions or if I've made a mistake. Best, Rob --- linux-2.6.7-rc3-full/drivers/usb/core/devio.c.orig Wed Jun 9 12:50:34 2004 +++ linux-2.6.7-rc3-full/drivers/usb/core/devio.c We

[linux-usb-devel] hub problem

2004-06-09 Thread Markus Raab
I have a 4 port usb card with the chip: VIA VT6202 Ver. 8.0. With 2.6.6 just one Port works with it. When i connect a usb device to the working port following error appears: hub 4-0:1.0: USB hub found hub 4-0:1.0: 4 ports detected hub 4-0:1.0: over-current change on port 3 hub 4-0:1.0: over-curre

[linux-usb-devel] Fw: [Bugme-new] [Bug 2859] New: Oops in usb code at kernel init

2004-06-09 Thread Andrew Morton
Could someone please attend to this oops from yesterday's USB bk tree? http://bugme.osdl.org/show_bug.cgi?id=2859 Unable to handle kernel NULL pointer dereference at virtual address printing eip: c025ab12 *pde = Oops: [#1] PREEMPT Modules linked in: CPU:0 EIP:00

[linux-usb-devel] smartcard reader kills usb hub on 2.6.5+, OK on 2.6.4

2004-06-09 Thread virtualphil
This problem was submitted to bugme.osdl.org as Bug 2820 - no response. I'll be happy to work on this but don't know where to start - thanks for any advice. Distribution:Slackware 9.1, generic kernels. Hardware Environment:USB ZIP250 and SmartCard Reader Neodio ND5010 (in place of EPSON 1650 Scan

Re: [linux-usb-devel] Behavior of serial usb driver when unplugged

2004-06-09 Thread Greg KH
On Tue, Jun 08, 2004 at 11:49:51AM -0400, Byron Stanoszek wrote: > Hi all, > > I'm currently using Linux (2.6.7-rc3) in an embedded system with a 8-port > Sealevel SeaLink 2802 USB device. This is a 8-port RS-232/422 device that > allocates /dev/ttyUSB0 through /dev/ttyUSB7 when plugged in. > > I

Re: [linux-usb-devel] Re: Linux 2.4.x mass storage problem?

2004-06-09 Thread Henry Nestler
David Meggy wrote: On Fri, 2004-06-04 at 13:57, Brad Parker wrote: ... I'm seeing a bug in 2.4.22 and 2.4.23 where - plug in usb disk "stick" #1; mount, works fine, unmount - remove usb disk "stick" #1 - insert usb disk "stick" #2 - device is recognized, kernel printk's look good - mount fails, f

Re: [linux-usb-devel] PATCH: (as310) Minor tidying up of hub driver

2004-06-09 Thread Alan Stern
On Wed, 9 Jun 2004, David Brownell wrote: > Alan Stern wrote: > > Greg: > > > > After my last few changesets there were a few small items that needed to > > be tidied up. > > On top of the "one big tidy up" you've been doing to that driver? :) > > It's needed further attention for quite a whi

[linux-usb-devel] PATCH: (as312) Mark devices as NOTATTACHED as soon as possible

2004-06-09 Thread Alan Stern
Greg: This patch implements something we've been lacking for a long time: a way to mark devices as USB_STATE_NOTATTACHED as soon as we know that they're gone. The usb_device->state member is no longer protected by the ->serialize semaphore; instead there's a new private spinlock. Usbcore rou

[linux-usb-devel] Re: PATCH: (as308b) Fix bus-list root-hub race

2004-06-09 Thread Greg KH
On Wed, Jun 09, 2004 at 11:58:33AM -0400, Alan Stern wrote: > On Tue, 8 Jun 2004, Greg KH wrote: > > > Hm, care to resync? I can't apply this: > > That happens sometimes. Here's the revised patch, newly synced. The > description from the earlier email still applies. Much better, applied than

[linux-usb-devel] Re: PATCH: (as310) Minor tidying up of hub driver

2004-06-09 Thread Greg KH
On Wed, Jun 09, 2004 at 12:38:07PM -0400, Alan Stern wrote: > Greg: > > After my last few changesets there were a few small items that needed to > be tidied up. > > Update kerneldoc to reflect the actual operation of > usb_disconnect() and usb_new_device(). The new locking >

Re: [linux-usb-devel] USB Printer driver

2004-06-09 Thread Greg KH
On Wed, Jun 09, 2004 at 05:43:28PM +0200, Oliver Neukum wrote: > Am Dienstag, 8. Juni 2004 22:42 schrieb Greg KH: > > > >What kind of reset? A printer reset, or a USB device reset? > > > > > > Printer reset. > > > > How would it do that within the driver? Don't all printers reset > > themselves i

[linux-usb-devel] Re: PATCH: (as311) Update root-hub code for the ohci-lh7a404 driver

2004-06-09 Thread Greg KH
On Wed, Jun 09, 2004 at 01:13:07PM -0400, Alan Stern wrote: > On Wed, 9 Jun 2004, David Brownell wrote: > > > Needs an update for ohci-lh7a404.c too ... > > I didn't even know this driver existed! Where did usb/host/* come from? > Anyway, here's the patch. Applied, and I've now moved that file

Re: [linux-usb-devel] PATCH: (as310) Minor tidying up of hub driver

2004-06-09 Thread David Brownell
Alan Stern wrote: Greg: After my last few changesets there were a few small items that needed to be tidied up. On top of the "one big tidy up" you've been doing to that driver? :) It's needed further attention for quite a while, and I'm glad you're doing this. I take it these all came up as you

[linux-usb-devel] Re: PATCH: (as311) Update root-hub code for the ohci-lh7a404 driver

2004-06-09 Thread David Brownell
Alan Stern wrote: On Wed, 9 Jun 2004, David Brownell wrote: Needs an update for ohci-lh7a404.c too ... I didn't even know this driver existed! You weren't reading all your patches yesterday! It's from Marc Singer. I suspect the OMAP code will also switch over to use platform_device at some poin

[linux-usb-devel] Re: PATCH: (as311) Update root-hub code for the ohci-lh7a404 driver

2004-06-09 Thread Greg KH
On Wed, Jun 09, 2004 at 01:13:07PM -0400, Alan Stern wrote: > On Wed, 9 Jun 2004, David Brownell wrote: > > > Needs an update for ohci-lh7a404.c too ... > > I didn't even know this driver existed! Where did usb/host/* come from? > Anyway, here's the patch. Oh crap, I applied a patch off by one

[linux-usb-devel] 专业香港英美公司注册

2004-06-09 Thread HK CPA
该商业信函如给你带来不便敬请谅解!请在下面代码中退订!谢谢! 退订方式: http://www.hksaa.com/khly/khly.asp *** ★国际商务贸易:http://www.hksaa.com 本港最大的会计事务权威机构!提供完善的香港公司注册办理服务! 【注册香港公司&创立国际品牌】 注册海外公司HK9800元=国际公司+国际品牌+企业形象+经济效益 免费提供配套资源服务=法定秘书+注册地址+电话传真+秘书服务

[linux-usb-devel] PATCH: (as311) Update root-hub code for the ohci-lh7a404 driver

2004-06-09 Thread Alan Stern
On Wed, 9 Jun 2004, David Brownell wrote: > Needs an update for ohci-lh7a404.c too ... I didn't even know this driver existed! Where did usb/host/* come from? Anyway, here's the patch. Alan Stern Signed-off-by: Alan Stern <[EMAIL PROTECTED]> = usb/host/ohci-lh7a404.c 1.1 vs edited =

[linux-usb-devel] PATCH: (as310) Minor tidying up of hub driver

2004-06-09 Thread Alan Stern
Greg: After my last few changesets there were a few small items that needed to be tidied up. Update kerneldoc to reflect the actual operation of usb_disconnect() and usb_new_device(). The new locking requirements are listed too, though they aren't all implement

[linux-usb-devel] PATCH: (as308b) Fix bus-list root-hub race

2004-06-09 Thread Alan Stern
On Tue, 8 Jun 2004, Greg KH wrote: > Hm, care to resync? I can't apply this: That happens sometimes. Here's the revised patch, newly synced. The description from the earlier email still applies. Alan Stern Signed-off-by: Alan Stern <[EMAIL PROTECTED]> = drivers/usb/core/devices.c 1.3

Re: [linux-usb-devel] USB Printer driver

2004-06-09 Thread Oliver Neukum
Am Dienstag, 8. Juni 2004 22:42 schrieb Greg KH: > > >What kind of reset? A printer reset, or a USB device reset? > > > > Printer reset. > > How would it do that within the driver? Don't all printers reset > themselves in different ways? Here's the reset ioctl. Regards O

[linux-usb-devel] Re: Inefficient use of hub interrupt status messages

2004-06-09 Thread Pete Zaitcev
On Wed, 9 Jun 2004 09:56:30 -0400 (EDT) Alan Stern <[EMAIL PROTECTED]> wrote: > Is there any practical reason not to check just the ports (or hub) listed > in the status interrupt message? I do not disagree for 2.6. -- Pete --- This SF.Net e

[linux-usb-devel] USB Host Controller And a Web Cam

2004-06-09 Thread sting sting
Hello , Did anybody try to test a webcam when running with sl811 USB Host Controller ? Is this Host Controller not too low in speed for a webcam (whuch usually grabbs 25 fps by default?) Did he succeed ? in case he did - with which camera and driver? Any hints / info will help regards, Sting __

[linux-usb-devel] Inefficient use of hub interrupt status messages

2004-06-09 Thread Alan Stern
The hub driver is inefficient about the way it checks hub/port statuses. Whenever a status interrupt message is received, it always checks _all_ the ports plus the hub itself. However, the status message contains a bitmask indicating exactly which ports (or hub) have pending status changes, and

[linux-usb-devel] Powerful weightloss now available for you.

2004-06-09 Thread Erin J. Wiley
Hello, I have a special_offer for you... WANT TO LOSE WEIGHT? The most powerful weightloss is now available without prescription. All natural Adipren720 100% Money Back Guarantée! - Lose up to 19% Total Body Weight. - Up to 300% more Weight Loss while dieting. - Loss of 20-35% abdominal Fat. - Redu

[linux-usb-devel] failure notice

2004-06-09 Thread MAILER-DAEMON
Hi. This is the qmail-send program at rs152.securehostserver.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]>: vcheckquota: Message would exceed virtual user's disk quota. /vdel