MacMini and Bluetooth: Catch 22

I have a MacMini with wireless keyboard and mouse. Recently when I changed batteries on the keyboard it could not connect it to the mini. I put in an old USB keyboard, works OK. When the mouse´s battery gave up the connection could not be established AND plugging in the old USB mouse wouldn´t work either. So I thaught I´d have to reinstall the operating system if something had happened to the Bluetooth module. So I put in the CD, press C and what comes up...if not the machine looking for the wireless mouse and keyboard. Desperately trying to find some missing peripherals. And I can´t get past this stage to start reinstalling. So, I need to reinstall the Bluetooth module because it´s not working but I can´t install it because it is not working...
I can´t find a way around this to get the system to boot up properly and use the USB peripherals in order to be able to install.
What to do?
1.8 GHz DP G5, iMac G5, MacMini 1,42   Mac OS X (10.4.3)  

I have a solution. Rooting around, everything I've read always assumes you have a Graphics context. And this is precisely the point -- I don't!
So my solution is this:
          JPanel p = new JPanel();
          Font font = new Font("Helvetica", 0, 11);
          p.setFont(font);
          FontMetrics metrics = p.getFontMetrics(font);
Now, armed with metrics I'm able to calculate any parameters of the font that I wish. Note that here the JPanel is a surrogate, it is only used to suck out the FontMetrics object so I can do my calculations with it. But as the Graphics2D object I use to draw only uses drawString() and drawLine() I'm laughing. (I probably don't need the setFont() but what do I care, it works!)
This is all driven by the fact that I can't scale after I've drawn the object. It is all counter-intuitive to me, but hopefully the solution above will help others in the same catch 22 position.
Joe

Similar Messages

  • HT1766 any getn my wifi button to turn blue n turn on an my blut-t is in rotation mode and want catch

    cant get my wifi button to turn  on it want turn blue .and my bluetooth button is rotating and want catch...what to do ...help !!!!

    Among other reasons, this error can be caused by jailbreaking.  The forum TOU prevents us from discussing or assisting you in your efforts.  I originally posted several hints of what you could do but, when I realized that you misspelled your user name, I inferred that your post was a hoax.

  • Guide for J2ME PP to use RMI and Bluetooth

    hi
    i have a current project its about an Ordering System, and i was thinking of using ppc as an order client
    before i want to get on with this i was just wondering if i can get some help from here.
    i just want to ask would it be any problem if i use J2SE to write a server to communicate with the ppc using rmi methology and bluetooth as network device (USB bluetooth for PC). can some one please give me some direction of how to do it, or maybe there's a beta way to do something like this?
    do i just write the code as how you would normally write for rmi application for PC?
    do i need to use third party driver for bluetooth (PC and PPC)?
    btw my PPC is HP Pocket PC 2003 running Window CE and use J9 JVM
    thank you for in advance as i would really appreciate and so is others :)

    Hi,
    I have the same message "Error: Unable to query value..."
    But I can't read from serial port com8. I need to read data from gps, but first I want to read anything from com8.
    My application looks like that:
    import java.util.*;
    import javax.comm.*;
    import java.io.*;
    public class Porty {
    static CommPortIdentifier portId,tym;
    static Enumeration portList;
    private InputStream cos;
    private SerialPort porty;
    public Porty(){
         CommPortIdentifier portID = null;
         for (Enumeration portList = CommPortIdentifier.getPortIdentifiers();
              portList.hasMoreElements() ;) {
         CommPortIdentifier portId = (CommPortIdentifier)portList.nextElement();
         if (portId.getName().equals("COM8:")) {
              tym = portId;
         if (tym == null) {
         // Unable to find COM8
              System.out.println("No Com8");
         return;
         else {
         // found COM8
              System.out.println("Yes!!! Com8");
         try{
              cos = porty.getInputStream();
         }catch (IOException e){}
         System.out.println("Data from Com8");
         System.out.println(cos);
    public static void main(String[] args){
         Porty porcik = new Porty();
    What is wrog. Could samebody help me !!! What I suppouse to do !!! Could You send me same application, which is working and it reads from port.
    Thank You...

  • Turn Off AirPort and BlueTooth?

    Is it possible to buy an MacMINI without AirPort and BlueTooth?
    If not it is possible to ensure that neither of these devices radiate?
    I can't stand wireless technology...
    Strangely, the ultra expensive Mac Pro doesn't even come with these annoying "features"

    Electromagnetic radiation falls off exponentially with distance (er, something like that) -- so sitting right next to a wireless transmitter 12 hours a days is quite distinct from walking past Starbucks.
    A little scrap of paper in the packing material for your wireless router actually gives you an FCC warning to stay at least 3 feet away from the device. Not something particularly emphasized by the industry.
    The point about mobile phones is definitely correct -- which is why I don't use one, and if I really needed to, would make quick calls or text, not keep it glued to my ear all day blabbing about celebrities and my boyfriend problem : )
    The government also says its Perfect Save to live directly next door to a nuclear power plant, with cooling water running through a stream in your back yard. You'll find some property bargains if you're willing to do that.

  • We just added a new printer and bluetooth connection to our iMac.  Now iTunes does not recognize our iPads as devices.  Have already tried restarting everything.  Any other suggestions?

    We just added a new printer and bluetooth connection to our iMac.  Now iTunes does not recognize our iPads as devices.  Have already tried restarting everything.  Any other suggestions?

    You can try the steps recommended here: http://www.apple.com/support/ipad/assistant/itunes/

  • Has anyone else downloaded iOS 7 on a 4S and found the WiFi and Bluetooth don't work anymore?

    I'm used to Apple products that "just work", but I'm not seeing it with the installation of iOS 7 on my phone (4S). I installed it earlier today, and the Wi-Fi and Bluetooth worked for about an hour, then just quit working altogether. The WiFi button is grayed out in Settings, and Bluetooth dosen't even display a button (all I get is a throbber that continuously spins). Trying to activate them through the "swipe-up" command center doesn't do the trick, and resetting the network settings also accomplishes nothing. Several reboots later, and I still don't have WiFi and Bluetooth.
    Has anyone else experienced this, and is there a solution? I may just decide to eschew iOS 7 and restore my pph

    After multiple attempts to restore and reboot, I finally decided to take a trip to my local AT & T store. They contacted Apple, and I explained the situation. I ended up moving to the iPhone 5, as my 4S was in the renew period. The 4S is still under warranty, so all I have to do is bring it to an Apple Store, where they will either fix or replace the phone. Looks like one of my kids will be getting a 4S :-)

  • I have inherited an ICloud account from one of my employers when transferring from old MacBook Pro to new MacMini and need to separate from this, presumably by setting up a new ICloud account.  How do I do this ?

    I have inherited an ICloud account from one of my employers when transferring from old MacBook Pro (which belonged to them) to new MacMini and need to separate from this, presumably by setting up a new ICloud account.  How do I do this ?  And is there any danger, in doing so, that I might delete any of her ICloud information ?

    Sign out in System Preferences>iCloud. This will remove any synced data such as Calendars, emails and Contacts from your Mac, but will have no effect on the data on the server - so that other devices logged into it will continue to see the data.

  • TS1559 still no solution for greyed out wifi and bluetooth - what to do? been messing around with it for weeks and now discover I'm just outside of warranty period? WHAT?

    I am in such a predicament - phone not been quite right since the 6.1 update and I was tolerating the inconvenience of switching off and on etc etc for the past couple of months and now the wifi and bluetooth are totally greyed out all the time - did every restore possible including back to factory settings - still no luck - please don't tell me that trying all the solutions over the past 2 months that temporarily worked for a few days at a time will now mean I have timed myself out of the 1 year warranty? arghhhhh (I can't believe that such an issue will create the response 'oh well, your problem - best just buy another one' ???)
    I can't just drop everything and drive to the apple store and wait for hours every time there's a 'glitch' otherwise I may as well move nextdoor to the mall. They tell you to try and solve it yourself first - which I did - and now it's not responding to anything I try, will I be told - 'too late, out of warranty'???
    I see theres an update for the iphone 5 that fixes wifi bugs - what about us 4s owners? even my 3 year old 3gs is still working on wifi (haven't dared to update it!) so don't start telling me to expect that the iphone will only last 13 months - NOT AT $600 a piece
    This is madness and driving me crazy
    Please has anyone had any luck fixing this problem???

    well, you know how it is - glitches that usually resolve with a hard reset etc
    then a restore. then a factory restore....then ..... nothing fixes so I try the next step with apple online - fill out my serial number and find it is a couple of weeks out of date - and then with the holidays who has time to get to the apple store? this is my second 4s handset as it is - first one the glass cracked from L to R without any impact/damage etc - they changed it out automatically because it's a 'known fault' apparently - so technically, this handset is only 6 months old - but warranty is from original purchase date -
    never imagined it would turn out to be a warranty issue with the phone - and hey maybe when I get a chance to go to the apple store they'll be sympathetic, but I won't be able to get there till at least Jan 4th as it is. On the other hand, another iOS update might resolve the issue - but how long till that release? at the moment I'm having to use my old 3gs for wifi and 4s for phone!!!

  • HT201210 hi everyone, i have a problem about my iphone 4S, doesn't work with wifi connection and bluetooth since upgrade to the IOS 7.0.3. Can anyone can help me tosolve this problem?????Thank's regards paulus

    hi everyone, i have a problem about my iphone 4S, doesn't work with wifi connection and bluetooth since upgrade to the IOS 7.0.3. Can anyone can help me tosolve this problem?????Thank's regards paulus

    Try the suggestions here to see if they resolve your problem:
    http://support.apple.com/kb/ts1559
    If these don't work you may have a hardware problem. Visit an Apple store for an evaluation or contact Apple Support.

  • Re: Windows Vista Ultimate 32-bit FN key and Bluetooth crash

    I have an old problem with FN key. I installed Vista and after a while, it stops working. In Windows, when I press the FN key it freezes about 3 seconds, a blue screen appears that tells me Vista has crashed, a memory dump begins and then the laptop restarts. And now, bluetooth doesn't work anymore and if I try to enable it it dows the same thing.
    P.S. The Windows is new installed (4 days), and has automatic updates to date.
    I reinstalled Toshiba Value Package, Bluetooth Monitor and Bluetooth Stack.

    LE: I uninstalled Value Package and it doesn't give me the blue screen anymore. The FN key works, but it doesn't display that menu on the top of the screen when i press it, but the functions work.

  • Yoga 13 WiFi and bluetooth issue resolved

    Unfortunately, I also met WiFi problems, but also found unexpected and sad solution.
    Wifi worked pretty well at working place, but had problems at home. As an experiment I brought WiFi router from the working place home. It did not work!
    At home I used pretty old keyboard and mouse plugged into passive USB hub. As soon as they were disconnected, problems disappeared. WiFi was also stable after I plugged power supply into the USB hub.
    We are making 24-bit analog-to-digital converter that connects to the PC via USB. I exactly know its current consumption (300 to 330 mA) and know that it correctly handles USB rules about power regulations. Maximum current, specified by USB2.0 standard, is 500mA, so consumption of our ADC is within limits. As soon as I plug this ADC in, WiFi connection immediately disappears at the working place.
    In the case of other devices, such as USB flash drive, power consumption may depend on the activity, increasing as it writes or reads something, and decreasing at the moment of inactivity.
    I'm pretty sure that Lenovo placed their WiFi/bluetooth module on the same USB hub with right-side USB2 connector. Any device, that requires energy, being plugged into USB2.0 port, immediately destroys WiFi (and presumably bluetooth) and it is rather hard to get it back alive without special dancing around.
    So, conclusion: never plug anything into USB2.0 port, if you need WiFi. This decreases number of available USB ports from two to one. Lenovo team should be blamed for that, not driver manufacturers or board manufacturers - Lenovo did non do its construction job well.
    I am not sure, that all WiFi and bluetooth problems of Yoga discussed at this forum have the same reason. But in any case incorrect implementation of USB2.0 power should be considered before any other reason of malfunction.
    Car manufacturers recall their products in the case of a failure. What about computer manufacturers?

    Citation from Wikipedia:
    The USB 1.x and 2.0 specifications provide a 5 V supply on a single wire to power connected USB devices. The specification provides for no more than 5.25 V and no less than 4.75 V (5 V ± 5%) between the positive and negative bus power lines. For USB 3.0, the voltage supplied by low-powered hub ports is 4.45–5.25 V.[61]
    A unit load is defined as 100 mA in USB 2.0, and 150 mA in USB 3.0. A device may draw a maximum of 5 unit loads (500 mA) from a port in USB 2.0; 6 (900 mA) in USB 3.0. There are two types of devices: low-power and high-power. A low-power device draws at most 1 unit load, with minimum operating voltage of 4.4 V in USB 2.0, and 4 V in USB 3.0. A high-power device draws, at most, the maximum number of unit loads the standard permits. Every device functions initially as low-power — but may request high-power, and get it if available on the providing bus.[62]
    Obviously, WiFi adapter is a high-power device. If it does not have sufficient power, it will start power saving program by reducing speed. Even lower power may interrupt ins basic functions. When I connect another high-power device (HDD or ADC) to the same hub, it should get its 500mA from the hub. Seems that starting at this moment  WiFi receives much less current than it requires and stops working. 
    If something is plugged into USB3 port, and this something does not utilize all energy it requested, WiFi starts working again.
    I would greatly appreciate if somebody repeats my tests using Yoga or Yoga 2 Pro.
    Test:
    Reboot your system, all USB devices disconnected
    Open http://www.speedtest.net site and measure Download connection speed (Speed1)
    Connect external HDD to USB2 (NOT USB3!) port
    Wait until HDD is connected
    Test Download speed once again (Speed2)
    Report results to this blog as Speed1/Speed2 couple of numbers
    Thank you in advance

  • Late 2005 - Airport and Bluetooth - won't work together

    Hi everybody!
    I have a problem with my Powermac G5 (late2005).
    I have the Airport Extreme with Bluetooth 2.0+EDR card installed.
    WLAN and Bluetooth work both if operated separately.
    But when Airport is activated and running and I turn on Bluetooth (and connect for example my Magic Mouse) Airport breaks down. - I loose my connection and can't see any other wireless networks.
    Switching to another Airport channel din't help.
    Does anybody have an idea what to do?
    Thanks a lot!
    Chris

    I just started trying BT.
    I allready had a look at the cabling and read about it, that it doesnt matter how the calbes are connected to the airport card.
    I don't think I can put anything between the antennas.
    The late2005 has the build-in antenna (for Airport and BT)...
    But I will have a look if I can place anything between an I will change the cabling...
    Thanks so far!
    Chris

  • Internal Mic and Bluetooth not working together at the same time

    Okay.. so I've been noticing this happen alot lately. Whenever I have my usb wacom tablet plugged in (which is almost always), there would be no internal mic input and bluetooth would become "not unavailable". Also, even when I try an external mic, there was no input. Could this be a coincidence or some related usb-bluetooth problem? Could it be my audio input or tablet driver problem?
    I've used my mic to skype before I had installed the tablet. Also before I used garage band to record my sister's guitar with an external mic, there was no problem at all, and of course I didn't have my tablet plugged in at the time. Recorded a whole hours worth of music, and didn't have any problems.
    Today.. I checked to see if my internal mic was working before I launched skype, and it was working perfectly, and I also noticed my bluetooth was available (didn't test it though). Then I went on skype talked to friend for about 20min, and suddenly the audio stop working. I had my tablet plugged in from earlier today. I restarted my macbook (with no tablet plugged in) and still mic input isn't working. I tried and external mic, but still nothing. I tried uninstalling skype, still nothing.
    This is not the first time this happened, I noticed it would somehow fix itself after a few days every time, and mic and bluetooth would start working again out of nowhere. Which makes it even more weird.
    Need help pleaseee!
    PS. I tried getting someone to fix it before(a few months ago- I don't really use my mic or bluetooth much), but when I brought it in and started up my mac, at that time it was working again. But now it isn't working =(

    UPDATE: I just noticed my bluetooth was no longer "unavailable", so I quickly went into system preferences, and noticed that my internal mic input had some input! Very weak though, only 1-2 bars. So what does this mean?

  • I tried to set up a remote desktop between my macmini and my work computer.  I hit cancel and now the Remote Desktop will not close.  I cannot shut down my computer either.  How do you close a non-responsive application.  I have tried everything!

    I tried to set up a remote desktop connection between my MacMini and my work computer.  It was not working so I hit cancel, but then the big black screen of death came up and will not go a way.  I cannot close my computer nor quit the remote desktop connection.  How do you close a non-responsive application?  By the way, I am new to Mac and it is not as simple as hitting the Control, Alt, Delete.  Please help.

    virginiafromphoenix wrote:
    .......How do you close a non-responsive application?.......
    Try ( alt + cmd + esc ).  Gives you a menu of running applications, and a chance to "Force Quit".

  • How can I tether via USB my iPhone 4S with iOS 7.1.1 to my MacBook with Snow Leopard 10.6.8 and iTunes 11.2.2 ?? Please note that at the same time Personal Hotspot via both WiFi and Bluetooth works perfectly!

    How can I tether via USB my iPhone 4S with iOS 7.1.1 to my MacBook with Snow Leopard 10.6.8 and iTunes 11.2.2 ?? Please note that at the same time Personal Hotspot via both WiFi and Bluetooth works perfectly!

    Hello, lustige luka. 
    Thank you for visiting Apple Support Communities. 
    The Personal Hotspot feature using USB  should be as simple as connecting the device to your Mac via the USB cable when Hotspot is enabled.  Here is some more information regarding this feature and an article that will provide some troubleshooting steps if you are experiencing an issue. 
    iOS: Understanding Personal Hotspot
    http://support.apple.com/kb/ht4517
    iOS: Troubleshooting Personal Hotspot
    http://support.apple.com/kb/TS2756
    Cheers,
    Jason H. 

Maybe you are looking for

  • Using single iTunes library for multiple computers

    With the new Airport Disk utility, can I attach an external hard drive with my iTunes library and have multiple computers point to that library as the library for each?

  • Photos and camera apps crash when I hit camera roll/take a picture

    After updating to ios5, I can no longer access my camera roll, not take a picture.  When I hit camera roll, photos crashes.  When I take a picture it says saving, then crashes.  I have tried turning off the apps and reopening them. I have tried resta

  • Can't open pdf files on IOS 7

    Since the upgrade to IOS 7, I can't open PDF FILES.   They download all right, but I only see like a pic.   I can't open, can't save to pdf, can't see it.  Can't nothing.   Any help?

  • RBO vs CBO

    hi, Can anyone explain when to use Rule Based Optimizer and cost Based Optimizer and also the difference for these two

  • Extending a loop length in a simple way

    Hi guys and I'll start my first post by thanking you all for all the posts on here, I find this very helpful and use the forum search function a lot to increase my knowledge. But to the point. I work with short seamless loops of around 10seconds or s