From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabien Date: Wed, 07 Jan 2004 21:10:22 +0000 Subject: Re: PQI CompactFlash Reader Message-Id: <3FFC75BE.7000803@ifrance.com> List-Id: References: <3FFB4C97.3060807@ifrance.com> In-Reply-To: <3FFB4C97.3060807@ifrance.com> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org Hello, Here is more informations : Randy.Dunlap a =E9crit : >On Wed, 07 Jan 2004 18:42:40 +0100 Fabien wrote: > >| Hello, >|=20 >| thanks for your reply ! >|=20 >| Randy.Dunlap a =E9crit : >|=20 >| >On Wed, 07 Jan 2004 01:02:31 +0100 Fabien wrote: >| > >| >| Hello, >| >|=20 >| >| Got a little problem !!! >| >|=20 >| >| I have a PQI SM/CF USB reader (Model is FPCS-US from PQI) and I can't= =20 >| >| make it work under my debian box ! >| >|=20 >| >| When I plug the PQI no device is attached ! >| >|=20 >| >| 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 a= ny=20 >| >| active driver. >| >|=20 >| >| When I do "lsusb" I can see : >| >| Bus 002 Device 007: ID 07cc:0004 Carry Computer Eng., Co., Ltd=20 >| >| SM/CF/PCMCIA Card Reader >| >|=20 >| >|=20 >| >| 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). >| > =20 >| > >|=20 >| I Check my .config of my kernel and I see that I have already >| this option : >|=20 >| # Some SCSI devices (e.g. CD jukebox) support multiple LUNs >| # >| CONFIG_SCSI_DEBUG_QUEUES=3Dy >| CONFIG_SCSI_MULTI_LUN=3Dy >| CONFIG_SCSI_CONSTANTS=3Dy >| CONFIG_SCSI_LOGGING=3Dy >|=20 >| I also found a new message in my logs about usb.agent : >|=20 >| 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 . > > =20 > < T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=3D 4 Spd=12 MxCh=3D 0 < D: Ver=3D 1.00 Cls=FF(vend.) Sub=FF Prot=FF MxPSd #Cfgs=3D 1 < P: Vendor=07cc ProdID=0004 Rev=3D 0.01 < C:* #Ifs=3D 1 Cfg#=3D 1 Atr=80 MxPwr=100mA < I: If#=3D 0 Alt=3D 0 #EPs=3D 0 Cls=FF(vend.) Sub=FF Prot=FF Driver=3D(no= ne) < I: If#=3D 0 Alt=3D 1 #EPs=13 Cls=FF(vend.) Sub=FF Prot=FF Driver=3D(none) < E: Ad=81(I) Atr=03(Int.) MxPS=3D 16 Ivl=10ms < E: Ad=82(I) Atr=02(Bulk) MxPS=3D 64 Ivl=3D0ms < E: Ad=02(O) Atr=02(Bulk) MxPS=3D 64 Ivl=3D0ms < E: Ad=84(I) Atr=02(Bulk) MxPS=3D 64 Ivl=3D0ms < E: Ad=04(O) Atr=02(Bulk) MxPS=3D 64 Ivl=3D0ms < E: Ad=86(I) Atr=02(Bulk) MxPS=3D 64 Ivl=3D0ms < E: Ad=06(O) Atr=02(Bulk) MxPS=3D 64 Ivl=3D0ms < E: Ad=88(I) Atr=01(Isoc) MxPS=3D 16 Ivl=3D1ms < E: Ad=08(O) Atr=01(Isoc) MxPS=3D 16 Ivl=3D1ms < E: Ad=89(I) Atr=01(Isoc) MxPS=3D 16 Ivl=3D1ms < E: Ad (O) Atr=01(Isoc) MxPS=3D 16 Ivl=3D1ms < E: Ad=8A(I) Atr=01(Isoc) MxPS=3D 16 Ivl=3D1ms < E: Ad (O) Atr=01(Isoc) MxPS=3D 16 Ivl=3D1ms < I: If#=3D 0 Alt=3D 2 #EPs=13 Cls=FF(vend.) Sub=FF Prot=FF Driver=3D(none) < E: Ad=81(I) Atr=03(Int.) MxPS=3D 64 Ivl=10ms < E: Ad=82(I) Atr=02(Bulk) MxPS=3D 64 Ivl=3D0ms < E: Ad=02(O) Atr=02(Bulk) MxPS=3D 64 Ivl=3D0ms < E: Ad=84(I) Atr=02(Bulk) MxPS=3D 64 Ivl=3D0ms < E: Ad=04(O) Atr=02(Bulk) MxPS=3D 64 Ivl=3D0ms < E: Ad=86(I) Atr=02(Bulk) MxPS=3D 64 Ivl=3D0ms < E: Ad=06(O) Atr=02(Bulk) MxPS=3D 64 Ivl=3D0ms < E: Ad=88(I) Atr=01(Isoc) MxPS=3D 256 Ivl=3D1ms < E: Ad=08(O) Atr=01(Isoc) MxPS=3D 256 Ivl=3D1ms < E: Ad=89(I) Atr=01(Isoc) MxPS=3D 16 Ivl=3D1ms < E: Ad (O) Atr=01(Isoc) MxPS=3D 16 Ivl=3D1ms < E: Ad=8A(I) Atr=01(Isoc) MxPS=3D 16 Ivl=3D1ms < E: Ad (O) Atr=01(Isoc) MxPS=3D 16 Ivl=3D1ms < T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=3D 2 Spd=12 MxCh=3D 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. > =20 > 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 =20 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. > =20 > My kernel is a 2.4.23 "home made". My USB conf is the following : CONFIG_VIDEO_CPIA_USB=3Dm CONFIG_USB=3Dy CONFIG_USB_DEVICEFS=3Dy CONFIG_USB_BANDWIDTH=3Dy CONFIG_USB_UHCI=3Dy CONFIG_USB_OHCI=3Dy CONFIG_USB_STORAGE=3Dy CONFIG_USB_STORAGE_DEBUG=3Dy CONFIG_USB_HID=3Dy CONFIG_USB_HIDDEV=3Dy CONFIG_USB_SERIAL=3Dy CONFIG_USB_SERIAL_GENERIC=3Dy Fabien >-- >~Randy >MOTD: Always include version numbers. >_____________________________________________________________________ >Envie de discuter en "live" avec vos amis ? T=E9l=E9charger MSN Messenger >http://www.ifrance.com/_reloc/m la 1=E8re messagerie instantan=E9e de Fran= ce > > =20 > _____________________________________________________________________ Envie de discuter en "live" avec vos amis ? T=E9l=E9charger MSN Messenger http://www.ifrance.com/_reloc/m la 1=E8re messagerie instantan=E9e 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