[Mint/LXDE] Logowanie za pomocą czytnika linii papilarnych


(cabis) #1

Witam,

używam Linux Mint 10 LXDE na laptopie Toshiba R200 mam w nim czytnik linii papilarnych i chciałbym go używać do np. logowania w systemie zamiast wpisywania hasła i tu mam problem bo nie wiem jak to zrobić oraz jakie sterowniki zainstalować :cry:

Przy okazji chciałbym się zapytać czy mogę jakoś wykorzystać moduł TPM (Trusted Platform Module).

Poniżej zamieszczam informacje które mogą być pomocne.

dmidecode

# dmidecode 2.9

SMBIOS 2.3 present.

41 structures occupying 1278 bytes.

Table at 0x000EC000.


Handle 0x0000, DMI type 0, 20 bytes

BIOS Information

	Vendor: TOSHIBA

	Version: Version 1.70

	Release Date: 02/14/2008

	Address: 0xE0000

	Runtime Size: 128 kB

	ROM Size: 1024 kB

	Characteristics:

		ISA is supported

		PCI is supported

		PC Card (PCMCIA) is supported

		PNP is supported

		BIOS is upgradeable

		BIOS shadowing is allowed

		VLB is supported

		Boot from CD is supported

		Selectable boot is supported

		EDD is supported

		Japanese floppy for Toshiba 1.2 MB is supported (int 13h)

		3.5"/720 KB floppy services are supported (int 13h)

		Print screen service is supported (int 5h)

		8042 keyboard services are supported (int 9h)

		Serial services are supported (int 14h)

		Printer services are supported (int 17h)

		ACPI is supported

		USB legacy is supported

		BIOS boot specification is supported

		Function key-initiated network boot is supported


Handle 0x0001, DMI type 1, 25 bytes

System Information

	Manufacturer: TOSHIBA

	Product Name: PORTEGE R200

	Version: PPR20E-01S02NSE

	Serial Number: 

	UUID: 

	Wake-up Type: Power Switch


Handle 0x0002, DMI type 2, 8 bytes

Base Board Information

	Manufacturer: TOSHIBA

	Product Name: Portable PC

	Version: Version A0

	Serial Number: $$0000013t


Handle 0x0003, DMI type 3, 17 bytes

Chassis Information

	Manufacturer: TOSHIBA

	Type: Notebook

	Lock: Not Present

	Version: Version 1.0

	Serial Number: 00000000

	Asset Tag: 0000000000

	Boot-up State: Safe

	Power Supply State: Safe

	Thermal State: Safe

	Security Status: None

	OEM Information: 0x00000000


Handle 0x0004, DMI type 4, 32 bytes

Processor Information

	Socket Designation: IC1050

	Type: Central Processor

	Family: Pentium M

	Manufacturer: Intel Corporation

	ID: D8 06 00 00 00 00 00 00

	Signature: Type 0, Family 6, Model 13, Stepping 8

	Flags: None

	Version:  

	Voltage: 1.0 V

	External Clock: 100 MHz

	Max Speed: 1200 MHz

	Current Speed: 1200 MHz

	Status: Unpopulated

	Upgrade: None

	L1 Cache Handle: 0x0012

	L2 Cache Handle: 0x0013

	L3 Cache Handle: Not Provided


Handle 0x0009, DMI type 5, 20 bytes

Memory Controller Information

	Error Detecting Method: None

	Error Correcting Capabilities:

		None

	Supported Interleave: Other

	Current Interleave: Other

	Maximum Memory Module Size: 1024 MB

	Maximum Total Memory Size: 2048 MB

	Supported Speeds:

		Other

	Supported Memory Types:

		Other

		DIMM

		SDRAM

	Memory Module Voltage: 2.9 V

	Associated Memory Slots: 2

		0x000A

		0x000B

	Enabled Error Correcting Capabilities:

		None


Handle 0x000A, DMI type 6, 12 bytes

Memory Module Information

	Socket Designation: Soldering

	Bank Connections: 0

	Current Speed: 5 ns

	Type: Other SDRAM

	Installed Size: 256 MB (Single-bank Connection)

	Enabled Size: 256 MB (Single-bank Connection)

	Error Status: OK


Handle 0x000B, DMI type 6, 12 bytes

Memory Module Information

	Socket Designation: SO-DIMM

	Bank Connections: 2 3

	Current Speed: 5 ns

	Type: Other DIMM SDRAM

	Installed Size: 1024 MB (Single-bank Connection)

	Enabled Size: 1024 MB (Single-bank Connection)

	Error Status: OK


Handle 0x0012, DMI type 7, 19 bytes

Cache Information

	Socket Designation: CPU Internal

	Configuration: Enabled, Not Socketed, Level 1

	Operational Mode: Write Back

	Location: Internal

	Installed Size: 64 KB

	Maximum Size: 64 KB

	Supported SRAM Types:

		Other

	Installed SRAM Type: Other

	Speed: 1 ns

	Error Correction Type: Single-bit ECC

	System Type: Unified

	Associativity: 8-way Set-associative


Handle 0x0013, DMI type 7, 19 bytes

Cache Information

	Socket Designation: CPU Internal

	Configuration: Enabled, Not Socketed, Level 2

	Operational Mode: Write Back

	Location: Internal

	Installed Size: 2048 KB

	Maximum Size: 2048 KB

	Supported SRAM Types:

		Other

	Installed SRAM Type: Other

	Speed: 1 ns

	Error Correction Type: Multi-bit ECC

	System Type: Unified

	Associativity: 8-way Set-associative


Handle 0x0016, DMI type 8, 9 bytes

Port Connector Information

	Internal Reference Designator:  

	Internal Connector Type: None

	External Reference Designator: EXTERNAL MONITOR PORT

	External Connector Type: DB-15 female

	Port Type: Other


Handle 0x0017, DMI type 8, 9 bytes

Port Connector Information

	Internal Reference Designator:  

	Internal Connector Type: None

	External Reference Designator: BUILT-IN MODEM PORT

	External Connector Type: RJ-11

	Port Type: Modem Port


Handle 0x0018, DMI type 8, 9 bytes

Port Connector Information

	Internal Reference Designator:  

	Internal Connector Type: None

	External Reference Designator: BUILT-IN LAN PORT

	External Connector Type: RJ-45

	Port Type: Network Port


Handle 0x0019, DMI type 8, 9 bytes

Port Connector Information

	Internal Reference Designator:  

	Internal Connector Type: None

	External Reference Designator: INFRARED PORT

	External Connector Type: Infrared

	Port Type: Other


Handle 0x001A, DMI type 8, 9 bytes

Port Connector Information

	Internal Reference Designator:  

	Internal Connector Type: None

	External Reference Designator: USB PORT

	External Connector Type: Access Bus (USB)

	Port Type: USB


Handle 0x001B, DMI type 8, 9 bytes

Port Connector Information

	Internal Reference Designator:  

	Internal Connector Type: None

	External Reference Designator: USB PORT

	External Connector Type: Access Bus (USB)

	Port Type: USB


Handle 0x001C, DMI type 8, 9 bytes

Port Connector Information

	Internal Reference Designator:  

	Internal Connector Type: None

	External Reference Designator: HEADPHONE JACK

	External Connector Type: Mini Jack (headphones)

	Port Type: Other


Handle 0x001D, DMI type 8, 9 bytes

Port Connector Information

	Internal Reference Designator:  

	Internal Connector Type: None

	External Reference Designator: DOCKING INTERFACE PORT

	External Connector Type: Other

	Port Type: Other


Handle 0x001E, DMI type 8, 9 bytes

Port Connector Information

	Internal Reference Designator:  

	Internal Connector Type: None

	External Reference Designator: WIRELESS LAN

	External Connector Type: Other

	Port Type: Other


Handle 0x001F, DMI type 8, 9 bytes

Port Connector Information

	Internal Reference Designator:  

	Internal Connector Type: None

	External Reference Designator: BLUETOOTH

	External Connector Type: Other

	Port Type: Other


Handle 0x0037, DMI type 9, 13 bytes

System Slot Information

	Designation: PCMCIA0

	Type: 32-bit PC Card (PCMCIA)

	Current Usage: In Use

	Length: Other

	ID: Adapter 1, Socket 0

	Characteristics:

		5.0 V is provided

		3.3 V is provided

		PC Card-16 is supported

		Cardbus is supported

		Hot-plug devices are supported


Handle 0x0038, DMI type 9, 13 bytes

System Slot Information

	Designation: SD CARD

	Type: Other

	Current Usage: In Use

	Length: Other

	Characteristics:

		3.3 V is provided

		Hot-plug devices are supported


Handle 0x0058, DMI type 10, 18 bytes

On Board Device 1 Information

	Type: Other

	Status: Enabled

	Description: MODEM

On Board Device 2 Information

	Type: Other

	Status: Enabled

	Description: USB

On Board Device 3 Information

	Type: Video

	Status: Enabled

	Description: VIDEO

On Board Device 4 Information

	Type: Ethernet

	Status: Enabled

	Description: ETHERNET

On Board Device 5 Information

	Type: Sound

	Status: Enabled

	Description: SOUND

On Board Device 6 Information

	Type: Other

	Status: Enabled

	Description: WIRELESS LAN

On Board Device 7 Information

	Type: Other

	Status: Enabled

	Description: BLUETOOTH


Handle 0x0059, DMI type 11, 5 bytes

OEM Strings

	String 1: PPR20E-01S02NSE,SPR2001S02NSES


Handle 0x0069, DMI type 12, 5 bytes

System Configuration Options

	Option 1: TOSHIBA


Handle 0x0080, DMI type 15, 23 bytes

System Event Log

	Area Length: 124 bytes

	Header Start Offset: 0x0000

	Data Start Offset: 0x0000

	Access Method: General-purpose non-volatile data functions

	Access Address: 0x0003

	Status: Valid, Not Full

	Change Token: 0x00000000

	Header Format: No Header

	Supported Log Type Descriptors: 0


Handle 0x0081, DMI type 16, 15 bytes

Physical Memory Array

	Location: System Board Or Motherboard

	Use: System Memory

	Error Correction Type: None

	Maximum Capacity: 1280 MB

	Error Information Handle: Not Provided

	Number Of Devices: 2


Handle 0x0082, DMI type 17, 23 bytes

Memory Device

	Array Handle: 0x0081

	Error Information Handle: Not Provided

	Total Width: 64 bits

	Data Width: 64 bits

	Size: 256 MB

	Form Factor: Other

	Set: Unknown

	Locator: System 0

	Bank Locator: CSA 0

	Type: SDRAM

	Type Detail: Synchronous

	Speed: Unknown


Handle 0x0083, DMI type 17, 23 bytes

Memory Device

	Array Handle: 0x0081

	Error Information Handle: Not Provided

	Total Width: 64 bits

	Data Width: 64 bits

	Size: 1024 MB

	Form Factor: SODIMM

	Set: Unknown

	Locator: DIMM 1

	Bank Locator: CSA 2 & 3

	Type: SDRAM

	Type Detail: Synchronous

	Speed: Unknown


Handle 0x0090, DMI type 19, 15 bytes

Memory Array Mapped Address

	Starting Address: 0x00000000000

	Ending Address: 0x000000A03FF

	Range Size: 641 kB

	Physical Array Handle: 0x0081

	Partition Width: 0


Handle 0x0091, DMI type 19, 15 bytes

Memory Array Mapped Address

	Starting Address: 0x00000100000

	Ending Address: 0x0004F8003FF

	Range Size: 1301505 kB

	Physical Array Handle: 0x0081

	Partition Width: 0


Handle 0x00A0, DMI type 20, 19 bytes

Memory Device Mapped Address

	Starting Address: 0x00000000000

	Ending Address: 0x000000A03FF

	Range Size: 641 kB

	Physical Device Handle: 0x0082

	Memory Array Mapped Address Handle: 0x0090

	Partition Row Position: 1


Handle 0x00A1, DMI type 20, 19 bytes

Memory Device Mapped Address

	Starting Address: 0x00000000000

	Ending Address: 0x000100003FF

	Range Size: 262145 kB

	Physical Device Handle: 0x0082

	Memory Array Mapped Address Handle: 0x0091

	Partition Row Position: 1


Handle 0x00A2, DMI type 20, 19 bytes

Memory Device Mapped Address

	Starting Address: 0x00010000000

	Ending Address: 0x000500003FF

	Range Size: 1048577 kB

	Physical Device Handle: 0x0083

	Memory Array Mapped Address Handle: 0x0091

	Partition Row Position: 1


Handle 0x00B0, DMI type 21, 7 bytes

Built-in Pointing Device

	Type: Touch Pad

	Interface: PS/2

	Buttons: 2


Handle 0x00B1, DMI type 22, 26 bytes

Portable Battery

	Location: 1st Battery

	Manufacturer: TOSHIBA

	Manufacture Date: 05/24/05

	Serial Number: 0000000893

	Name: 35P24R

	Chemistry: Lithium Ion

	Design Capacity: 0 mWh

	Design Voltage: 10800 mV

	SBDS Version: Not Specified

	Maximum Error: Unknown

	OEM-specific Information: 0x00000000


Handle 0x00B2, DMI type 22, 26 bytes

Portable Battery

	Location: 2nd Battery

	Manufacturer: TOSHIBA

	Manufacture Date: 05/21/04

	Serial Number: 2600000125

	Name: CG606B

	Chemistry: Lithium Ion

	Design Capacity: 0 mWh

	Design Voltage: 10800 mV

	SBDS Version: Not Specified

	Maximum Error: Unknown

	OEM-specific Information: 0x00000000


Handle 0x00B7, DMI type 24, 5 bytes

Hardware Security

	Power-On Password Status: Disabled

	Keyboard Password Status: Disabled

	Administrator Password Status: Disabled

	Front Panel Reset Status: Disabled


Handle 0x00D0, DMI type 32, 11 bytes

System Boot Information

	Status: No errors detected


Handle 0x00E0, DMI type 136, 6 bytes

OEM-specific Type

	Header and Data:

		88 06 E0 00 5A 5A


Handle 0xFEFF, DMI type 127, 4 bytes

End Of Table

lsmod

Module                  Size  Used by

hidp                   11664  1 

hid                    67742  1 hidp

rfcomm                 33811  4 

binfmt_misc             6599  1 

sco                     7998  2 

bnep                    9542  2 

l2cap                  37008  21 hidp,rfcomm,bnep

parport_pc             26058  0 

ppdev                   5556  0 

dm_crypt               11385  0 

arc4                    1165  2 

snd_intel8x0           25632  1 

snd_ac97_codec         99227  1 snd_intel8x0

ac97_bus                1014  1 snd_ac97_codec

btusb                  10969  4 

snd_pcm                71475  2 snd_intel8x0,snd_ac97_codec

bluetooth              50500  10 hidp,rfcomm,sco,bnep,l2cap,btusb

snd_seq_midi            4588  0 

ath5k                 130051  0 

joydev                  8735  0 

snd_rawmidi            17783  1 snd_seq_midi

pcmcia                 35973  0 

mac80211              231541  1 ath5k

snd_seq_midi_event      6047  1 snd_seq_midi

snd_seq                47174  2 snd_seq_midi,snd_seq_midi_event

snd_timer              19067  2 snd_pcm,snd_seq

ath                     8153  1 ath5k

snd_seq_device          5744  3 snd_seq_midi,snd_rawmidi,snd_seq

cfg80211              144470  3 ath5k,mac80211,ath

yenta_socket           21518  0 

tpm_infineon            7937  0 

snd                    49006  9 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device

pcmcia_rsrc            10566  1 yenta_socket

pcmcia_core            14657  3 pcmcia,yenta_socket,pcmcia_rsrc

psmouse                59033  0 

tpm                    13741  1 tpm_infineon

tpm_bios                5310  1 tpm

soundcore                880  1 snd

snd_page_alloc          7120  2 snd_intel8x0,snd_pcm

serio_raw               4022  0 

toshiba_bluetooth       1723  0 

toshiba_acpi            8454  0 

lp                      7342  0 

parport                31492  3 parport_pc,ppdev,lp

dm_raid45              81721  0 

xor                    15136  1 dm_raid45

btrfs                 489451  0 

zlib_deflate           19266  1 btrfs

crc32c                  2531  1 

libcrc32c                887  1 btrfs

i915                  291004  2 

drm_kms_helper         30200  1 i915

drm                   168054  3 i915,drm_kms_helper

intel_agp              26360  2 i915

sdhci_pci               6339  0 

sdhci                  15890  1 sdhci_pci

led_class               2633  2 ath5k,sdhci

sky2                   45127  0 

i2c_algo_bit            5168  1 i915

video                  18712  1 i915

agpgart                32011  2 drm,intel_agp

output                  1883  1 video

lsusb

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 004 Device 002: ID 0930:0508 Toshiba Corp. Integrated Bluetooth HCI

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Bus 002 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor

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

lspci

00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)

00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)

00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)

00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)

00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)

00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)

00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)

00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)

00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)

00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)

00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)

00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)

00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)

01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 15)

02:05.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)

02:0b.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller

02:0b.4 SD Host controller: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller

(Sawyer47) #2

Zobacz http://www.n-view.net/Appliance/fingerprint/

Używałem na Ubuntu 10.10, obecnie na 11.04 mam problemy, więc na razie odinstalowałem.


(cabis) #3

ok zainstalowałem ale sukces jest tylko częściowy bo fajnie to działa w konsoli z sudo, ale nadal nie mogę się w ten sposób zalogować, w ustawieniach mam nieaktywne pola przy gdm i kdm, z tego co wyczytałem wychodzi, że to przez to iż mam LXDE a nie gnome czy KDE :frowning: da się coś z tym jeszcze wykombinować ?


(dragonn) #4

A jakiego używasz menadżera logowania? Nie wiem co tam jest w Mintcie/Lxde, na pewno da się to skonfigurować, całość pewnie korzysta z PAM, jeżeli menadżer logowania go wspiera to na pewno da się to zrobić.


(system) #5

Jest tam gdm. Obsługuje PAM.


(dragonn) #6

To dobrze. cabis pokaż zawartość plików /etc/pam.d/sudo i cat /etc/pam.d/gdm


(cabis) #7

Mówiąc szczerze nawet nie wiem ale podejrzewam że jest to domyślny dla LXDE czyli LXDM, nie wydaje mi się aby to był GDM bo wtedy chyba już by to działało prawda ?

EDIT: dobra już wiem na 100% mam LXDM

zawartość /etc/pam.d/sudo

#%PAM-1.0


@include common-auth

@include common-account


session required pam_permit.so

session required pam_limits.so

zawartość /etc/pam.d/lxdm

#%PAM-1.0

auth requisite pam_nologin.so

auth required pam_env.so readenv=1

auth required pam_env.so readenv=1 envfile=/etc/default/locale

auth sufficient pam_succeed_if.so user ingroup nopasswdlogin

@include common-auth

auth optional pam_gnome_keyring.so

@include common-account

session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close

session required pam_limits.so

@include common-session

session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open

session optional pam_gnome_keyring.so auto_start

@include common-password

-- Dodane wtorek, 17 maja 2011, 01:48 --

gdyby kogoś to jeszcze interesowało to rozwiązałem problem najprostszym sposobem czyli najpierw zainstalowałem GDM i ustawiłem go jako domyślny menadżer logowania a potem usunąłem LXDM i teraz wszystko już działa tak jak chciałem :slight_smile: