[KLUG Members] USB Hotplug

Adam Williams members@kalamazoolinux.org
19 May 2002 20:41:18 -0400


>Without looking at the driver's source I would think this would work --
>then again the driver may account for that particular vendor/product
>match already and it's simply a matter of the USB system itself not
>being able to properly probe for those values.  If the latter case is
>true I would have absolutely no idea how to fix things the Right Way as
>I don't really know how USB works at the hardware level.
>I hope this helps.  If not, well -- maybe I'll actually rip open the 
>soruce and see what comes to mind.

Yep, they are defined in /usr/src/linux/drivers/usb/scanners.h in a
struct like (from 2.4.18) -
{ USB_DEVICE(0x04b8, 0x0101) }, /* Perfection 636U and 636Photo */
{ USB_DEVICE(0x04b8, 0x0103) }, /* Perfection 610 */
{ USB_DEVICE(0x04b8, 0x0104) }, /* Perfection 1200U and 1200Photo*/
{ USB_DEVICE(0x04b8, 0x0106) }, /* Stylus Scan 2500 */
{ USB_DEVICE(0x04b8, 0x0107) }, /* Expression 1600 */
{ USB_DEVICE(0x04b8, 0x010a) }, /* Perfection 1640SU and 1640SU Photo */
{ USB_DEVICE(0x04b8, 0x010b) }, /* Perfection 1240U */
{ USB_DEVICE(0x04b8, 0x010c) }, /* Perfection 640U */
{ USB_DEVICE(0x04b8, 0x010e) }, /* Expression 1680 */
{ USB_DEVICE(0x04b8, 0x0110) }, /* Perfection 1650 */
{ USB_DEVICE(0x04b8, 0x0112) }, /* Perfection 2450 - GT-9700 for the
Japanese mkt */

I can't find any way to 'hot add' codes to this list short of rebuilding
the kernel module (at least).

Can someone with a RH7.3 box handy check to see if their kernel includes
0x04b8, 0x010f?  Sometimes RH tosses things in that the stock kernel
does have yet.

>>I pruchased an Epson 1250 perfection USB scanner (not supported by
>>sane)  but if I "modprobe scanner vendor=0x04b8
>>product=0x010f" and then
>>run xsane it works great!  (The Epson 1250 is actually a LM 983x USB
>>chip and a plustek scanner).