SecretLab 2.6.24 with USB

Aaron Sells aaron.sells at zin-tech.com
Thu Apr 24 00:58:22 EST 2008


Grant Likely wrote:
> Compare arch/ppc/syslib/virtex_devices.c with the one in my git tree.
> Add the relevant missing bits.

Peter Korsgaard wrote:
> Did you register a struct platform_device for the c67x00?

I copied over the relevant USB code from secretlab's virtex_devices.c to 
my Xilinx tree.  In case I missed something, the diff between the two 
files is attached. And yes, I copied over include/linux/usb/c67x00.h as 
well.  After doing this, I had to modify a couple of the c67x00 driver 
files to get the kernel to compile.  The patch is attached.

root at xilinx-ml403:/# dmesg | grep -i usb
[    0.175963] usbcore: registered new interface driver usbfs
[    0.178207] usbcore: registered new interface driver hub
[    0.179810] usbcore: registered new device driver usb
[    3.426016] usbcore: registered new interface driver ub
[    4.156086] usbmon: debugfs is not available
[    4.209160] Initializing USB Mass Storage driver...
[    4.268302] usbcore: registered new interface driver usb-storage
[    4.336109] USB Mass Storage support registered.
[    4.958294] usbcore: registered new interface driver usbhid
[    5.020120] drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver

It still doesn't look like the ML403 Cypress host device is being 
recognized.  No messages appear upon insertion and removal of USB devices.

Regards,
Aaron Sells
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: virtex_devices.c.diff
URL: <http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20080423/44bbecd6/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: c67x00.patch
URL: <http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20080423/44bbecd6/attachment.txt>


More information about the Linuxppc-embedded mailing list