Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO] Logitech DiNovo under Linux Gentoo
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
scoon
l33t
l33t


Joined: 23 Aug 2003
Posts: 747
Location: Philadelphia, PA

PostPosted: Sat May 13, 2006 11:27 am    Post subject: Reply with quote

Moze wrote:
Does anyone know how to crete the pathches. It allways takes quite a while until the patch for a new kernel appears on bluez.org...
Ok - One way would to mail the maintainer, but it has to been in the git-repositories.
I installed cognito and pulled the bluez-kernel but I can't make much sense out of git. I can easily live with not updating to 2.6.16, so I give up. But may be someone with more knowledge of git, kernel-pathes or both wants to give it a try....


I felt the same way and for kicks thought to try the 2.6.15-mh2 patch on a 2.6.16 kernel. It has been working for me for over a week now with no odd behavior. I doubt it matters but I also patch with the -ck set.

-scoon
_________________
Hope this helps........
Back to top
View user's profile Send private message
Moze
n00b
n00b


Joined: 04 Aug 2004
Posts: 15

PostPosted: Wed Jun 07, 2006 8:22 pm    Post subject: Reply with quote

that worked well for a while... but with the newer 2.6.16-releases they were too diffrent :-(
now there is patch-2.6.16-mh1 :-)
but updating to gentoo-sources-2.6.16-r9 made my mouse jumpy :-(
_________________
while (!asleep) sheep++;
Back to top
View user's profile Send private message
scoon
l33t
l33t


Joined: 23 Aug 2003
Posts: 747
Location: Philadelphia, PA

PostPosted: Thu Jun 08, 2006 2:05 am    Post subject: Reply with quote

I haven't checked in a while since I am still kicking here with the older patch.

-scoon
_________________
Hope this helps........
Back to top
View user's profile Send private message
Diavolo
Apprentice
Apprentice


Joined: 09 Jan 2005
Posts: 151

PostPosted: Thu Jul 06, 2006 8:26 pm    Post subject: Reply with quote

Any News? :(
Back to top
View user's profile Send private message
scoon
l33t
l33t


Joined: 23 Aug 2003
Posts: 747
Location: Philadelphia, PA

PostPosted: Thu Jul 06, 2006 8:32 pm    Post subject: Reply with quote

Diavolo wrote:
Any News? :(


I have been using mh1 with 2.6.17 and haven't had any problems with it so far.

-scoon
_________________
Hope this helps........
Back to top
View user's profile Send private message
Diavolo
Apprentice
Apprentice


Joined: 09 Jan 2005
Posts: 151

PostPosted: Fri Jul 07, 2006 6:28 am    Post subject: Reply with quote

I used my diNovo with older kernels without patch. Perhaps I will try that patch with 2.16.17. Is there an ebuild for it?
Back to top
View user's profile Send private message
Moze
n00b
n00b


Joined: 04 Aug 2004
Posts: 15

PostPosted: Sun Jul 09, 2006 6:52 pm    Post subject: Reply with quote

Dont know what it was.. Icould easily live with the older kernel, but had an loose eye on the kernel-updates.
Today a gave 2.6.17-gentoo-r2 (with patch-2.6.17-mh2) a try. Mouse works fine, no problems anymore.
Can't say what fixed it because in the mean time a lot of packages were updated and I've also switched to the modular-X...
_________________
while (!asleep) sheep++;
Back to top
View user's profile Send private message
gabo
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2004
Posts: 134
Location: Lyon, France

PostPosted: Mon Jul 31, 2006 12:46 am    Post subject: Reply with quote

Hi,

I tried for several hours now to make my linux system recognize the logitech bluetooth receiver. I failed :)
I also posted this on bluez-users mailing list as I don't know if it's a gentoo or a bluez related problem.

First of all, here's what I've done :

- patched my gentoo 2.6.17 kernel with the patch given on the bluez site.
- recompiled my kernel with everything bluetooth related enabled

Rebooted and tried hid2hci :
Code:
muadib gaboo # hid2hci
Switching device 046d:0b02 to HCI mode was successful


But hciconfig returns nothing.

Then I tried to apply this patch :

Code:
--- drivers/bluetooth/hci_usb.orig      2005-10-21 23:37:25.000000000 -0400
+++ drivers/bluetooth/hci_usb.c 2005-10-21 22:11:02.000000000 -0400
 <at>  <at>  -119,6 +119,9  <at>  <at>
        /* Kensington Bluetooth USB adapter */
        { USB_DEVICE(0x047d, 0x105d), .driver_info = HCI_RESET },

+       /* Logitech diNovo Media Desktop Laser Transceiver for Bluetooth 2.0 */
+        { USB_DEVICE(0x046d, 0xc709), .driver_info = HCI_RESET },
+
        /* ISSC Bluetooth Adapter v3.1 */
        { USB_DEVICE(0x1131, 0x1001), .driver_info = HCI_RESET },


Rebooted, hid2hci, hciconfig : nothing.

My system is an up to date gentoo :
uname -a : Linux muadib 2.6.17-gentoo-r4-mh5 #1 SMP PREEMPT Mon Jul 31 01:27:43 CEST 2006 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ GNU/Linux
bluez version :
Code:
muadib gaboo # equery list bluez
[ Searching for package 'bluez' in all categories among: ]
 * installed packages
[I--] [  ] net-wireless/bluez-firmware-1.1 (0)
[I--] [  ] net-wireless/bluez-libs-2.25 (0)
[I--] [  ] net-wireless/bluez-utils-2.25-r1 (0)


I checked that bluez-utils/tools/hid2hci.c contains : "{ HCI, 0x046d, 0x0b02, switch_logitech }, /* Logitech diNovo Media Desktop Laser */"

And here is my /proc/bus/usb/devices (I don't think hid2hci changed something because hid2hci -1 telle me : "No devices in HID mode found")
Code:
T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh=10
B:  Alloc=  6/900 us ( 1%), #Int=  3, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.17-gentoo-r4-mh5 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0000:00:02.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2 Spd=12  MxCh= 3
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=0b02 Rev=40.02
S:  Manufacturer=Logitech
S:  Product=Logitech BT Mini-Receiver
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=255ms

T:  Bus=02 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c70b Rev=40.02
S:  Manufacturer=Logitech
S:  Product=Logitech BT Mini-Receiver
S:  SerialNumber=00076141F47E
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

T:  Bus=02 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c70c Rev=40.02
S:  Manufacturer=Logitech
S:  Product=Logitech BT Mini-Receiver
S:  SerialNumber=00076141F47E
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=5ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh=10
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.17-gentoo-r4-mh5 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:02.1
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms


Do you know what are the ProdID=c70c and ProdID=c70b product ?
Maybe I could try to change the hid2hci patch with these product ids ?

And maybe this can be useful:
Code:
muadib tools # dmesg |grep -i bluetooth
Bluetooth: Core ver 2.10
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: HCI USB driver ver 2.9
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.1-mh1
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8


So, do you have any idea ? It seems it should work, but I cannot manage to find what's wrong.

Thanks !


Last edited by gabo on Mon Jul 31, 2006 12:49 am; edited 1 time in total
Back to top
View user's profile Send private message
gabo
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2004
Posts: 134
Location: Lyon, France

PostPosted: Mon Jul 31, 2006 12:47 am    Post subject: Reply with quote

Some useful references :

http://thread.gmane.org/gmane.linux.bluez.user/9598/focus=9598
http://thread.gmane.org/gmane.linux.bluez.devel/6242/focus=6242
http://www.holtmann.org/linux/kernel/debian.html
http://linux.yes.nu/diNovo/?Page=cGFnZTE5

http://thread.gmane.org/gmane.linux.bluez.user/9384/focus=9395
Back to top
View user's profile Send private message
DaveT
n00b
n00b


Joined: 07 Aug 2006
Posts: 1
Location: Ireland

PostPosted: Mon Aug 07, 2006 2:48 pm    Post subject: Logitech X5 Reply with quote

Will this work for the Logitech X5
_________________
DaveT
Back to top
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Mon Aug 14, 2006 5:08 am    Post subject: Reply with quote

Any news on 2.6.18-kernels? I've tried in the past, patching them with the latest 2.6.17-bluez patch but kernel compilation went frak on bluetooth. Does 2.6.18 already incorporate the bluez stuff perhaps?

Latest patch on www.bluez.org is 2.6.17-mh5, I believe.
_________________
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Back to top
View user's profile Send private message
scoon
l33t
l33t


Joined: 23 Aug 2003
Posts: 747
Location: Philadelphia, PA

PostPosted: Wed Sep 20, 2006 4:04 am    Post subject: Reply with quote

Hey All,

Just wanted to re-visit the idea of not using the bluez patches. I have tried gentoo-sources w/o the patch and none of my MM keys register whatsoever. With the patch, just about all my keys work as expected.

Anyone have any luck with MM keys and no bluez patch ?

-scoon
_________________
Hope this helps........
Back to top
View user's profile Send private message
jkomar
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 192
Location: Calgary, Canada

PostPosted: Wed Nov 01, 2006 8:34 pm    Post subject: Reply with quote

I just bought a diNovo Media Desktop Laser and am trying to work my way through the tutorial. I seem to be hung up fairly early on.

I patched with 2.6.17-mh6 on gentoo-sources-2.6.17-r8 and I got a Makefile patching error which I was expecting. The error was on patching l2cap.h:

Code:
patching file include/net/bluetooth/l2cap.h
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej


I then set things in the kernel config as per the howto, but my kernel wouldn't compile, presumably due to the failed patch:

Code:
 CC      net/bluetooth/l2cap.o
net/bluetooth/l2cap.c: In function `l2cap_retransmission_timer':
net/bluetooth/l2cap.c:74: sorry, unimplemented: inlining failed in call to 'l2cap_do_send_rfc': function body not available
net/bluetooth/l2cap.c:143: sorry, unimplemented: called from here
make[2]: *** [net/bluetooth/l2cap.o] Error 1
make[1]: *** [net/bluetooth] Error 2
make: *** [net] Error 2


If anyone has any ideas for me to try, I'm wide open. I spent a lot of time searching the forums and Googling, but found no solutions.

Thanks,
Jason
_________________
www.jbox.ca
www.flashinthepan.ca
stormfront Portage/Paludis overlay
Back to top
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Wed Nov 01, 2006 8:48 pm    Post subject: Reply with quote

For me, any kernel after 2.6.17-mm5 (so that'd be mm-sources, yes!) barfs on the patch. Unpatched, I only get "boot-mode", which I presume is what you're experiencing.

Have you tried vanilla-sources yet?
_________________
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Back to top
View user's profile Send private message
jkomar
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 192
Location: Calgary, Canada

PostPosted: Wed Nov 01, 2006 9:07 pm    Post subject: Reply with quote

Haven't tried vanilla sources yet. Thanks for the suggestion. I guess that's a project for this evening. I really want to get this working well. It's for my MythTV box and right now I'm using an old beast of a keyboard.

Jason
_________________
www.jbox.ca
www.flashinthepan.ca
stormfront Portage/Paludis overlay
Back to top
View user's profile Send private message
jkomar
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 192
Location: Calgary, Canada

PostPosted: Wed Nov 01, 2006 11:17 pm    Post subject: Reply with quote

red-wolf76 wrote:
Have you tried vanilla-sources yet?


Tried vanilla-sources. That bombed with the same error.

Jason
_________________
www.jbox.ca
www.flashinthepan.ca
stormfront Portage/Paludis overlay
Back to top
View user's profile Send private message
jkomar
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 192
Location: Calgary, Canada

PostPosted: Wed Nov 01, 2006 11:19 pm    Post subject: Reply with quote

I see there is a 2.6.18 bluez patch available. Has anyone had any luck with the 2.6.18 kernel?

Thanks,
Jason
_________________
www.jbox.ca
www.flashinthepan.ca
stormfront Portage/Paludis overlay
Back to top
View user's profile Send private message
jkomar
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 192
Location: Calgary, Canada

PostPosted: Thu Nov 02, 2006 12:24 am    Post subject: Reply with quote

jkomar wrote:
I see there is a 2.6.18 bluez patch available. Has anyone had any luck with the 2.6.18 kernel?


In answer to my own question, I tried the 2.6.18-mh7 patch with the 2.6.18-r1 gentoo-sources with the same errors. If anyone has any other suggestions, I would be most grateful.

Thanks,
Jason
_________________
www.jbox.ca
www.flashinthepan.ca
stormfront Portage/Paludis overlay
Back to top
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Thu Nov 02, 2006 5:06 pm    Post subject: Reply with quote

I would, too. I don't see any significant reason why people should be locked to an old 2.6.17 kernel just because of something like this.

Maybe bluez-development has halted?
_________________
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Back to top
View user's profile Send private message
tcostigl
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2004
Posts: 97

PostPosted: Sun Nov 12, 2006 4:43 pm    Post subject: Reply with quote

Hi, I am using kernel 2.6.17 with -mh6 patch and my dmesg output is flooded:

Code:
l2cap_data_channel: sk f611e600 len 14 mode 0x00
l2cap_recv_acldata: conn f5c16300 len 14 flags 0x2
l2cap_recv_frame: len 10, cid 0x0041
l2cap_data_channel: sk f611e600 len 14 mode 0x00
l2cap_recv_acldata: conn f5c16300 len 14 flags 0x2
l2cap_recv_frame: len 10, cid 0x0041
l2cap_data_channel: sk f611e600 len 14 mode 0x00
...


I guess I am in a debugging mode but I can't find where to turn it off. Any ideas?
Back to top
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Sun Nov 12, 2006 5:47 pm    Post subject: Reply with quote

Did you compile anything with "debug" in the USE flags?
_________________
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Back to top
View user's profile Send private message
tcostigl
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2004
Posts: 97

PostPosted: Sun Nov 12, 2006 6:10 pm    Post subject: Reply with quote

Here are the relavent packages, am I missing anything?

Code:
fibonacci ~ # emerge bluez-utils bluez-libs kdebluetooth usbutils -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-wireless/bluez-utils-2.25-r1  USE="alsa cups dbus udev -gtk -pcmcia" 0 kB
[ebuild   R   ] net-wireless/bluez-libs-2.25  0 kB
[ebuild   R   ] net-wireless/kdebluetooth-1.0_beta1-r2  USE="arts -debug -irmc -xinerama (-xmms)" 0 kB
[ebuild   R   ] sys-apps/usbutils-0.71-r1  0 kB

Total size of downloads: 0 kB


I have also tried to compile l2cap statically and as module, no change. I can't seem to find anything re: this on google.
Back to top
View user's profile Send private message
tcostigl
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2004
Posts: 97

PostPosted: Sun Nov 12, 2006 6:27 pm    Post subject: Reply with quote

I upgraded to 2.6.18 with -mh7 and the l2cap messages are gone. However there was this in dmesg at startup:

"net/bluetooth/hidp/hid.c: event field not found"

Does anyone know what this is?
Back to top
View user's profile Send private message
Zubzub
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2006
Posts: 91
Location: ::1

PostPosted: Tue Nov 14, 2006 11:54 pm    Post subject: Reply with quote

does anyone know where I can get a 2.6.15 patch, Im running 2.6.15-gentoo-r8 because of acpi problems in higher versions, bluez site only has a patch for .18.

I already did everything from the outdated tutorial, except for the kernel patch and I still get Switching device 046d:0b02 to HCI mode failed (No such file or directory) when I run hid2hci so I guess patching the kernel is the last thing I need to do. ( I use a new dinovo laser version btw)
Back to top
View user's profile Send private message
scoon
l33t
l33t


Joined: 23 Aug 2003
Posts: 747
Location: Philadelphia, PA

PostPosted: Wed Nov 15, 2006 1:06 am    Post subject: Reply with quote

Hey there,

I have 2.6.13-mh2. If you want to try that, post back.

-scoon
_________________
Hope this helps........
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 6 of 8

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum