public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Trejkaz Xaoza <trejkaz@trypticon.org>
To: bluez-users@lists.sourceforge.net
Subject: [Bluez-users] Device class resetting itself after device is removed
Date: Mon, 1 Nov 2004 22:22:49 +1100	[thread overview]
Message-ID: <200411012222.49520.trejkaz@trypticon.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1699 bytes --]


I've been noticing some issues which seemed to start happening after I left my 
machine alone for a while.  Eventually I thought I would try to nail the 
problem down and exclude some parties like kdebluetooth from the picture.  
What's left is quite reproducible.  It turns out that these periods of 
leaving the machine alone coincided with the times I removed the dongle to 
use it at work. :-)

System in healthy state:

raven root # hciconfig hci0 class
hci0:   Type: USB
        BD Address: 00:0B:0D:40:14:0D ACL MTU: 120:20  SCO MTU: 64:0
        Class: 0xff0104
        Service Classes: Positioning, Networking, Rendering, Capturing, Object 
Transfer, Audio, Telephony, Information
        Device Class: Computer, Desktop workstation

System after removing dongle:

raven root # hciconfig hci0 class
Can't get device info: No such device

System after replacing dongle:

raven root # hciconfig hci0 class
hci0:   Type: USB
        BD Address: 00:0B:0D:40:14:0D ACL MTU: 120:20  SCO MTU: 64:0
        Class: 0x000000
        Service Classes: Unspecified
        Device Class: Miscellaneous,

Now, the class has reset to 0x000000, but that's not the value I have in 
hcid.conf.

It also destroys my hostname value and probably everything else important at 
the same time, which would certainly explain why I suddenly can't connect ot 
the computer from any devices when it happens.

Any ideas on how I can stop this resetting?

TX

-- 
             Email: Trejkaz Xaoza <trejkaz@xaoza.net>
          Web site: http://xaoza.net/
         Jabber ID: trejkaz@jabber.xaoza.net
   GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F  A62C B8C7 BC8B 037E EA73

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2004-11-01 11:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-01 11:22 Trejkaz Xaoza [this message]
2004-11-01 12:45 ` [Bluez-users] Device class resetting itself after device is removed Marcel Holtmann
2004-11-01 13:56   ` Trejkaz Xaoza
2004-11-01 14:33     ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200411012222.49520.trejkaz@trypticon.org \
    --to=trejkaz@trypticon.org \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=trejkaz@xaoza.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox