Built-in card-reader doesn't work. HP Compaq nx6325 notebook
- by user10940
I have a HP-Compaq nx6325 notebook with an built-in card-reader (SD, MS/Pro, MMC, SM, XD) and the ubuntu (10.10.) don't see it.
I've tried to install it manually, with this steps (and with this tifmxx driver), but doesn't work.
The compile log:
$ echo /home/tvera/downloads/cr_install
/home/tvera/downloads/cr_install
$ make -C /lib/modules/2.6.35-25-generic/build M=/home/tvera/downloads/cr_install
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-25-generic'
CC [M] /home/tvera/downloads/cr_install/tifm_core.o
In file included from /home/tvera/downloads/cr_install/tifm_core.c:12:
/home/tvera/downloads/cr_install/linux/tifm.h:128: error: field ‘cdev’ has incomplete type
/home/tvera/downloads/cr_install/tifm_core.c: In function ‘tifm_uevent’:
/home/tvera/downloads/cr_install/tifm_core.c:69: warning: passing argument 1 of ‘add_uevent_var’ from incompatible pointer type
include/linux/kobject.h:244: note: expected ‘struct kobj_uevent_env *’ but argument is of type ‘char **’
/home/tvera/downloads/cr_install/tifm_core.c:69: warning: passing argument 2 of ‘add_uevent_var’ makes pointer from integer without a cast
include/linux/kobject.h:244: note: expected ‘const char *’ but argument is of type ‘int’
/home/tvera/downloads/cr_install/tifm_core.c: At top level:
/home/tvera/downloads/cr_install/tifm_core.c:161: warning: initialization from incompatible pointer type
/home/tvera/downloads/cr_install/tifm_core.c: In function ‘tifm_free’:
/home/tvera/downloads/cr_install/tifm_core.c:170: warning: type defaults to ‘int’ in declaration of ‘__mptr’
/home/tvera/downloads/cr_install/tifm_core.c:170: warning: initialization from incompatible pointer type
/home/tvera/downloads/cr_install/tifm_core.c: At top level:
/home/tvera/downloads/cr_install/tifm_core.c:177: error: unknown field ‘release’ specified in initializer
/home/tvera/downloads/cr_install/tifm_core.c:178: warning: initialization from incompatible pointer type
/home/tvera/downloads/cr_install/tifm_core.c: In function ‘tifm_alloc_adapter’:
/home/tvera/downloads/cr_install/tifm_core.c:190: error: implicit declaration of function ‘class_device_initialize’
/home/tvera/downloads/cr_install/tifm_core.c: In function ‘tifm_add_adapter’:
/home/tvera/downloads/cr_install/tifm_core.c:211: error: ‘BUS_ID_SIZE’ undeclared (first use in this function)
/home/tvera/downloads/cr_install/tifm_core.c:211: error: (Each undeclared identifier is reported only once
/home/tvera/downloads/cr_install/tifm_core.c:211: error: for each function it appears in.)
/home/tvera/downloads/cr_install/tifm_core.c:212: error: implicit declaration of function ‘class_device_add’
/home/tvera/downloads/cr_install/tifm_core.c: In function ‘tifm_remove_adapter’:
/home/tvera/downloads/cr_install/tifm_core.c:237: error: implicit declaration of function ‘class_device_del’
/home/tvera/downloads/cr_install/tifm_core.c: In function ‘tifm_free_adapter’:
/home/tvera/downloads/cr_install/tifm_core.c:243: error: implicit declaration of function ‘class_device_put’
/home/tvera/downloads/cr_install/tifm_core.c: In function ‘tifm_alloc_device’:
/home/tvera/downloads/cr_install/tifm_core.c:275: error: ‘struct device’ has no member named ‘bus_id’
/home/tvera/downloads/cr_install/tifm_core.c:275: error: ‘BUS_ID_SIZE’ undeclared (first use in this function)
make[2]: *** [/home/tvera/downloads/cr_install/tifm_core.o] Error 1
make[1]: *** [_module_/home/tvera/downloads/cr_install] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-25-generic'
make: *** [all] Error 2
The output of lsusb:
Bus 001 Device 005: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter
Bus 003 Device 003: ID 0458:003a KYE Systems Corp. (Mouse Systems) NetScroll+ Mini Traveler
Bus 003 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub