summaryrefslogtreecommitdiff
path: root/sys/dev/usb
AgeCommit message (Collapse)Author
2008-06-12syncTheo de Raadt
2008-06-12dreamcheeky missile launcher (duck!)Theo de Raadt
2008-06-11implement the VIDIOC_STREAMOFF ioctl and remove some unused codeRobert Nagy
2008-06-11If bDefaultFrameIndex is 0 we should use the first bFrameIndex.Robert Nagy
In any other case use the one reported by bDefaultFrameIndex. Fix indentation while here
2008-06-10add VIDIOC_QUERYCTRL to the supported ioctlsRobert Nagy
2008-06-10Fix a memory leak in usbf_realloc(), and make the speed configuration arrayMiod Vallat
dynamically allocated. "commit please" deraadt@
2008-06-10Sort functions.Marcus Glocker
2008-06-09Don't play games with the PCD interrupt. It delays the detection ofMark Kettenis
connect/disconnect events. From NetBSD. ok deraadt@
2008-06-09Let the driver switch between read() and mmap() depending on whatMarcus Glocker
the userland application wants. OK robert@
2008-06-09oops. this change was missing from the previous commitRobert Nagy
2008-06-09Allocate the video buffer based on the maximum frame size that's reportedRobert Nagy
by the device instead of using the statically set VIDEO_BUF_SIZE. ok mglocker@
2008-06-08Now that all ports behave, remove the safety code doing cnpollc behindMiod Vallat
the scene around cngetc calls and whining loudly about it. This will save room on floppies (-:
2008-06-08regenYojiro Uo
2008-06-08add following devicesYojiro Uo
- IODATA WN-G54/US (11bg) - MELCO WLI-U2-KAMG54 (11abg)
2008-06-08If we have reached the end of the mmap frame buffer, start over againMarcus Glocker
(ring buffer). Add some more DPRINTFs to follow the queueing. OK robert@
2008-06-08decrease the buffer count after dequeueing a bufferRobert Nagy
to prevent the mmap buffer filling up, and disable the debug code that dumps the stream to a file
2008-06-07Start to queue mmap frames. Add VIDIOC_QBUF, VIDIOC_DQBUF,Marcus Glocker
VIDIOC_STREAMON for that purpose, too. OK robert@
2008-06-06Arrange our mmap buffer struct better.Marcus Glocker
2008-06-05Add some first mmap bits.Marcus Glocker
Help by miod@
2008-06-02Add a bunch of ELV Elektronik ftdi based devices found in theJonathan Gray
Linux driver. Prompted by a diff adding the "ELV EM 1010" from MERIGHI Marcus <Marcus@Merighi.AT>
2008-06-02regenJonathan Gray
2008-06-02Add a bunch of ELV Elektronik ftdi based devices found in theJonathan Gray
Linux driver. Prompted by a diff adding the "ELV EM 1010" from MERIGHI Marcus <Marcus@Merighi.AT>
2008-06-02fix DEBUG flag. without EHCI_DEBUG, ehcidebug is not defined.Yojiro Uo
ok jsg@
2008-06-02fix kernel freeze when the device unpluged (and the device was still active)Yojiro Uo
ok jsg@ pyr@
2008-05-30Allocate static buffer for software frame buffer and make sure to notMarcus Glocker
overflow it.
2008-05-29regenRobert Nagy
2008-05-29add a third MSI bluetooth deviceRobert Nagy
2008-05-28syncPierre-Yves Ritschard
2008-05-28Add support for Option GlobeTrotter 3G+ cards as distributed by OrangePierre-Yves Ritschard
in umsm. ok jsg@
2008-05-27Don't fail to compile when not in debug mode.Marcus Glocker
2008-05-27Instead alloacting a fix frame buffer we allocate the maximum frame sizeMarcus Glocker
delivered by the device (dwMaxVideoFrameSize). Also check for too large frames (buffer overflow), they get skipped.
2008-05-27Add ZyXEL G-202, which was already in usbdevs.Jonathan Gray
From/tested by pedro@am-gen.org
2008-05-26Add more ioctl's (still unfinished); VIDIOC_ENUM_FMT, VIDIOC_ENUMINPUT,Marcus Glocker
VIDIOC_S_INPUT, VIDIOC_TRY_FMT. Allows me at least to use a small V4L2 compatible webcam application to capture some images.
2008-05-26Limit to 80 char width and tweak comments for readability.Jonathan Gray
2008-05-26Properly handle usbd_get_interface_descriptor() returning NULL.Jonathan Gray
From Jacek Masiulaniec <jacekm@dobremiasto.net>
2008-05-25Don't define EHCI_DEBUG when USB_DEBUG is defined. This to be consistentMarc Balmer
with other USB host controller interfaces. From Karl Sjodahl <dunceor@gmail.com>; ok jsg
2008-05-25Spacing. Comments. strncpy() -> strlcpy().Marcus Glocker
2008-05-24Add a quirk to prevent this LCD device from attaching as a HID. This is aChris Kuethe
not somewhere we want to go in the long term - adding a quirk for every device out there that does something a little funky. It would be better if devices that claimed they are HIDs actually acted like it. Failing that, passing usb commands though uhid would be nice.
2008-05-24- Enable userland to read(2) video stream from /dev/video.Marcus Glocker
- Prepare for mmap(2).
2008-05-24regenerateChris Kuethe
2008-05-24USB LCD+keyboard panelChris Kuethe
2008-05-19regenMiod Vallat
2008-05-19Add the Sun extended keys (L keys, volume keys) to the console mode layouts.Miod Vallat
2008-05-19do not leak memory if there is no power source. code is ifdef USB_DEBUG.Federico G. Schwindt
2008-05-19try a few times before giving up while getting the device descriptor. ifFederico G. Schwindt
it fails, reset the port and try again. this seems to fix some devices that would punt with "device problem, disabling port" otherwise. from augustss@netbsd with some change as per discussion with theo. set the address before getting the descriptor. from peterbu at bemac dot com via netbsd kern/24716. tested by many.
2008-05-18avoid leaking pipes by not zeroing the pipe after aborting it, soFederico G. Schwindt
umass_disco() have a chance to free'em later. from nathanw@netbsd. miod@ ok.
2008-05-18Move the code which starts the video stream to the right place;Marcus Glocker
The video stream gets started/stopped when userland open/closes /dev/video*. The debug file gets written to /tmp/uvideo.mjpeg now.
2008-05-18There is no need to pass uvideo_vs_open() usb_attach_arg.Marcus Glocker
2008-05-16Free sample buffer on detach. Noted by miod@Marcus Glocker
2008-05-16Fix kernel crash when device gets detached.Marcus Glocker