Re: how to make a2dp device works after chroot?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bourne,

2009/8/17 bourne <bournewang@xxxxxxxxxx>:
> Hi:
> I met a problem about chroot.
> After connect the computer with my bluetooth earphone, I can hear the
> music from a2dp bluetooth earphone, but when I chroot to /root-A, and
> use "aply" command to play some sounds, I can't hear anything from the
> earphone.
>
> My question is:
> how can I use the a2dp device after chroot?
>

Probably this is not related to BlueZ, but to something missing from
your chroot, the following should do the job:

mount -o rbind /dev /root-A/dev
mount -o bind /sys  /root-A/sys
mount -t proc none /root-A/proc

(the rbind option and mounting /proc are to be on the safe side)

>
> Thanks
>
> Regards
> Bourne
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


Cheers,
-- 
Vinicius Gomes
INdT - Instituto Nokia de Tecnologia
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux