Vladimir 'phcoder' Serbinenko
41e46ae648
Enable usbserial on yeeloong
2010-08-20 21:26:04 +02:00
Vladimir 'phcoder' Serbinenko
1420c1d54a
Remove unused buffer0
2010-08-20 21:25:20 +02:00
Vladimir 'phcoder' Serbinenko
ccedc09bc7
Make HID found dprintf instead of printf
2010-08-20 20:26:57 +02:00
Vladimir 'phcoder' Serbinenko
8161b08687
Merge mainline into usb
2010-08-20 20:12:26 +02:00
Vladimir 'phcoder' Serbinenko
2823526d28
Acount for transfer->size being size-1 when counting *actual
2010-08-20 19:54:40 +02:00
Vladimir 'phcoder' Serbinenko
52d8255d20
Support hot unplugging
2010-08-20 19:34:29 +02:00
Vladimir 'phcoder' Serbinenko
60c1ffdfdc
Fix OHCI error message
2010-08-20 19:33:44 +02:00
Vladimir 'phcoder' Serbinenko
24582ab39b
Correct *actual counting in OHCI
2010-08-20 16:56:03 +02:00
Vladimir 'phcoder' Serbinenko
15bd1f9ccf
Don't update status on 0 message
2010-08-20 16:49:24 +02:00
Robert Millan
21a313dedc
2010-08-20 Robert Millan <rmh@gnu.org>
...
Make kFreeBSD code more generic to support ext2fs as root, ufs as
a separate module and maybe other interesting combinations.
* util/grub.d/10_kfreebsd.in (load_kfreebsd_module): New function.
(kfreebsd_entry): Use load_kfreebsd_module() to load modules.
(kfreebsd_entry): Add generic filesystem module load routine.
Map GRUB `ext2' to kFreeBSD `ext2fs'.
2010-08-20 16:36:07 +02:00
Vladimir 'phcoder' Serbinenko
9ba74de61a
Scan descriptor rather than elying on hardcoded endpoint number
2010-08-20 16:34:34 +02:00
Vladimir 'phcoder' Serbinenko
a17e3c978b
Use GetReport only at initialisation as specified in the USBHID spec
2010-08-20 14:36:29 +02:00
Vladimir 'phcoder' Serbinenko
537f375321
Fix control msg type
2010-08-20 12:22:23 +02:00
Vladimir 'phcoder' Serbinenko
8bb7e81637
Fix printf bug
2010-08-20 01:23:33 +02:00
Colin Watson
63c734a63e
* commands/i386/pc/sendkey.c (keysym_table): Rename "numlock" to
...
"numcenter" (I misunderstood the purpose of this entry).
* docs/grub.texi (sendkey): Likewise.
2010-08-20 00:15:23 +01:00
Colin Watson
c4d1654256
* commands/i386/pc/sendkey.c (options): Remove "keep" from all
...
status flag options; simply omitting the option is equivalent and
simpler. Rename "wait" to "pause". Rename "sysreq" to "sysrq".
(keysym_table): Rename "num5numlock" to "numlock".
(grub_cmd_sendkey): Reinitialise `andmask' and `ormask', so that we
can uniformly say that only the last of multiple `sendkey'
invocations has any effect.
* docs/grub.texi (sendkey): New section.
2010-08-20 00:05:14 +01:00
Colin Watson
93541d660d
* commands/i386/pc/sendkey.c (options): Fix three typos.
2010-08-19 21:53:50 +01:00
Vladimir 'phcoder' Serbinenko
996469df82
Merge mainline into keylayouts
2010-08-19 21:32:36 +02:00
Vladimir 'phcoder' Serbinenko
b4ece5e11e
Implement sendkey support.
...
* commands/i386/pc/sendkey.c: New file.
* conf/i386-pc.rmk (pkglib_MODULES): Add sendkey.mod.
(sendkey_mod_SOURCES): New variable.
(sendkey_mod_CFLAGS): Likewise.
(sendkey_mod_LDFLAGS): Likewise.
2010-08-19 21:03:14 +02:00
Vladimir 'phcoder' Serbinenko
88e543b519
Add grub-kbdcomp
2010-08-19 20:48:31 +02:00
Vladimir 'phcoder' Serbinenko
9c9ec877cb
Rename grub-mklayouts to grub-mklayout
2010-08-19 20:47:08 +02:00
Vladimir 'phcoder' Serbinenko
5a3e99b388
MAke grub-mklayouts do only one thing rather than doing all the piping
2010-08-19 20:43:40 +02:00
Vladimir 'phcoder' Serbinenko
b175204119
Add missing keys to grub-mklayouts
2010-08-19 19:17:36 +02:00
Vladimir 'phcoder' Serbinenko
b09634f027
Added missing values and indented USB table
2010-08-19 16:12:18 +02:00
Vladimir 'phcoder' Serbinenko
5ef4e08416
add usb keymap support
2010-08-19 15:32:43 +02:00
Vladimir 'phcoder' Serbinenko
e55e09628d
Hook AT keyboard mapping
2010-08-19 15:00:31 +02:00
Vladimir 'phcoder' Serbinenko
ed19677fe3
Revert all parts done for BIOS keymap translation
2010-08-19 13:32:36 +02:00
Vladimir 'phcoder' Serbinenko
eb628338db
AltGr support
2010-08-19 11:44:49 +02:00
Vladimir 'phcoder' Serbinenko
7ea82054f5
Solve keypad-related issues
2010-08-19 04:13:32 +02:00
Vladimir 'phcoder' Serbinenko
d90aa78482
KEyboard layout support
2010-08-19 02:57:05 +02:00
Vladimir 'phcoder' Serbinenko
2111447675
Add new flag SHIFT
2010-08-19 02:21:36 +02:00
Carles Pina i Estany
b6f7b4ba03
Reimported heavily modified version of cpina's grub-mklayout
2010-08-19 02:15:29 +02:00
Vladimir 'phcoder' Serbinenko
7a6459e12d
support for Fn keys
2010-08-19 01:07:50 +02:00
Vladimir 'phcoder' Serbinenko
2cccf4b0c4
Merge mainline into keylayouts
2010-08-18 22:28:47 +02:00
Colin Watson
51f1f5afab
* configure.ac: Move AM_INIT_AUTOMAKE after AC_CANONICAL_TARGET to
...
fix warnings from Autoconf.
2010-08-18 11:15:08 +01:00
Colin Watson
9da94e0576
* acinclude.m4 (grub_ASM_USCORE): Use a more accurate grep pattern,
...
to avoid false positives with some assemblers that output things
like "someprefix_func" as part of their output.
2010-08-18 11:08:00 +01:00
Robert Millan
729a0f2e0c
2010-08-15 Robert Millan <rmh@gnu.org>
...
* kern/emu/misc.c (grub_get_libzfs_handle): Handle libzfs_init()
errors.
* kern/emu/getroot.c (find_root_device_from_libzfs): Handle
grub_get_libzfs_handle() errors.
2010-08-15 22:48:23 +02:00
Robert Millan
f3710e088c
2010-08-14 Robert Millan <rmh@gnu.org>
...
* kern/emu/misc.c (grub_find_zpool_from_dir): Abort function if
filesystem is not ZFS.
2010-08-14 16:53:25 +02:00
BVK Chaitanya
7a3c13dea5
Fix for misspelled color names defaulting to black/black (bug
...
reported by Doug Nazar)
* include/grub/normal.h (grub_parse_color_name_pair): Add return
status to prototype.
* normal/color.c (grub_parse_color_name_pair): Return failure
status.
(grub_env_write_color_normal): Ignore bad color names.
(grub_env_write_color_highlight): Likewise.
* normal/main.c (GRUB_MOD_INIT): Set default color names.
2010-08-12 20:52:42 +05:30
BVK Chaitanya
681440aa5b
fix bad color name handling
2010-08-12 20:45:55 +05:30
BVK Chaitanya
ab8ba50d75
"shift" command support to GRUB script.
...
* include/grub/script_sh.h (grub_script_shift): New prototype.
* script/execute.c (grub_script_shift): New function.
* script/main.c (grub_script_init): Register shift command.
(grub_script_fini): Unregister shift command.
* util/grub-script-check.c (grub_script_cmd_shift): New function.
* tests/grub_script_shift.in: New testcase.
* conf/tests.rmk: Rules for new testcase.
2010-08-12 12:07:27 +05:30
BVK Chaitanya
163dd4f7e9
merge with mainline
2010-08-12 12:02:48 +05:30
BVK Chaitanya
4d61999e33
"continue" command support to GRUB script.
...
* script/execute.c (grub_script_execute_cmdwhile): Continue support.
(grub_script_break): Continue support.
* script/main.c (grub_script_init): Register continue command.
(grub_script_fini): Unregister continue command.
* tests/grub_script_continue.in: New testcase.
* conf/tests.rmk: Rules for new testcase.
2010-08-12 11:48:21 +05:30
BVK Chaitanya
8908e49937
merge with mainline
2010-08-12 09:46:01 +05:30
BVK Chaitanya
4df51e0007
"break" command support to GRUB script.
...
* conf/common.rmk: Rule updates to grub-script-check.
* include/grub/misc.h (grub_min): New function.
* include/grub/script_sh.h (grub_script_init): New prototype.
(grub_script_fini): New prototype.
(grub_script_break): New prototype.
* script/main.c (grub_script_init): New function.
(grub_script_fini): New function.
* script/execute.c (grub_script_break): New function.
* normal/main.c: Calls to grub_script_{init,fini}.
* util/grub-script-check.c (grub_script_break): New function.
* tests/grub_script_break.in: New testcase.
* conf/tests.rmk: Rules for new test case.
2010-08-12 09:35:15 +05:30
BVK Chaitanya
fd324286d4
merge with mainline
2010-08-12 09:30:26 +05:30
BVK Chaitanya
f12c842082
Function parameters support to GRUB script.
...
* script/yylex.l (VARIABLE): Regular expression update.
* script/function.c (grub_script_function_call): Moved ...
* script/execute.c (grub_script_function_call): ... to here.
(grub_script_execute_arglist_to_argv): Removed.
(grub_script_arglist_to_argv): New function.
* script/argv.c: New file.
(grub_script_argv_free): New function.
(grub_script_argv_next): Likewise.
(grub_script_argv_append): Likewise.
(grub_script_argv_split_append): Likewise.
* include/grub/script_sh.h (grub_script_argv): New struct.
(grub_script_argv_free): New function.
(grub_script_argv_next): Likewise.
(grub_script_argv_append): Likewise.
(grub_script_argv_split_append): Likewise.
* conf/common.rmk (normal.mod): New source script/argv.c.
* tests/grub_script_echo1.in: More tests.
* tests/grub_script_vars1.in: Likewise.
* tests/grub_script_functions.in: New test case.
* conf/tests.rmk: Rules for new testcase.
2010-08-12 09:20:58 +05:30
BVK Chaitanya
4962a2032f
merge with mainline
2010-08-12 09:16:24 +05:30
BVK Chaitanya
8022b74825
Remove grub_script_cmdblock struct.
...
* include/grub/script_sh.h: Remove grub_script_cmdblock.
* script/parser.y: Likewise.
* script/execute.c: Rename cmdblock suffix to cmdlist.
* script/script.c: Likewise.
* util/grub-script-check.c: Likewise.
2010-08-12 09:04:37 +05:30
BVK Chaitanya
0bcbae0fa7
merge with mainline
2010-08-12 09:01:59 +05:30