Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56144 - towitoko / libchipcard udev fix
Summary: towitoko / libchipcard udev fix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-05 09:50 UTC by Hans Oischinger
Modified: 2004-09-20 15:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Oischinger 2004-07-05 09:50:30 UTC
Accessing usb chipcard readers is not possible with udev:
The chipcard daemon will not find usb/tts/0 as udev doesn't generate these symlinks. I fixed it by adding the following udev rule:
KERNEL="ttyUSB[0-9]*", NAME="tts/USB%n" SYMLINK="usb/tts/%n"

I'm not sure if towitoko or libchipcard uses these hardcoded device names, nevertheless it won't work without them.

Reproducible: Always
Steps to Reproduce:
1.emerge libchipcard towitoko
2.Edit /etc/chipcardd.conf to use USB0 (or whatever one you want)
3.Start the chipcardd

Actual Results:  
The daemon is still running, but the reader cannot be detected or accessed. 

Expected Results:  
We should add a udev rule that generates these symlinks, like: 
KERNEL="ttyUSB[0-9]*", NAME="tts/USB%n" SYMLINK="usb/tts/%n" 
 
Maybe the better approach would be a better device support in libchipcard
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-09-20 15:59:38 UTC
Should be fixed in the latest version of udev.