TtyS4 and ttyS5 how do I activate using 'setserial' or some other way
Is there a 'setserial' expert in the house?
I've got a daughter board/card that has a bunch of I/O on it. All devices work except the two serial ports. I have 4 serial ports on the main board plus these two on the daughter board for a total of 6 serial ports. The 4 ttyS* on the main board work but I can't get /dev/ttyS4 and /dev/ttyS5 to work. (these serial ports on this exact hardware work on Solaris 10 x86)
Here's what I've tried / found out so far:
Using 8250.nr_uarts=6" parameter to boot options in /boot/grub/grub.conf so once booted there is /dev/ttyS4 and /dev/tty5 (in addition to the standard ones).
Now I want to use "lspci -v" to find UART device info for ttyS4 and ttyS5 so I can use 'setserial' to specify port, interrupt and so on. This is where I run into trouble. I see from a block diagram from the manufacturer of the hardware that there are two Exar DUART chips: XR17D152 DUART for ttyS2 and ttyS3, and a XR16L2551 DUART for ttyS4 and ttyS5. Problem is, when I do a 'lspci -v' only the XR17D152 DUART for ttyS2 and ttyS3 shows up. 'lspci -v' does not report anything for the XR17D152 DUART, which is for ttyS4 and ttyS5. I look at a block diagram of the daughter board where the XR17D152 DUART is and see it is NOT on the main bus but under a PLX PCI9656 I/O accelerator chip. I do see the info for the PCI9656 chip when I 'lspci -v' but not the DUART that's attached to it. With nothing to lose, I tried using the 'lspci' info from the PCI965 I/O accelerator as parameters to setserial for ttyS4 and ttyS5, but of course that didn't get results. Furthermore I see when I 'dmesg | grep tty' that that serials ttyS2 and ttyS3 use MMIO, which I'm not sure that 'setserial' can specify MMIO, only port IO.
# lspci -v - output that shows the I/O acceler
04:05.0 Serial controller: Exar Corp. XR17C/D152 Dual PCI UART (rev 02) (prog-if 02 [16550])
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 17
Region 0: Memory at 80503000 (32-bit, non-prefetchable) [size=1K]
Kernel driver in use: serial
02:01.0 Bridge: PLX Technology, Inc. Device 9601 (rev ba)
Subsystem: PLX Technology, Inc. Device 9656
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 7
Region 0: Memory at 80160000 (32-bit, non-prefetchable) [size=512]
Region 1: I/O ports at 3000 [size=256]
Region 2: Memory at 80040000 (32-bit, non-prefetchable) [size=128K]
Region 3: Memory at 80060000 (32-bit, non-prefetchable) [size=128K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [48] CompactPCI hot-swap <?>
Capabilities: [4c] Vital Product Data
Unknown large resource type 35, will not decode more.
#dmesg | grep tty - this output shows that ttyS2 and ttyS3 use MMIO, there is no info for the XR16L2551, because it's not detected. I need to know how to tell the kernel about it.
[ 2.008167] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 2.033915] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 2.074052] 00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 2.100632] 00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 2.110283] 0000:04:05.0: ttyS2 at MMIO 0x80503000 (irq = 17) is a XR17D15X
[ 2.116775] 0000:04:05.0: ttyS3 at MMIO 0x80503200 (irq = 17) is a XR17D15X
Questions:
- XR16L2551 DUART (serial ttyS4 and ttyS5) is not detected by 'lspci -v' Can I find it some other way? Does it have a known MMIO? A way to probe for it’s MMIO?
- Can setserial specify MMIO for ttyS4 and ttyS5 once I find out what it is?
- Since the XR16L2551 resides under a PLX Technology PCI9656 chip which IS found by 'lspci -v' can I use memory info from it to probe for the XR16L2551, or can I even use the 'lspci' info from the PLX chip as parameters to 'setserial?
- How can I get these serials, ttyS4 and ttyS5 to work?
Last edited by Mogombus (2012-04-06 22:54:24)
lizziepaige wrote:
... having nothing but problems ...
See your other posts...
https://discussions.apple.com/message/20666642#20666642
https://discussions.apple.com/message/20666702#20666702
Similar Messages
-
How can i activate use cellular data for facebook
how can i activate use cellular data for facebook
pepaycustodio wrote:
how can i activate use cellular data for facebook
Settings > Cellular > Cellular Data: ON -
Ive tried almost EVERYTHING and i still cant track my iPod that was recently stolen. Ive called apple been all over the website and still no way of tracking it. What are some other ways!?
Only the old fashioned way, like if you lost a wallet or purse.
- If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
- You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
- If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
- Change the passwords for all accounts used on the iPod and report to police
- There is no way to prevent someone from restoring the iPod (it erases it) using it unless you had iOS 7 on the device. With iOS 7, one has to enter the Apple ID and password to restore the device.
- Apple will do nothing without a court order
Reporting a lost or stolen Apple product
- iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number -
When i connect to iTunes it says that i have enter my passcode to go in, but i have forgotten my passcode, and the power button is not worrking, is their any other way to do it without the computer or any other internet stuff or stores,
No. You need a computer with iTunes and an internet connection.
Place the iPod in recovery mode using one of these programs and then restore via iTunes:
For PC
RecBoot: Easy Way to Put iPhone into Recovery Mode
If necessary:
Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
and
RecBoot tip
For MAC or PC
The Firmware Umbrella - TinyUmbrella
For how to restore:
iTunes: Restoring iOS software
To restore from backup see:
iOS: How to back up
If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
You can redownload most iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
How to lock the Properties bar to a toolbar or in some other way, make it permanently open?
Or can that checkbox 'keep tool selected' be made a permanent toolbar item?
I use the rubber stamp tool several times on multiple pages in certain pdfs and found that if I open the 'properties bar', I can select 'keep tool selected' and stamp away as much as I like without having to choose the stamp tool dropdown menu and select 'custom' each time I stamp. I appreciate the recent update that added a recently stamped stamps area and not having to click 'proceed' each time.You can't lock the Properties Bar, but you also don't need to in order to make the Stamp tool remain selected.
Just right-click it in the Comment menu on the right and select "Keep Tool Selected". -
If my phone was stolen and the thief turned off my iCloud, is there any other way to find it?
Only using the same technique you would use to find your wallet, look for it.
-
I have downloaded infinity blade 3 and then deleted it because i wanted to install some other apps. but now i am trying to install the game again but its saying error 0xE8000004. I have about 6.5 GB space on my iPad. what should i do..
These might help
http://support.apple.com/kb/TS3221
http://support.apple.com/kb/TS3694 -
Why can't you print a cd jewel case listing of songs using iTunes. Is there some other way to do this without using iTunes?
Hi spider1950,
As long as you have the most recent update of iTunes (11.0.4), you should be able to print a jewel case insert directly from iTunes. You may find the following page useful:
Apple Support: Print CD Inserts
https://www.apple.com/findouthow/music/itunes.html#makecd-printinserts
Regards,
- Brenden -
The volume up button of my iphone 5 is not working and i can barelly listen my conversations, is there any other way that let me raise the volume?
Yes go to settings, general, accessability and turn on assisive touch. A little square will appear, click it click more
(the arrow) and select volume up. For more information tell me. -
Please help me, My I Phone 4S activation is requisting but i fogot my old i cloud id and password, and also updated to ios 8, How I can activate my device?
<http://support.apple.com/kb/ht5625>
<http://support.apple.com/kb/HT5787> -
How do I activate/use the subwoofer on a 5.1 Dolby Digital-system in ga
Hello guys,
in most games I don't have sound on the subwoofer of my Onkyo TX-DS 575. The Onkyo receiver is set to multi-channel input (which basically connects the signal through the receiver without altering it) and the separate channels (5 surround speakers + subwoofer) are connected to the soundcard properly and are working. I have confirmed this using PowerDVD set to 6 speakers (not SPDIF but the setting where the decoding is done in software)...there the subwoofer is beeing used. But almost no game (e.g. Half-Life 2 or S. T.A.L.K.E.R.) does bring any sound to the subwoofer even if 5. is choosen in the options. This is quite a problem since my other speakers are rather small and don't have good bass.
I think the problem is that the games don't calculate the sound for the extra subwoofer channel. So is there any setting in the drivers or any program that makes something like the average of the other 5 channels and sends it to the subwoofer? Or is there any other way to get sound to the subwoofer in games?
Thanks,
AlexanderJust found it myself... I forgot to check this box in the AudioHQ (it is probably called "bass redirection" in the english version):
http://img252.imageshack.us/my.php?image=subwooferux.jpg
So it's working now but thanks anyway...
Alexander -
How can i mimic the look of some other movies?
Hello, i enjoy using Color to try and mimim how some movies look. I know how to make things look like Minority Report but i was wondering about other movies that may have a cool look to them. Is there a site that may have a lot of them or do any of you know any ideas off the bat? Thanks!
Expectations.
The lines are definitely blurred now, even more so than in the past ten years. People who do not do this on a day in day out basis cannot know what is possible, impossible, practical or somewhere in between. A creative producer brought me some 16mm film (a little more than 10 years ago) and stated that the look he was going for was reminiscent of Degas' "Boater's Party", Oil on canvas, 1880.
"Sure", I said, I'll just slap on the "Degas" filter -- which is not the "DeGauss" button, by the way.
... I don't think I'll finish this anecdote, to protect the guilty.
Photoshop types are used to layering up these kinds of treatments and some day we might be able to, too. (And finish the job within the same fiscal year!)
jPo -
Confused about wheather to use session or some other technology
i have two jsp pages one is index.jsp and other one is display.jsp,from index.jsp i am passing a string value and collecting it in display.jsp ,after collecting it i am making use of that value in a sql query to display the result from the data base,and i am getting one line (row) of display ,when i repeat the process again that row is over written which i do not want , what i want is as long as i keep sending strings from index.jsp tp disply.jsp the number of rows should be added (as a display in display.jsp)
and i wanted to do that in jsp environment only as i am not aware of struts and some other technology.some sample code of display.jsp is as follows
String INDENT_NUMBER = request.getParameter("indent_number");
query1="select some data from some tables where a.INDENT_NUMBER = '"+INDENT_NUMBER+"'";
while(rs.next){
get some values here to display
like
String item_name =rs1.getString("item_name");
String INDENT_QUANTITY=rs1.getString("INDENT_QUANTITY");
here i want to display row wise data
and now close the while loop
please get me the idea if possible with sample code,i'll be greatfull to u,
thanxI would add the String you get from the DB to an ArrayList, and store that ArrayList in the session. Then, at time of display, just iterate over the List. I would also look into putting the SQL into a JavaBean that does the work. Take as much of that code out of the JSP as possible.
-
How to change wildcard "_" (underscore) to some other character ?
Hello Tech Gurus,
I want to search for "_"( underscore) in a string using LIKE function.
The query is:
Select col1,col2
from table1
where col1 LIKE ('%ABC_%');
I want to search for string 'ABC_'. But, If I use '%ABC_%' the last underscore will be taken as wildcard.
How can I change wildcard underscore to any other character.
Or is there any other way/function to search for underscore in a string.
Thank you for your time.
PramodHope This Solves yr Problem
select * from b;
A B
1 ABC_
2 ABC_D
3 ABCD
select b from b where b LIKE 'ABC\_%' ESCAPE '\';
B
ABC_
ABC_D
select b from b where b LIKE 'ABC\__%' ESCAPE '\'
B
ABC_D
Ashok -
I bought a used IPhone, and went to the AT&T store, as instructed, and obtained a new SIM Card. I am an existing AT&T customer. But when I put the new SIM Card in, and try to activate the phone via ITunes, I do not receive any activation screens. ITunes shows up with all the previous owners information (name, phone, etc).
How do I get the phone activated under my existing plan with my existing # when ITunes does not seem to recognize that it is a new SIM?i found that i had horrable coverage with tmobile and what i did was changed my address to say a friend or family members location that i knew i did not have tmobile coverage and they let me out of my contract since i "moved" to a new location where i did not have service
Maybe you are looking for
-
Facing Problem in Starting Weblogic Managed Server
Hi, While starting a managed server through Weblogic Console it is giving "nodemanager is not running" related error. I am not sure what is happening here. It was working fine earlier. Thanks Pawan
-
Performance issue in procedure
Hi All i have a performance issue with below procedure it is taking 10-15 hrs .custom table has 2 lacks record . PROCEDURE update_summary_dollar_amounts( p_errbuf OUT VARCHAR2 ,p_retcode OUT NUMBER) IS v_customer_id NUMBER := NULL; pymt_count NUMBER
-
How to hide the data in particular table in oracle 10g
How to hide the data in particular table in oracle 10g i want steps
-
How can I change my auto-correction language from english to french?
My system language is english, so all the default language is also in english but how can I change the auto-correction language from english to french and without changing the menu language? Message was edited by: Marixomia
-
How can I recover file that are on my external hard drive but not showing up on mac?
I have copied pictures and home videos from an old hard drive to my newer, larger hard drive. And now, i can't see any of the videos when i open my Seagate 4TB BackUp Plus drive on my mac. Someone Plz save me!!!!!