[oe-issues] [Bug 740] Billionton Bluetooth card binding

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Fri Jun 1 11:45:12 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=740





--- Comment #8 from Michael Krelin <polyonymous at klever.net>  2007-06-01 04:45:12 ---
This is how the things are now:

After inserting the card the module serial_cs is loaded fine, but then I have
an udev script that does the following (it's been a while since I wrote the
script, so I'm not sure if everything it does is needed nowadays, but it
worksforme):

case "${ACTION}" in
add)
  IRQ=`setserial ${DEVNAME} | sed -e 's/.*IRQ: //'`
  setserial ${DEVNAME} irq 0 ; setserial ${DEVNAME} irq $IRQ
  setserial ${DEVNAME} baud_base 921600
  modprobe hci-uart
  hciattach ${DEVNAME} billionton
  /etc/init.d/bluetooth start
 ;;
remove)
  pand -K
  hciconfig hci0 down
  /etc/init.d/bluetooth stop
  do_fuser -k -HUP ${DEVNAME} > /dev/null
  killall hciattach
  modprobe -r hci-uart
 ;;
esac

I do not think this is the way to go, but, I believe, something to this extent
should be packaged. I'd do it myself, but I think we need a more general
solution, so I'd rather leave it to someone who has a few different serial-cs
based BT card. Or are there different cards available?


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list