mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* SL811 problem on mach-pxa
@ 2005-02-14 19:03 Frank Buss
  2005-02-17  3:51 ` Frank Buss
  0 siblings, 1 reply; 5+ messages in thread
From: Frank Buss @ 2005-02-14 19:03 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-02-17 20:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-14 19:03 SL811 problem on mach-pxa Frank Buss
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

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®