Delivered-To: ukai@ukai.org
X-Return-Path: <dparsons@emerall.com>
Delivered-To: ukai@debian.or.jp
Date: Thu, 17 Jan 2002 01:59:59 +1100
From: Drew Parsons <dparsons@emerall.com>
To: ukai@debian.or.jp
Subject: hotplugging usb-storage: bcdDevice at fault?
Message-ID: <20020116145959.GA11623@emerall.com>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1"
Content-Disposition: inline
User-Agent: Mutt/1.3.25i
X-Sender: Drew Parsons <dparsons@emerall.com>
X-OriginalArrivalTime: 16 Jan 2002 15:00:01.0783 (UTC) FILETIME=[7928E870:01C19E9E]


--n8g4imXOkfNTN/H1
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Dear Fumatoshi,

I'm having trouble getting hotplug to work with my HP 8230e CD Writer.  It's
a USB cdwriter, and works with the usb-storage module.  It works fine if I
modprobe usb-storage in by hand.

But hotplug doesn't recognise it, saying:
 /etc/hotplug/usb.agent: ... no modules for USB product 3f0/207/1

The entry for the device in /lib/modules/2.4.17/modules.usbmap is present,
and looks like
usb-storage          0x000f      0x03f0   0x0207    0x0001       0x0001
0x00         0x00            0x00            0x00            0x00
0x00               0x00000000

Watching the hotplug process carefully as it runs /etc/hotplug/usb.agent
when I plug the device in, I notice that it fails because bcdDevice_lo and
bcdDevice_hi are both set to 1, but the usb device (usb_bcdDevice) must
follow bcdDevice_lo <=3D bcdDevice < bcdDevice_hi.  That is, the module fai=
ls
to load because bcdDevice is not strictly less than bcdDevice_hi (all values
are equal to 1).

What does this mean?  What do I need to do to get it to run?  I notice that
your FinePix40i example in README.Debian:

usb-storage 0 0x04cb 0x0100 0x0000 0x0000 ...

also has bcdDevice_lo =3D bcdDevice_hi =3D 0,
and therefore ought to fail also for the same reason my cdwriter fails. =20
Why does your camera succeed, while my cdwriter fails?

Thanks for any help you can provide.

Sincerely,

Drew Parsons

--=20
PGP public key available at http://people.debian.org/~dparsons/drewskey.txt
Fingerprint: A110 EAE1 D7D2 8076 5FE0  EC0A B6CE 7041 6412 4E4A

--n8g4imXOkfNTN/H1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8RZVuts5wQWQSTkoRAm19AJ9sUcTK6qOJXF6UzvZwSyRDulknIgCfcSXw
vThNwcXZbywhnF/eKBUmy0M=
=texk
-----END PGP SIGNATURE-----

--n8g4imXOkfNTN/H1--

