* [Bluez-users] Logitech Bluetooth Mx900+keyboard support. @ 2004-01-18 20:20 Terence Rudkin 2004-01-18 20:44 ` Marcel Holtmann 0 siblings, 1 reply; 24+ messages in thread From: Terence Rudkin @ 2004-01-18 20:20 UTC (permalink / raw) To: bluez-users Hi, Based on the archives, about a month ago, support for this did not exist. That is because of not being able to switch from HID to HCI mode. I am using the keyboard an mouse but would like to use the Bluetooth hub to connect my Palm T3. Has there been any progress on getting this to work? Is there something I can do to help progress this? -- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-18 20:20 [Bluez-users] Logitech Bluetooth Mx900+keyboard support Terence Rudkin @ 2004-01-18 20:44 ` Marcel Holtmann 2004-01-18 21:30 ` Michal Semler (volny.cz) ` (2 more replies) 0 siblings, 3 replies; 24+ messages in thread From: Marcel Holtmann @ 2004-01-18 20:44 UTC (permalink / raw) To: Terence Rudkin; +Cc: BlueZ Mailing List Hi Terence, > Based on the archives, about a month ago, support for this did not > exist. That is because of not being able to switch from HID to HCI > mode. I am using the keyboard an mouse but would like to use the > Bluetooth hub to connect my Palm T3. > > > Has there been any progress on getting this to work? > Is there something I can do to help progress this? read the archives again. The hid2hci program from CVS supports the Logitech Bluetooth hub. Regards Marcel ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-18 20:44 ` Marcel Holtmann @ 2004-01-18 21:30 ` Michal Semler (volny.cz) 2004-01-18 22:11 ` Marcel Holtmann 2004-01-18 23:01 ` Terence Rudkin 2004-01-19 2:54 ` Terence Rudkin 2 siblings, 1 reply; 24+ messages in thread From: Michal Semler (volny.cz) @ 2004-01-18 21:30 UTC (permalink / raw) To: Bluez-users Hmmm another util available only in CVS. Marcel when will you finally release a new version of BlueZ supporting HID??? Michal Dne ne 18. ledna 2004 21:44 Marcel Holtmann napsal(a): > Hi Terence, > > > Based on the archives, about a month ago, support for this did not > > exist. That is because of not being able to switch from HID to HCI > > mode. I am using the keyboard an mouse but would like to use the > > Bluetooth hub to connect my Palm T3. > > > > > > Has there been any progress on getting this to work? > > Is there something I can do to help progress this? > > read the archives again. The hid2hci program from CVS supports the > Logitech Bluetooth hub. > > Regards > > Marcel > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Bluez-users mailing list > Bluez-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-users ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-18 21:30 ` Michal Semler (volny.cz) @ 2004-01-18 22:11 ` Marcel Holtmann 0 siblings, 0 replies; 24+ messages in thread From: Marcel Holtmann @ 2004-01-18 22:11 UTC (permalink / raw) To: cijoml; +Cc: BlueZ Mailing List Hi Michal, > Marcel when will you finally release a new version of BlueZ supporting HID??? when the library is ready and all programs are ported to the new library. I want to have the same level of functionality as we have now. However if you find a way to retrieve the complete HID report descriptor with the current SDP library, we can include a bthid version for the current libs. Regards Marcel ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-18 20:44 ` Marcel Holtmann 2004-01-18 21:30 ` Michal Semler (volny.cz) @ 2004-01-18 23:01 ` Terence Rudkin 2004-01-19 2:54 ` Terence Rudkin 2 siblings, 0 replies; 24+ messages in thread From: Terence Rudkin @ 2004-01-18 23:01 UTC (permalink / raw) To: Marcel Holtmann; +Cc: BlueZ Mailing List On Sun, 2004-01-18 at 13:44, Marcel Holtmann wrote: > > > > Has there been any progress on getting this to work > read the archives again. The hid2hci program from CVS supports the > Logitech Bluetooth hub. > Regards > > Marcel > Guess I did not get far enough. Thanks -- ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-18 20:44 ` Marcel Holtmann 2004-01-18 21:30 ` Michal Semler (volny.cz) 2004-01-18 23:01 ` Terence Rudkin @ 2004-01-19 2:54 ` Terence Rudkin 2004-01-19 12:22 ` Marcel Holtmann 2 siblings, 1 reply; 24+ messages in thread From: Terence Rudkin @ 2004-01-19 2:54 UTC (permalink / raw) To: Marcel Holtmann; +Cc: BlueZ Mailing List Marcel, Thank you for pointing me to hid2hci I have downloaded and compiled hid2hci. (gcc -Wall hid2hci.c -o hid2hci ) Running it I get: trudkin Last rc=1 07:43:17 /space/Bluez $> ./hid2hci -0 Switching device 046d:c703 to HCI mode was successful trudkin Last rc=0 07:43:20 /space/Bluez $> ./hid2hci -0 Switching device 046d:c703 to HCI mode was successful trudkin Last rc=0 07:43:22 /space/Bluez $> ./hid2hci -1 No devices in HID mode found trudkin Last rc=1 07:43:26 /space/Bluez $> I can set to HCI twice and cannot reset to HID. Leads me to believe that it did not take. I think all the right mods are loaded and hcid is running. #> lsmod |grep hci usb-uhci 26380 0 (unused) hci_usb 9752 0 (unused) bluez 40324 1 (autoclean) [sco rfcomm l2cap hci_usb] usbcore 79168 1 [usb-uhci hci_usb hid] ohci1394 29128 0 (unused) ieee1394 204612 0 [sbp2 ohci1394] What am I missing? On Sun, 2004-01-18 at 13:44, Marcel Holtmann wrote: > Hi Terence, > > > Based on the archives, about a month ago, support for this did not > > exist. That is because of not being able to switch from HID to HCI > > mode. I am using the keyboard an mouse but would like to use the > > Bluetooth hub to connect my Palm T3. > > > > > > Has there been any progress on getting this to work? > > Is there something I can do to help progress this? > > read the archives again. The hid2hci program from CVS supports the > Logitech Bluetooth hub. > > Regards > > Marcel > -- ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-19 2:54 ` Terence Rudkin @ 2004-01-19 12:22 ` Marcel Holtmann 2004-01-20 3:09 ` Terence Rudkin 0 siblings, 1 reply; 24+ messages in thread From: Marcel Holtmann @ 2004-01-19 12:22 UTC (permalink / raw) To: Terence Rudkin; +Cc: BlueZ Mailing List Hi Terence, > Running it I get: > > trudkin Last rc=1 07:43:17 /space/Bluez > $> ./hid2hci -0 > Switching device 046d:c703 to HCI mode was successful > trudkin Last rc=0 07:43:20 /space/Bluez > $> ./hid2hci -0 > Switching device 046d:c703 to HCI mode was successful > trudkin Last rc=0 07:43:22 /space/Bluez > $> ./hid2hci -1 > No devices in HID mode found > trudkin Last rc=1 07:43:26 /space/Bluez > $> > I can set to HCI twice and cannot reset to HID. Leads me to believe > that it did not take. I think all the right mods are loaded and hcid is > running. do you have patched the USB HID driver? Regards Marcel ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-19 12:22 ` Marcel Holtmann @ 2004-01-20 3:09 ` Terence Rudkin 2004-01-20 8:12 ` Olivier Bornet 2004-01-20 11:27 ` Marcel Holtmann 0 siblings, 2 replies; 24+ messages in thread From: Terence Rudkin @ 2004-01-20 3:09 UTC (permalink / raw) To: Marcel Holtmann; +Cc: BlueZ Mailing List Marcel, On Mon, 2004-01-19 at 05:22, Marcel Holtmann wrote: > do you have patched the USB HID driver? I am not sure. I cvs'ed the Makefile. Modified the SRCDIRS to include libs2 and utils2, removed hciemu. Did a make update, to get every thing. Then made all the dirs and installed the executables generated. Still the same error.s Do I need something else to get the USB HID driver? Thanks for your support! -- ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-20 3:09 ` Terence Rudkin @ 2004-01-20 8:12 ` Olivier Bornet 2004-01-20 11:25 ` Marcel Holtmann 2004-01-20 11:27 ` Marcel Holtmann 1 sibling, 1 reply; 24+ messages in thread From: Olivier Bornet @ 2004-01-20 8:12 UTC (permalink / raw) To: Terence Rudkin; +Cc: BlueZ Mailing List [-- Attachment #1: Type: text/plain, Size: 708 bytes --] Hi Terence, > > do you have patched the USB HID driver? > I am not sure. Look at the thread: http://sourceforge.net/mailarchive/message.php?msg_id=6881178 You need to patch your kernel for having hid2hci working. Note also that at this time, you can only switch from hid to hci, and not from hci to hid. Hope this help. Good day. Olivier -- Olivier Bornet | français : http://puck.ch/f Swiss Ice Hockey Results | english : http://puck.ch/e http://puck.ch/ | deutsch : http://puck.ch/g Olivier.Bornet@puck.ch | italiano : http://puck.ch/i Get my PGP-key at http://puck.ch/pgp or at http://wwwkeys.pgp.net [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-20 8:12 ` Olivier Bornet @ 2004-01-20 11:25 ` Marcel Holtmann 2004-01-27 20:15 ` Terence Rudkin 0 siblings, 1 reply; 24+ messages in thread From: Marcel Holtmann @ 2004-01-20 11:25 UTC (permalink / raw) To: Olivier Bornet; +Cc: Terence Rudkin, BlueZ Mailing List Hi Olivier, > Look at the thread: > > http://sourceforge.net/mailarchive/message.php?msg_id=6881178 > > You need to patch your kernel for having hid2hci working. Note also that > at this time, you can only switch from hid to hci, and not from hci to > hid. at the moment nobody is quite sure if this patch is really correct and don't break any other devices, but it is working for our needs and I included it into my latest -mh patches for the 2.4 series. Regards Marcel ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-20 11:25 ` Marcel Holtmann @ 2004-01-27 20:15 ` Terence Rudkin 2004-01-28 8:00 ` Marcel Holtmann 0 siblings, 1 reply; 24+ messages in thread From: Terence Rudkin @ 2004-01-27 20:15 UTC (permalink / raw) To: Marcel Holtmann; +Cc: Olivier Bornet, BlueZ Mailing List Marcel, I finally had a chance to patch kernel and try hid2hci with this patch kernel. I still got success. but hcitool dev never reported any devices. I looked at the code in hid2hci, my diff is below. I first made the change at 204. And found that the /dev/usb/hid was not opening. Finding me /dev to be /dev/usb I changed line 79 to match my file structure. Now I get hciconfig hci0: Type: USB BD Address: 00:07:61:07:ED:A9 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN RX bytes:131 acl:0 sco:0 events:14 errors:0 TX bytes:32 acl:0 sco:0 commands:13 errors:0 But not input from mouse and keyboard. #> cvs diff hid2hci.c Index: hid2hci.c =================================================================== RCS file: /cvsroot/bluez/utils2/hid/hid2hci.c,v retrieving revision 1.3 diff -r1.3 hid2hci.c 79c79 < static char hidpath[PATH_MAX + 1] = "/dev/usb/hid"; --- > static char hidpath[PATH_MAX + 1] = "/dev/usb"; 204c204 < int i, fd, err = 0; --- > int i, fd, err = -1; On Tue, 2004-01-20 at 04:25, Marcel Holtmann wrote: > Hi Olivier, > > > Look at the thread: > > > > http://sourceforge.net/mailarchive/message.php?msg_id=6881178 > > > > You need to patch your kernel for having hid2hci working. Note also that > > at this time, you can only switch from hid to hci, and not from hci to > > hid. > > at the moment nobody is quite sure if this patch is really correct and > don't break any other devices, but it is working for our needs and I > included it into my latest -mh patches for the 2.4 series. > > Regards > > Marcel > -- ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-27 20:15 ` Terence Rudkin @ 2004-01-28 8:00 ` Marcel Holtmann 2004-01-28 16:18 ` Terence Rudkin 0 siblings, 1 reply; 24+ messages in thread From: Marcel Holtmann @ 2004-01-28 8:00 UTC (permalink / raw) To: Terence Rudkin; +Cc: Olivier Bornet, BlueZ Mailing List Hi Terence, > I finally had a chance to patch kernel and try hid2hci with this patch > kernel. I still got success. but hcitool dev never reported any > devices. I looked at the code in hid2hci, my diff is below. > > I first made the change at 204. And found that the /dev/usb/hid was not > opening. Finding me /dev to be /dev/usb I changed line 79 to match my > file structure. be more specific and make a unified diff. > Now I get > hciconfig > hci0: Type: USB > BD Address: 00:07:61:07:ED:A9 ACL MTU: 192:8 SCO MTU: 64:8 > UP RUNNING PSCAN ISCAN > RX bytes:131 acl:0 sco:0 events:14 errors:0 > TX bytes:32 acl:0 sco:0 commands:13 errors:0 > > But not input from mouse and keyboard. The dongle is now in HCI mode and this means that you have to handle the HID protocol by yourself. Run the bthid daemon. Regards Marcel ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-28 8:00 ` Marcel Holtmann @ 2004-01-28 16:18 ` Terence Rudkin 2004-01-28 16:32 ` Marcel Holtmann 0 siblings, 1 reply; 24+ messages in thread From: Terence Rudkin @ 2004-01-28 16:18 UTC (permalink / raw) To: Marcel Holtmann; +Cc: Olivier Bornet, BlueZ Mailing List On Wed, 2004-01-28 at 01:00, Marcel Holtmann wrote: > Hi Terence, > > > I finally had a chance to patch kernel and try hid2hci with this patch > > kernel. I still got success. but hcitool dev never reported any > > devices. I looked at the code in hid2hci, my diff is below. > > > > I first made the change at 204. And found that the /dev/usb/hid was not > > opening. Finding me /dev to be /dev/usb I changed line 79 to match my > > file structure. > > be more specific and make a unified diff. I reviewed the code. I focused on this section of code in switch_logitech(...) { char devname[PATH_MAX + 1]; int i, fd, err = 0; for (i = 0; i < 16; i++) { ... sprintf(devname, "%s/hiddev%d", hidpath, i); fd = open(devname, O_RDWR); if (fd < 0) continue; ... It occurred to me that open() could fail the 16 times and not report that to the caller. So i init'ed err to -1. This is fine because if the open() works then err will be set based on the ioctl() or send_report() calls. But if open() fails all 16 time then the caller is advised that something is wrong. Once I confirmed that in fact I was failing when I called hid2hci I went to understand why. This was I had for dev dirtree. /dev/usb/hiddev not /dev/usb/hid/hiddev as set in hidpath. So to work on my system I needed to change the hidpath. While this works on my system. What other systems might it break? A dynamic function to pull the correct value? Or is there a naming authority, a header file, where this can be found? $> diff -dur hid2hci.c.orig hid2hci.c --- hid2hci.c.orig 2004-01-27 12:57:42.000000000 -0700 +++ hid2hci.c 2004-01-27 12:59:29.000000000 -0700 @@ -76,7 +76,7 @@ #define USB_DIR_OUT 0x00 -static char hidpath[PATH_MAX + 1] = "/dev/usb/hid"; +static char hidpath[PATH_MAX + 1] = "/dev/usb"; struct hiddev_devinfo { unsigned int bustype; @@ -201,7 +201,7 @@ static int switch_logitech(struct device_info *dev) { char devname[PATH_MAX + 1]; - int i, fd, err = 0; + int i, fd, err = -1; for (i = 0; i < 16; i++) { struct hiddev_devinfo dinfo; > > Marcel > -- ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-28 16:18 ` Terence Rudkin @ 2004-01-28 16:32 ` Marcel Holtmann 2004-01-28 18:46 ` Terence Rudkin 2004-01-29 3:29 ` Terence Rudkin 0 siblings, 2 replies; 24+ messages in thread From: Marcel Holtmann @ 2004-01-28 16:32 UTC (permalink / raw) To: Terence Rudkin; +Cc: Olivier Bornet, BlueZ Mailing List Hi Terence, > I reviewed the code. I focused on this section of code in > switch_logitech(...) > { > char devname[PATH_MAX + 1]; > int i, fd, err = 0; > for (i = 0; i < 16; i++) { > ... > sprintf(devname, "%s/hiddev%d", hidpath, i); > fd = open(devname, O_RDWR); > if (fd < 0) > continue; > ... > It occurred to me that open() could fail the 16 times and not report > that to the caller. So i init'ed err to -1. This is fine because if > the open() works then err will be set based on the ioctl() or > send_report() calls. But if open() fails all 16 time then the caller is > advised that something is wrong. > > Once I confirmed that in fact I was failing when I called hid2hci I > went to understand why. This was I had for dev dirtree. > /dev/usb/hiddev > not > /dev/usb/hid/hiddev > as set in hidpath. So to work on my system I needed to change the > hidpath. > > While this works on my system. What other systems might it break? A > dynamic function to pull the correct value? Or is there a naming > authority, a header file, where this can be found? I used the devfs path, because my Debian Sid has no default device node for it. What is your system? Regards Marcel ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-28 16:32 ` Marcel Holtmann @ 2004-01-28 18:46 ` Terence Rudkin 2004-01-28 19:16 ` Marcel Holtmann 2004-01-29 3:29 ` Terence Rudkin 1 sibling, 1 reply; 24+ messages in thread From: Terence Rudkin @ 2004-01-28 18:46 UTC (permalink / raw) To: Marcel Holtmann; +Cc: Olivier Bornet, BlueZ Mailing List Hi Marcel, On Wed, 2004-01-28 at 09:32, Marcel Holtmann wrote: > I used the devfs path, because my Debian Sid has no default device node > for it. What is your system? The most recent is Fedora, with the 2.6.1 kernel > Regards > > Marcel > Thanks for all the help! -- ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-28 18:46 ` Terence Rudkin @ 2004-01-28 19:16 ` Marcel Holtmann 2004-01-28 21:44 ` Terence Rudkin 0 siblings, 1 reply; 24+ messages in thread From: Marcel Holtmann @ 2004-01-28 19:16 UTC (permalink / raw) To: Terence Rudkin; +Cc: Olivier Bornet, BlueZ Mailing List [-- Attachment #1: Type: text/plain, Size: 217 bytes --] Hi Terence, > > I used the devfs path, because my Debian Sid has no default device node > > for it. What is your system? > The most recent is Fedora, with the 2.6.1 kernel please try this patch. Regards Marcel [-- Attachment #2: patch --] [-- Type: text/x-patch, Size: 820 bytes --] Index: hid2hci.c =================================================================== RCS file: /cvsroot/bluez/utils2/hid/hid2hci.c,v retrieving revision 1.3 diff -u -r1.3 hid2hci.c --- hid2hci.c 6 Jan 2004 17:45:11 -0000 1.3 +++ hid2hci.c 28 Jan 2004 16:35:45 -0000 @@ -76,7 +76,7 @@ #define USB_DIR_OUT 0x00 -static char hidpath[PATH_MAX + 1] = "/dev/usb/hid"; +static char hidpath[PATH_MAX + 1] = "/dev/usb"; struct hiddev_devinfo { unsigned int bustype; @@ -211,8 +211,12 @@ sprintf(devname, "%s/hiddev%d", hidpath, i); fd = open(devname, O_RDWR); - if (fd < 0) - continue; + if (fd < 0) { + sprintf(devname, "%s/hid/hiddev%d", hidpath, i); + fd = open(devname, O_RDWR); + if (fd < 0) + continue; + } memset(&dinfo, 0, sizeof(dinfo)); err = ioctl(fd, HIDIOCGDEVINFO, &dinfo); ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-28 19:16 ` Marcel Holtmann @ 2004-01-28 21:44 ` Terence Rudkin 2004-01-29 5:39 ` Marcel Holtmann 0 siblings, 1 reply; 24+ messages in thread From: Terence Rudkin @ 2004-01-28 21:44 UTC (permalink / raw) To: Marcel Holtmann; +Cc: Olivier Bornet, BlueZ Mailing List Hi Marcel, Patch works fine. But if neither path exist then it will silently fail. while not having /dev/usb should not be an issue, but ya never know. Presetting err to -1 resolves this. On Wed, 2004-01-28 at 12:16, Marcel Holtmann wrote: > Hi Terence, > > > > I used the devfs path, because my Debian Sid has no default device node > > > for it. What is your system? > > The most recent is Fedora, with the 2.6.1 kernel > > please try this patch. > > Regards > > Marcel -- ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-28 21:44 ` Terence Rudkin @ 2004-01-29 5:39 ` Marcel Holtmann 0 siblings, 0 replies; 24+ messages in thread From: Marcel Holtmann @ 2004-01-29 5:39 UTC (permalink / raw) To: Terence Rudkin; +Cc: Olivier Bornet, BlueZ Mailing List Hi Terence, > Patch works fine. But if neither path exist then it will silently > fail. while not having /dev/usb should not be an issue, but ya never > know. Presetting err to -1 resolves this. I included this fix an committed it to the CVS. Everything should now work fine. Thanks. Regards Marcel ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-28 16:32 ` Marcel Holtmann 2004-01-28 18:46 ` Terence Rudkin @ 2004-01-29 3:29 ` Terence Rudkin 2004-01-29 13:12 ` T3 Was " Gareth Reakes 2004-01-29 19:41 ` Charles Bueche 1 sibling, 2 replies; 24+ messages in thread From: Terence Rudkin @ 2004-01-29 3:29 UTC (permalink / raw) To: Marcel Holtmann; +Cc: Olivier Bornet, BlueZ Mailing List Marcel, et al, The keyboard and mouse now work! The last issue on getting them to work was I needed to umount/mount the /proc/bus/usb file system. Actually just umount and reinsert the USB devices. I restarted hcid and bthid after umount'ing and before the insert. Getting the right modules in /etc/modules should be all that is needed. I'll get the steps needed I used put together as an addendum the the MX900 page referenced eariler Now to get the Tungsten T3 talking (passcode not exchanging) , but that a different thread. Thanks again, Marcel, for all the help!! TR ^ permalink raw reply [flat|nested] 24+ messages in thread
* T3 Was Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-29 3:29 ` Terence Rudkin @ 2004-01-29 13:12 ` Gareth Reakes 2004-01-31 19:34 ` Terence Rudkin 2004-01-29 19:41 ` Charles Bueche 1 sibling, 1 reply; 24+ messages in thread From: Gareth Reakes @ 2004-01-29 13:12 UTC (permalink / raw) To: Terence Rudkin; +Cc: bluez-users > Now to get the Tungsten T3 talking (passcode not exchanging) , but that > a different thread. I have just done so if you have a problem give me a shout. The only thing I cant do now is look up computers on my internal subnet. I have no idea how to fix this yet. I wanted to be able to control my slimp3 web interface so if you get this working then give me a shout. I have a three line script at home that works, so if you have any problems then I will mail it to you. Gareth ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: T3 Was Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-29 13:12 ` T3 Was " Gareth Reakes @ 2004-01-31 19:34 ` Terence Rudkin 0 siblings, 0 replies; 24+ messages in thread From: Terence Rudkin @ 2004-01-31 19:34 UTC (permalink / raw) To: Gareth Reakes; +Cc: bluez-users Gareth, Thanks for the offer, got it up. Cleaned up the hcid.conf file to make it work. As to not getting out of you own sunbet. the script found here http://www.ibiblio.org/mdw/HOWTO/IP-Masquerade-HOWTO/firewall-examples.html#RC.FIREWALL-2.4.X may be of assist. On Thu, 2004-01-29 at 06:12, Gareth Reakes wrote: > > Now to get the Tungsten T3 talking (passcode not exchanging) , but that > > a different thread. > > I have just done so if you have a problem give me a shout. The only thing > I cant do now is look up computers on my internal subnet. I have no idea > how to fix this yet. I wanted to be able to control my slimp3 web > interface so if you get this working then give me a shout. > > I have a three line script at home that works, so if you have any problems > then I will mail it to you. > > Gareth -- ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-29 3:29 ` Terence Rudkin 2004-01-29 13:12 ` T3 Was " Gareth Reakes @ 2004-01-29 19:41 ` Charles Bueche 2004-01-29 19:52 ` Marcel Holtmann 1 sibling, 1 reply; 24+ messages in thread From: Charles Bueche @ 2004-01-29 19:41 UTC (permalink / raw) To: Terence Rudkin, Marcel Holtmann; +Cc: BlueZ Mailing List Hi Terence (and Marcel), I'm the maintainer of the MX900 page, so you can submit your changes directly to me, I have some people waiting on my update. Marcel, let me know when the CVS repo is updated. Nothing urgent, my MX900 right button died, and I sent it to repair, I should have it back in a few days. Regs, Charles On Thu, 2004-01-29 at 04:29, Terence Rudkin wrote: > Marcel, et al, > > The keyboard and mouse now work! The last issue on getting them to work > was I needed to umount/mount the /proc/bus/usb file system. > > Actually just umount and reinsert the USB devices. I restarted hcid and > bthid after umount'ing and before the insert. Getting the right modules > in /etc/modules should be all that is needed. > > I'll get the steps needed I used put together as an addendum the the > MX900 page referenced eariler ... ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-29 19:41 ` Charles Bueche @ 2004-01-29 19:52 ` Marcel Holtmann 0 siblings, 0 replies; 24+ messages in thread From: Marcel Holtmann @ 2004-01-29 19:52 UTC (permalink / raw) To: Charles Bueche; +Cc: Terence Rudkin, BlueZ Mailing List Hi Charles, > I'm the maintainer of the MX900 page, so you can submit your changes > directly to me, I have some people waiting on my update. > > Marcel, let me know when the CVS repo is updated. it is already there. Regards Marcel ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: [Bluez-users] Logitech Bluetooth Mx900+keyboard support. 2004-01-20 3:09 ` Terence Rudkin 2004-01-20 8:12 ` Olivier Bornet @ 2004-01-20 11:27 ` Marcel Holtmann 1 sibling, 0 replies; 24+ messages in thread From: Marcel Holtmann @ 2004-01-20 11:27 UTC (permalink / raw) To: Terence Rudkin; +Cc: BlueZ Mailing List Hi Terence, > I cvs'ed the Makefile. Modified the SRCDIRS to include libs2 and > utils2, removed hciemu. Did a make update, to get every thing. Then > made all the dirs and installed the executables generated. if you want to use libs2 and utils2 from CVS follow my steps I posted to the mailing list or take a look at this howto http://www.bueche.ch/comp/mx900/mx900.html Regards Marcel ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2004-01-31 19:34 UTC | newest] Thread overview: 24+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2004-01-18 20:20 [Bluez-users] Logitech Bluetooth Mx900+keyboard support Terence Rudkin 2004-01-18 20:44 ` Marcel Holtmann 2004-01-18 21:30 ` Michal Semler (volny.cz) 2004-01-18 22:11 ` Marcel Holtmann 2004-01-18 23:01 ` Terence Rudkin 2004-01-19 2:54 ` Terence Rudkin 2004-01-19 12:22 ` Marcel Holtmann 2004-01-20 3:09 ` Terence Rudkin 2004-01-20 8:12 ` Olivier Bornet 2004-01-20 11:25 ` Marcel Holtmann 2004-01-27 20:15 ` Terence Rudkin 2004-01-28 8:00 ` Marcel Holtmann 2004-01-28 16:18 ` Terence Rudkin 2004-01-28 16:32 ` Marcel Holtmann 2004-01-28 18:46 ` Terence Rudkin 2004-01-28 19:16 ` Marcel Holtmann 2004-01-28 21:44 ` Terence Rudkin 2004-01-29 5:39 ` Marcel Holtmann 2004-01-29 3:29 ` Terence Rudkin 2004-01-29 13:12 ` T3 Was " Gareth Reakes 2004-01-31 19:34 ` Terence Rudkin 2004-01-29 19:41 ` Charles Bueche 2004-01-29 19:52 ` Marcel Holtmann 2004-01-20 11:27 ` Marcel Holtmann
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.