Keyboard issue

AmigaOne X5000 platform specific issues.

Keyboard issue

Postby dstastny » Thu Apr 20, 2017 9:38 pm

Hi, I was trying to use a RGB mechanical keyboard Gamdias with my X5000 but it doesn't seem to work at all during UBOOT lots of polling errors and once inside of AmigaOS I have a nice HID Keyboard DSI dialog. I can kill the Grim Reaper and it still functions as keyboard but clearly something is not right. I assume that the Amiga error is something right in the UBOOT or machine hardware interface. Anyone else experience or have suggestion on a good mechanical keyboard they know works? Anything I can provide to someone to look at to debug?

Thanks
Doug
dstastny
 
Posts: 18
Joined: Fri Dec 16, 2016 7:31 am
Location: Atlanta GA

Re: Keyboard issue

Postby tonyw » Fri Apr 21, 2017 12:16 am

The U-Boot used in the X5000 and A1222 is not written by Hyperion, nor maintained by them. We (the OS4 devs) don't even have the source, so we can't make any changes to it.

If your keyboard does not work with U-Boot, then it must be pretty non-standard, since U-Boot (and Linux) support just about every hardware variation that ever existed. I would not expect it to work with OS4 unless it works OK with U-Boot first.

Sorry to say it, but I suggest you invest in a keyboard that supports standard USB protocol.
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1182
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Re: Keyboard issue

Postby dstastny » Fri Apr 21, 2017 4:50 pm

Thanks Tony,

The keyboard is pretty standard and works fine on my assortment of machines. More research on my part I see that there are apparently issues with UBOOT based systems having issues with some USB keyboards(Ill have to dig up my RaspberryPI I think it too uses UBOOT). As I said keyboard does work after booted but leaves me with a nice GrimReaper DSI that if I ignore it works fine. No error in Linux. From my software development perspective the DSI in the Amiga Keyboard driver might be useful information for you Amiga OS guys. If not that is cool I have other keyboards, just was wondering if anyone else had similar issues. Ill reach out to A-EON to see if there interested in the UBOOT issue.

Regards
Doug
dstastny
 
Posts: 18
Joined: Fri Dec 16, 2016 7:31 am
Location: Atlanta GA

Re: Keyboard issue

Postby tonyw » Sat Apr 22, 2017 10:28 am

Can you provide a serial log from the DSI crash? That at least is something that can be fixed in the OS4 USB stack.
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1182
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Re: Keyboard issue

Postby kas1e » Sun Apr 23, 2017 8:41 am

Dunno if it related, but i reinstall yesterday os4 on x5k, and it crashes in keyboard driver at first booting (after that no more crashes, just first time). Keyboard is some Microsft usb one, and serial log are:

Code: Select all
Crash log for task "HID Keyboard"
Generated by GrimReaper 53.19
Crash occured in module hid.usbfd at address 0x7FDD0D7C
Type of crash: DSI (Data Storage Interrupt) exception
Alert number: 0x80000003

Register dump:
GPR (General Purpose Registers):
   0: 00000001 6CCF7EA0 00000002 6FED1720 6F9272B0 0192AE7C 0192AE7C 02012DD0
   8: 6F8A240C 6FED17AC 00000000 00000000 22842482 0000000D 6CD1CDA4 6CDD2400
  16: 02380000 EFF37240 6D1A0000 6D1D5980 6D1B8D70 6D4C7104 6D19C660 6FED1720
  24: 6FED1720 6CCF7EE8 6D4C8D74 80000001 00000400 6FF602C4 6D1A0000 6FED1720


FPR (Floating Point Registers, NaN = Not a Number):
   0:                0                0                0                0
   4:                0                0                0                0
   8:                0                0                0                0
  12:                0                0                0                0
  16:                0                0                0                0
  20:                0                0                0                0
  24:                0                0                0                0
  28:                0                0                0                0

FPSCR (Floating Point Status and Control Register): 0x00000000


SPRs (Special Purpose Registers):
           Machine State (msr) : 0x0002D030
                Condition (cr) : 0x6AC62D94
      Instruction Pointer (ip) : 0x7FDD0D7C
       Xtended Exception (xer) : 0x6CBDD028
                   Count (ctr) : 0x6FF6A4D0
                     Link (lr) : 0x7FC5F920
            DSI Status (dsisr) : 0x6CBDCDE0
            Data Address (dar) : 0x0198EC48



680x0 emulated registers:
DATA: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
FPU0:                0                0                0                0
FPU4:                0                0                0                0



Symbol info:
Instruction pointer 0x7FDD0D7C belongs to module "hid.usbfd" (HUNK/Kickstart)

Stack trace:
    module DEVS:USB/fd/hid.usbfd at 0x7FDD0D7C (section 5 @ 0x6D58)
    module DEVS:USB/fd/hid.usbfd at 0x7FDD25A8 (section 5 @ 0x8584)
    module DEVS:USB/fd/hid.usbfd at 0x7FDD2C44 (section 5 @ 0x8C20)
    native kernel module dos.library.kmod+0x000255c8
    native kernel module kernel+0x0003f660
    native kernel module kernel+0x0003f6a8

PPC disassembly:
 7fdd0d74: 7c7f1b78   mr                r31,r3
 7fdd0d78: 816302dc   lwz               r11,732(r3)
*7fdd0d7c: 980b001e   stb               r0,30(r11)
 7fdd0d80: 38000017   li                r0,23
 7fdd0d84: b00b001c   sth               r0,28(r11)

System information:

CPU
 Model: Freescale P50XX (E5500 core) V1.2
 CPU speed: 1995 MHz
 FSB speed: 798 MHz
 Extensions: 

Machine
 Machine name: AmigaOne X5000/20
 Memory: 2097152 KB
 Extensions: bus.pci bus.pcie
 
kas1e
Beta Tester
Beta Tester
 
Posts: 440
Joined: Sat Jun 18, 2011 8:56 am


Return to Platform: AmigaOne X5000

Who is online

Users browsing this forum: No registered users and 2 guests