Skip to contentSkip to conversation

PAN Configurations

Bluez-users Anderson Rodrigues 3 participants 7 messages Mar 7, 2005 – Mar 16, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi folks,

I am trying to create a PAN using PAND. Actually I am following the "Personal Networking Area How-To" which can be found at Bluez.org. Let explain what i am doing:

In both sides (GN and PANU)

# modprobe bnep
# hcid
# sdpd

on the GN side

# pand --listen --role GN

on the PANU side

# pand --connect <GN address>

after this command, I get the following messages using dmesg

parport0: FIFO is stuck
parport0: BUSY timeout (1) in compat_write_block_pio FIFO write timed out
parport0: FIFO is stuck
parport0: BUSY timeout (1) in compat_write_block_pio FIFO write timed out
parport0: FIFO is stuck
parport0: BUSY timeout (1) in compat_write_block_pio FIFO write timed out
parport0: FIFO is stuck
parport0: BUSY timeout (1) in compat_write_block_pio FIFO write timed out

and I can not find the bnep0 network interface.

am I doing something wrong?

any help is very welcome

cheers,

Signature · 14 lines
Anderson Clayton B. Rodrigues
Eng. de Software
Instituto Nokia de Tecnologia - INdT


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
#1 lore raw

[Bluez-users] Can 2 services work parallely between a PC and a BT device

Dear all,

Whether 2 profile services work parallely between a PC and a single BT device.

- On the PC we use a Standard USB BT Dongle with the required profile settings.
- BT device has to have the Headset profile and the Serial port profile implementaion.

Is there any Bluetooth SoC which supports 2 profiles simultaneously with the same Host?

Thanks & Regards,
Benny

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#2 lore raw

Re: [Bluez-users] Can 2 services work parallely between a PC and a BT device

Hi Benny,

Quoted 8 lines

Whether 2 profile services work parallely between a PC and a single BT device.

- On the PC we use a Standard USB BT Dongle with the required profile settings.
- BT device has to have the Headset profile and the Serial port profile implementaion.

Is there any Bluetooth SoC which supports 2 profiles simultaneously with the same Host?

I don't know that for SoC systems, but the BlueZ supports multiple profiles at the same time.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#3 lore raw

[Bluez-users] USSP compilation problem for linux 2.6

Dear all,

We have purchased a BT Serial port adapter. I am now involved in testing this. To one PC I am connecting a Standard BT USB dongle and to another PC I am connecting the BT Serial port adaptor.

I am facing some problems while compiling(On fedora 3 - linux kernel - 2.6.9-1.667) the "ussp" source found in the "rfcomm-0.10" source downloaded from the
http://www.holtmann.org/linux/bluetooth/rfcomm.html site.

Is there any bluetooth patch available for linux 2.6.9.

Please find the error log of the compilation.

Anyone has come across this problem?

Please advice.

Thanks & Regards,
Benny

-D__KERNEL__ -I/usr/src/linux-2.6/include -I. -DMODULE -Wall -Wstrict-prototypes -O2 -c -o ussp.o ussp.c
In file included from ussp.c:48:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers, /usr/include/linux/modversions.h:2:2: #error but rather headers from the appropriate kernel package. /usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to /usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include /usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel. In file included from /usr/src/linux-2.6/include/asm/processor.h:18,

                 from /usr/src/linux-2.6/include/asm/thread_info.h:16,
                 from /usr/src/linux-2.6/include/linux/thread_info.h:21,
                 from /usr/src/linux-2.6/include/linux/spinlock.h:12,
                 from /usr/src/linux-2.6/include/linux/capability.h:45,
                 from /usr/src/linux-2.6/include/linux/sched.h:7,
                 from /usr/src/linux-2.6/include/linux/module.h:10,
                 from ussp.c:51:

/usr/src/linux-2.6/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux-2.6/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/src/linux-2.6/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules In file included from /usr/src/linux-2.6/include/linux/irq.h:20,

                 from /usr/src/linux-2.6/include/asm/hardirq.h:6,
                 from /usr/src/linux-2.6/include/linux/hardirq.h:6,
                 from /usr/src/linux-2.6/include/linux/interrupt.h:11,
                 from ussp.c:57:
/usr/src/linux-2.6/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux-2.6/include/asm/hardirq.h:6,
                 from /usr/src/linux-2.6/include/linux/hardirq.h:6,
                 from /usr/src/linux-2.6/include/linux/interrupt.h:11,
                 from ussp.c:57:
/usr/src/linux-2.6/include/linux/irq.h: At top level:
/usr/src/linux-2.6/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux-2.6/include/linux/irq.h:72,
                 from /usr/src/linux-2.6/include/asm/hardirq.h:6,
                 from /usr/src/linux-2.6/include/linux/hardirq.h:6,
                 from /usr/src/linux-2.6/include/linux/interrupt.h:11,
                 from ussp.c:57:

/usr/src/linux-2.6/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) ussp.c:66:26: linux/tqueue.h: No such file or directory
ussp.c:73:29: linux/compatmac.h: No such file or directory
ussp.c: In function `ussp_tty_hangup':
ussp.c:200: error: called object is not a function
ussp.c:200: error: syntax error before string constant
ussp.c:204: error: called object is not a function
ussp.c:204: error: syntax error before string constant
ussp.c: In function `ussp_tty_flush_buffer':
ussp.c:212: error: called object is not a function
ussp.c:212: error: syntax error before string constant
ussp.c:221: error: called object is not a function
ussp.c:221: error: syntax error before string constant
ussp.c:226: error: called object is not a function
ussp.c:226: error: syntax error before string constant
ussp.c: In function `ussp_tty_flush_chars':
ussp.c:232: error: called object is not a function
ussp.c:232: error: syntax error before string constant
ussp.c:233: error: called object is not a function
ussp.c:233: error: syntax error before string constant
ussp.c: In function `ussp_tty_stop':
ussp.c:239: error: called object is not a function
ussp.c:239: error: syntax error before string constant
ussp.c:240: error: called object is not a function
ussp.c:240: error: syntax error before string constant
ussp.c: In function `ussp_tty_start':
ussp.c:246: error: called object is not a function
ussp.c:246: error: syntax error before string constant
ussp.c:247: error: called object is not a function
ussp.c:247: error: syntax error before string constant
ussp.c: In function `ussp_dummy':
ussp.c:253: error: called object is not a function
ussp.c:253: error: syntax error before string constant
ussp.c:254: error: called object is not a function
ussp.c:254: error: syntax error before string constant
ussp.c: In function `ussp_init':
ussp.c:265: error: called object is not a function
ussp.c:265: error: syntax error before string constant
ussp.c:284: warning: assignment makes integer from pointer without a cast
ussp.c:285: error: structure has no member named `table'
ussp.c:318: error: called object is not a function
ussp.c:318: error: syntax error before string constant
ussp.c: In function `copy_to_circular_buffer':
ussp.c:350: error: called object is not a function
ussp.c:350: error: syntax error before string constant
ussp.c:378: error: called object is not a function
ussp.c:378: error: syntax error before string constant
ussp.c: In function `copy_from_circular_buffer':
ussp.c:388: error: called object is not a function
ussp.c:388: error: syntax error before string constant
ussp.c:417: error: called object is not a function
ussp.c:417: error: syntax error before string constant
ussp.c: In function `ussp_write_to_ctl':
ussp.c:428: error: called object is not a function
ussp.c:428: error: syntax error before string constant
ussp.c:431: error: called object is not a function
ussp.c:431: error: syntax error before string constant
ussp.c:439: error: called object is not a function
ussp.c:439: error: syntax error before string constant
ussp.c:484: error: called object is not a function
ussp.c:484: error: syntax error before string constant
ussp.c: In function `ussp_tty_set_termios':
ussp.c:492: error: called object is not a function
ussp.c:492: error: syntax error before string constant
ussp.c:499: error: called object is not a function
ussp.c:499: error: syntax error before string constant
ussp.c: In function `ussp_tty_write':
ussp.c:509: error: called object is not a function
ussp.c:509: error: syntax error before string constant
ussp.c:517: error: called object is not a function
ussp.c:517: error: syntax error before string constant
ussp.c: In function `ussp_tty_put_char':
ussp.c:526: error: called object is not a function
ussp.c:526: error: syntax error before string constant
ussp.c:533: error: called object is not a function
ussp.c:533: error: syntax error before string constant
ussp.c: In function `ussp_tty_open':
ussp.c:544: error: called object is not a function
ussp.c:544: error: syntax error before string constant
ussp.c:546: error: `MOD_INC_USE_COUNT' undeclared (first use in this function)
ussp.c:546: error: (Each undeclared identifier is reported only once
ussp.c:546: error: for each function it appears in.)
ussp.c:548: error: structure has no member named `device'
ussp.c:549: error: structure has no member named `tty'
ussp.c:557: error: called object is not a function
ussp.c:557: error: syntax error before string constant
ussp.c:580: error: structure has no member named `device'
ussp.c:591: warning: `interruptible_sleep_on' is deprecated (declared at /usr/src/linux-2.6/include/linux/wait.h:290) ussp.c:594: error: called object is not a function
ussp.c:594: error: syntax error before string constant
ussp.c:614: error: structure has no member named `leader'
ussp.c:614: error: structure has no member named `tty'
ussp.c:615: error: structure has no member named `leader'
ussp.c:615: error: structure has no member named `tty'
ussp.c:617: error: structure has no member named `tty'
ussp.c:618: error: structure has no member named `tty_old_pgrp'
ussp.c:619: error: structure has no member named `session'
ussp.c:620: error: structure has no member named `pgrp'
ussp.c:623: error: called object is not a function
ussp.c:623: error: syntax error before string constant
ussp.c: In function `ussp_tty_close':
ussp.c:633: error: called object is not a function
ussp.c:633: error: syntax error before string constant
ussp.c:657: error: `MOD_DEC_USE_COUNT' undeclared (first use in this function)
ussp.c:658: error: called object is not a function
ussp.c:658: error: syntax error before string constant
ussp.c: In function `ussp_tty_ioctl':
ussp.c:669: error: called object is not a function
ussp.c:669: error: syntax error before string constant
ussp.c:675: error: called object is not a function
ussp.c:675: error: syntax error before string constant
ussp.c:684: warning: implicit declaration of function `Put_user'
ussp.c:697: warning: implicit declaration of function `Get_user'
ussp.c:725: error: called object is not a function
ussp.c:725: error: syntax error before string constant
ussp.c: In function `ussp_tty_write_room':
ussp.c:735: error: called object is not a function
ussp.c:735: error: syntax error before string constant
ussp.c:746: error: called object is not a function
ussp.c:746: error: syntax error before string constant
ussp.c: In function `ussp_ctl_open':
ussp.c:754: error: called object is not a function
ussp.c:754: error: syntax error before string constant
ussp.c:756: error: `MOD_INC_USE_COUNT' undeclared (first use in this function)
ussp.c:758: error: called object is not a function
ussp.c:758: error: syntax error before string constant
ussp.c: In function `ussp_ctl_ioctl':
ussp.c:769: error: called object is not a function
ussp.c:769: error: syntax error before string constant
ussp.c:791: error: called object is not a function
ussp.c:791: error: syntax error before string constant
ussp.c:808: warning: implicit declaration of function `get_free_page'
ussp.c:817: error: called object is not a function
ussp.c:817: error: syntax error before string constant
ussp.c:826: error: called object is not a function
ussp.c:826: error: syntax error before string constant
ussp.c:833: error: called object is not a function
ussp.c:833: error: syntax error before string constant
ussp.c:841: error: called object is not a function
ussp.c:841: error: syntax error before string constant
ussp.c: In function `ussp_ctl_read':
ussp.c:851: error: called object is not a function
ussp.c:851: error: syntax error before string constant
ussp.c:854: error: called object is not a function
ussp.c:854: error: syntax error before string constant
ussp.c:860: error: called object is not a function
ussp.c:860: error: syntax error before string constant
ussp.c:865: warning: `interruptible_sleep_on' is deprecated (declared at /usr/src/linux-2.6/include/linux/wait.h:290) ussp.c:867: error: called object is not a function
ussp.c:867: error: syntax error before string constant
ussp.c:878: error: called object is not a function
ussp.c:878: error: syntax error before string constant
ussp.c:891: error: called object is not a function
ussp.c:891: error: syntax error before string constant
ussp.c: In function `ussp_ctl_write':
ussp.c:902: error: called object is not a function
ussp.c:902: error: syntax error before string constant
ussp.c:908: error: called object is not a function
ussp.c:908: error: syntax error before string constant
ussp.c:913: error: called object is not a function
ussp.c:913: error: syntax error before string constant
ussp.c:922: error: called object is not a function
ussp.c:922: error: syntax error before string constant
ussp.c:958: error: called object is not a function
ussp.c:958: error: syntax error before string constant
ussp.c: In function `ussp_ctl_close':
ussp.c:967: error: called object is not a function
ussp.c:967: error: syntax error before string constant
ussp.c:996: error: `MOD_DEC_USE_COUNT' undeclared (first use in this function)
ussp.c:997: error: called object is not a function
ussp.c:997: error: syntax error before string constant
ussp.c: In function `ussp_ctl_poll':
ussp.c:1008: error: called object is not a function
ussp.c:1008: error: syntax error before string constant
ussp.c:1026: error: called object is not a function
ussp.c:1026: error: syntax error before string constant
ussp.c: In function `ussp_tty_chars_in_buffer':
ussp.c:1036: error: called object is not a function
ussp.c:1036: error: syntax error before string constant
ussp.c:1040: error: called object is not a function
ussp.c:1040: error: syntax error before string constant
ussp.c: In function `init_ussp_module':
ussp.c:1050: error: called object is not a function
ussp.c:1050: error: syntax error before string constant
ussp.c:1054: error: called object is not a function
ussp.c:1054: error: syntax error before string constant
ussp.c: In function `exit_ussp_module':
ussp.c:1062: error: called object is not a function
ussp.c:1062: error: syntax error before string constant
ussp.c:1070: error: called object is not a function
ussp.c:1070: error: syntax error before string constant
ussp.c: At top level:
ussp.c:1077: warning: type defaults to int' in declaration of EXPORT_NO_SYMBOLS'
ussp.c:1077: warning: data definition has no type or storage class
make: *** [ussp.o] Error 1

maintainer
#4 lore raw

Re: [Bluez-users] USSP compilation problem for linux 2.6

Hi Benny,

Quoted 8 lines

We have purchased a BT Serial port adapter. I am now involved in testing this. To one PC I am connecting a Standard BT USB dongle and to another PC I am connecting the BT Serial port adaptor.

I am facing some problems while compiling(On fedora 3 - linux kernel - 2.6.9-1.667) the "ussp" source found in the "rfcomm-0.10" source downloaded from the
http://www.holtmann.org/linux/bluetooth/rfcomm.html site.

don't even try to deal the the old RFCOMM implementation. The new one is inside the kernel and directly integrated into the network socket and the TTY layer.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#5 lore raw

Re: [Bluez-users] USSP compilation problem for linux 2.6

Thanks Marcel for your information. So I should not use the ussp for linux 2.6.

How I need to connect to the BT Serial port adapter from the PC host using the BT USB dongle? (ie) that is the command settings.

Which device node I need to open for writing a serial port application on host to send data to the target PC with BT serial port adapter?

Thanks & Regards,
Benny

Quoted 19 lines · Marcel Holtmann

Hi Benny,

Quoted 8 lines

We have purchased a BT Serial port adapter. I am now involved in testing this. To one PC I am connecting a Standard BT USB dongle and to another PC I am connecting the BT Serial port adaptor.

I am facing some problems while compiling(On fedora 3 - linux kernel - 2.6.9-1.667) the "ussp" source found in the "rfcomm-0.10" source downloaded from the
http://www.holtmann.org/linux/bluetooth/rfcomm.html site.

don't even try to deal the the old RFCOMM implementation. The new one is inside the kernel and directly integrated into the network socket and the TTY layer.

Regards

Marcel

Quoted 10 lines

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#6 lore raw

Re: [Bluez-users] USSP compilation problem for linux 2.6

Hi Benny,

Quoted 7 lines

Thanks Marcel for your information. So I should not use the ussp for linux 2.6.

How I need to connect to the BT Serial port adapter from the PC host using the BT USB dongle? (ie) that is the command settings.

Which device node I need to open for writing a serial port application on host to send data to the target PC with BT serial port adapter?

maybe you should read the rfcomm manual page and look at the rfcomm program.

Regards

Marcel

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users