Abstract:
An electronic device according to various embodiments of the present invention can comprise: a housing; a first universal serial bus (USB) connector exposed through a portion of the housing, and including a first port; a plurality of second ports electrically connected with the first port; a third port for providing a plurality of logical wireless sessions; and a control circuit electrically connected with the plurality of second ports and the third port. The control circuit selects one of the second ports, and can provide a communication path between one of the logical wireless sessions and the selected second port in order to perform data communication. Additional various embodiments are possible.
Abstract:
The present application provides an electronic device for preventing a universal serial bus (USB) device from being damaged, and an operating method therefor. The electronic device includes a universal serial bus (USB) connector connectable to at least one of a charging device and a USB device through a dual gender, and at least one processor electrically coupled to the USB connector. The at least one processor is configured to detect a connection of the charging device and the USB device to the electronic device through the USB connector, in response to the connection of the charging device and the USB device to the electronic device, determine a charging voltage satisfying a designated condition, and request the charging device to provide the determined charging voltage through the USB connector.
Abstract:
A method of operating the electronic device is provided. The electronic device includes a universal serial bus (USB) connector connectable to an external electronic device including a radio reception circuit configured to receive a radio signal and to convert the received radio signal into a digital signal, and a signal processing circuit configured to generate a sound corresponding to the digital signal based on a control signal transmitted by the electronic device, and a processor. The processor may be configured to: receive information of the external electronic device in response to detecting that the external electronic device is connected to the USB connector, determine whether the external electronic device is capable of processing the radio signal based on the information of the external electronic device, activate a radio framework configured to control a radio reception function of the external electronic device in response to identifying that the external electronic device is capable of processing the radio signal, and control the external electronic device based on the operation of the USB framework, which receives the control signal generated by the radio framework. In addition, various embodiments are possible.
Abstract:
Embodiments of an electronic device are disclosed. The electronic device may include a USB Type-C connector including at least one configuration channel (CC) pin and a processor operatively connected to the USB Type-C connector. The processor may be configured to: obtain first information of a connected audio output device by using a USB driver; transmit the first information and/or audio card information of the audio output device to an audio framework through a USB framework; control the audio framework to access an interface corresponding to the audio card information; and activate, when at least a portion of second information of the audio output device is obtained through the USB driver while accessing the interface, the interface by transmitting the at least a portion of the second information to the audio framework through the USB framework. Various additional embodiments in addition to the disclosed embodiments are possible.
Abstract:
An electronic device including a PDIC, a charging IC, and a processor. The PDIC determines whether an external device is connected to the USB port, through a first pin of a USB port. The charging IC outputs a first voltage, which is a voltage obtained by boosting a voltage provided by a battery, to the external device through a second pin, when the external device is connected to the USB port. The processor is configured to determine whether the external device connected to the USB port is a first external device having a specified VID and a specified PID, through a third pin of the USB port, and to transmit a first signal, which controls the charging IC to output a second voltage having a magnitude less than the first voltage, to the charging IC when the first external device is connected to the USB port.
Abstract:
An electronic device according to various embodiments includes: a connector configured to be connected with an external electronic device; a memory configured to store instructions; and a processor configured to execute the stored instructions to control the electronic device to identify a control signal received through a channel initially activated based on the external electronic device being connected to the connector from among a plurality of channels, and to perform control based on a message included in the identified control signal.
Abstract:
An electronic device is provided. The electronic device includes a battery that supplies power to the electronic device, a power management integrated circuit (PMIC) which controls power required in the electronic device, a software battery charging management circuit that performs a charging management function of the battery, a software power saving management circuit that manages standby power of a plurality of circuits in the electronic device, memory storing one or more computer programs, and one or more processors communicatively coupled to the battery, the PMIC, the software battery charging management circuit, and software power saving management circuit, wherein the one or more computer programs include computer-executable instructions that, when executed by the one or more processors, cause the electronic device to, in response to identifying that a charger is connected to the electronic device, boot a system of the electronic device, control at least one circuit in the electronic device to operate in a sleep state for power saving by using the software power saving management circuit, charge the battery while the system of the electronic device is in an off state, in response to identifying that a charging state of the battery is not a fully charged state, charge the battery with a first voltage and/or a first current, in response to identifying that the charging state of the battery is the fully charged state, block power supply to the battery, and control power to be supplied circuit with a second voltage set lower than the first voltage and/or a second current set lower than the first current to at least one circuit in the electronic device, wherein the software battery charging management circuit and/or software power saving management circuit are/is implemented on the one or more processors.
Abstract:
Embodiments of an electronic device are disclosed. The electronic device may include a USB Type-C connector including at least one configuration channel (CC) pin and a processor operatively connected to the USB Type-C connector. The processor may be configured to: obtain first information of a connected audio output device by using a USB driver; transmit the first information and/or audio card information of the audio output device to an audio framework through a USB framework; control the audio framework to access an interface corresponding to the audio card information; and activate, when at least a portion of second information of the audio output device is obtained through the USB driver while accessing the interface, the interface by transmitting the at least a portion of the second information to the audio framework through the USB framework. Various additional embodiments in addition to the disclosed embodiments are possible.
Abstract:
According to an embodiment, an electronic device comprises: a connecting terminal; a memory; and a processor connected to the connecting terminal and the memory, wherein the processor is configured to: identify a head unit of a vehicle connected to the connecting terminal; obtain information about a model of a vehicle or an installed operating system, associated with the identified head unit; and when the information about a specified tuning value for the identified head unit is stored in the memory, tune a register by using the specified tuning value.
Abstract:
An electronic device having an external memory according to various embodiments of the present disclosure may include a communication unit; an internal memory configured to store a first electronic device information of the electronic device and a first booting data in a first booting area, said first booting data is loaded when an electric power is supplied to the electronic device; an external memory configured to store a second electronic device information of the electronic device, firmware corresponding to the electronic device in a firmware storage area, and updated firmware received via the communication unit in a firmware update information storage area; and a controller configured to compare the second electronic device information stored in the external memory and the first electronic device information stored in the internal memory and configured to control to change the firmware in the firmware storage area based on the updated firmware stored in the firmware update information storage area during booting of the electronic device when the first and second electronic device information are not identical.