public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Device class resetting itself after device is removed
@ 2004-11-01 11:22 Trejkaz Xaoza
  2004-11-01 12:45 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Trejkaz Xaoza @ 2004-11-01 11:22 UTC (permalink / raw)
  To: bluez-users

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Device class resetting itself after device is removed
  2004-11-01 11:22 [Bluez-users] Device class resetting itself after device is removed Trejkaz Xaoza
@ 2004-11-01 12:45 ` Marcel Holtmann
  2004-11-01 13:56   ` Trejkaz Xaoza
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2004-11-01 12:45 UTC (permalink / raw)
  To: trejkaz; +Cc: BlueZ Mailing List

Hi Trejkaz,

> 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.

are you sure that your hcid is running?

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Device class resetting itself after device is removed
  2004-11-01 12:45 ` Marcel Holtmann
@ 2004-11-01 13:56   ` Trejkaz Xaoza
  2004-11-01 14:33     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Trejkaz Xaoza @ 2004-11-01 13:56 UTC (permalink / raw)
  To: bluez-users

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

On Mon, 1 Nov 2004 23:45, Marcel Holtmann wrote:
>
> are you sure that your hcid is running?

Yup, looks healthy so far:

[100] trejkaz@raven:~> ps -ef|grep hcid
root      6821     1  0 Nov01 ?        00:00:00 hcid: processing events                   

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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] Device class resetting itself after device is removed
  2004-11-01 13:56   ` Trejkaz Xaoza
@ 2004-11-01 14:33     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-11-01 14:33 UTC (permalink / raw)
  To: trejkaz; +Cc: BlueZ Mailing List

Hi Trejkaz,

> > are you sure that your hcid is running?
> 
> Yup, looks healthy so far:
> 
> [100] trejkaz@raven:~> ps -ef|grep hcid
> root      6821     1  0 Nov01 ?        00:00:00 hcid: processing events                   

if it still doesn't work, you may have to restart it to use your new
settings.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-01 14:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-01 11:22 [Bluez-users] Device class resetting itself after device is removed Trejkaz Xaoza
2004-11-01 12:45 ` Marcel Holtmann
2004-11-01 13:56   ` Trejkaz Xaoza
2004-11-01 14:33     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox