public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] unable to open /dev/rfcomm0: No such device.
@ 2005-07-11 10:37 Fahad Khowaja
  2005-07-11 12:18 ` Paulo Wollny
  0 siblings, 1 reply; 3+ messages in thread
From: Fahad Khowaja @ 2005-07-11 10:37 UTC (permalink / raw)
  To: bluez-users

Hello list members!

I am using Bluez on an Axis Developer Board 82+ running kernel 2.4. I have 
everything running fine except when I try to issue "rfcomm bind" or cat 
/dev/rfcomm0 or echo "foo" > /dev/rfcomm0 I get a "No such device" error. A 
cat of my /proc/devices produces:

Character devices:
  1 mem
  2 pty
  3 ttyp
  4 ttyS
  5 cua
10 misc
90 mtd
108 ppp
120 etrax gpio
121 ds1302
128 ptm
136 pts
162 raw
180 usb

Block devices:
  1 ramdisk
31 mtdblock

It seems that the character device with major version 216 is not recognized 
by the kernel. Which driver is used for these devices? Which options should 
I enable in the kernel for it to be included in the kernel (I don't have 
module support on the axis board)? It will be an immense help if someone can 
give me some pointers!

Gratefully yours,
Fahad.

_________________________________________________________________
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] unable to open /dev/rfcomm0: No such device.
  2005-07-11 10:37 [Bluez-users] unable to open /dev/rfcomm0: No such device Fahad Khowaja
@ 2005-07-11 12:18 ` Paulo Wollny
  0 siblings, 0 replies; 3+ messages in thread
From: Paulo Wollny @ 2005-07-11 12:18 UTC (permalink / raw)
  To: bluez-users

mknod /dev/rfcomm0 c  216 0

I hope this helps.

Paulo Wollny

Fahad Khowaja wrote:
> Hello list members!
>=20
> I am using Bluez on an Axis Developer Board 82+ running kernel 2.4. I=20
> have everything running fine except when I try to issue "rfcomm bind" o=
r=20
> cat /dev/rfcomm0 or echo "foo" > /dev/rfcomm0 I get a "No such device"=20
> error. A cat of my /proc/devices produces:
>=20
> Character devices:
>  1 mem
>  2 pty
>  3 ttyp
>  4 ttyS
>  5 cua
> 10 misc
> 90 mtd
> 108 ppp
> 120 etrax gpio
> 121 ds1302
> 128 ptm
> 136 pts
> 162 raw
> 180 usb
>=20
> Block devices:
>  1 ramdisk
> 31 mtdblock
>=20
> It seems that the character device with major version 216 is not=20
> recognized by the kernel. Which driver is used for these devices? Which=
=20
> options should I enable in the kernel for it to be included in the=20
> kernel (I don't have module support on the axis board)? It will be an=20
> immense help if someone can give me some pointers!
>=20
> Gratefully yours,
> Fahad.
>=20
> _________________________________________________________________
> Take advantage of powerful junk e-mail filters built on patented=20
> Microsoft=AE SmartScreen Technology.=20
> http://join.msn.com/?pgmarket=3Den-ca&page=3Dbyoa/prem&xAPID=3D1994&DI=3D=
1034&SU=3Dhttp://hotmail.com/enca&HL=3DMarket_MSNIS_Taglines=20
>  Start enjoying all the benefits of MSN=AE Premium right now and get th=
e=20
> first two months FREE*.
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by the 'Do More With Dual!' webinar=20
> happening
> July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dua=
l
> core and dual graphics technology at this free one hour event hosted by=
=20
> HP, AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebina=
r
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>=20
>=20


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* [Bluez-users] unable to open /dev/rfcomm0: No such device.
@ 2005-07-11 13:06 Fahad Khowaja
  0 siblings, 0 replies; 3+ messages in thread
From: Fahad Khowaja @ 2005-07-11 13:06 UTC (permalink / raw)
  To: bluez-users

Hi! The issue is resolved. For anyone who may be interested in the details, 
it's as follows:

The problem was that the kernel did not recognize character device major 
version 216. It had no drivers for this type of device. I had to configure 
RFCOMM protocol support and RFCOMM TTY support under Bluetooth support in 
the kernel and recompile it. This step added a driver to the kernel and a 
cat of /proc/devices listed "216 rfcomm" as a recognized device.

Not being able to recognize this type of device was also causing ioctl() 
function calls which referred to it to fail. After the drivers were loaded, 
the ioctl() calls worked properly (which were previously giving errors).

Fahad.

_________________________________________________________________
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
  Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.



-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2005-07-11 13:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-11 10:37 [Bluez-users] unable to open /dev/rfcomm0: No such device Fahad Khowaja
2005-07-11 12:18 ` Paulo Wollny
  -- strict thread matches above, loose matches on Subject: below --
2005-07-11 13:06 Fahad Khowaja

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