Need help patching a kernel to use new ALSA

I have a friend who's just starting out with Arch, and I've been getting him started on his install. His system uses a Biostar 6100-939 motherboard and an Athlon64 processor.
Everything has been working so far except sound. According to documentation, the correct ALSA driver for his nForce4 chipset should be the snd_intel8x0 module. However, loading this module didn't make any soundcards available to alsamixer.
We started to investigate the problem, and recently found this: http://jrbelvin.freeshell.org/weblog/linux/mcp51-alsa stating that the problem is fixed with the 1.0.11rc3 release of ALSA. We also found this : http://www.nvnews.net/vbulletin/showthread.php?t=60493 covering the same issue. We tried applying the patch listed in that forum to a build of the ArchCK kernel. While we were able to confirm that our patch really did patch the kernel, and that the patched kernel built, the snd_intel8x0 module still didn't work when we loaded our patched kernel.
So now it seems like we'll have to properly use the 1.0.11rc3 release of ALSA to get sound working on his computer until 1.0.11 is finalized and merged into the kernel. Does anyone have any experience on patching a kernel to use a different release of ALSA? Any help would be appreciated.
Woogie

I had the same problem with my new computer (less than a week old) using an ASRock K8NF4G-SATA2 board. For me the problem stopped when I switched to the 2.6.16 kernel then in testing but now in current. If it's not working with that kernel try modprobing snd-intel8x0 by hand and running alsaconf.
I actually made packages of alsa-lib and alsa-driver 1.0.11rc4 for myself in the process, but I've switched away from those again, so I don't think they should be needed for NF4/MCP51 to work. That said if your problem doesn't go away I'll be happy to post the PKGBUILDs I modified or even send the packages themselves (with absolutely no guarantees).

Similar Messages

  • Need help in deciding how to use new hard drives & SSD

    I've read through the suggested drive arrangements for 4 drives, but mine is a bunch of different drives and I would like some help.  I have some drives coming and would like to set them up to be most efficient for PPro CS5 and Encore CS5.  Here is what I have (or will have in the next few days):
    Drive 1:  New SSD for OS (win7 - 64) and programs - it is a Crucial C300-256GB and will be here in a few days.
    Drive 2: A new WD Black 1TB - It will be here tomorrow.
    Drive 3: Samsung 1TB drive
    Drive 4: Hitachi 750 GB drive
    I have run some benchmarks on drive 3 & 4 and they are about the same - not terribly fast.  I assume that Drive 2 will be the fastest of the hard drives, and of course the SSD will be the fastest of them all.  Any suggestions?

    RobertBoy,
    You have a really strong system!
    Assuming you are running CS5, your system would benefit most from some level of RAID and to be fully balanced. I would suggest one of the following to match up with the rest of your setup:
    1) hardware RAID w/ redundancy (i.e. RAID 5, etc.) with 5 1TB drives (between $1000 - $1500)
    2) 3 or 4 drive RAID 0, by adding matching drives to any of the 3 drives that you have already (only pick one, retire the other two) (between $125 - $250)
    Either of these options would require buying new drives (matched drives are strongly recommended for RAID arrays), and should be configured as per Harm's Generic Guideline for Disk Setup for Number of Disks = 5 (yes, even if you only go with a 3x RAID 0).
    3) If you are really trying to save $$$, just follow Harm's guideline for Number of Disks = 4 and use your current drives, however I'm sensing with your choice of boot drive (pretty sweet C300!) you probably would not mind adding some additional matched drives and then using the leftover 2 unmatched drives for backups or other use.
    The following thread includes some before / after mention of how CS5 performance was impacted by changes to drives in terms of PPBM5 benchmark testing:
    How changes to CPU speed, RAM size, and drives (SSD and hard drives) impacted my PPBM5 score
    If you have the time, you could test option 3 above using PPBM5 and see where your system falls. If you do, I would be interested in your finding - please post the results back to this thread as well.
    Regards,
    Jim

  • HT1430 guys, I need help, im trying to the the new software IOS 7.0 and it requires 3.7 GB free space. im using the IPhone4 and it had 6.4 GB capacity. i've deleted so much and it still says I only have 1.4 GB, I dont understand where the 5GB are being us

    guys, I need help, im trying to the the new software IOS 7.0 and it requires 3.7 GB free space. im using the IPhone4 and it has 6.4 GB capacity. i've deleted so much and it still says I only have 1.4 GB, I dont understand where the 5GB are being used.
    has any one experienced that? I cancelled my icloud account coz i tot the 5GB where there. im so confused. please help.
    Dee

    First thing to try is to reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • Need help in activating CS5 on a new (3rd) computer.  Old laptop is inoperable.

    need help in activating CS5 on a new (3rd) computer.  Old laptop is inoperable.

    Hi,
    see >>> http://helpx.adobe.com/creative-cloud/help/install-apps.html here >>> How many computers can I install on
    I quote: You may install software on up to two computers. These two computers can be Windows, Mac OS, or one each.
    If you install on a third computer, it will request you to de-activate on the other two computers. You can then reactivate one of the previous two computers, and use Creative Cloud apps on it.
    Hans-Günter

  • Allan Eckert, need help on G5 Coolscan 5000 use

    Allan , need help on G5 Coolscan 5000 use. Please email me from my profile.
    Thank you,
    Frank

    Just to chime in with my 2 cents and experience ...
    A few years ago I used a coolscan 4000 to scan my personal slides as a project. I had about 2000 of them from over the last 20 years and it took me about 6 weeks of personal time to do this. It was done on a Windows P4 2.5GHz Dell, but the slowest part was the actual scanning itself. I used 1 pass, Digital ICE, and saved them as 16bit TIFFs .... a whopping 65MB per scan.... To speed things up I bought the Nikon Slide adapter ($600 CDN) that would batch scan 50 slides at a time, however it would jam ( especially with the older cardboard mounted Kodachrome slides) periodically ... oh maybe 20-30 times with 2000 slides, and that really wasted time as I had to determine what need to be rescanned, and restart at the offending slide. This also would happen in the middle of the night when I was sleeping after setting the batch scan to run all night. Jamming often occurred as two slides tried to be scanned at the same time, as well as a slightly 'bent or creased' mount I found that the newer plastic mounts were better, but not entirely jam free, Nikon has some info on how well the various mounts work in their adapter on their website. Anyway I wish you well with 300+K slides to scan and recommend the batch slide adapter, and I think your speed will be determined more by the HW scan time than the CPU/GPU, so I would try to get as many scanners going as you can with that number of slides.
    -Robert
    PS I now have all originals in Aperture, and gave up the Dell 3 years ago.

  • Need Help in Splitting a String Using SQL QUERY

    Hi,
    I need help in splitting a string using a SQL Query:
    String IS:
    AFTER PAINT.ACOUSTICAL.1..9'' MEMBRAIN'I would like to seperate this string into multiple lines using the delimeter .(dot)
    Sample Output should look like:
    SNO       STRING
    1            AFTER PAINT
    2            ACOUSTICAL
    3            1
    4            
    5            9" MEMBRAIN
    {code}
    FYI i am using Oracle 9.2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    There's this as well:
    with x as ( --generating sample data:
               select 'AFTER PAINT.ACOUSTICAL.1..9" MEMBRAIN' str from dual union all
               select 'BEFORE PAINT.ELECTRIC.2..45 caliber MEMBRAIN' str from dual)
    select str,
           row_number() over (partition by str order by rownum) s_no,
           cast(dbms_xmlgen.convert(t.column_value.extract('//text()').getstringval(),1) as varchar2(100)) res
    from x,
         table(xmlsequence(xmltype('<x><x>' || replace(str,'.','</x><x>') || '</x></x>').extract('//x/*'))) t;
    STR                                                S_NO RES                                                                                                
    AFTER PAINT.ACOUSTICAL.1..9" MEMBRAIN                 1 AFTER PAINT                                                                                        
    AFTER PAINT.ACOUSTICAL.1..9" MEMBRAIN                 2 ACOUSTICAL                                                                                         
    AFTER PAINT.ACOUSTICAL.1..9" MEMBRAIN                 3 1                                                                                                  
    AFTER PAINT.ACOUSTICAL.1..9" MEMBRAIN                 4                                                                                                    
    AFTER PAINT.ACOUSTICAL.1..9" MEMBRAIN                 5 9" MEMBRAIN                                                                                        
    BEFORE PAINT.ELECTRIC.2..45 caliber MEMBRAIN          1 BEFORE PAINT                                                                                       
    BEFORE PAINT.ELECTRIC.2..45 caliber MEMBRAIN          2 ELECTRIC                                                                                           
    BEFORE PAINT.ELECTRIC.2..45 caliber MEMBRAIN          3 2                                                                                                  
    BEFORE PAINT.ELECTRIC.2..45 caliber MEMBRAIN          4                                                                                                    
    BEFORE PAINT.ELECTRIC.2..45 caliber MEMBRAIN          5 45 caliber MEMBRAIN      
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • I need help please , i try to use itunes but my iPhone don't appear on itunes, i try everyting ,dowwload itunes again restart computer and iPhone,restart running device support,etc.

    i need help please , i try to use itunes but my iPhone don't appear on itunes, i try everyting ,dowwload itunes again restart computer and iPhone,restart running device support,etc.

    Windows doesn't detect iPhone: http://support.apple.com/kb/ts1538
    Mac: http://support.apple.com/kb/ts1591

  • I have a Steinberg MI4 and a Roland Fantom X7, and am trying to use my Fantom in Logic to record audio. Need help setting it all up using MIDI cables. Please help !

    I have a Steinberg MI4 and a Roland Fantom X7, and am trying to use my Fantom in Logic to record audio. Need help setting it all up using MIDI cables. Please help !

    Encryption wouldn't matter except for Wifi.
    While 10.2 might help, there's not much you can do on the Internet these days with less than 10.4.11
    Tiger Requirements...
    To use Mac OS X 10.4 Tiger, your Macintosh needs:
        * A PowerPC G3, G4, or G5 processor
        * Built-in FireWire
        * At least 256 MB of RAM (I recommend 1GB minimum)
        * DVD drive (DVD-ROM), Combo (CD-RW/DVD-ROM) or SuperDrive (DVD-R) for installation
        * At least 3 GB of free disk space; 4 GB if you install the XCode 2 Developer Tools  (I recommend 20GB minimum)
    http://support.apple.com/kb/HT1514
    http://www.ebay.com/sch/i.html?_nkw=mac+os+x+tiger+retail+10.4
    See Tom's, (Texas Mac Man), great info on where/how to find/get Tiger...
    https://discussions.apple.com/message/15305521#15305521
    Or Ali Brown's great info on where/how to find/get Tiger...
    http://discussions.apple.com/thread.jspa?messageID=10381710#10381710
    As far as Memory, that's sort of easy, find your eMac here...
    http://eshop.macsales.com/MyOWC/Models.cfm?Family=emac&sType=Memory
    As far as Hard Drive, it's not easy to replace the Internal drive, I'd maybe suggest an external Firewire drive to boot from...
    http://eshop.macsales.com/item/Other%20World%20Computing/MAU4S7500G16/

  • Need help getting cloud infofrom PC to new phone

    the wifi quit working on my 4s phone so i saved my info to the cloud on my PC. now I need help getting info from PC to new iphone 4s. thanks

    Problem solved. I just unplugged the machine and started over. I'll migrate my files at a later time.

  • Need help with a currently "in-use" form we want to switch to Adobes hosting service

    Hi, I am in desperate need of help with some issues concerning several forms which we currently use a paid third party (not Adobe) to host and "re-distribute through email"...Somehow I got charged $14.95 for YOUR service, (signed up for a trial, but never used it)..and now I am paying for a year of use of the similar service which Adobe is in control of.  I might want to port my form distribution through Adobe in the hopes of reducing the errors, problems and hassles my customers are experiencing when some of them push our  "submit button". (and I guess I am familiar with these somewhat from reading what IS available in here, and I also know that, Adobe is working to alleviate some of these " submit"  issues, so let's don't start by going backwards, here) I need solutions now for my issues or I can leave it as is, If Adobe's solution will be no better for my end users...
    We used FormsCentral to code these forms and it works for the most part (if the end-user can co-operate, and thats iffy, sometimes), but I need help with how to make it go through your servers (and not the third party folks we use now), Not being cruel or racist here, but your over the phone "support techs" are about horrible & I cannot understand them or work with any of them, so I would definitely need someone who speaks English and can understand the nuances of programming these forms, to please contact me back. (Sorry, but both those attributes will be required to be able to help me, so, no "newbie-interns" or first week trainees are gonna cut it).... If you have anyone who fits the bill on those items and would be willing to help us, please contact me back at your earliest convenience. If we have to communicate here, I will do that & I can submit whatever we need to & to whoever we need to.
    I need to get this right and working for the majority of my users and on any platform and OS.
    You may certainly call me to talk about this, and I have given my number numerous times to your (expletive deleted) time wasting - recording message thingy. So, If it's not available look it up under [email protected]
    (and you will probably get right to me, unlike my and I'm sure most other folks',  "Adobe phone-in experiences")
    Thank You,
    Michael Corman
    VinylCouture
    Phenix City, Alabama  36869

    Well, thanks for writing back...just so you know...I started using Adobe products in 1987, ...yeah...back then...like Illustrator 1 & 9" B&W Macs ...John Warnock's Helvetica's....stuff like that...8.5 x 11 LaserWriters...all that good stuff...I still have some of it working on a mac...much of it was stuff I bought. some stuff I did not...I'm not a big fan of this "cloud" thing Adobe has foisted upon the creatives of the world...which I'm sure you can tell...but the functionality and usefulness of your software can not be disputed, so feel free to do whatever we will continue to pay for, ...I am very impressed with CC PS on the 64 bit PC and perhaps I will end up paying you the stipend that you demand for the other services.
    So  I guess that brings us to our problem.. a few years back and at the height of the recession and near bankruptcy myself,  I was damn lucky and hit on something and began a small arts and crafts supply service to sell my products online to a very "niche market" ...I had a unique product and still sell that product (plus others) online...My website is www.vinylcouture.com...Strange? Yes...but there is a market it seems, for everything now, and this is the market I service...Catagorically, these are 99%+ women that use these "adhesive, sticky backed vinyl products"  to make different "craft items" that are just way too various and numerous to go into... generally older women, women who are computer illiterate for the most part...and all this is irrelevant to my problem, but I want you to have every bit of background on this and especially the demographic we are dealing with, so we can get right to the meat of the problem.
    OK...So about two years ago, I decided to offer a "plain sheet" product of a plain colored "stick back" vinyl... it is available in multiple quantities of packs ( like 5 pieces, 10 pieces, 15 pieces, in a packi  & so on)...and if you are still on my site.. go to any  "GO RIGHT TO OUR ORDER PAGE"  button, scroll down a little...and then to the "PLAIN VINYL" section...you will see the Weebly website order process.) You can back out from here, I think,..but, anyway this product is available in 63 colors + or - a few. So then the problem is,  how do they select their individual colors within that (whatever) pack?... .
    So my initial idea was to enable a "selection form" for these "colors" that would be transmitted to me via email as 'part" of the "order process".. We tried getting our customers to submit a  " a list" ( something my competitiors still do, lol, poor bastards)......but that..is just unbelievable..I can't even begin to tell you what a freakin' nightmare that was...these people cannot even count to 10, much less any higher... figuring out what colors to list and send me... well, lets just say, it wasn't working......I had to figure out a better way...Something had to be done.
    So after thinking this all out,  and yeah...due to my total ignorance, i figured that we could make a form with Live Cycle Designer (Now Forms Central)...(back then something that was bundled with Adobe Acrobat Pro), I believe, and thats what this thing was authored in... and it would be all good...LOL!
    Well not so simple...as you well know, Adobe Acrobat would NOT LET YOU EMAIL anything from itself.....it just wouldn't work (and I know why, and all that hooey), but not being one to take NO for answer,.I started looking for a way to make my little gizmo work.. So I found this company that said they can "hijack" (re-direct actually) the request to email, bypass the wah-wah, and re-transmit it to the proper parties.....for less than $100 a year,  I think...its called http://pdf-fillableforms.com/.
    A nice gentleman named Joseph Silva helped us program the thing to go to his servers and back out. Please dont hassle them...I need them...for now..it basically does work...try it...you should get back a copy of the form that you filled out...good luck however,  if you're on MAC OSX or similar...
    I have included a copy of both of our forms (and feel free to fill it out and play with it)...just put test somewhere on it...(and you must include YOUR email or it will balk)..they are supposed to be mostly identical, except one seems to be twice as large....generating a 1.7 meg file upon submission, while the other one only generates a 600K file or so...thats another issue for another day or maybe you can advise on that also...
    OK so far so good......In our shop, once Grandma buys a 10 pack (or whatever), Only then she gets to the link on her receipt page ro the relevant "selection form" ,(this prevents "Filling and Sending"  with "no order" and "no payment", another early problem we had)... which they can click on and it will usually download and open up on their device if all goes well...Then our little form is supposed to be fillable and is supposed to ADD UP all the quantities, so grandma knows how many she is buying and so forth right on the fly,  and even while she changes her mind..., and IT'S LARGE so grandma can see it, and then it TOTALS it all up for them, ( cause remember, they can NOT add)..,  except there is a programming bug (mouse-click should be a mouse-up probably or something..) which makes you click in the blank spaces to get to a correct TOTAL...about 70-80% of our customers can enable all these features and usually the process completes without problems for them especially on PC's running Windows OS and Acrobat Reader X or XI...at least for most... Unfortunately it is still not the "seamless process" I would like or had envisioned for the other folks out there that do have trouble using our form....  Many folks report to us the following issues that we know of.  First of all it takes too much time to load up...We know its HUGE...is there anyway that you can see, to streamline this thing? I would love for it to be more compact...this really helps on the phones and pads as I'm sure you well know.
    Some just tell us,"it WON'T work"....I believe this is because they are totally out of it and dont even have Adobe Reader on their machine, & don't know how to get it ( yes, we provide the links).....or it's some ancient version....no one can stop this one...
    It almost always generates some kind ( at least one time)  of "error message" which we do warn them about..., telling one,  basically that "Acrobat doesnt even like this happening at all, and it could be detrimental to ones computer files", blah-blah...(this freaks grandma out really bad)...& usually they end up not even trying to send it...  and then I get calls that even you wouldn't believe...& If they DO nut up and push the Red "Submit Form" button, it will usually send the thing to us (and also back to them at the "required email address" they furnished on the form, thats what the folks at the "fillable forms place" do) so, if it's performing it's functions, why it is having to complain?. What are we doing wrong?....and how can I fix it?...Will re-compiling it or saving it as a newer version of "FormsCentral" correct any of these problems ?
    Ok, so that should keep you busy for a minute and we can start out with those problems...but the next thing is, how can I take advantage of YOUR re-direct & hosting services?, And will it get rid of the error messages, and the slowness, and the iOS incompatibilities ? (amazingly,  the last iOS Reader version worked almost OK.. but the newest version doesnt seem to work with my form on my iphone4)  If it will enable any version of the iOS to send my form correctly and more transparently, then it might be worth the money...$14.95 a MONTH you say. hmmmmm...Better be good.
    Another problem is, that I really don't need 5000 forms a month submitted. I think its like 70-100 or less....Got any plans for that?  Maybe I'm just not BIG ENOUGH to use Adobe's services, however in this case, I really don't care whose I do use as long as the product works most correctly for my customers as well as us. Like I said, If I'm doing the best I can, I won't change anything, and still use the other third party, If Adobe has a better solution, then i'm all for that as well. In the meantime, Thanks for any help you can provide on this...
    Michael Corman
    VinylCouture.com
    (706) 326-7911

  • Need HELP with JetDirect 500x - I'm New to this Apple Thing!

    Hello. I am very new to Apple. I have been using PC's for years and I am over them. I am slowly trying to understand the differences and where to begin. I need help getting my printers setup with a JetDirect Box. Here is what I have.
    HP JetDirect 500x, with a dedicated IP address of 192.168.10.2, which is DHCP assigned by my wireless router. Connected to Port1 is a HP OfficeJet R40; Connected to port 2 is a HP Deskjet 9800.
    It appears that the drivers for both printers are built into OS 10.6.3.
    How do I set these bad boys up? I found one article where someone was doing something similar to me but I tried what he did and had no success.
    Here is what I tired in the Add Printer Dialog box:
    Protocol: HP JetDirect - Socket
    Address: 192.168.10.2:1 -or- http://192.168.10.2/ipp/port1
    I also tried Port 2. No luck.
    Please help. I am trying hard to get there. Thanks

    Welcome!
    The HP web site shows Mac drivers for up to 10.6 for the 9800 but no Mac drivers at all for the Deskjet 500. Only Windoze and Linux drivers listed for that one.
    I hope someone can jump is with a comment on the Mac compatibility of the JetDirect print server. We tried for years to get one to connect multiple printers at work and eventually threw in the towel. Maybe the newer ones are better, but I noticed the HP site recommends using USB printer sharing if it is necessary to network a 9800 on Macs. Could be a clue. You might need to contact HP support to find out if the JetDirect is Snow Leopard compatible.
    The last two printers we bought for our home network--a Brother 5250N b/w laser and an HP PhotoSmart C6280--were bought because they came with ethernet ports. They were a cinch to set up on the wired network and service six Macs, two via the wireless router and four on the wire.
    regards from the next state over,
    Allan

  • Need Help W/ Different Signatures & Accounts Using Mail Program

    Hi all!
    I have 2 questions:
    1) Say I send an email from [email protected], but I also have an account with [email protected] in this mail program with a separate mailbox. When I compose my new email address from the mailbox for [email protected] address, the account selected is [email protected], instead. I know there is a way to fix this, but I can't figure out how to do it.
    2) I have different signatures for each of my multiple email addresses in my Mail program. Is there a way to make each one the automatic signature for the account it is being sent from?
    I am using the 1.3.11 (v622/624) version of mail on my G4 Mac Mini.
    Thanks for any help anyone can give me!

    Hi,
    I'm back trying to get some much needed help. Now I'm getting this message when trying to open Premire Elements 3.0 from my C drive. I get the message "Sorry a serious error has occurred that requires Premier Elements to shut down. We will attempt to save your current project." When clicking on OK or the closing X it shuts down. I tried the advice that I received in this forum. I tried deleting "workingset.prsl" . Instead of deleting it I dragged it out of the "Styles folder and onto my desktop. I didn't delete it for fear that I would cause myself more problems. This way if it didn't work I could put it back into the "Styles folder which I did because it didn't work. I'm desperate now. I'm making a video of our 50th wedding anniversary that I have been working on for over a year and now I can't get it opened.
    Larry

  • Need help in shutdown primary for maintaince (new to oracle dba)

    Hi,
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    PL/SQL Release 9.2.0.4.0 - Production
    CORE 9.2.0.3.0 Production
    TNS for Linux: Version 9.2.0.4.0 - Production
    NLSRTL Version 9.2.0.4.0 - Production
    actually we have primary database server and the physical standby server with protection mode is maxperformance and for maintaince we need to shutdown primary server so what are the steps i need to follow since my primary database is configured with DATAGAURD and i would like to follow the folllowing steps please advice me:
    to shutdown standby server:
    from primary server connecting to dgmgrl
    dgmgrl>DISABLE SITE standby_site1;
    then connecting to standby server
    sql>alter database recover managed standby database cancel;
    sql>shu immediate;
    and finnaly connecting to primary server
    sql>shu immediate
    is it right since i am new to datagaurd concept need help.
    Regards
    Prakash

    You can do so, but you would shutdown the whole standby environment. But normally standby is used to have no or only short downtime. So a switchover to the standby DB is performed (after this standby is now running as primary), maintenance is done on the primary and then at the end another switchover back from the 'new' primary to the 'old' primary.
    Werner

  • Need Help On Apple Game Center Using Iphone 5 "Not Able To Login"

    Iam a new user, 1st click on Game Center it ask to key in my apple ID password. After key In it shows "This apple ID has not yet been used in Game Center. Tap continue to set up your account. Then key in the origin place and birth date and it shows the same again and again. NEED HELP !!!
    Any Solution !!
    Thanks.

    I had this same issue and was able to get in after I changed my Safari privacy settings for accepting cookies from Never to Only visited and then trying to login again.

  • Need Help Badly on Shopping Cart Using JSP And Java Servlet

    Hi All,
    This is the 1st time i am trying to create a shopping cart using JSP and Servlet.
    I have read through a few acticles but i still do not get the whole idea of how it works.
    Please guide me as i need help very badly.
    Thanks.
    This is one of the jsp page which displays the category of products user would like to buy : Products.jsp
    <html>
    <head>
    <title>Purchase Order</title>
    </head>
    <body topmargin="30">
    <table border="0" width="100%" id="table1" cellpadding="2">
         <tr>
              <td bgcolor="#990000" width="96">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">
              Code</font></b></td>
              <td bgcolor="#990000" width="260">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">
              Description </font></b></td>
              <td bgcolor="#990000" width="130">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Brand
              </font></b></td>
              <td bgcolor="#990000" width="146">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">UOM
              </font></b></td>
              <td bgcolor="#990000" width="57">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Unit<br>
              Price </font></b></td>
              <td bgcolor="#990000" width="62">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">
              Carton<br>
              Price </font></b></td>
              <td bgcolor="#990000" width="36">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">
              Qty</font></b></td>
              <td bgcolor="#990000" width="65">
              <p align="center"><b><font face="Verdana" size="2" color="#FFFFFF">Add<br>
              To Cart</font></b></td>
         </tr>
    <tr>
    <td align="center" width="96" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">123</font>
    </td>
    <td align="center" width="260" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">Tom Yam</font>
    </td>
    <td align="center" width="130" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">Nissin</font>
    </td>
    <td align="center" width="146" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">12 x 10's</font>
    </td>
    <td align="center" width="57" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">$3.85</font>
    </td>
    <td align="center" width="62" bgcolor="#CCCCCC">
    <font face="Verdana, Arial, Helvetica, sans-serif" size="2">$46.2</font>
    </td>
    <td align="center" width="36" bgcolor="#CCCCCC">
    <!--webbot bot="Validation" S-Data-Type="Integer" S-Number-Separators="x" -->
    <p align="center"><input type="Integer" name="Q10005" size="1"></p>
    </td>
    <td align="center" width="65" bgcolor="#CCCCCC">
    <p><input type="checkbox" name="checkbox" value="123"></p>
    </tr>
    <tr>
    </table>
    <table border="0" width="100%" id="table2">
         <tr>
              <td>
              <div align="right">          
                   <input type="hidden" name="hAction" value="AddToCart"/> 
              <input type=submit name="submit" value="Add To Cart"/>                     
    </div>
    </td>
         </tr>
    </table>
    </body>
    </html>
    After user has make his selection by entering the qty and ticking on the check box, he would click the "Add To Cart" button ... and this would call my servlet : AddToAddControlSerlvet.java
    import javax.servlet.http.*;
    import javax.servlet.*;
    import java.io.*;
    import java.util.*;
    import java.util.ArrayList;
    public class AddToCartControlServlet extends HttpServlet
         public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException,IOException
              String action = req.getParameter("hAction");
              if (action.equals("AddToCart"))
                   addToCart(req,res);
         public void addToCart(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
              try
                   String url = "";
                   String[] addList = req.getParameterValues("checkbox");
                   HttpSession sess = req.getSession(true);
                   //String sessionID = sess.getId();
                   DBClass dbClass = new DBClass();
                   ArrayList cartList = new ArrayList();
                   for (int i = 0; i < addList.length; i++)
                        String productCode = (String)addList;
                        int qty = Integer.parseInt(req.getParameter("Q"+productCode));
                        Products product = dbClass.getProductDetail(productCode);
                        double totalUnitAmt = qty * product.getUnitPrice();
                        double totalCartonAmt = qty * product.getCartonPrice();
                        Order order = new Order(product.getProductCode(),product.getProductDesc(),product.getBrandName(),product.getUom(),qty,product.getUnitPrice(),product.getCartonPrice(),totalUnitAmt,totalCartonAmt);
                        cartList.add(order);
                   sess.setAttribute("cartList", cartList);
                   url = "/Cart/CartDetails.jsp";
                   ServletContext sc = getServletContext();
                   RequestDispatcher rd = sc.getRequestDispatcher(url);
                   rd.forward(req, res);
              catch (Exception e)
                   System.out.println(e);
    From here, i would get the list of items which user has selected and add to the cartList, then i would direct the user to CartDetails.jsp which displayed the items user has selected.
    From there, user would be able to remove or to continue shopping by selecting other category.
    How i do store all the items user has selected ... everytime he would wan to view his cart ...
    As i would be calling from jsp to servlet .. or jsp to servlet ... and i do not know how i should go about in creating the shopping cart.

    Hi !
    Yon can use a data structure as vector and store the items selected by the user into the vector . Keep the vector in session using session object , so the user can access the entire shopping cart from anywhere in the application .
    Then , you can change the cart accordingly .
    Hope this works.
    Cheers ,
    Pranav

Maybe you are looking for