Vladimir 'phcoder' Serbinenko
ff44d107ad
Skip incorrect USB devices.
...
* grub-core/bus/usb/usb.c (grub_usb_device_initialize): Fail if
configcnt == 0.
* include/grub/usb.h (grub_usb_err_t): New enum value
GRUB_USB_ERR_BADDEVICE.
2011-05-16 02:39:25 +02:00
Aleš Nesrsta
e70a1b9535
Fix multiple USB issues
2010-09-18 13:49:15 +02:00
Vladimir 'phcoder' Serbinenko
ff62c48f5a
Use status change pipe for hub hotplug detection
2010-08-21 23:09:37 +02:00
Vladimir 'phcoder' Serbinenko
f609c84a7f
MAke an enum out of reqtype
2010-08-21 21:55:24 +02:00
Vladimir 'phcoder' Serbinenko
e959937cfd
Use background transfers for usb_keyboard
2010-08-21 17:12:51 +02:00
Vladimir 'phcoder' Serbinenko
3ee4474e8d
Prepare infrastructure for background USB transfers
2010-08-21 16:09:43 +02:00
Vladimir 'phcoder' Serbinenko
df26241939
* include/grub/usb.h (grub_usb_device): Add 'data' field back. It's
...
needed by libusb wrapper.
2010-08-21 02:09:16 +02:00
Vladimir 'phcoder' Serbinenko
52d8255d20
Support hot unplugging
2010-08-20 19:34:29 +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
34787305df
Allow psartial transfers and use them for usbserial
2010-07-19 08:43:01 +02:00
Vladimir 'phcoder' Serbinenko
824e1447ac
Use generic description of HID endpoints
2010-07-19 00:13:06 +02:00
Vladimir 'phcoder' Serbinenko
9685412782
PL2303 works and is configurable. But sometime input is lost
2010-07-18 23:12:08 +02:00
Vladimir 'phcoder' Serbinenko
d556277751
Add possibility of bulk reading with short timeout
2010-07-18 21:35:22 +02:00
Vladimir 'phcoder' Serbinenko
24494d478a
Add fini routines for usbserial and rename grub_usbserial to grub_ftdi
2010-07-18 17:40:42 +02:00
Vladimir 'phcoder' Serbinenko
8c8e269906
Encapsulate serial config in dedicated structure
2010-07-18 13:40:48 +02:00
Vladimir 'phcoder' Serbinenko
75eb7d1116
Restructure serial in order to prepare for usbserial. As a byproduct simultaneous serial consoles are possible
2010-07-18 01:37:19 +02:00
starous
1b43dba911
USB hot-plugging
2010-07-08 22:54:35 +02:00
Vladimir 'phcoder' Serbinenko
f5db3949e7
Some hotplug support (buggy)
2010-06-02 21:54:51 +02:00
Vladimir 'phcoder' Serbinenko
440ab68551
Restructure usbms as a preparation for hotplug
2010-06-02 19:52:17 +02:00
Aleš Nesrsta
7d4873c26a
Merge Aleš' latest patch
2010-06-01 02:10:19 +02:00
Aleš Nesrsta
778ff32476
Fix a bunch of problems with USB.
2010-05-31 14:11:41 +02:00
Vladimir 'phcoder' Serbinenko
1d3c6f1de7
Manually reimported XNU branch
2009-11-09 18:43:53 +01:00
proski
4241d2b13a
2009-05-04 Pavel Roskin <proski@gnu.org>
...
* disk/ata.c: Spelling fixes.
* disk/raid.c: Likewise.
* disk/usbms.c: Likewise.
* disk/dmraid_nvidia.c: Likewise.
* kern/ieee1275/openfw.c: Likewise.
* kern/ieee1275/init.c: Likewise.
* kern/ieee1275/cmain.c: Likewise.
* boot/i386/pc/cdboot.S: Likewise.
* video/readers/png.c: Likewise.
* video/i386/pc/vbe.c: Likewise.
* fs/udf.c: Likewise.
* fs/hfs.c: Likewise.
* fs/reiserfs.c: Likewise.
* efiemu/runtime/efiemu.c: Likewise.
* efiemu/main.c: Likewise.
* efiemu/mm.c: Likewise.
* include/grub/elf.h: Likewise.
* include/grub/xnu.h: Likewise.
* include/grub/usbdesc.h: Likewise.
* include/grub/usb.h: Likewise.
* include/grub/script_sh.h: Likewise.
* include/grub/lib/LzmaEnc.h: Likewise.
* include/grub/efiemu/efiemu.h: Likewise.
* include/grub/command.h: Likewise.
* normal/menu.c: Likewise.
* normal/main.c: Likewise.
* normal/datetime.c: Likewise.
* bus/usb/uhci.c: Likewise.
* mmap/i386/uppermem.c: Likewise.
* mmap/mmap.c: Likewise.
* commands/acpi.c: Likewise.
* commands/test.c: Likewise.
* partmap/apple.c: Likewise.
* font/font.c: Likewise.
* loader/sparc64/ieee1275/linux.c: Likewise.
* loader/macho.c: Likewise.
* loader/i386/bsd_trampoline.S: Likewise.
* loader/i386/bsd.c: Likewise.
* loader/xnu.c: Likewise.
* term/i386/pc/vesafb.c: Likewise.
* term/usb_keyboard.c: Likewise.
* util/resolve.c: Likewise.
* util/getroot.c: Likewise.
2009-05-04 20:06:05 +00:00
robertmh
d64399b562
2009-02-08 Marco Gerards <marco@gnu.org>
...
* Makefile.in (enable_grub_emu_usb): New variable.
* conf/i386-pc.rmk (grub_emu_SOURCES): Add `disk/scsi.c'.
(grub_emu_SOURCES) [grub_emu_SOURCES]: Add `disk/usbms.c',
`util/usb.c', `bus/usb/usb.c' and `commands/usbtest.c'.
(grub_emu_LDFLAGS): Add `$(LIBUSB)'.
(pkglib_MODULES): Add `usb.mod', `uhci.mod', `ohci.mod',
`usbtest.mod' and `usbms.mod'.
(usb_mod_SOURCES, usb_mod_CFLAGS, usb_mod_LDFLAGS)
(usbtest_mod_SOURCES, usbtest_mod_CFLAGS, usbtest_mod_LDFLAGS)
(uhci_mod_SOURCES, uhci_mod_CFLAGS, uhci_mod_LDFLAGS,
(ohci_mod_SOURCES, ohci_mod_CFLAGS, ohci_mod_LDFLAGS)
(usbms_mod_SOURCES, usbms_mod_CFLAGS, usbms_mod_LDFLAGS): New
variables.
* disk/usbms.c: New file.
* include/grub/usb.h: Likewise.
* include/grub/usbtrans.h: Likewise.
* include/grub/usbdesc.h: Likewise.
* bus/usb/usbtrans.c: Likewise.
* bus/usb/ohci.c: Likewise.
* bus/usb/uhci.c: Likewise.
* bus/usb/usbhub.c: Likewise.
* bus/usb/usb.c: Likewise.
* commands/usbtest.c: Likewise.
* util/usb.c: Likewise.
* include/grub/err.h (grub_err_t): Add `GRUB_ERR_IO'.
* configure.ac: Test for libusb presence.
* util/grub-emu.c (main) [HAVE_LIBUSB_H]: Call `grub_libusb_init'.
2009-02-08 17:58:32 +00:00