![]() ![]() |
Dec 6 2004, 10:13 AM
Post
#1
|
|
|
Group: Members Posts: 31 Joined: 19-November 04 From: None Member No.: 5,530 |
Hello,
To get my bluetoothcard working I need the kernelmodule serial_cs. When I do modprobe serial_cs I get an error that the module cannot be found. Where can I get this module, or have I compile it by myself? |
|
|
|
May 5 2005, 08:10 AM
Post
#2
|
|
|
Group: Members Posts: 385 Joined: 3-December 03 Member No.: 1,038 |
To rpurdie:
I installed the latest kernel for oz3.5.3, the one for 20050424 iirc. Later, I also installed the kernel-module-serial_cs... from the same directory. Then, when inserting my socket bluetooth 2.5 rev.G card, I get the following error: CODE May 5 21:52:06 c7x0 daemon.info cardmgr[2959]: socket 0: Serial or Modem May 5 21:52:06 c7x0 user.warn kernel: serial_cs: Unknown symbol serial8250_unregister_port May 5 21:52:06 c7x0 user.warn kernel: serial_cs: Unknown symbol serial8250_resume_port May 5 21:52:06 c7x0 user.warn kernel: serial_cs: Unknown symbol serial8250_register_port May 5 21:52:06 c7x0 user.warn kernel: serial_cs: Unknown symbol serial8250_suspend_port May 5 21:52:06 c7x0 daemon.info cardmgr[2959]: executing: 'modprobe serial_cs 2>&1' May 5 21:52:06 c7x0 daemon.info cardmgr[2959]: + Using /lib/modules/2.6.11/kernel/drivers/serial/serial_cs.ko May 5 21:52:06 c7x0 daemon.info cardmgr[2959]: + insmod: cannot insert `/lib/modules/2.6.11/kernel/drivers/serial/serial_cs.ko': Unknown symbol in module (-1): No such file or directory May 5 21:52:06 c7x0 daemon.info cardmgr[2959]: + modprobe: failed to load module serial_cs May 5 21:52:06 c7x0 daemon.notice cardmgr[2959]: modprobe exited with status 1 May 5 21:52:06 c7x0 daemon.notice cardmgr[2959]: module /lib/modules/2.6.11/pcmcia/serial_cs.o not available May 5 21:52:06 c7x0 daemon.err cardmgr[2959]: bind 'serial_cs' to socket 0 failed: Invalid argument Can you please provide any hint about what to do now? TIA |
|
|
|
May 5 2005, 09:58 AM
Post
#3
|
|
|
Group: Members Posts: 1,497 Joined: 12-November 03 From: Germany Member No.: 907 |
I fixed a bug in 8250. Upgrade this module as well.
|
|
|
|
May 5 2005, 11:05 AM
Post
#4
|
|
|
Group: Members Posts: 385 Joined: 3-December 03 Member No.: 1,038 |
Hi,
1) can you please specify in which feed the new serial_cs is located (i cannot find it anywhere), nor in rpurdie ipkg list 2) what do you mean by 'upgrade this module as well'? which one? My understanding is that the serial8250 code is inside the serial_cs module. |
|
|
|
May 5 2005, 11:54 AM
Post
#5
|
|
|
Group: Members Posts: 4,515 Joined: 25-October 03 From: Bath, UK Member No.: 464 |
For the 8250 module you may have to ask hrw to add it to the upgrades feed.
I'm not sure where serial_cs is (I just had a quick - I'm on slow dialup - look). QUOTE My understanding is that the serial8250 code is inside the serial_cs module. No, the _cs file is just glue which allows the particular driver for the card chipset to be used by the PCMCIA subsystem (as the chip is in a PCMCIA/CF card). I presume the driver you need is 8250.o Si |
|
|
|
May 6 2005, 01:34 PM
Post
#6
|
|
|
Group: Members Posts: 385 Joined: 3-December 03 Member No.: 1,038 |
Hi, I'm still having trouble getting socket bluetooth 2.5 rev g card working. Googling around, I found the following patch to be applied, that could solve the problem
Would a caritative soul please recompile the module with this patch for testing ? Thanks CODE Pavel, I had the same card and it would not work with 2.6 until I applied this patch. (posted to the mailing list about a month ago) Even then I couldn"t get the rev f to do audio stuff though. Brad Marcel Holtmann wrote: > Hi Pavel, > > >>I used SOCKET BT CF card with Zaurus SL-C860 with kernel 2.4.18. >>It works with dtl1_cs kernel driver. Now I have new distribution >>with kernel 2.6.11. This driver is not listed in menuconfig now. >> >>What kernel driver (2.6.11) to use for this card? >>I found, that file dtl1_cs.c is present in kernel tree. > > > it is still the same driver. > > 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 > Bluez-users@li... > https://lists.sourceforge.net/lists/listinfo/bluez-users --- 8250.c_2.6.11-org 2005-03-02 08:37:47.000000000 +0100 +++ 8250.c 2005-03-05 15:01:34.000000000 +0100 @@ -1604,7 +1604,7 @@ struct uart_8250_port *up = (struct uart_8250_port *)port; unsigned char cval, fcr = 0; unsigned long flags; - unsigned int baud, quot; + unsigned int baud, quot, max_baud; switch (termios->c_cflag & CSIZE) { case CS5: @@ -1636,9 +1636,29 @@ /* * Ask the core to calculate the divisor for us. */ - baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16); + max_baud = (up->port.type == PORT_16C950 ? port->uartclk/4 : port->uartclk/16); + baud = uart_get_baud_rate(port, termios, old, 0, max_baud); quot = serial8250_get_divisor(port, baud); + /* + * 16C950 supports additional prescaler ratios between 1:16 and 1:4 + * thus increasing max baud rate to uartclk/4. The following was taken + * from kernel 2.4 by Mathias Adam <a2@ad...> to make the Socket + * Bluetooth CF Card work under 2.6.11. + * (Patch might have other side effects so be careful!) + */ + if (up->port.type == PORT_16C950) { + unsigned int baud_base = port->uartclk/16; + if (baud <= port->uartclk/16) + serial_icr_write(up, UART_TCR, 0); + else if (baud <= port->uartclk/8) { + serial_icr_write(up, UART_TCR, 0x8); + } else if (baud <= port->uartclk/4) { + serial_icr_write(up, UART_TCR, 0x4); + } else + serial_icr_write(up, UART_TCR, 0); + } + /* * Work around a bug in the Oxford Semiconductor 952 rev B * chip which causes it to seriously miscalculate baud rates If this patch is already applied, please tell so. Many thanks. |
|
|
|
May 6 2005, 02:50 PM
Post
#7
|
|
|
Group: Members Posts: 385 Joined: 3-December 03 Member No.: 1,038 |
Hi all, good news for socket bluetooth 2.5 rev g users: with the above patch the card works as expected.
XorA and Mickeyl have the code and will do the proper module upgrade stuff, so you can enjoy. When I fine tune the rest of scripts (just tested that it works, manually entering all the commands) I'll post a how-to in oz website. Thanks to XorA and Mickeyl for their help |
|
|
|
May 6 2005, 05:02 PM
Post
#8
|
|
|
Group: Members Posts: 1,497 Joined: 12-November 03 From: Germany Member No.: 907 |
This is a prime example for a case where a motivated user not only spots a bug but also takes the burden to start investigating and then together with the developers comes to a solution.
Without zmiq2, this would probably have taken months to fix, since no core developer has that card and even if one had such a card most of us are buried under work which means such a thing has very low priority. All it took him was researching, thinking, communicating - everyone can do that if he or she really wants. This is how open source software should work. |
|
|
|
Aug 16 2005, 02:40 PM
Post
#9
|
|
|
Group: Members Posts: 169 Joined: 15-March 04 Member No.: 2,327 |
QUOTE I installed the latest kernel for oz3.5.3, the one for 20050424 iirc. Later, I also installed the kernel-module-serial_cs... from the same directory. Could someone please post the package name and feed for the serial_cs.o module? I've been looking through all the feeds, but can't seem to find "kernel-module-serial_cs" or anything that resembles it. |
|
|
|
Aug 17 2005, 02:24 AM
Post
#10
|
|
|
Group: Members Posts: 4,515 Joined: 25-October 03 From: Bath, UK Member No.: 464 |
Bloody dial-up!
I can't get to the oz.org web site, but I'd look in the machine feed for your device and also in the upgrades feed, Si |
|
|
|
Aug 17 2005, 03:42 AM
Post
#11
|
|
![]() Group: Members Posts: 790 Joined: 28-October 03 From: USA Member No.: 792 |
QUOTE(acpkendo @ Aug 16 2005, 06:40 PM) I've been looking through all the feeds, but can't seem to find "kernel-module-serial_cs" or anything that resembles it. This feed: http://www.openzaurus.org/official/unstabl...pgrades/collie/ Greg |
|
|
|
Aug 18 2005, 06:02 AM
Post
#12
|
|
|
Group: Members Posts: 169 Joined: 15-March 04 Member No.: 2,327 |
Thanks Greg, but all I see in there is kernel-module-serial-fd. Is "kernel-module-serial_cs" what I should be looking for? I saw this name in another thread. . .
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 01:33 PM |