Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
the /dev was not having any ttyUSB and I managed to add ttySUB0 and ttyUSB1.
I can not find any info on how to connect my card readerto the ttyUSB dev.
thank you forthe precious help and ciao!
Generally, USB smart-card readers do not require direct serial access. If you have the usb-storage driver (try doing “modprobe usb-storage”), your smart-card readers should show up under /dev as block devices (e.g., /dev/sd[a-z] depending on your other block devices) which are mountable just as any other block device.
Some distributions do not have a certain setting correctly set that provides more than a certain amount of luns (a SCSI term). Setting this is done before compiling the kernel. Post the print out of "zcat /proc/config.gz".
Make sure sd_mod or sd-mod and usb-storage or usb_storage are loaded. Having sd_mod as built-in breaks USB storage in Linux.
Some people inserted a card in the reader before attaching to the computer and then it came up as a drive. Others have the card reader connected and inserted the card in the card reader. In a few seconds later fdisk shows the card as a drive. Some manufactures sell Linux compatible card readers while others do not state that it works in Linux. It is a trial and error.
hallo mens, thank you for tacking the time to answer to my question.
I will be more precise.
the debian computer I have (laying under the roof) is acting as a file server (samba shares) and as a card server for my satellite TV network.
on it I am running a conditional access emulator that talks to the card - cards that are connected to it and its hares the subscription on all the satellite receivers there are on my network (obviously satellite receiver with linux operating system (dreambox7000 and so on...)
now I have one phoeninx (a card reader) interface connected to tyhe COM1 of the PC but due to the slowness of the COM1 chain I see from time to time some interruption of the images on the sat receivers attached to it.
I have sourced a USB card reader that has a much quicker communication speed, I installed usbview and I can see it on the list of USB deices but I am not able to assign it to thye ttyUSB0 that I have created. I need help on this
in fact even of the emulation softare is has been written to communicate via serial I can telli him to use another tty (I will change ttyS0 with ttyUSB0). in fact I must emulate a serialcommunication.
at least, I think it shoud work! ;-)
ciao!!!
Last edited by donald_duck; 02-25-2007 at 08:52 AM.
If I understand you right, the interface that the software can only handle is serial communication to read card and you thought that a USB card reader will work. This will not happen because USB storage and serial communication are two different connections. One creates an input/output device while the other shows up like a disk node (/dev/sda, /dev/sdb, /dev/sdc, ...).
You will have to invest time to learn C or C++ to change the code to the emulation software. Another way is to create an awkward wrapper that converts serial communication to USB storage, but I do not think this is feasible. I suggest stick with serial communication or change the code of the emulation software to access disk nodes like /dev/sda.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.