mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Frank Buss" <fb@frank-buss.de>
To: <linux-kernel@vger.kernel.org>
Subject: SL811 problem on mach-pxa
Date: Mon, 14 Feb 2005 20:03:03 +0100	[thread overview]
Message-ID: <20050214190301.769C75B8A5@frankbuss.de> (raw)

I've tried to configure the SL811 driver with 2.6.11 for mach-pxa 
platform, but it doesn't work: The hub was recognized, but no device 
(I've tested it with a USB mouse and keyboard). The hub is visible in 
proc/bus/usb after mounting it.

I've tried to find the bug, but perhaps I'm wrong. This is what I've 
found:

For me it looks like the SL11H_INTMASK_INSRMV interupt in 
drivers/usb/host/sl811-hcd.c is not enabled. In other drivers it looks 
like it is enabled in the start function, like in ohci-pxa27x.c in 
pxa27x_start_hc. After adding a port_power(sl811, 1) call at the end of 
sl811h_start at least the driver gets the interupt, if a mouse is 
connected: it crashes in the "start" function, because ep->hep is NULL. I 
fixed this by setting ep->hep=hep in sl811h_urb_enqueue. But the driver 
still doesn't work. Now it doesn't crash, but I'll get some errors and 
the device is not recognized.

What can I do to find the problem? I wonder if the driver is working at 
all. In Linux 2.4 the driver worked on the same hardware, but looks like 
the driver in Linux 2.6 is rewritten from scratch. But I'm really lost 
when it comes to kernel programming, so maybe it is trivial to fix the 
problem and it is no driver bug.

Another question (perhaps this is related to my problem): Where do I have 
to provide the sl811_platform_data data and what values and functions are 
needed?

-- 
Frank Buß, fb@frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de


             reply	other threads:[~2005-02-14 19:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-14 19:03 Frank Buss [this message]
2005-02-17  3:51 ` Frank Buss
2005-02-17 18:09   ` David Brownell
2005-02-17 19:11     ` Frank Buss
2005-02-17 20:10       ` David Brownell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050214190301.769C75B8A5@frankbuss.de \
    --to=fb@frank-buss.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®