Hello, Here is more informations : Randy.Dunlap a écrit : >On Wed, 07 Jan 2004 18:42:40 +0100 Fabien wrote: > >| Hello, >| >| thanks for your reply ! >| >| Randy.Dunlap a écrit : >| >| >On Wed, 07 Jan 2004 01:02:31 +0100 Fabien wrote: >| > >| >| Hello, >| >| >| >| Got a little problem !!! >| >| >| >| I have a PQI SM/CF USB reader (Model is FPCS-US from PQI) and I can't >| >| make it work under my debian box ! >| >| >| >| When I plug the PQI no device is attached ! >| >| >| >| In /var/log/messages I have : >| >| kernel: hub.c: new USB device 00:04.3-2.1, assigned address 7 >| >| kernel: usb.c: USB device 7 (vend/prod 0x7cc/0x4) is not claimed by any >| >| active driver. >| >| >| >| When I do "lsusb" I can see : >| >| Bus 002 Device 007: ID 07cc:0004 Carry Computer Eng., Co., Ltd >| >| SM/CF/PCMCIA Card Reader >| >| >| >| >| >| On the other hand, If I plug my USB key, it works ... >| >| Got sda1 available ! >| > >| >This is a single-LUN device. >| > >| >| I also try to manipulate "hotplug" without any success... >| >| May I have to add a new entry in /etc/hotplug/usb.distmap ? >| >| What should I do to have my CompactFlash Reader working ? >| > >| >The PQI device is a multi-LUN device. Your kernel (SCSI) has >| >to have multi-LUN support enabled. >| >I think that this is documented in the Linux-USB FAQ or Guide >| >(from www.linux-usb.org). >| > >| > >| >| I Check my .config of my kernel and I see that I have already >| this option : >| >| # Some SCSI devices (e.g. CD jukebox) support multiple LUNs >| # >| CONFIG_SCSI_DEBUG_QUEUES=y >| CONFIG_SCSI_MULTI_LUN=y >| CONFIG_SCSI_CONSTANTS=y >| CONFIG_SCSI_LOGGING=y >| >| I also found a new message in my logs about usb.agent : >| >| usb.agent[1278]: ... no modules for USB product 7cc/4/1 > >Does the PQI reader claim (report) to be a USB mass storage? >Please post the contents of /proc/bus/usb/devices . > > > < T: Bus Lev Prnt Port Cnt Dev#= 4 Spd MxCh= 0 < D: Ver= 1.00 Cls˙(vend.) Sub˙ Prot˙ MxPSd #Cfgs= 1 < P: Vendorcc ProdID04 Rev= 0.01 < C:* #Ifs= 1 Cfg#= 1 Atr€ MxPwr0mA < I: If#= 0 Alt= 0 #EPs= 0 Cls˙(vend.) Sub˙ Prot˙ Driver=(none) < I: If#= 0 Alt= 1 #EPs Cls˙(vend.) Sub˙ Prot˙ Driver=(none) < E: Ad(I) Atr(Int.) MxPS= 16 Ivlms < E: Ad‚(I) Atr(Bulk) MxPS= 64 Ivl=0ms < E: Ad(O) Atr(Bulk) MxPS= 64 Ivl=0ms < E: Ad„(I) Atr(Bulk) MxPS= 64 Ivl=0ms < E: Ad(O) Atr(Bulk) MxPS= 64 Ivl=0ms < E: Ad†(I) Atr(Bulk) MxPS= 64 Ivl=0ms < E: Ad(O) Atr(Bulk) MxPS= 64 Ivl=0ms < E: Adˆ(I) Atr(Isoc) MxPS= 16 Ivl=1ms < E: Ad(O) Atr(Isoc) MxPS= 16 Ivl=1ms < E: Ad‰(I) Atr(Isoc) MxPS= 16 Ivl=1ms < E: Ad (O) Atr(Isoc) MxPS= 16 Ivl=1ms < E: AdŠ(I) Atr(Isoc) MxPS= 16 Ivl=1ms < E: Ad (O) Atr(Isoc) MxPS= 16 Ivl=1ms < I: If#= 0 Alt= 2 #EPs Cls˙(vend.) Sub˙ Prot˙ Driver=(none) < E: Ad(I) Atr(Int.) MxPS= 64 Ivlms < E: Ad‚(I) Atr(Bulk) MxPS= 64 Ivl=0ms < E: Ad(O) Atr(Bulk) MxPS= 64 Ivl=0ms < E: Ad„(I) Atr(Bulk) MxPS= 64 Ivl=0ms < E: Ad(O) Atr(Bulk) MxPS= 64 Ivl=0ms < E: Ad†(I) Atr(Bulk) MxPS= 64 Ivl=0ms < E: Ad(O) Atr(Bulk) MxPS= 64 Ivl=0ms < E: Adˆ(I) Atr(Isoc) MxPS= 256 Ivl=1ms < E: Ad(O) Atr(Isoc) MxPS= 256 Ivl=1ms < E: Ad‰(I) Atr(Isoc) MxPS= 16 Ivl=1ms < E: Ad (O) Atr(Isoc) MxPS= 16 Ivl=1ms < E: AdŠ(I) Atr(Isoc) MxPS= 16 Ivl=1ms < E: Ad (O) Atr(Isoc) MxPS= 16 Ivl=1ms < T: Bus Lev Prnt Port Cnt Dev#= 2 Spd MxCh= 4 >Do you have the usb-storage driver loaded (either built into the >kernel or loaded as a module)? If so, then it sounds like the >PQI reader is not a USB storage device. It may require >vendor-specific software to talk to it, or it may work by adding >its vendor/product ID info the the unusual_devs (devices) table. > > How should I do this ? I try to add the following line in /etc/hotplug/usb.handmap : usb-storage 0x000f 0x07cc 0x0004 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 I restart hotplug deamon. /etc/init.d/hotplug restart Nothing change ! >We are a bit short on device info and on kernel version info here. > > My kernel is a 2.4.23 "home made". My USB conf is the following : CONFIG_VIDEO_CPIA_USB=m CONFIG_USB=y CONFIG_USB_DEVICEFS=y CONFIG_USB_BANDWIDTH=y CONFIG_USB_UHCI=y CONFIG_USB_OHCI=y CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE_DEBUG=y CONFIG_USB_HID=y CONFIG_USB_HIDDEV=y CONFIG_USB_SERIAL=y CONFIG_USB_SERIAL_GENERIC=y Fabien >-- >~Randy >MOTD: Always include version numbers. >_____________________________________________________________________ >Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger >http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France > > > _____________________________________________________________________ Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel