Skip to contentSkip to conversation

PQI CompactFlash Reader

DISCUSSION Fabien 3 participants 6 messages Jan 7, 2004

lore
Share & tools
lore

Fabien

author
#0 lore raw

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 !

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 ?

Regards,

Fabien

_____________________________________________________________________
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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw

On Wed, 07 Jan 2004 01:02:31 +0100 Fabien <[email protected]> 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).

--
~Randy
MOTD: Always include version numbers.

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

author
#2 lore raw
In reply to Fabien

Hello,

thanks for your reply !

Quoted 26 lines · Randy.Dunlap

On Wed, 07 Jan 2004 01:02:31 +0100 Fabien <[email protected]> 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.

Quoted 10 lines
| 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

Fabien

Quoted 9 lines

--
~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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#3 lore raw
In reply to Fabien

On Wed, 07 Jan 2004 18:42:40 +0100 Fabien <[email protected]> wrote:

| Hello,
| 
| thanks for your reply !
| 
| Randy.Dunlap a écrit :
| 
| >On Wed, 07 Jan 2004 01:02:31 +0100 Fabien <[email protected]> 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 .

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.

We are a bit short on device info and on kernel version info here.

--
~Randy
MOTD: Always include version numbers.

-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

author
#4 lore raw
In reply to Fabien

Hello,

Here is more informations :

Quoted 59 lines · Randy.Dunlap

On Wed, 07 Jan 2004 18:42:40 +0100 Fabien <[email protected]> wrote:

| Hello,
| 
| thanks for your reply !
| 
| Randy.Dunlap a écrit :
| 
| >On Wed, 07 Jan 2004 01:02:31 +0100 Fabien <[email protected]> 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
Quoted 5 lines

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

Quoted 7 lines

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 !

Quoted 3 lines

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

Quoted 9 lines

--
~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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#5 lore raw
In reply to Fabien
Quoted 6 lines · Fabien
< 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)

Sorry, this is a vendor specific device that needs firmware downloaded to it before it will work. It will not work on Linux right now :(

greg k-h

-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel