Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2000 16:23:25 -0800 (PST)
From:      Jon Simola <jon@abccom.bc.ca>
To:        hackers@freebsd.org
Subject:   Broken-by-design USB device?
Message-ID:  <Pine.BSF.3.96.1001124160514.9801G-100000@newmail.netbistro.com>

next in thread | raw e-mail | index | archive | help

I've got a little USB device that allows Playstation controllers to be 
used on a PC. If it's plugged in while booting FreeBSD 4.2-RELEASE (the
shipped GENERIC kernel), I get:

uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 3 at
device 4.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhid0: vendor 0x6666 product 0x0667, rev 1.00/2.88, addr 2, iclass 3/0
uhid0: no report descriptor
device_probe_and_attach: uhid0 attach returned 6


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc012663a
stack pointer           = 0x10:0xc044a938
frame pointer           = 0x10:0xc044a938
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 (swapper)
interrupt mask          = net tty bio cam
trap number             = 12
panic: page fault
Uptime: 0s
Automatic reboot in 15 seconds - press a key on the console to abort


After poking around in the uhid and usb code, I'm beginning to think that 
this adapter is just broken by design. Can someone a bit more familiar
with the USB stuff comment on that? Thanks.

For identifying what this is, there's not a lot of info available. It shows
up in Windows as a "Monster Gamepad" with 4 analog axis and 16 buttons, and
just has a single 20 pin DIPP chip inside with these markings (looks like a
PLA to me):
CY7C63000A-PC
9946 G 02 518003

---
Jon Simola <jon@abccom.bc.ca> | "In the near future - corporate networks
    Systems Administrator     |  reach out to the stars, electrons and light 
     ABC  Communications      |  flow throughout the universe." -- GITS



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.1001124160514.9801G-100000>