Socket rev. F with 2.6 kernel
Hello,
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.
-----
Card info:
product info: "Socket", "CF+ Personal Network Card"
manfid: 0x0104, 0x009f
function: 254 ((null))
-----
Best regards,
Pavel Ruzicka
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Pavel,
Quoted 6 lines
I used SOCKET BT CF card with Zaurus SL-C860 with kernel 2.4.18. It works with
dtl1_cskernel 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.cis 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
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
Quoted 20 lines · Marcel Holtmann
Hi Pavel,
Quoted 6 lines
I used SOCKET BT CF card with Zaurus SL-C860 with kernel 2.4.18. It works with
dtl1_cskernel 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.cis present in kernel tree.it is still the same driver.
Regards
Marcel
Quoted 9 lines
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
8250.c renamed from 8250.c_2.6.11-org +22 -2
@@ -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 <[email protected]> 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
Marcel Holtmann
maintainerHi Brad,
Quoted 4 lines
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.
the revision F card is still Nokia based and thus the dtl1_cs must be used.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hi,
probably you have revision G of this card and you use serial_cs. This is not my case, I have revision F nokia based and like Marcel says, I must use dtl1_cs.
Best regards,
Pavel Ruzicka
-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users