You can pullout and disconnect the usb-bluetooth device(from usb-port) and connect
again,
see the messages.
Do you get anything on /proc/bus/usb/devices?
(hope the proc filesystem is mounted)
Device open fails, when there is no device registered with that name.
Regards,
Sreekumar CM
"Sukumar Ghorai"
<[EMAIL PROTECTED]> To:
[EMAIL PROTECTED]
Sent by:
[EMAIL PROTECTED]
[EMAIL PROTECTED] Sreekumar
CM/SGP/SC/PHILIPS@APAC
ceforge.net cc:
[EMAIL PROTECTED]
Subject:
[Linux-usb-users] RE: [linux-usb-devel] help...
09/02/2002 02:09 PM Classification:
Hi,
I am working in Red-hat linux 7.2. I have done-
1.--
$>insmod /lib/modules/2.4.7-10/kernel/drivers/usb/bluetooth.o
/var/log/messages - give->
Sep 2 11:14:20 Bluetooth-Host2 kernel: bluetooth.c: USB Bluetooth support
registered
Sep 2 11:14:20 Bluetooth-Host2 kernel: usb.c: registered new driver
bluetooth
Sep 2 11:14:20 Bluetooth-Host2 kernel: bluetooth.c: USB Bluetooth tty
driver v0.12
2.--
Now if I add bluetooth(ROK) module its- not givining any message. why?
3.--
and /usr/src/linux/Documentation/usb/bluetooth.txt saying that device name
be /dev/ttyUB[0-255]. Why its failing open the /dev/ttyUB0, not
writing/reading? Do u thing because of driver? but, i don't thing so.
please reply..
with regards
Sukumar
>From: "Ravi Kumar B S" <[EMAIL PROTECTED]>
>To: "Sukumar Ghorai"
><[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
>CC: <[EMAIL PROTECTED]>
>Subject: RE: [linux-usb-devel] help...
>Date: Mon, 2 Sep 2002 10:52:21 +0530
>
>After connecting the device, do you see any logs in the /var/log/messages
>file.
>check that out.
>
>/Ravi
>
>-----Original Message-----
>From: Sukumar Ghorai [mailto:[EMAIL PROTECTED]]
>Sent: Monday, September 02, 2002 10:40 AM
>To: [EMAIL PROTECTED]
>Cc: [EMAIL PROTECTED]
>Subject: [linux-usb-devel] help...
>
>
>Hi,
> This is Sukumar Ghorai, working in the Bluetooth Techlonology.
>I am trying to open /dev/ttyUB0 but, its giving error ": No such device".
>But the device is is there-
>crwxrwxrwx 1 root uucp 216, 0 Sep 2 10:08 /dev/ttyUB0
>
>Here is the Source of my test program. Please help me.
>
>With Regards
>Sukumar
>
>#include <fcntl.h>
>#include <linux/serial.h>
>main()
>{
> int fd;
> char *name="/dev/ttyUB0";
>
> if((fd = open(name,O_RDWR)) == -1){
> printf("Error : %s\n",name);
> perror("fd open error\n");
> exit(0);
> }else{
> printf("Success..........\n");
> }
>}
>
>
>
>
>_________________________________________________________________
>Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by: OSDN - Tired of that same old
>cell phone? Get a new here for FREE!
>https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
>_______________________________________________
>[EMAIL PROTECTED]
>To unsubscribe, use the last form field at:
>https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users