LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-24-2015, 03:03 PM   #1
jimicloudstuff
LQ Newbie
 
Registered: May 2014
Location: really????
Distribution: debian mint kubuntu in that order.
Posts: 11

Rep: Reputation: Disabled
Question SIM Card Reader Works In Windows, Seems to activate pl2303 driver in Linux, no luck


I have been trying to get what I believe to be a pl2303 serial SIM card reader/ writer to work under Linux Mint for a while now. I used it on a friend's windows computer and it worked fine. I tried WINE but no detection of hardware. All tutorials say that the driver has been in the kernel for sometime, however, I cannot access the device. Any ideas?
Below is the printout of dmesg|tail involving the device:

[ 1951.908690] pl2303 2-1.4:1.0: pl2303 converter detected
[ 1951.912779] usb 2-1.4: pl2303 converter now attached to ttyUSB0
[ 1954.373493] usb 2-1: USB disconnect, device number 2
[ 1954.373499] usb 2-1.1: USB disconnect, device number 4
[ 1954.374228] usb 2-1.4: USB disconnect, device number 5
[ 1954.377346] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[ 1954.377374] pl2303 2-1.4:1.0: device disconnected
[ 1955.072030] usb 4-1: new full-speed USB device number 2 using ohci-pci
[ 1955.256027] usb 4-1: device descriptor read/64, error -62
[ 1955.540024] usb 4-1: device descriptor read/64, error -62


As the first line reads it seems to be detected and `lsmod|grep pl2303`
shows both kernel mods pl2303 and usbserial have been activated; still running too after device removed......ANY IDEAS??? I just need a direction, or a wonderful answer and a GUI access, but command line will do. Any help would be greatly appreciated.
 
Old 05-25-2015, 04:41 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,479

Rep: Reputation: Disabled
Being found but disconnected suggests to me that the driver isn't available to be associated/loaded.

Take a look in /lib/firmware for a driver, if not there, you probably need to download/install it.
 
Old 05-25-2015, 05:29 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Looks like some SIM card readers appear as a USB serial port device to the host computer. At the moment it appears to be working and it is up to the application to access the device. A quick google did not find much searching for software. I did find monosim. http://monosim.integrazioneweb.com/
 
Old 05-26-2015, 01:13 PM   #4
jimicloudstuff
LQ Newbie
 
Registered: May 2014
Location: really????
Distribution: debian mint kubuntu in that order.
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks for the advice, I'll try and get back to the thread, I have heard that the pl2303 driver is in the kernel (and it is) but that some of these devices from China are pl2303x and do not work with kernel driver. I have found a patch that claims to fix it and I am working my way through the code just to be sure it really is a patch not some nasty virus.
 
Old 05-26-2015, 01:23 PM   #5
jimicloudstuff
LQ Newbie
 
Registered: May 2014
Location: really????
Distribution: debian mint kubuntu in that order.
Posts: 11

Original Poster
Rep: Reputation: Disabled
Also, when running monosim-gtk I get the following error messages in return :
/dev/ttyS0 = WRONG RESPONSE [9F??] []
/dev/ttyS1 = WRONG RESPONSE [9F??] []
/dev/ttySX = Input / Output error

This leads me to believe the device is showing itself but perhaps I have the settings wrong...been a long time since I worked with serial port, real or make believe. Clearly though it is on /dev/ttyS0 or /dev/ttyS1 . any idea how to "talk" to a serial device command line? Thanks again.
 
Old 05-26-2015, 02:30 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
ttyUSB0 is ID for the device and you can use minicom to communicate with it. cutecom is another terminal program for sending binary data.
 
Old 05-27-2015, 11:53 AM   #7
jimicloudstuff
LQ Newbie
 
Registered: May 2014
Location: really????
Distribution: debian mint kubuntu in that order.
Posts: 11

Original Poster
Rep: Reputation: Disabled
Cool

Established contact with device using minicom on ttyUSB0 and ttyS0 (they seem to be linked somehow ln -s or something). But thanks, cutecom has allowed a graphical system that is more flexible then monosim, though I am continuing to try
to get monosim to work. Thanks for your quick help. I consider this issue resolved. Thanks again. If anyone else is featuring similar issues please feel free to contact me for old log files, config files etc. open source works best when we all have our minds open.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with sim card reader/multicard reader ut0ugh1 Linux - Hardware 11 11-27-2012 09:04 AM
How to setup SIM card reader on Ubuntu joboy Linux - Hardware 2 06-25-2011 11:10 AM
USB SIM Card Reader...Any Linux editing Programs? Balarabay1 Linux - Hardware 4 02-01-2011 08:23 PM
HOWTO Activate 6-1 Card Reader Suse 9.1 Kikazaru Linux - Newbie 3 08-19-2004 08:18 AM
USB Card Reader HowTo = No luck ajcrm125 Linux - Hardware 7 04-08-2004 06:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration