Skip to contentSkip to conversation

kdb-v2.1-2.4.18-ia64-usb-keyboard

PATCH In review Sebastien Lelarge 4 participants 5 messages Jul 4, 2002 – Jul 9, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kdb-v2.1-2.4.18-ia64-usb-keyboard

Hello list,

I'm student in France and I'm working on IA64 machines by BULL in France. We had a problem using KDB on Tiger machine because of the lack of PS/2 port on this machine. In order to bring a solution, I have written some code to bring USB support in KDB. I'm using a RedHat 7.2. You must apply this patch after the 2 KDB patches. It provides an option called "Support for USB Keyboard in KDB" in Kernel Hacking section.

For now, it supports the usb-uhci driver for the USB controller. and supports the two USB keyboard drivers (hid and usbkbd) used by RedHat.

Notice that you won't be able to use your USB Keyboard before USB subsystem is started. But it's a solution to debug a system running.

You can download it at ftp://oss.sgi.com/www/projects/kdb/download/v2.1/kdb-v2.1-2.4.18-ia64-usb-keyboard-2.bz2

For now, it works on kernel 2.4.18 with all recent patches. If you have remarks, please reply adding [email protected] in copy of your mail.

Thanks

Signature · 3 lines
LELARGE Sebastien			            
BULL S.A - Linux IA64 Team    mailto:[email protected]
38000 Echirolles
#1 lore raw

Sebastien Lelarge <[email protected]> writes:

|> Notice that you won't be able to use your USB Keyboard before USB |> subsystem is started. But it's a solution to debug a system running.

Another solution is to use a serial console.

Andreas.

Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected]
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
#2 lore raw
In reply to Sebastien Lelarge
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Andreas Schwab

Andreas> Sebastien Lelarge <[email protected]> writes:

Sebastien> Notice that you won't be able to use your USB Keyboard Sebastien> before USB is started. But it's a solution to Sebastien> debug a system running.

Andreas> Another solution is to use a serial console.

The hp zx1-based machines are legacy-free, so there is no old-fashion serial port. Instead, the serial ports can be found via ACPI. In the current machines, they're in memory-mapped I/O space. I have a kdb patch to support this and will send it out soon (it needs a bit of cleaning up).

	--david
#3 lore raw
In reply to Sebastien Lelarge
Quoted 5 lines · David Mosberger

The hp zx1-based machines are legacy-free, so there is no old-fashion serial port. Instead, the serial ports can be found via ACPI. In the current machines, they're in memory-mapped I/O space. I have a kdb patch to support this and will send it out soon (it needs a bit of cleaning up).

Using the HCDP table, I hope? Not all the zx1-based machines have serial ports in the ACPI namespace.

Signature · 1 line
Revolutions do not require corporate support.
#4 lore raw
In reply to Sebastien Lelarge
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · Matthew Wilcox

Matthew> On Mon, Jul 08, 2002 at 11:31:04AM -0700, David Mosberger

Quoted 5 lines · Matthew> wrote:
Quoted 5 lines

The hp zx1-based machines are legacy-free, so there is no old-fashion serial port. Instead, the serial ports can be found via ACPI. In the current machines, they're in memory-mapped I/O space. I have a kdb patch to support this and will send it out soon (it needs a bit of cleaning up).

Matthew> Using the HCDP table, I hope? Not all the zx1-based Matthew> machines have serial ports in the ACPI namespace.

It shouldn't matter. The kdb code doesn't know where the info comes from. The necessary info just gets stowed away when the serial driver initializes. Having said that, the firmware I tested it with doesn't have the HCDP tables, so it might be good to verify that such configs really do work as well.

	--david