Hi Steve

I am using buildroot and I get

[root@gumstix ]# ./hciattach                                               
-sh: ./hciattach: No such file or directory

What can it be?

Thanks in advance.

On Tue, Apr 1, 2008 at 12:07 PM, Steve Sakoman <sakoman@gmail.com> wrote:
Marc, Syvain, Andrea:

It seems that the newest shipment of bt modules have a slightly
different behavior at startup.  I don't yet have an offending module
at hand, so I'd like to ask for your help in testing a fix.

The proposed fix involves a new version of /sbin/hciattach.  I've
verified that the revision still works with old modules, I need your
help to verify that it actually fixes the problem :-)

If your gumstix has a net connection you can get the revised hciattach by:

wget http://www.sakoman.net/oe/hciattach
chmod +x hciattach
mv /sbin/hciattach /sbin/hciattach-orig
mv hciattach /sbin/hciattach

Then reboot and hopefully all will be well.  You will likely see a
message saying "Got Startup Event -- retrying once" and then if all
goes well the retry will succeed and you will have bluetooth.

Thanks!

Steve



On Mon, Mar 31, 2008 at 1:04 PM, Marc Humphreys
<mhumphreys@logiclinkdesign.com> wrote:
> Steve,
>
>  No luck with bluetooth on my new xm4-bt.
>
>  There should be nothing I need to change right? After booting hcitool scan
>  should show my decice?
>
>  Flashed the latest prebuilt glibc images from today.
>  Used the basic-image for testing.
>
>  >From a cold or warm boot I always get this.
>
>
>  Trying baud rate 921600...
>  No response after reset
>  No response from BT module
>  Trying baud rate 921600...
>  No response after reset
>  No response from BT module
>  Trying baud rate 115200...
>  No response after reset
>  Read wrong response size: 4
>  0x04 0xff 0x01 0x00 Trying baud rate 57600...
>  No response after reset
>  Initialization timed out.
>  ALSA: loading sound modules...
>
>  If I do a /etc/init.d/bluetooth restart I just get.
>
>
>  root@gumstix-custom-verdex:~$
>  /etc/init.d/bluetooth start
>  Starting 32kHz clock...Settled
>  Starting Bluetooth subsystem:
>  Trying baud rate 921600...
>  No response after reset
>  No response from BT module
>  Trying baud rate 921600...
>  No response after reset
>  No response from BT module
>  Trying baud rate 115200...
>  No response after reset
>  No response from BT module
>  Trying baud rate 57600...
>  No response after reset
>  No response from BT module
>  Can't initialize device: Success
>
>  lsmod shows the following.
>
>  Module                  Size  Used by
>  i2c_dev                 5828  0
>  i2c_pxa                 6912  0
>  snd_pcm_oss            38592  0
>  snd_mixer_oss          14592  1 snd_pcm_oss
>  snd_soc_gumstix         1700  0
>  snd_soc_ac97            2624  1 snd_soc_gumstix
>  snd_ac97_codec        102572  1 snd_soc_ac97
>  snd_soc_pxa2xx_ac97     6116  2 snd_soc_gumstix,snd_soc_ac97
>  snd_soc_pxa2xx          4320  1 snd_soc_gumstix
>  snd_soc_core           26464  2 snd_soc_ac97,snd_soc_pxa2xx
>  snd_pcm                63237  4
>  snd_pcm_oss,snd_ac97_codec,snd_soc_pxa2xx,snd_se
>  snd_timer              19108  1 snd_pcm
>  snd                    45204  6
>  snd_pcm_oss,snd_mixer_oss,snd_ac97_codec,snd_sor
>  soundcore               6052  1 snd
>  snd_page_alloc          5832  1 snd_pcm
>  ucb1400_ts              6180  0
>  ac97_bus                1792  3 snd_ac97_codec,snd_soc_core,ucb1400_ts
>  mcf25                 195952  0
>  cfio                    4928  1 mcf25
>  nls_iso8859_1           3808  1
>  nls_cp437               5472  1
>  vfat                    9856  1
>  fat                    45820  1 vfat
>  nls_base                6336  4 nls_iso8859_1,nls_cp437,vfat,fat
>  tsc2003                 5936  0
>  i2c_core               16816  3 i2c_dev,i2c_pxa,tsc2003
>  rfcomm                 34812  0
>  pxamci                  6176  0
>  pxa2xx_cs               3272  1
>  pxa2xx_core            10272  1 pxa2xx_cs
>  proc_gpio               9380  0
>  pcmcia                 24968  1 cfio
>  pcmcia_core            30416  4 mcf25,cfio,pxa2xx_core,pcmcia
>  firmware_class          7456  1 pcmcia
>  ohci_hcd               19556  0
>  usbcore               112860  2 ohci_hcd
>  mmc_block               6504  2
>  mmc_core               22036  2 pxamci,mmc_block
>  hidp                   14752  0
>  hid                    26272  1 hidp
>  l2cap                  18660  4 rfcomm,hidp
>  bluetooth              46848  3 rfcomm,hidp,l2cap
>  gumstix_bluetooth       1312  1 bluetooth
>  evdev                   7872  0
>  smc911x                18849  0
>  gumstix_smc911x         2720  1 smc911x
>  mii                     4704  1 smc911x
>
>  Any ideas.
>
>  Thanks,
>
>
>  Marc
>
>
>
>
>  > -----Original Message-----
>  > From: gumstix-users-bounces@lists.sourceforge.net [mailto:gumstix-users-
>  > bounces@lists.sourceforge.net] On Behalf Of Steve Sakoman
>
>
> > Sent: Monday, March 31, 2008 12:33 PM
>  > To: General mailing list for gumstix users.
>  > Subject: Re: [Gumstix-users] Bluetooth help
>  >
>  > Marc,
>  >
>  > I just tried the pre-built basic-image revision 302 on my verdex
>  > xm4-bt and had no issues with it.
>  >
>  > Are you using the pre-built image or one that you built yourself?
>  >
>  > Steve
>  >
>  > On Mon, Mar 31, 2008 at 8:40 AM, Marc Humphreys
>  > <mhumphreys@logiclinkdesign.com> wrote:
>  > > Steve,
>  > >
>  > >  I also just received a new xm4-bt last week and with OE 302 tried for
>  > hours
>  > >  last night to get bt to work. Any specific pre-built image you'd like
>  > me to
>  > >  try.
>  > >  I don't have another xm4-bt so can vouch for it ever working for me.
>  > >
>  > >  Marc
>  > >
>  > >
>  > >
>  > >  > -----Original Message-----
>  > >  > From: gumstix-users-bounces@lists.sourceforge.net [mailto:gumstix-
>  > users-
>  > >  > bounces@lists.sourceforge.net] On Behalf Of Steve Sakoman
>  > >  > Sent: Sunday, March 30, 2008 4:29 PM
>  > >  > To: General mailing list for gumstix users.
>  > >  > Subject: Re: [Gumstix-users] Bluetooth help
>  > >  >
>  > >  > Sylvain,
>  > >  >
>  > >  > It is very odd that your vedex bt doesn't work with a recent oe
>  > build!
>  > >  >
>  > >  > What release are you running?  How old is your verdex?  Did the bt
>  > >  > feature ever work?
>  > >  >
>  > >  > Steve
>  > >  >
>  > >  > On Sun, Mar 30, 2008 at 1:20 PM, Sylvain Munaut <246tnt@gmail.com>
>  > wrote:
>  > >  > > Well the only thing I saw in this threas is :
>  > >  > >  - to add the gpio thingie ... but they are already in my bluetooth
>  > >  > > initscript ...
>  > >  > >  - check it's ttyS1 and it is ...
>  > >  > >
>  > >  > >
>  > >  > >
>  > >  > >  On Sun, Mar 30, 2008 at 9:44 PM, Mark Ahlenius
>  > <m_ahlenius@comcast.net>
>  > >  > > wrote:
>  > >  > > > Sylvain,
>  > >  > > >
>  > >  > > > did you try the things suggested (see below or else search on
>  > Nabble
>  > >  > for
>  > >  > > > BT +verdex) ?  results?
>  > >  > > >
>  > >  > > > 'm
>  > >  > > >
>  > >  > > >
>  > >  > > > Sylvain Munaut wrote:
>  > >  > > > > I have a similar issue ... init of bluetooth doesn't work ...
>  > And
>  > >  > i'm
>  > >  > > > > using a OE build from a few days ago ...
>  > >  > > > >
>  > >  > > > > root@gumstix-custom-verdex:~$ /etc/init.d/bluetooth start
>  > >  > > > >
>  > >  > > > > Starting 32kHz clock...Settled
>  > >  > > > >
>  > >  > > > > Starting Bluetooth subsystem:
>  > >  > > > >
>  > >  > > > > Trying baud rate 921600...
>  > >  > > > >
>  > >  > > > > No response after reset
>  > >  > > > >
>  > >  > > > > No response from BT module
>  > >  > > > >
>  > >  > > > > Trying baud rate 921600...
>  > >  > > > >
>  > >  > > > > No response after reset
>  > >  > > > >
>  > >  > > > > No response from BT module
>  > >  > > > >
>  > >  > > > > Trying baud rate 115200...
>  > >  > > > >
>  > >  > > > > No response after reset
>  > >  > > > >
>  > >  > > > > No response from BT module
>  > >  > > > >
>  > >  > > > > Trying baud rate 57600...
>  > >  > > > >
>  > >  > > > > No response after reset
>  > >  > > > >
>  > >  > > > > No response from BT module
>  > >  > > > >
>  > >  > > > >
>  > >  > > > > On Sun, Mar 30, 2008 at 9:05 PM, Mark Ahlenius
>  > >  > <m_ahlenius@comcast.net
>  > >  > > >
>  > >  > > > > <mailto:m_ahlenius@comcast.net>> wrote:
>  > >  > > > >
>  > >  > > > >     Peter,
>  > >  > > > >
>  > >  > > > >     am curious, did any of our suggestions help get your BT
>  > working?
>  > >  > > > >      FWIW,
>  > >  > > > >     I'd either jump into OE or move up to the most recent
>  > version of
>  > >  > > > >     buildroot.  They have fixed a lot of issues and I think its
>  > >  > > > >     worthwhile.
>  > >  > > > >     Lots of support available from this group when issues
>  > arise.
>  > >  > > > >
>  > >  > > > >     best,
>  > >  > > > >
>  > >  > > > >     'mark
>  > >  > > > >
>  > >  > > > >
>  > >  > > > >     Peter Vandrish wrote:
>  > >  > > > >     > I am still using buildroot actually. It is a pretty old
>  > >  > revision,
>  > >  > > > >     > maybe 800 or so.
>  > >  > > > >     > Thanks
>  > >  > > > >     >
>  > >  > > > >     > On Sun, Mar 30, 2008 at 3:18 AM, Steve Sakoman
>  > >  > > > >     <sakoman@gmail.com <mailto:sakoman@gmail.com>
>  > >  > > >
>  > >  > > >
>  > >  > > >
>  > >  > > > >     > <mailto:sakoman@gmail.com <mailto:sakoman@gmail.com>>>
>  > wrote:
>  > >  > > > >     >
>  > >  > > > >     >     Peter,
>  > >  > > > >     >
>  > >  > > > >     >     What version of software are you running?  buildroot
>  > or
>  > >  > OE?
>  > >  > > > >     >
>  > >  > > > >     >     Steve
>  > >  > > > >     >
>  > >  > > > >     >     On Sat, Mar 29, 2008 at 9:55 AM, Peter Vandrish
>  > >  > > > >     >     <peter.vandrish@gmail.com
>  > >  > <mailto:peter.vandrish@gmail.com>
>  > >  > > > >     <mailto:peter.vandrish@gmail.com
>  > >  > > > >     <mailto:peter.vandrish@gmail.com>>> wrote:
>  > >  > > > >     >     > Hi,
>  > >  > > > >     >     > I have a waysmall 400xm-bt and I am wondering how
>  > to
>  > >  > bring
>  > >  > > up
>  > >  > > > >     >     the bluetooth
>  > >  > > > >     >     > device. Booting the computer
>  > >  > > > >     >     > said that HCI manager was initialized. When I try
>  > to use
>  > >  > > > >     hcitool:
>  > >  > > > >     >     > # hcitool scan
>  > >  > > > >     >     > Device is not available: No such device
>  > >  > > > >     >     >
>  > >  > > > >     >     > I want to hopefully establish a serial bluetooth
>  > >  > connection
>  > >  > > to
>  > >  > > > >     >     my pocket pc
>  > >  > > > >     >     > someday.
>  > >  > > > >     >     > Thanks,
>  > >  > > > >     >     > Pete
>  > >  > > > >     >     >
>  > >  > > > >     >
>  > >  > > > >
>  > >  > > -------------------------------------------------------------------
>  > -----
>  > >  > -
>  > >  > > > >     >     >  Check out the new SourceForge.net Marketplace.
>  > >  > > > >     >     >  It's the best place to buy or sell services for
>  > >  > > > >     >     >  just about anything Open Source.
>  > >  > > > >     >     >
>  > >  > > > >     >     >
>  > >  > > > >     >
>  > >  > > > >
>  > >  > >
>  > >  >
>  > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketpla
>  > >  > ce
>  > >  > > > >     >     > _______________________________________________
>  > >  > > > >     >     >  gumstix-users mailing list
>  > >  > > > >     >     >  gumstix-users@lists.sourceforge.net
>  > >  > > > >     <mailto:gumstix-users@lists.sourceforge.net>
>  > >  > > > >     >     <mailto:gumstix-users@lists.sourceforge.net
>  > >  > > > >     <mailto:gumstix-users@lists.sourceforge.net>>
>  > >  > > > >     >     >
>  > https://lists.sourceforge.net/lists/listinfo/gumstix-
>  > >  > users
>  > >  > > > >     >     >
>  > >  > > > >     >     >
>  > >  > > > >     >
>  > >  > > > >     >
>  > >  > > > >
>  > >  > > -------------------------------------------------------------------
>  > -----
>  > >  > -
>  > >  > > > >     >     Check out the new SourceForge.net Marketplace.
>  > >  > > > >     >     It's the best place to buy or sell services for
>  > >  > > > >     >     just about anything Open Source.
>  > >  > > > >     >
>  > >  > > > >
>  > >  > >
>  > >  >
>  > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketpla
>  > >  > ce
>  > >  > > > >     >     _______________________________________________
>  > >  > > > >     >     gumstix-users mailing list
>  > >  > > > >     >     gumstix-users@lists.sourceforge.net
>  > >  > > > >     <mailto:gumstix-users@lists.sourceforge.net>
>  > >  > > > >     >     <mailto:gumstix-users@lists.sourceforge.net
>  > >  > > > >     <mailto:gumstix-users@lists.sourceforge.net>>
>  > >  > > > >     >     https://lists.sourceforge.net/lists/listinfo/gumstix-
>  > users
>  > >  > > > >     >
>  > >  > > > >     >
>  > >  > > > >     >
>  > >  > > > >
>  > >  > > -------------------------------------------------------------------
>  > -----
>  > >  > > > >     >
>  > >  > > > >     >
>  > >  > > > >
>  > >  > > -------------------------------------------------------------------
>  > -----
>  > >  > -
>  > >  > > > >     > Check out the new SourceForge.net Marketplace.
>  > >  > > > >     > It's the best place to buy or sell services for
>  > >  > > > >     > just about anything Open Source.
>  > >  > > > >     >
>  > >  > > > >
>  > >  > >
>  > >  >
>  > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketpla
>  > >  > ce
>  > >  > > > >     >
>  > >  > > > >
>  > >
>  > > > > --------------------------------------------------------------------
>  > ----
>  > >  > > > >     >
>  > >  > > > >     > _______________________________________________
>  > >  > > > >     > gumstix-users mailing list
>  > >  > > > >     > gumstix-users@lists.sourceforge.net
>  > >  > > > >     <mailto:gumstix-users@lists.sourceforge.net>
>  > >  > > > >     > https://lists.sourceforge.net/lists/listinfo/gumstix-
>  > users
>  > >  > > > >     >
>  > >  > > > >
>  > >  > > > >
>  > >  > > > >
>  > >  > > -------------------------------------------------------------------
>  > -----
>  > >  > -
>  > >  > > > >     Check out the new SourceForge.net Marketplace.
>  > >  > > > >     It's the best place to buy or sell services for
>  > >  > > > >     just about anything Open Source.
>  > >  > > > >
>  > >  > >
>  > >  >
>  > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketpla
>  > >  > ce
>  > >  > > > >     _______________________________________________
>  > >  > > > >     gumstix-users mailing list
>  > >  > > > >     gumstix-users@lists.sourceforge.net
>  > >  > > > >     <mailto:gumstix-users@lists.sourceforge.net>
>  > >  > > > >     https://lists.sourceforge.net/lists/listinfo/gumstix-users
>  > >  > > > >
>  > >  > > > >
>  > >  > > > > ---------------------------------------------------------------
>  > -----
>  > >  > ----
>  > >  > > > >
>  > >  > > > >
>  > >  > > -------------------------------------------------------------------
>  > -----
>  > >  > -
>  > >  > > > > Check out the new SourceForge.net Marketplace.
>  > >  > > > > It's the best place to buy or sell services for
>  > >  > > > > just about anything Open Source.
>  > >  > > > >
>  > >  > >
>  > >  >
>  > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketpla
>  > >  > ce
>  > >  > > > > ---------------------------------------------------------------
>  > -----
>  > >
>  > >
>  > > > ----
>  > >  > > > >
>  > >  > > > > _______________________________________________
>  > >  > > > > gumstix-users mailing list
>  > >  > > > > gumstix-users@lists.sourceforge.net
>  > >  > > > > https://lists.sourceforge.net/lists/listinfo/gumstix-users
>  > >  > > > >
>  > >  > > >
>  > >  > > >
>  > >  > > > -----------------------------------------------------------------
>  > -----
>  > >  > ---
>  > >  > > > Check out the new SourceForge.net Marketplace.
>  > >  > > > It's the best place to buy or sell services for
>  > >  > > > just about anything Open Source.
>  > >  > > >
>  > >  > >
>  > >  >
>  > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketpla
>  > >  > ce
>  > >  > > > _______________________________________________
>  > >  > > > gumstix-users mailing list
>  > >  > > > gumstix-users@lists.sourceforge.net
>  > >  > > > https://lists.sourceforge.net/lists/listinfo/gumstix-users
>  > >  > > >
>  > >  > >
>  > >  > >
>  > >  > > -------------------------------------------------------------------
>  > -----
>  > >  > -
>  > >  > >  Check out the new SourceForge.net Marketplace.
>  > >  > >  It's the best place to buy or sell services for
>  > >  > >  just about anything Open Source.
>  > >  > >
>  > >  > >
>  > >  >
>  > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketpla
>  > >  > ce
>  > >  > > _______________________________________________
>  > >  > >  gumstix-users mailing list
>  > >  > >  gumstix-users@lists.sourceforge.net
>  > >  > >  https://lists.sourceforge.net/lists/listinfo/gumstix-users
>  > >  > >
>  > >  > >
>  > >  >
>  > >  > ---------------------------------------------------------------------
>  > ----
>  > >  > Check out the new SourceForge.net Marketplace.
>  > >  > It's the best place to buy or sell services for
>  > >  > just about anything Open Source.
>  > >  >
>  > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketpla
>  > >  > ce
>  > >  > _______________________________________________
>  > >  > gumstix-users mailing list
>  > >  > gumstix-users@lists.sourceforge.net
>  > >  > https://lists.sourceforge.net/lists/listinfo/gumstix-users
>  > >
>  > >
>  > >
>  > >  -----------------------------------------------------------------------
>  > --
>  > >  Check out the new SourceForge.net Marketplace.
>  > >  It's the best place to buy or sell services for
>  > >  just about anything Open Source.
>  > >
>  > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketpla
>  > ce
>  > >  _______________________________________________
>  > >  gumstix-users mailing list
>  > >  gumstix-users@lists.sourceforge.net
>  > >  https://lists.sourceforge.net/lists/listinfo/gumstix-users
>  > >
>  >
>  > -------------------------------------------------------------------------
>  > Check out the new SourceForge.net Marketplace.
>  > It's the best place to buy or sell services for
>  > just about anything Open Source.
>  > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketpla
>  > ce
>  > _______________________________________________
>  > gumstix-users mailing list
>  > gumstix-users@lists.sourceforge.net
>  > https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
>
>
>  -------------------------------------------------------------------------
>  Check out the new SourceForge.net Marketplace.
>  It's the best place to buy or sell services for
>  just about anything Open Source.
>  http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>  _______________________________________________
>  gumstix-users mailing list
>  gumstix-users@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/gumstix-users
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users



--
Linus Casassa
Estudiante Ingeniería Civil Electrónica
Fono: 56-9-97776941