All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabien <fab.galac@ifrance.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: PQI CompactFlash Reader
Date: Wed, 07 Jan 2004 21:10:22 +0000	[thread overview]
Message-ID: <3FFC75BE.7000803@ifrance.com> (raw)
In-Reply-To: <3FFB4C97.3060807@ifrance.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1252", Size: 5665 bytes --]

Hello,

Here is more informations :

Randy.Dunlap a écrit :

>On Wed, 07 Jan 2004 18:42:40 +0100 Fabien <fab.galac@ifrance.com> wrote:
>
>| Hello,
>| 
>| thanks for your reply !
>| 
>| Randy.Dunlap a écrit :
>| 
>| >On Wed, 07 Jan 2004 01:02:31 +0100 Fabien <fab.galac@ifrance.com> 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\x02 Lev\x01 Prnt\x01 Port\0 Cnt\x01 Dev#=  4 Spd\x12  MxCh= 0
< D:  Ver= 1.00 Clsÿ(vend.) Subÿ Protÿ MxPSd #Cfgs=  1
< P:  Vendor\acc ProdID\004 Rev= 0.01
< C:* #Ifs= 1 Cfg#= 1 Atr€ MxPwr\x100mA
< I:  If#= 0 Alt= 0 #EPs= 0 Clsÿ(vend.) Subÿ Protÿ Driver=(none)
< I:  If#= 0 Alt= 1 #EPs\x13 Clsÿ(vend.) Subÿ Protÿ Driver=(none)
< E:  Ad(I) Atr\x03(Int.) MxPS=  16 Ivl\x10ms
< E:  Ad‚(I) Atr\x02(Bulk) MxPS=  64 Ivl=0ms
< E:  Ad\x02(O) Atr\x02(Bulk) MxPS=  64 Ivl=0ms
< E:  Ad„(I) Atr\x02(Bulk) MxPS=  64 Ivl=0ms
< E:  Ad\x04(O) Atr\x02(Bulk) MxPS=  64 Ivl=0ms
< E:  Ad†(I) Atr\x02(Bulk) MxPS=  64 Ivl=0ms
< E:  Ad\x06(O) Atr\x02(Bulk) MxPS=  64 Ivl=0ms
< E:  Adˆ(I) Atr\x01(Isoc) MxPS=  16 Ivl=1ms
< E:  Ad\b(O) Atr\x01(Isoc) MxPS=  16 Ivl=1ms
< E:  Ad‰(I) Atr\x01(Isoc) MxPS=  16 Ivl=1ms
< E:  Ad	(O) Atr\x01(Isoc) MxPS=  16 Ivl=1ms
< E:  AdŠ(I) Atr\x01(Isoc) MxPS=  16 Ivl=1ms
< E:  Ad
(O) Atr\x01(Isoc) MxPS=  16 Ivl=1ms
< I:  If#= 0 Alt= 2 #EPs\x13 Clsÿ(vend.) Subÿ Protÿ Driver=(none)
< E:  Ad(I) Atr\x03(Int.) MxPS=  64 Ivl\x10ms
< E:  Ad‚(I) Atr\x02(Bulk) MxPS=  64 Ivl=0ms
< E:  Ad\x02(O) Atr\x02(Bulk) MxPS=  64 Ivl=0ms
< E:  Ad„(I) Atr\x02(Bulk) MxPS=  64 Ivl=0ms
< E:  Ad\x04(O) Atr\x02(Bulk) MxPS=  64 Ivl=0ms
< E:  Ad†(I) Atr\x02(Bulk) MxPS=  64 Ivl=0ms
< E:  Ad\x06(O) Atr\x02(Bulk) MxPS=  64 Ivl=0ms
< E:  Adˆ(I) Atr\x01(Isoc) MxPS= 256 Ivl=1ms
< E:  Ad\b(O) Atr\x01(Isoc) MxPS= 256 Ivl=1ms
< E:  Ad‰(I) Atr\x01(Isoc) MxPS=  16 Ivl=1ms
< E:  Ad	(O) Atr\x01(Isoc) MxPS=  16 Ivl=1ms
< E:  AdŠ(I) Atr\x01(Isoc) MxPS=  16 Ivl=1ms
< E:  Ad
(O) Atr\x01(Isoc) MxPS=  16 Ivl=1ms
< T:  Bus\x02 Lev\x01 Prnt\x01 Port\x01 Cnt\x02 Dev#=  2 Spd\x12  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

  parent reply	other threads:[~2004-01-07 21:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-07  0:02 PQI CompactFlash Reader Fabien
2004-01-07  0:15 ` Randy.Dunlap
2004-01-07 17:42 ` Fabien
2004-01-07 18:22 ` Randy.Dunlap
2004-01-07 21:10 ` Fabien [this message]
2004-01-07 23:10 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FFC75BE.7000803@ifrance.com \
    --to=fab.galac@ifrance.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.