Florent Thoumie
5cd7adbfe3
- Add a umass quirk that should have been part of latest commit.
...
Approved by: iedowse (implicit)
MFC after: 3 days
2006-01-26 01:23:29 +00:00
Florent Thoumie
fa9d414d41
Add Product IDs :
...
- Sandisk Cruzer Micro 128MB [5]
- DANE-ELEC zMate 512MB USB flash drive [7]
- Attache 256MB USB 2.0 Flash Drive [8]
- Sandisk Cruzer Micro 256MB [9]
Add scsi_da.c quirks :
- Samsung USB key 128Mb [1]
- Kingston DataTraveler 2.0 [2]
- Creative MuVo Slim [3]
- United MP 5512 Portable MP3 Player [4]
- Sandisk Cruzer Micro 128MB [5], [9]
- PNY USB Flash keys [6], [7], [8]
Add umass.c quirks :
- Sandisk Cruzer Micro 128MB [5]
- DANE-ELEC zMate 512MB USB flash drive [7]
- Attache 256MB USB 2.0 Flash Drive [8]
- Sandisk Cruzer Micro 256MB [9]
PR: usb/90081 [1],
usb/89196 [2],
kern/86131 [3],
usb/80487 [4],
usb/75970 [5],
usb/75578 [6],
usb/72344 [7],
usb/65436 [8],
usb/70835 [9]
Submitted by: Henri-Pierre CHARLES <hpc@prism.uvsq.fr> [1],
Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> [2],
Erich Rickheit KSC <rickheit-fbp@numachi.com> [3],
tnu@chania.di.uoa.gr [4],
Bram Abbekerk <bram@abbekerk.demon.nl> [5],
Thomas Pornin <pornin@bolet.org> [6],
parv <parv@pair.com> [7],
Peter D. Quilty <pdquilty@adelphia.net> [8],
Raymundo M. Vega <rvega@ms-smtp-03-eri0.socal.rr.com> [9]
Approved by: iedowse
MFC after: 3 days
2006-01-26 00:35:54 +00:00
Florent Thoumie
465ad22910
Enable NO_GETMAXLUN quirk.
...
PR: usb/90670
Submitted by: Wojciech A. Koszek <dunstan@freebsd.czest.pl>
Approved by: iedowse
MFC after: 1 week
2006-01-09 01:33:53 +00:00
Pav Lucistnik
612477f7ac
- Fix type in previous commit; unbreak build
...
Approved by: ssouhlal
Pointy hat to: pav
2005-12-20 23:07:38 +00:00
Pav Lucistnik
f651aa2d2f
- Ignore incorrect CSW signatures on my PURE PocketDab 2000 player
...
Approved by: ssouhlal
MFC after: 1 week
2005-12-20 16:21:17 +00:00
Pawel Jakub Dawidek
ef5d77f464
Allow to use TransFlash drive, which can be found in Motorola E398 Mobile Phone.
...
PR: usb/89889
Submitted by: Wojciech A. Koszek <dunstan@freebsd.czest.pl>
MFC after: 1 week
2005-12-19 03:27:28 +00:00
Ian Dowse
c20e7ce621
Revision 5.0 of the Sony DSC camera appears to require RBC commands
...
to be padded to 12 bytes in length. Otherwise the requests just
time out.
Reported by: anders
MFC after: 1 week
2005-11-26 17:11:31 +00:00
Xin LI
f467e51eba
PLAY_MSF, PLAY_TRACK, PLAY_TRACK_REL, PAUSE, PLAY_12 commands to pass
...
through umass(4), in order to make cdcontrol(1) to issue commands to
a USB CD driver.
The command IDs were obtained from the CAM subsystem. This was tested
on half dozen of USB CD drivers from different vendors.
Suggested by: "intron" <intron at intron dot ac>
PR: usb/83439
Reviewed by: sanpei
MFC After: 1 week
2005-07-19 05:18:23 +00:00
Alexander Kabaev
59195c3a3d
Plug a potential memory leak.
...
Noticed by: Coverity Prevent analysis tool.
2005-05-11 18:53:14 +00:00
Ian Dowse
5e1f111310
Fix an incorrect NULL argument to usbd_set_interface() associated
...
with the ALT_IFACE_1 quirk.
PR: usb/79190
Submitted by: Hans Petter Selasky <hselasky@c2i.net>
2005-03-25 01:47:01 +00:00
Ian Dowse
70a18c2253
Use M_NOWAIT when allocating from a callout routine.
...
PR: kern/73295
2005-03-25 00:38:46 +00:00
Ian Dowse
e0a4f554be
Abort any active transfers when the device detaches. This fixes a
...
few situations where we used to crash, but by no means all of them.
2005-02-14 02:17:53 +00:00
Ian Dowse
a66e65f5a9
When attached to a high-speed device, report a more appropriate
...
base transfer speed to CAM. The actual value used (40MB/s) is fairly
arbitrary, but assumes the same 33% overhead as was implied by the
1MB/s figure we used for USB1 devices.
2005-02-13 21:38:34 +00:00
Ian Dowse
01a95e0acf
Add support for the TwinMOS Memory Disk IV.
...
PR: kern/73766
Submitted by: Valentin Nechayev
MFC after: 1 week
2004-11-28 21:49:30 +00:00
Ian Dowse
3589f4d21c
Add support for the Trumpion/Comotron C3310 MP3 player.
2004-11-28 21:36:39 +00:00
Ian Dowse
a5158af81f
Keep a handle on the startup rescan timer and cancel the timer if
...
the device goes away.
2004-11-10 00:48:22 +00:00
Bruce M Simpson
cdd2389652
Pass through the commands necessary to format USB floppy devices,
...
from within umass_ufi_transform(). This includes the 12-byte commands
FORMAT_UNIT, WRITE_AND_VERIFY, VERIFY, and READ_FORMAT_CAPACITIES
(sorted in numerical order).
Reviewed by: ken, scottl
MFC after: 2 weeks
2004-10-12 08:58:57 +00:00
MIHIRA Sanpei Yoshiro
e7934ccbaa
Add support Western Digital External USB HDD
...
ONSPEC entry are sorted
PR: kern/71031
Submitted by: Johann Hugo <jhugo@icomtek.csir.co.za>
MFC after: 1 week
2004-09-04 07:07:35 +00:00
Warner Losh
1ff2328528
Tweak the compatibility macros a little so that the device printing is
...
moved into them.
2004-08-15 23:39:18 +00:00
MIHIRA Sanpei Yoshiro
bac683b5db
add support for SanDisk Cruzer Mini 256MB USB 2.0 Flash Drive
...
PR: kern/65438
Submitted by: Peter D. Quilty <pdquilty@adelphia.net>
MFC after: 1 week
2004-08-12 23:29:22 +00:00
MIHIRA Sanpei Yoshiro
882a77b811
add support Sitecom CN-311 usb flash reader(aka SIIG_WINTERREADER)
...
PR: kern/64722
Submitted by: Thiemo Nordenholz <nz@thiemo.net>
MFC after: 1 week
2004-08-12 20:14:20 +00:00
MIHIRA Sanpei Yoshiro
d41f8399cd
Add support Sony Handycam TRV-30 memory stick slot
...
PR: kern/69915
Submitted by: Christian Gusenbauer <c47g@gmx.at>
MFC after: 1 week
2004-08-08 07:09:43 +00:00
Warner Losh
d1458cfdf4
MFp4: First batch of dev/usb/usbdevs.h -> usbdevs.h changes.
2004-06-27 12:41:44 +00:00
MIHIRA Sanpei Yoshiro
b9ebb45a96
Add support Neodio-3260 8-in-1 multi format USB memory card / flash controller
...
PR: kern/67115
Submitted by: Jukka A. Ukkonen <jau@iki.fi>
MFC after: 1 week
2004-06-05 05:23:46 +00:00
Lukas Ertl
b2d36e0f30
Fix typos in comments.
...
Submitted by: Gerhard Gonter <gonter@falbala.wu-wien.ac.at>
2004-05-22 09:29:52 +00:00
MIHIRA Sanpei Yoshiro
b34b7c59ee
Add support 2 devices(USB-DVD-R drives)
...
- Logitec LDR-H443SU2
- IO-DATA DVR-UEH8
PR: kern/63793
Submitted by: Ryuji MATSUMOTO <matumoto@pluto.ai.kyutech.ac.jp>
MFC after: 1 week
2004-03-07 05:33:09 +00:00
MIHIRA Sanpei Yoshiro
a439ea6c55
Add support SimpleTech UCF-100 USB CompactFlash reader(OnSpec Electronic, Inc.)
...
PR: kern/63619
Submitted by: Greg Rivers <gcr@sa.fedex.com>
MFC after: 1 week
2004-03-04 07:20:48 +00:00
MIHIRA Sanpei Yoshiro
21dbb6363b
MFNetBSD:
...
netbsd.org -> NetBSD.org(rev.1.109)
fix typo in comment(rev.1.90)
add list of ``already merged''
2004-02-06 14:38:14 +00:00
MIHIRA Sanpei Yoshiro
e08f155b25
MFNetBSD: URL updates(rev.1.108)
2004-02-02 15:00:15 +00:00
MIHIRA Sanpei Yoshiro
21c5b9f9e5
Add Support
...
- 2nd type of GL641USB USB-IDE bridge [1]
- Plextor Plexwriter 40/12/40U [2]
PR: kern/61671 [1]
kern/61803 [2]
Submitted by: Ralf Wenk <RZ-FreeBSD0401@fh-karlsruhe.de> [1]
Feisal Mohammed <feisal@uwi.tt> [2]
MFC after: 1 week
2004-01-24 07:14:07 +00:00
MIHIRA Sanpei Yoshiro
cf73864749
Add support IO-data DVD Multi-plus unit iU-CD2
...
PR: kern/61578
Submitted by: Masaharu FUJITA <m@fjts.org>
MFC after: 1 week
2004-01-19 12:51:40 +00:00
MIHIRA Sanpei Yoshiro
dd4350b4a7
Pay attention to the timeout value passed down by the upper layer.
...
(NetBSD src/sys/dev/usb/umass.c rev.1.67)
PR: kern/58649 (Problem 1)
Submitted by: SAKIYAMA Nobuo <sakichan@sakichan.org>
MFC after: 1 week
2004-01-18 09:19:53 +00:00
MIHIRA Sanpei Yoshiro
b124b5e8b3
Fix Scanlogic SL11R usb-ide protocol and quirks
...
PR: kern/60389
Submitted by: Sang Woo Shim <ssw@swoo.org>
2004-01-03 13:52:44 +00:00
MIHIRA Sanpei Yoshiro
7cb5c8a6cb
Add the MMC commands to umass_atapi_transform. It seems to work
...
unmodified for ATAPI type devices with ports/sysutils/cdrtools.
(But we need timeout routine which was in kern/58649 for fixate, I think.)
PR: kern/58649
Submitted by: SAKIYAMA Nobuo <sakichan@sakichan.org>
2004-01-03 13:30:19 +00:00
MIHIRA Sanpei Yoshiro
b5fb3df199
Add support Panasonic KXL-CB35AN(DVD-ROM & CD-R/RW)
...
Submitted by: OISHI Masakuni <yamasa@bsdhouse.org> [FreeBSD-users-jp 77672]
2003-12-19 12:19:12 +00:00
MIHIRA Sanpei Yoshiro
92e5b74322
Fix PANASONIC KXLCB20AN Protocol.
...
Submitted by: OISHI Masakuni <yamasa@bsdhouse.org> [FreeBSD-users-jp 77672]
2003-12-18 19:59:32 +00:00
MIHIRA Sanpei Yoshiro
1e295bfbe0
Add support IBM 256MB USB Drive(MSYSTEM DiskOnKey2)
...
PR: kern/57050
Submitted by: Brian J. McGovern <mcgovern@beta.com>
2003-12-18 08:15:10 +00:00
MIHIRA Sanpei Yoshiro
e95ba214a5
Add Support
...
- PNY Attache Flash Drive [1]
- minolta 5400 USB scanner [2]
PR: kern/58045 [1]
kern/56496 [2]
Submitted by: [1] Rick C. Petty <rick@kiwi-computer.com>
[2] Mark Diekhans <markd@kermodei.com>
2003-12-18 05:47:11 +00:00
MIHIRA Sanpei Yoshiro
536c542aae
Add support
...
[1] Logitec LDR-H443U2 DVD-RAM/-R/+R/-RW/+RW Drive
[2] Panasonic KXL-CB20AN Portable DVD-ROM/CD-R/RW
Submitted by: [1] Taoka Fumiyoshi <fmysh@iijmio-mail.jp> [bsd-usb:727]
[2] SHIMIZU Kazuhiro <kazuhiro@shimizu.homeip.net> [FreeBSD-users-jp 77608]
2003-12-17 13:48:58 +00:00
Gary Jennejohn
eb3c983360
In umass_bbb_get_max_lun() move maxlun to before the DPRINTF so that
...
the actual number of LUNs is printed.
2003-09-20 08:18:16 +00:00
Nate Lawson
f6681bd6f0
SHUTTLE_INIT quirk for EXATELECOM i-Bead mp3 player
2003-08-22 05:54:57 +00:00
Nate Lawson
2b2187130e
Remove the 6-10 byte translation from UFI and ATAPI command sets. It is
...
no longer needed now that we have PIM_NO_6_BYTE.
Requested by: jhb
2003-08-06 17:19:06 +00:00
Nate Lawson
1deac58179
Add a PATH_INQ flag, PIM_NO_6_BYTE, which indicates the SIM never wishes to
...
receive 6 byte commands. Add a check for this flag to da(4) and cd(4) so
that they honor it. This is a quick workaround for many devices (especially
USB) that require da(4) quirks to operate. The more complete approach is
to finish the new transport code which will be aware of the SCSI version a
transport implements.
MFC after: 1 day
2003-07-28 06:15:59 +00:00
John-Mark Gurney
58ac352f32
remove \n at end of panic strings. They are added by the call to panic.
...
This brings us more in line with Net/OpenBSD
Obtained from: Net/OpenBSD
2003-07-04 23:11:13 +00:00
John-Mark Gurney
c97325b0c8
WARNING: white space diff
...
This code reduces the number of trailing white space to be more in line
w/ NetBSD. I don't regenerate usbdevs, saving that for when it really
changes.
2003-07-04 01:50:39 +00:00
Nate Lawson
c7bbca402a
Merge common XPT_CALC_GEOMETRY functions into a single convenience function.
...
Devices below may experience a change in geometry.
* umass(4) drives exactly 1 GB in size now no longer use extended geometry.
2003-06-14 22:40:08 +00:00
Nate Lawson
742d91f211
Quirk for Hitachi DVD USB drive. It returns "invalid field in cdb" for
...
normal INQUIRY requests so enable the NO_INQUIRY quirk.
Submitted by: Lars Eggert <larse@ISI.EDU>
Approved by: re (scottl)
2003-05-21 00:22:07 +00:00
Nate Lawson
2f8f9581dd
Remove a redundant quirk. Instead, we wildcard all Asahi Optical chips.
...
Approved by: re
2003-05-20 18:04:42 +00:00
Nate Lawson
d6061de923
Generalize a quirk for Asahi Optical-based cameras (i.e. Pentax). It appears
...
all of the Optio series have the same problems. It might be a better
approach eventually to add wildcard support to USB quirks.
PR: kern/50271, kern/46369
Approved by: re (rwatson)
2003-05-15 17:36:22 +00:00
Josef Karthauser
8e274c38c2
Extend the digital camera support (umass) to the PENTAX Optio 330GS.
...
Submitted by: Jan-Oliver Neumann <neumannj@arcor.de>
By way of: n_hibma
Approved by: re (jhb & bmah)
MFC After: 7 days
2003-05-11 23:55:28 +00:00