Re: [H-GEN] Bluetooth: pand: Connection failed. File exists(17)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Geoff Shang, le Wed 22 Mar 2006 00:05:11 +1000, a écrit :
> Geoff Shang wrote:
> 
> >Mar 10 18:35:46 data pand[16077]: Connection failed. File exists(17)
> 
> Thanks to those who helpfully suggested I run pand under strace. 
> Unfortunately, for me at least, the results weren't particularly 
> illuminating.
> 
> I'm assuming the following line from the panu side is significant:
> 
> ioctl(3, 0x400442c8, 0xbffff210)        = -1 EEXIST (File exists)
> 
> Anyone know what this means?

Ah, strace was not updated for bluez ioctls.

By digging in the source code, it seems to come from bnep_connadd():

        strcpy(req.device, dev);
        req.sock = sk;
        req.role = role;

        if (ioctl(ctl, bnepconnadd, &req))

Reading from the kernel code, it seems to mean that a session already
exists for the given destination.

Regards,
Samuel

_______________________________________________

Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]