linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PRODUCT code has a float in it rather than an int
@ 2001-03-29 16:43 Ben Woodard
  2001-03-29 17:13 ` David Brownell
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ben Woodard @ 2001-03-29 16:43 UTC (permalink / raw)
  To: linux-hotplug

I'm running 2.2.18 with modultils 2.4.5 and it appears that the
PRODUCT is coming back as a float rather than as an int. This is
consistant with what I see in /proc/usb/devices:

ben@trill:/etc/hotplug$ grep ^P /proc/bus/usb/devices 
P:  Vendor\000 ProdID\000 Rev= 0.00
P:  Vendor\x03f0 ProdID\x1004 Rev= 1.00

This causes some problems in the usb.agent script becase usb_bcdDevice
is declared -i?

This leads me to believe that that usb_bcdDevice should not be
declared -i or it should be multiplied out so that it is an integer.

What do you guys think? I'm happy to try to code up the changes but
I'd like to know which direction I should take it.

-ben





_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-03-29 19:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-29 16:43 PRODUCT code has a float in it rather than an int Ben Woodard
2001-03-29 17:13 ` David Brownell
2001-03-29 17:31 ` Ben Woodard
2001-03-29 19:37 ` David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).