You are not logged in.

#1 2007-07-18 09:24:59

mehldutt
Member
From: Germany
Registered: 2006-01-08
Posts: 128

[SOLVED] bluetooth PCMCIA and suspend

My bluetooth PCMCIA works fine, but after suspend and resume it stops working.

# hciattach ttyS0 0279,950b
BCSP initialization timed out
#dmesg
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_pkt_cull: Peer acked invalid packet
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_pkt_cull: Peer acked invalid packet
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_pkt_cull: Peer acked invalid packet
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_pkt_cull: Peer acked invalid packet
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_pkt_cull: Peer acked invalid packet
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_pkt_cull: Peer acked invalid packet
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_pkt_cull: Peer acked invalid packet
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_pkt_cull: Peer acked invalid packet
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_pkt_cull: Peer acked invalid packet
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_pkt_cull: Peer acked invalid packet
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_pkt_cull: Peer acked invalid packet
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_pkt_cull: Peer acked invalid packet
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_pkt_cull: Peer acked invalid packet
bcsp_handle_le_pkt: Found a LE sync pkt, card has reset
bcsp_pkt_cull: Peer acked invalid packet

Last edited by mehldutt (2007-07-23 23:35:24)

Offline

#2 2007-07-21 15:43:57

mehldutt
Member
From: Germany
Registered: 2006-01-08
Posts: 128

Re: [SOLVED] bluetooth PCMCIA and suspend

seems to be an bug in "pm-ulilts" because it worked with "powersave".

Offline

#3 2007-07-23 23:34:33

mehldutt
Member
From: Germany
Registered: 2006-01-08
Posts: 128

Re: [SOLVED] bluetooth PCMCIA and suspend

I solved it by adding following hook to /etc/pm/sleep.d

#!/bin/bash
case $1 in
    hibernate)
        pccardctl eject 0
        ;;
    suspend)
        pccardctl eject 0
        ;;
    thaw)
        pccardctl insert 0
        hciattach ttyS0 0279,950b
        ;;
    resume)
        pccardctl insert 0
        hciattach ttyS0 0279,950b
        ;;
    *)  echo "somebody is calling me totally wrong."
        ;;
esac

Offline

Board footer

Powered by FluxBB