• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
hanging bluetooth driver? (well, user progs opening it)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hanging bluetooth driver? (well, user progs opening it)


  • Subject: hanging bluetooth driver? (well, user progs opening it)
  • From: Brad Parker <email@hidden>
  • Date: Thu, 04 Sep 2008 20:15:12 -0400
  • Organization: Heeltoe Consulting

Thought I bounce this off people here:

I'm running 10.4.11 on a 64 bit ppc imac.  I recently connected a
bluetooth serial port.  It associates and creates several /dev/cu.xxx and
/dev/tty.xxx device nodes.

It sort of works ok, but after a while the user process accessing it
hangs.  (it's running, ahem, zmodem; what can I say)

I try and kill the user process and it does not die.  The zombie is left
in state 'E' according to ps, which is "trying to exit".

I assume, basedc on some unixy notions, that a driver is sleeping in
some uninterpretable way on the close or maybe last write or read.

I would, however, assume that if I turned off bluetooth the proc would
exit, but it does not.

Also, if another proc opens the /dev/ node, when this zombie is present,
it also hangs and can not be killed.  It hangs in 'U', which is
(surprise) uninterruptable wait.

I thought we got ride of uninterruptable sleeps in serial ports in the
early '90s :-)

The only way I have found to clear this state is to reboot.

Any ideas?  Any way to kill the zombie?

I have not tried this in 10.5, but I will at some point.

-brad

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: hanging bluetooth driver? (well, user progs opening it)
      • From: Eli Bach <email@hidden>
  • Prev by Date: Re: calling select, via syscall, on 64 bit Leopard. (solved)
  • Next by Date: Re: hanging bluetooth driver? (well, user progs opening it)
  • Previous by thread: Re: calling select, via syscall, on 64 bit Leopard. (solved)
  • Next by thread: Re: hanging bluetooth driver? (well, user progs opening it)
  • Index(es):
    • Date
    • Thread